]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix loop construction to functions calls
[thirdparty/glibc.git] / ChangeLog
CommitLineData
85c2e611
AZ
12013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5 accepts -fno-tree-loop-distribute-patterns.
6 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8 recursive call.
9 * string/memset.c (memset): Likewise.
10 * string/test-memmove.c (simple_memmove): Disable loop transformation
11 to library calls.
12 * string/test-memset.c (simple_memset): Likewise.
13 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14 * benchtests/bench-memset.c (simple_memset): Likewise.
15 * configure: Regenerated.
16
c91e0825
JM
172013-06-20 Joseph Myers <joseph@codesourcery.com>
18
b8c792af
JM
19 * math/test-misc.c (main): Ignore fesetround failure when failures
20 of subsequent rounding tests would be ignored.
21
c91e0825
JM
22 [BZ #15654]
23 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25 * math/fegetenv.c (__fegetenv): Return 0.
26 * math/fegetexcept.c (fegetexcept): Return 0.
27 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28 FE_TONEAREST.
29 * math/feholdexcpt.c (feholdexcept): Return 0.
30 * math/fesetenv.c (__fesetenv): Return 0.
31 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32 argument FE_TONEAREST.
33 * math/feupdateenv.c (__feupdateenv): Return 0.
34 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35
bfcacbde
RM
362013-06-18 Roland McGrath <roland@hack.frob.com>
37
38 * elf/rtld-Rules (rtld-compile-command.S): New variable.
39 (rtld-compile-command.s, rtld-compile-command.c): New variables.
40 ($(objpfx)rtld-%.os rules): Use them.
41
e55a9b25
AZ
422013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
44 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
45 fields.
46
346d65b3
RM
472013-06-17 Roland McGrath <roland@hack.frob.com>
48
12086fb4
RM
49 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50 length of target pattern, then descending length of dependency pattern.
51 * configure.in (AWK): Require gawk 3.1.2 or newer.
52 * manual/install.texi (Tools for Compilation): Say that we do.
53 * configure: Regenerated.
54
346d65b3
RM
55 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57 * scripts/sysd-rules.awk: ... this new script.
58 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59 than a glob-style pattern.
60
1a846317
JM
612013-06-17 Joseph Myers <joseph@codesourcery.com>
62
63 * math/test-misc.c (main): Do not treat incorrectly rounded
64 conversions as failure unless ROUNDING_TESTS passes.
65
8fc75e6f
JM
662013-06-15 Joseph Myers <joseph@codesourcery.com>
67
3711a167
JM
68 [BZ #15631]
69 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
70 restore exception state around main square root computation, then
71 check for inexactness explicitly.
72
8fc75e6f
JM
73 * math/libm-test.inc (fma_test_data): Add another test.
74
61dd6208
SP
752013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
76
adf23d2c
SP
77 * manual/threads.texi (Non-POSIX Extensions): New document
78 node. Document pthread_getattr_default_np and
79 pthread_setattr_default_np.
80
61dd6208
SP
81 * Versions.def (libpthread): Add GLIBC_2.18.
82 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
83 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84 Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
86 Likewise.
87 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
88 Likewise.
89 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
90 Likewise.
91 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
92 Likewise.
93 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
94 Likewise.
95 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
96 Likewise.
97 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
98 Likewise.
99 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
100 Likewise.
101
d086fc7b
LD
1022013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
103
104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
105 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
106
747ef469
SP
1072013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
108 H.J. Lu <hjl.tools@gmail.com>
109
110 [BZ #15627]
111 * sysdeps/x86_64/rtld-memset.c: Remove file.
112 * sysdeps/x86_64/rtld-memset.S: New file.
113
1b2feed2
JM
1142013-06-14 Joseph Myers <joseph@codesourcery.com>
115
116 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
117 (test_in_one_mode): Take arguments for whether the rounding mode
118 is supported for each floating-point type.
119 (do_test): Pass new arguments to test_in_one_mode using
120 ROUNDING_TESTS.
121
a58ad3f8
RM
1222013-06-13 Roland McGrath <roland@hack.frob.com>
123
124 * posix/tst-waitid.c (do_test): Distinguish different instances of
125 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
126 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
127 before entering the kernel for waitpid.
128
c204ab28
SP
1292013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
130
131 * NEWS: Fix note on clock function precision. Text by Roland
132 McGrath.
133
f4a29fba
RM
1342013-06-13 Roland McGrath <roland@hack.frob.com>
135
136 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
137 it into place only when and if the sanity check passes.
138
1f24b9ad
JM
1392013-06-13 Joseph Myers <joseph@codesourcery.com>
140
141 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
142 output for whether conversion result is exact. Take argument
143 indicating whether type is IBM long double.
144 (round_for_all): Change need_exact field to ibm_ld.
145 * stdlib/tst-strtod-round.c (struct exactness): New type.
146 (struct test): Change bool ld_ok field to struct exactness exact.
147 (TEST): Update all definitions for change to field.
148 (tests): Regenerate array contents.
149 (test_in_one_mode): Take pointer to new field instead of old ld_ok
150 field value. Check for IBM long double here.
151 (do_test): Update calls to test_in_one_mode.
152
58206c68
SP
1532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
154
155 [BZ #12515]
156 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
157 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
158
2d6f4c5b 1592013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
160
161 [BZ #15605]
162 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
163 generated by the compiler on loop optimizations.
164 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
165 general definitions.
166
94f2c076
JM
1672013-06-12 Joseph Myers <joseph@codesourcery.com>
168
169 * math/bug-nextafter.c: Include <math-tests.h>.
170 (main): Only test for exceptions if EXCEPTION_TESTS is true for
171 the relevant type.
172 * math/bug-nexttoward.c: Include <math-tests.h>.
173 (main): Only test for exceptions if EXCEPTION_TESTS is true for
174 the relevant type.
175 * math/test-misc.c: Include <math-tests.h>.
176 (main): Only test for exceptions if EXCEPTION_TESTS is true for
177 the relevant type.
178
e0e50a0a
AJ
1792013-06-12 Andreas Jaeger <aj@suse.de>
180
181 * po/ia.po: Update Interlingua translation from translation
182 project.
183
25061094
SP
1842013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
185
186 * include/fenv.h: Include stdbool.h.
187 (struct rm_ctx): New structure.
188 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
189 Define macro.
190 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
191 (SET_RESTORE_ROUNDF): Likewise.
192 (SET_RESTORE_ROUNDL): Likewise.
193 (SET_RESTORE_ROUND_NOEX): Likewise.
194 (SET_RESTORE_ROUND_NOEXF): Likewise.
195 (SET_RESTORE_ROUND_NOEXL): Likewise.
196 (SET_RESTORE_ROUND_53BIT): Likewise.
197 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
198 (libc_feresetround_noexf_ctx): Likewise.
199 (libc_feresetround_noexl_ctx): Likewise.
200 (libc_feholdsetround_53bit_ctx): Likewise.
201 (libc_feresetround_53bit_ctx): Likewise.
202 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
203 (libc_feholdexcept_setround_sse_ctx): New function.
204 (libc_fesetenv_sse_ctx): Likewise.
205 (libc_feupdateenv_sse_ctx): Likewise.
206 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
207 (libc_feholdexcept_setround_387_ctx): Likewise.
208 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
209 (libc_feholdsetround_387_prec_ctx): Likewise.
210 (libc_feholdsetround_387_ctx): Likewise.
211 (libc_feholdsetround_387_53bit_ctx): Likewise.
212 (libc_feholdsetround_sse_ctx): Likewise.
213 (libc_feresetround_sse_ctx): Likewise.
214 (libc_feresetround_387_ctx): Likewise.
215 (libc_feupdateenv_387_ctx): Likewise.
216 (libc_feholdexcept_setroundf_ctx): Define macro.
217 (libc_fesetenvf_ctx): Likewise.
218 (libc_feupdateenvf_ctx): Likewise.
219 (libc_feholdsetroundf_ctx): Likewise.
220 (libc_feresetroundf_ctx): Likewise.
221 (libc_feholdexcept_setround_ctx): Likewise.
222 (libc_fesetenv_ctx): Likewise.
223 (libc_feupdateenv_ctx): Likewise.
224 (libc_feholdsetround_ctx): Likewise.
225 (libc_feresetround_ctx): Likewise.
226 (libc_feholdexcept_setroundl_ctx): Likewise.
227 (libc_feupdateenvl_ctx): Likewise.
228 (libc_feholdsetroundl_ctx): Likewise.
229 (libc_feresetroundl_ctx): Likewise.
230 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
231 (libc_feresetround_53bit_ctx): Likewise.
232
59b30555
SP
2332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
234
235 * locale/iso-639.def: Convert to UTF-8.
236
f1d73d30
JM
2372013-06-11 Joseph Myers <joseph@codesourcery.com>
238
239 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
240 (EXCEPTION_TESTS_double): Likewise.
241 (EXCEPTION_TESTS_long_double): Likewise.
242 (EXCEPTION_TESTS): Likewise.
243 * math/libm-test.inc (test_exceptions): Only test exceptions if
244 EXCEPTION_TESTS (FLOAT).
245
94aca5e7
SP
2462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
247
248 * benchtests/Makefile (string-bench): Add strcpy_chk and
249 stpcpy_chk.
250 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
251 * benchtests/bench-stpcpy_chk.c: New file.
252 * benchtests/bench-strcpy_chk-ifunc.c: New file.
253 * benchtests/bench-strcpy_chk.c: New file.
254 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
255 code.
256 (do_test): Likewise.
257
fac0c5f2
RA
2582013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
259
260 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
261 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
262 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
263 with tabs where appropriate.
264 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
265 dl-procinfo.h.
266 [PPC_PLATFORM_PPC440]: Likewise.
267 [PPC_PLATFORM_PPC464]: Likewise.
268 [PPC_PLATFORM_PPC476]: Likewise.
269 (_dl_string_platform): Add support for detecting ppc405, ppc440,
270 ppc464, and ppc476 platform strings merging from ports/
271 dl-procinfo.h.
272
f22bc486
AS
2732013-06-11 Andreas Schwab <schwab@suse.de>
274
275 [BZ #14991]
276 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
277 (from_ucs4_idx): Regenerate.
278 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
279 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
280 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
281 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
282 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
283 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
284 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
285 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
286 from FROM_LOOP and TO_LOOP specific macros.
287 (BODY): Handle combining characters.
288 * iconvdata/BIG5HKSCS.irreversible: Update.
289 * iconvdata/BIG5HKSCS.precomposed: New file.
290 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
291 characters.
292 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
293
c1f75dc3
SP
2942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
295
4eacded2
SP
296 * include/sys/time.h: Fix indentation and add copyright header.
297
fec799f8
SP
298 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
299 (do_test): Likewise.
300 * string/test-memchr.c (do_one_test): Likewise.
301 (do_test): Likewise.
302 * string/test-memcmp.c (do_one_test): Likewise.
303 (do_test): Likewise.
304 * string/test-memcpy.c (do_one_test): Likewise.
305 (do_test): Likewise.
306 * string/test-memmem.c (do_one_test): Likewise.
307 (do_test): Likewise.
308 (do_random_tests): Likewise.
309 * string/test-memmove.c (do_one_test): Likewise.
310 (do_test): Likewise.
311 * string/test-memset.c (do_one_test): Likewise.
312 (do_test): Likewise.
313 * string/test-rawmemchr.c (do_one_test): Likewise.
314 (do_test): Likewise.
315 * string/test-strcasecmp.c (do_one_test): Likewise.
316 (do_test): Likewise.
317 * string/test-strcasestr.c (do_one_test): Likewise.
318 (do_test): Likewise.
319 * string/test-strcat.c (do_one_test): Likewise.
320 (do_test): Likewise.
321 * string/test-strchr.c (do_one_test): Likewise.
322 (do_test): Likewise.
323 * string/test-strcmp.c (do_one_test): Likewise.
324 (do_test): Likewise.
325 * string/test-strcpy.c (do_one_test): Likewise.
326 (do_test): Likewise.
327 * string/test-string.h: Likewise.
328 (test_init): Likewise.
329 * string/test-strlen.c (do_one_test): Likewise.
330 (do_test): Likewise.
331 * string/test-strncasecmp.c (do_one_test): Likewise.
332 (do_test): Likewise.
333 * string/test-strncat.c (do_one_test): Likewise.
334 (do_test): Likewise.
335 * string/test-strncmp.c (do_one_test): Likewise.
336 (do_test_limit): Likewise.
337 (do_test): Likewise.
338 * string/test-strncpy.c (do_one_test): Likewise.
339 (do_test): Likewise.
340 * string/test-strnlen.c (do_one_test): Likewise.
341 (do_test): Likewise.
342 * string/test-strpbrk.c (do_one_test): Likewise.
343 (do_test): Likewise.
344 * string/test-strrchr.c (do_one_test): Likewise.
345 (do_test): Likewise.
346 * string/test-strspn.c (do_one_test): Likewise.
347 (do_test): Likewise.
348 * string/test-strstr.c (do_one_test): Likewise.
349 (do_test): Likewise.
350
97020474
SP
351 * benchtests/Makefile (string-bench): Add string benchmarks.
352 * benchtests/bench-bcopy-ifunc.c: New file.
353 * benchtests/bench-bcopy.c: New file.
354 * benchtests/bench-bzero-ifunc.c: New file.
355 * benchtests/bench-bzero.c: New file.
356 * benchtests/bench-memccpy-ifunc.c: New file.
357 * benchtests/bench-memccpy.c: New file.
358 * benchtests/bench-memchr-ifunc.c: New file.
359 * benchtests/bench-memchr.c: New file.
360 * benchtests/bench-memcmp-ifunc.c: New file.
361 * benchtests/bench-memcmp.c: New file.
362 * benchtests/bench-memmem-ifunc.c: New file.
363 * benchtests/bench-memmem.c: New file.
364 * benchtests/bench-memmove-ifunc.c: New file.
365 * benchtests/bench-memmove.c: New file.
366 * benchtests/bench-mempcpy-ifunc.c: New file.
367 * benchtests/bench-mempcpy.c: New file.
368 * benchtests/bench-memset-ifunc.c: New file.
369 * benchtests/bench-memset.c: New file.
370 * benchtests/bench-rawmemchr-ifunc.c: New file.
371 * benchtests/bench-rawmemchr.c: New file.
372 * benchtests/bench-stpcpy-ifunc.c: New file.
373 * benchtests/bench-stpcpy.c: New file.
374 * benchtests/bench-stpncpy-ifunc.c: New file.
375 * benchtests/bench-stpncpy.c: New file.
376 * benchtests/bench-strcasecmp-ifunc.c: New file.
377 * benchtests/bench-strcasecmp.c: New file.
378 * benchtests/bench-strcasestr-ifunc.c: New file.
379 * benchtests/bench-strcasestr.c: New file.
380 * benchtests/bench-strcat-ifunc.c: New file.
381 * benchtests/bench-strcat.c: New file.
382 * benchtests/bench-strchr-ifunc.c: New file.
383 * benchtests/bench-strchr.c: New file.
384 * benchtests/bench-strchrnul-ifunc.c: New file.
385 * benchtests/bench-strchrnul.c: New file.
386 * benchtests/bench-strcmp-ifunc.c: New file.
387 * benchtests/bench-strcmp.c: New file.
388 * benchtests/bench-strcpy-ifunc.c: New file.
389 * benchtests/bench-strcpy.c: New file.
390 * benchtests/bench-strcspn-ifunc.c: New file.
391 * benchtests/bench-strcspn.c: New file.
392 * benchtests/bench-strlen-ifunc.c: New file.
393 * benchtests/bench-strlen.c: New file.
394 * benchtests/bench-strncasecmp-ifunc.c: New file.
395 * benchtests/bench-strncasecmp.c: New file.
396 * benchtests/bench-strncat-ifunc.c: New file.
397 * benchtests/bench-strncat.c: New file.
398 * benchtests/bench-strncmp-ifunc.c: New file.
399 * benchtests/bench-strncmp.c: New file.
400 * benchtests/bench-strncpy-ifunc.c: New file.
401 * benchtests/bench-strncpy.c: New file.
402 * benchtests/bench-strnlen-ifunc.c: New file.
403 * benchtests/bench-strnlen.c: New file.
404 * benchtests/bench-strpbrk-ifunc.c: New file.
405 * benchtests/bench-strpbrk.c: New file.
406 * benchtests/bench-strrchr-ifunc.c: New file.
407 * benchtests/bench-strrchr.c: New file.
408 * benchtests/bench-strspn-ifunc.c: New file.
409 * benchtests/bench-strspn.c: New file.
410 * benchtests/bench-strstr-ifunc.c: New file.
411 * benchtests/bench-strstr.c: New file.
412
c1f75dc3
SP
413 * benchtests/Makefile: Disable parallel execution of targets.
414 (string-bench): Add memcpy.
415 (benchset): New variable to store a list of benchmark sets.
416 (bench-func): Renamed from bench.
417 (bench-set): New target.
418 (bench): Depend on bench-func and bench-set.
419 * benchtests/README: Add section on benchmark sets.
420 * benchtests/bench-memcpy-ifunc.c: New file.
421 * benchtests/bench-memcpy.c: New file.
422 * benchtests/bench-string.h: New file.
423
50fd745b
AS
4242013-06-11 Andreas Schwab <schwab@suse.de>
425
426 [BZ #15577]
427 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
428 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
429 values in the triple.
430 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
431 terminator in the group key.
432
3ee7e9fe
AJ
4332013-06-11 Andreas Jaeger <aj@suse.de>
434
435 * po/zh_TW.po: Update Chinese (traditional) translation from
436 translation project.
437
89fb6835
SP
4382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
439
440 * include/time.h (__clock_gettime): Add libc_hidden_proto.
441 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
442 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
444 (clock_getcpuclockid): Likewise.
445 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
446 Add weak_alias and libc_hidden_def.
447 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
448 * rt/clock_gettime.c (clock_gettime): Rename to
449 __clock_gettime. Add weak_alias and libc_hidden_def.
450 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
451 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
452 __clock_nanosleep. Add weak_alias and libc_hidden_def.
453 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
454 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
455 Likewise.
456 * rt/clock_settime.c (clock_settime): Rename to
457 __clock_settime. Add weak_alias and libc_hidden_def.
458 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
459
0efa6f8b
JM
4602013-06-10 Joseph Myers <joseph@codesourcery.com>
461
b8c61b4b
JM
462 * mach/err_boot.sub: Remove trailing whitespace.
463 * mach/err_ipc.sub: Likewise.
464 * mach/err_mach.sub: Likewise.
465
0efa6f8b
JM
466 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
467 (ROUNDING_TESTS_double): Likewise.
468 (ROUNDING_TESTS_long_double): Likewise.
469 (ROUNDING_TESTS): Likewise.
470 * math/libm-test.inc: Include <math-tests.h>.
471 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
472 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
473 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
474 (IF_ROUND_INIT_FE_UPWARD): Likewise.
475
50b818bf
SP
4762013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
477
478 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
479 of assigning.
480
60d2f8f3
JM
4812013-06-08 Joseph Myers <joseph@codesourcery.com>
482
4902d2c3
JM
483 * sysdeps/gnu/errlist.awk: Do not generate space at end of
484 otherwise empty TRANS lines.
485 * sysdeps/gnu/errlist.c: Regenerated.
486
60d2f8f3
JM
487 * catgets/gencat.c (error_print): Use (void) in function
488 definition.
489 * crypt/crypt_util.c (__init_des): Likewise.
490 * crypt/speeds.c (Stop): Likewise.
491 (main): Likewise.
492 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
493 * inet/ruserpass.c (token): Likewise.
494 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
495 * intl/localealias.c (extend_alias_table): Likewise.
496 * intl/plural-exp.c (init_germanic_plural): Likewise.
497 * libio/fcloseall.c (__fcloseall): Likewise.
498 * libio/genops.c (_IO_flush_all): Likewise.
499 (_IO_flush_all_linebuffered): Likewise.
500 (_IO_cleanup): Likewise.
501 (_IO_iter_begin): Likewise.
502 (_IO_iter_end): Likewise.
503 (_IO_list_lock): Likewise.
504 (_IO_list_unlock): Likewise.
505 (_IO_list_resetlock): Likewise.
506 * libio/getchar.c (getchar): Likewise.
507 * libio/getchar_u.c (getchar_unlocked): Likewise.
508 * libio/getwchar.c (getwchar): Likewise.
509 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
510 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
511 * login/getpt.c (__getpt): Likewise.
512 * login/tst-utmp.c (main): Likewise.
513 * malloc/hooks.c (__malloc_check_init): Likewise.
514 * malloc/malloc.c (__malloc_stats): Likewise.
515 * malloc/mtrace.c (tr_break): Likewise.
516 (mtrace): Likewise.
517 (muntrace): Likewise.
518 * misc/fstab.c (endfsent): Likewise.
519 * misc/getclktck.c (__getclktck): Likewise.
520 * misc/getdtsz.c (__getdtablesize): Likewise.
521 * misc/gethostid.c (gethostid): Likewise.
522 * misc/getpagesize.c (__getpagesize): Likewise.
523 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
524 (__get_nprocs): Likewise.
525 (__get_phys_pages): Likewise.
526 (__get_avphys_pages): Likewise.
527 * misc/getttyent.c (getttyent): Likewise.
528 (setttyent): Likewise.
529 (endttyent): Likewise.
530 * misc/getusershell.c (getusershell): Likewise.
531 (endusershell): Likewise.
532 (setusershell): Likewise.
533 (initshells): Likewise.
534 * misc/hsearch.c (__hdestroy): Likewise.
535 * misc/sync.c (sync): Likewise.
536 * misc/syslog.c (closelog_internal): Likewise.
537 (closelog): Likewise.
538 * misc/ttyslot.c (ttyslot): Likewise.
539 * misc/vhangup.c (vhangup): Likewise.
540 * posix/fork.c (__fork): Likewise.
541 * posix/getegid.c (__getegid): Likewise.
542 * posix/geteuid.c (__geteuid): Likewise.
543 * posix/getgid.c (__getgid): Likewise.
544 * posix/getpid.c (__getpid): Likewise.
545 * posix/getppid.c (__getppid): Likewise.
546 * posix/getuid.c (__getuid): Likewise.
547 * posix/pause.c (pause): Likewise.
548 * posix/setpgrp.c (setpgrp): Likewise.
549 * posix/setsid.c (__setsid): Likewise.
550 * posix/test-vfork.c (noop): Likewise.
551 * resolv/gethnamaddr.c (_endhtent): Likewise.
552 (_gethtent): Likewise.
553 (ht_endhostent): Likewise.
554 (gethostent): Likewise.
555 (dns_service): Likewise.
556 * stdlib/drand48.c (drand48): Likewise.
557 * stdlib/lrand48.c (lrand48): Likewise.
558 * stdlib/mrand48.c (mrand48): Likewise.
559 * stdlib/rand.c (rand): Likewise.
560 * stdlib/random.c (__random): Likewise.
561 * stdlib/setenv.c (clearenv): Likewise.
562 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
563 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
564 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
565 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
566 (__get_nprocs): Likewise.
567 (__get_phys_pages): Likewise.
568 (__get_avphys_pages): Likewise.
569 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
570 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
571 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
572 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
573 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
574 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
575 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
576 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
577 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
578 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
579 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
580 * sysdeps/mach/hurd/sync.c (sync): Likewise.
581 * sysdeps/posix/clock.c (clock): Likewise.
582 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
583 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
584 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
585 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
586 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
588 (__get_nprocs_conf): Likewise.
589 (__get_phys_pages): Likewise.
590 (__get_avphys_pages): Likewise.
591 * time/clock.c (clock): Likewise.
592 * time/tzset.c (__tzname_max): Likewise.
593
2e09a79a
JM
5942013-06-07 Joseph Myers <joseph@codesourcery.com>
595
596 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
597 (__bswap_32): Do not use "register".
598 * crypt/crypt.c (_ufc_doit_r): Likewise.
599 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
600 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
601 * gmon/gmon.c (__monstartup): Likewise.
602 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
603 * hurd/hurdmalloc.c (more_memory): Likewise.
604 (malloc): Likewise.
605 (free): Likewise.
606 (realloc): Likewise.
607 (malloc_fork_prepare): Likewise.
608 (malloc_fork_parent): Likewise.
609 (malloc_fork_child): Likewise.
610 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
611 (_svcauth_des): Likewise.
612 * inet/inet_lnaof.c (inet_lnaof): Likewise.
613 * inet/inet_net.c (inet_network): Likewise.
614 * inet/inet_netof.c (inet_netof): Likewise.
615 * inet/rcmd.c (__validuser2_sa): Likewise.
616 * io/fts.c (fts_open): Likewise.
617 (fts_load): Likewise.
618 (fts_close): Likewise.
619 (fts_read): Likewise.
620 (fts_children): Likewise.
621 (fts_build): Likewise.
622 (fts_stat): Likewise.
623 (fts_sort): Likewise.
624 (fts_alloc): Likewise.
625 (fts_lfree): Likewise.
626 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
627 (_IO_file_xsgetn): Likewise.
628 (_IO_file_xsgetn_mmap): Likewise.
629 * libio/iofopncook.c (_IO_cookie_read): Likewise.
630 (_IO_cookie_write): Likewise.
631 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
632 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
633 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
634 * malloc/obstack.c (_obstack_begin): Likewise.
635 (_obstack_begin_1): Likewise.
636 (_obstack_newchunk): Likewise.
637 (_obstack_allocated_p): Likewise.
638 (obstack_free): Likewise.
639 (_obstack_memory_used): Likewise.
640 * misc/getttyent.c (getttynam): Likewise.
641 (getttyent): Likewise.
642 (skip): Likewise.
643 (value): Likewise.
644 * misc/getusershell.c (initshells): Likewise.
645 * misc/syslog.c (__vsyslog_chk): Likewise.
646 * misc/ttyslot.c (ttyslot): Likewise.
647 * nis/nis_hash.c (__nis_hash): Likewise.
648 * posix/fnmatch_loop.c (FCT): Likewise.
649 * posix/getconf.c (print_all): Likewise.
650 (main): Likewise.
651 * posix/getopt.c (exchange): Likewise.
652 * posix/glob.c (globfree): Likewise.
653 (prefix_array): Likewise.
654 (__glob_pattern_type): Likewise.
655 * resolv/arpa/nameser.h (NS_GET16): Likewise.
656 (NS_GET32): Likewise.
657 (NS_PUT16): Likewise.
658 (NS_PUT32): Likewise.
659 * resolv/gethnamaddr.c (getanswer): Likewise.
660 (gethostbyname2): Likewise.
661 (gethostbyaddr): Likewise.
662 (_gethtent): Likewise.
663 (_gethtbyname2): Likewise.
664 (_gethtbyaddr): Likewise.
665 * resolv/ns_print.c (dst_s_get_int16): Likewise.
666 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
667 * resolv/res_init.c (__res_vinit): Likewise.
668 (net_mask): Likewise.
669 * resolv/res_mkquery.c (outchar): Likewise.
670 (PRINT): Likewise.
671 * stdio-common/printf_fp.c (outchar): Likewise.
672 (PRINT): Likewise.
673 * stdio-common/printf_fphex.c (outchar): Likewise.
674 (PRINT): Likewise.
675 * stdio-common/printf_size.c (outchar): Likewise.
676 (PRINT): Likewise.
677 * stdio-common/test_rdwr.c (main): Likewise.
678 * stdio-common/tfformat.c (matches): Likewise.
679 * stdio-common/vfprintf.c (outchar): Likewise.
680 (printf_unknown): Likewise.
681 (buffered_vfprintf): Likewise.
682 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
683 * stdio-common/xbug.c (AppendToBuffer): Likewise.
684 (ReadFile): Likewise.
685 * stdlib/qsort.c (SWAP): Likewise.
686 (_quicksort): Likewise.
687 * stdlib/setenv.c (__add_to_environ): Likewise.
688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
689 * stdlib/strtol_l.c (__strtol_l): Likewise.
690 * stdlib/tst-strtod.c (main): Likewise.
691 * stdlib/tst-strtol.c (main): Likewise.
692 * stdlib/tst-strtoll.c (main): Likewise.
693 * string/bits/string2.h (__strcmp_cc): Likewise.
694 (__strcmp_cg): Likewise.
695 (__strcspn_c1): Likewise.
696 (__strcspn_c2): Likewise.
697 (__strcspn_c3): Likewise.
698 (__strspn_c1): Likewise.
699 (__strspn_c2): Likewise.
700 (__strspn_c3): Likewise.
701 (__strsep_1c): Likewise.
702 (__strsep_2c): Likewise.
703 (__strsep_3c): Likewise.
704 * string/memccpy.c (__memccpy): Likewise.
705 * string/stpcpy.c (__stpcpy): Likewise.
706 * string/strcmp.c (strcmp): Likewise.
707 * string/strrchr.c (strrchr): Likewise.
708 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
709 Likewise.
710 * sysdeps/mach/hurd/getcwd.c
711 (_hurd_canonicalize_directory_name_internal): Likewise.
712 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
713 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
714 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
715 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
716 Likewise, in both definitions.
717 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
718 definitions.
719 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
720 64] (__bswap_64): Likewise.
721 * time/test_time.c (main): Likewise.
722 * time/tzfile.c (__tzfile_read): Likewise.
723 (__tzfile_compute): Likewise.
724 * time/tzset.c (__tzset_parse_tz): Likewise.
725 (tzset_internal): Likewise.
726 (compute_change): Likewise.
727 * wcsmbs/wcscat.c (__wcscat): Likewise.
728 * wcsmbs/wcschr.c (wcschr): Likewise.
729 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
730 * wcsmbs/wcscspn.c (wcscspn): Likewise.
731 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
732 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
733 * wcsmbs/wcsspn.c (wcsspn): Likewise.
734 * wcsmbs/wcsstr.c (wcsstr): Likewise.
735 * wcsmbs/wmemchr.c (wmemchr): Likewise.
736 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
737 * wcsmbs/wmemset.c (wmemset): Likewise.
738
9e54314b
JM
7392013-06-06 Joseph Myers <joseph@codesourcery.com>
740
741 * scripts/config.guess: Update to version 2013-05-16.
742 * scripts/config.sub: Update to version 2013-04-24.
743 * scripts/install-sh: Update to version 2011-11-20.07.
744 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
745 * scripts/move-if-change: Update to version 2012-01-06 07:23.
746
350635a5
OB
7472013-06-06 Ondřej Bílka <neleai@seznam.cz>
748
749 * debug/fgetws_u_chk.c: Fix leading whitespaces.
750 * elf/sln.c: Likewise.
751 * hurd/hurd/ioctl.h: Likewise.
752 * hurd/hurdmalloc.c: Likewise.
753 * hurd/xattr.c: Likewise.
754 * include/shlib-compat.h: Likewise.
755 * inet/ruserpass.c: Likewise.
756 * libio/iofgets_u.c: Likewise.
757 * libio/iofgetws_u.c: Likewise.
758 * locale/programs/ld-identification.c: Likewise.
759 * locale/programs/ld-time.c: Likewise.
760 * mach/msg-destroy.c: Likewise.
761 * nss/nss_files/files-netgrp.c: Likewise.
762 * resolv/res_data.c: Likewise.
763 * soft-fp/op-1.h: Likewise.
764 * soft-fp/op-2.h: Likewise.
765 * soft-fp/op-4.h: Likewise.
766 * soft-fp/op-common.h: Likewise.
767 * stdio-common/printf_fphex.c: Likewise.
768 * stdlib/strtod_l.c: Likewise.
769 * sunrpc/rpc/clnt.h: Likewise.
770 * sysdeps/generic/framestate.c: Likewise.
771 * sysdeps/i386/bsd-_setjmp.S: Likewise.
772 * sysdeps/i386/bsd-setjmp.S: Likewise.
773 * sysdeps/i386/__longjmp.S: Likewise.
774 * sysdeps/i386/setjmp.S: Likewise.
775 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
776 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
777 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
778 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
780 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
784 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
785 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
786 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
787 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
790 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
792 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
793 * sysdeps/ieee754/support.c: Likewise.
794 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
795 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
796 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
797 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
798 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
799 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
800 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
801 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
802 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
803 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
804 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
805 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
808 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
809 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
810 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
812
44a988af
OB
8132013-06-05 Ondřej Bílka <neleai@seznam.cz>
814
25506f09 815 * posix/transbug.c: Remove executable mode.
44a988af 816
9c84384c
JM
8172013-06-05 Joseph Myers <joseph@codesourcery.com>
818
819 * crypt/speeds.c: Remove trailing whitespace.
820 * dlfcn/default.c: Likewise.
821 * elf/ifuncdep2.c: Likewise.
822 * elf/ifuncmain1.c: Likewise.
823 * elf/ifuncmain1vis.c: Likewise.
824 * elf/testobj.h: Likewise.
825 * elf/tst-stackguard1.c: Likewise.
826 * gmon/sys/gmon.h: Likewise.
827 * hurd/hurdmsg.c: Likewise.
828 * hurd/new-fd.c: Likewise.
829 * hurd/ports-get.c: Likewise.
830 * iconvdata/ibm1008_420.c: Likewise.
831 * inet/tst-getni1.c: Likewise.
832 * inet/tst-getni2.c: Likewise.
833 * libio/ioungetc.c: Likewise.
834 * libio/wfiledoalloc.c: Likewise.
835 * manual/libm-err-tab.pl: Likewise.
836 * math/w_dremf.c: Likewise.
837 * misc/ftruncate.c: Likewise.
838 * posix/bug-glob2.c: Likewise.
839 * posix/tst-pcre.c: Likewise.
840 * posix/wait4.c: Likewise.
841 * resolv/README: Likewise.
842 * resolv/res_debug.h: Likewise.
843 * resolv/tst-inet_ntop.c: Likewise.
844 * setjmp/bug269-setjmp.c: Likewise.
845 * soft-fp/extended.h: Likewise.
846 * soft-fp/op-1.h: Likewise.
847 * soft-fp/op-2.h: Likewise.
848 * soft-fp/op-4.h: Likewise.
849 * soft-fp/op-8.h: Likewise.
850 * soft-fp/testit.c: Likewise.
851 * stdio-common/bug16.c: Likewise.
852 * stdlib/random.c: Likewise.
853 * sunrpc/rpcsvc/rquota.x: Likewise.
854 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
855 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
857 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
858 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
859 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
860 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
862 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
863 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
864 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
865 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
866 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
867 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
868 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
869 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
870 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
871 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
872 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
880 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
883 * sysdeps/ieee754/s_lib_version.c: Likewise.
884 * sysdeps/mach/hurd/check_fds.c: Likewise.
885 * sysdeps/mach/hurd/getsockname.c: Likewise.
886 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
887 * sysdeps/mach/hurd/recvfrom.c: Likewise.
888 * sysdeps/powerpc/bits/link.h: Likewise.
889 * sysdeps/powerpc/dl-procinfo.c: Likewise.
890 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
891 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
892 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
893 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
894 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
895 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
896 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
897 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
898 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
899 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
900 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
901 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
902 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
903 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
904 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
907 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
909 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
910 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
912 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
913 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
923 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
924 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
925 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
926 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
927 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
928 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
929 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
930 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
931 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
932 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
933 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
934 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
935 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
936 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
937 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
938 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
941 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
942 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
943 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
944 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
945 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
946 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
947 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
950 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
951 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
952 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
953 * sysdeps/powerpc/sysdep.h: Likewise.
954 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
955 * sysdeps/s390/s390-64/sub_n.S: Likewise.
956 * sysdeps/sh/dl-trampoline.S: Likewise.
957 * sysdeps/sh/memset.S: Likewise.
958 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
959 * sysdeps/sh/strlen.S: Likewise.
960 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
961 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
962 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
963 * sysdeps/sparc/sparc32/rem.S: Likewise.
964 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
965 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
966 * sysdeps/sparc/sparc32/strchr.S: Likewise.
967 * sysdeps/sparc/sparc32/udiv.S: Likewise.
968 * sysdeps/sparc/sparc32/urem.S: Likewise.
969 * sysdeps/sparc/sparc64/add_n.S: Likewise.
970 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
971 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
972 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
973 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
974 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
975 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
976 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
977 * sysdeps/unix/bsd/times.c: Likewise.
978 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
979 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
984 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
985 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
986 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
987 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
988 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
989 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
990 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
991 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
992 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
993 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
994 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
995 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
996 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
997 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
998 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
999 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1000 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1002 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1003 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1004 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1006 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1007 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1008 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1009 * sysdeps/x86_64/strcspn.S: Likewise.
1010
869378a5
RA
10112013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1012
1013 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1014 generated file. Regenerate properly from gen-translit.pl.
1015 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1016 locale/C-translit.h.
1017
840e2943
AS
10182013-06-05 Andreas Schwab <schwab@suse.de>
1019
1020 [BZ #15100]
1021 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1022 week as 6 instead of -1.
1023 * time/tst-strptime.c (day_tests): Add test case.
1024
4c60cb0c
SP
10252013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1026
1027 * sysdeps/generic/math_private.h
1028 (libc_feholdexcept_setround_53bit): Replace with
1029 libc_feholdsetround_53bit.
1030 (libc_feupdateenv_53bit): Replace with
1031 libc_feresetround_53bit.
1032 (SET_RESTORE_ROUND_53BIT): Adjust.
1033
d180203e
SP
10342013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1035
96df079a
SP
1036 * string/test-strchrnul.c: Add copyright header.
1037
d180203e
SP
1038 * posix/tst-getaddrinfo4.c: Increase test timeout.
1039
8b0ccb2d
CD
10402013-06-03 Carlos O'Donell <carlos@redhat.com>
1041
1042 [BZ #15536]
1043 * math/libm-test.inc (MAX_EXP): Remove
1044 (MIN_EXP): Define.
1045 (ulp): Use MIN_EXP - MANT_DIG.
1046 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1047
3b3c4d40
CD
10482013-05-31 Carlos O'Donell <carlos@redhat.com>
1049
1050 * po/be.po: Revert last change.
1051 * po/zh_CN.po: Likewise.
1052 * po/header.pot: Likewise.
1053
fab7ce3f
JM
10542013-05-31 Joseph Myers <joseph@codesourcery.com>
1055
1056 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1057 link-libc-deps to empty as target-specific variable.
1058 * Makerules (link-libc-args): New variable.
1059 (libc-for-link): Likewise.
1060 (link-libc-deps): Likewise.
1061 (lib%.so): Depend on $(link-libc-deps). Link with
1062 $(link-libc-args).
1063 (build-module): Link with $(link-libc-args).
1064 (build-module-asneeded): Likewise.
1065 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1066 list of objects.
1067 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1068 target-specific variable.
1069 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1070 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1071 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1072 libc.
1073 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1074 libc and ld.so.
1075 ($(objpfx)libpcprofile.so): Likewise.
1076 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1077 libc_nonshared.a.
1078 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1079 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1080 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1081 $(link-libc-deps).
1082 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1083 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1084 * login/Makefile ($(objpfx)libutil.so): Likewise.
1085 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1086 * math/Makefile ($(objpfx)libm.so): Likewise.
1087 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1088 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1089 variable instead of depending directly on libc.
1090 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1091 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1092 $(link-libc-deps).
1093 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1094 libc.
1095 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1096 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1097 ($(objpfx)libanl.so): Likewise.
1098 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1099 ld.so.
1100 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1101 $(link-libc-deps).
1102 * sysdeps/i386/fpu/Makefile: Remove file.
1103 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1104 ($(objpfx)libm.so): Remove dependency on ld.so.
1105
eca5920c
PF
11062013-05-30 Patsy Franklin <pfrankli@redhat.com>
1107
1108 [BZ # 15553]
1109 * nis/yp_xdr.c (XDRMAXNAME): Define.
1110 (XDRMAXRECORD): Define.
1111 (xdr_domainname): Use XDRMAXNAME.
1112 (xdr_mapname): Likewise.
1113 (xdr_peername): Likewise.
1114 (xdr_keydat): Use XDRMAXRECORD.
1115 (xdr_valdat): Likewise.
1116
11172013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1118
1119 [BZ #14256]
1120 * manual/errno.texi (ESTALE): Update to account for more than
1121 just NFS file systems.
1122 * sysdeps/gnu/errlist.c: Regenerated.
1123
b9375348
SP
11242013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1125
1126 [BZ #15465]
1127 * elf/Makefile (tests): Add tst-null-argv.
1128 (modules-names): Add tst-null-argv-lib.
1129 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1130 (tst-null-argv-ENV): Set environment for tst-null-argv.
1131 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1132 (RTLD_PROGNAME): New macro.
1133 * elf/tst-null-argv.c: New test case.
1134 * elf/tst-null-argv-lib.c: Library for test case.
1135 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1136 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1137 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1138 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1139 * elf/dl-init.c (call_init): Likewise.
1140 (_dl_init): Likewise.
1141 * elf/dl-load.c (print_search_path): Likewise.
1142 (_dl_map_object): Likewise.
1143 * elf/dl-lookup.c (do_lookup_x): Likewise.
1144 (add_dependency): Likewise.
1145 (_dl_lookup_symbol_x): Likewise.
1146 (_dl_debug_bindings): Likewise.
1147 * elf/dl-open.c (_dl_show_scope): Likewise.
1148 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1149 * elf/dl-version.c (match_symbol): Likewise.
1150 (_dl_check_map_versions): Likewise.
1151 * elf/rtld.c (dl_main): Likewise.
1152 (print_unresolved): Use RTLD_PROGNAME.
1153 (print_missing_version): Likewise.
1154 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1155 (elf_machine_rela): Likewise.
1156 * sysdeps/powerpc/powerpc32/dl-machine.c
1157 (__process_machine_rela): Likewise.
1158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1159 Likewise.
1160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1161 Likewise.
1162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1163 Likewise.
1164 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1166 Likewise.
1167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1168 Likewise.
1169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1170
8a9f20c8
CD
11712013-05-28 Carlos O'Donell <carlos@redhat.com>
1172
1173 * po/be.po: Add descriptive title.
1174 * po/zh_CN.po: Likewise.
1175 * po/header.pot: Likewise.
1176
0e60d68e
MF
11772013-05-28 Mike Frysinger <vapier@gentoo.org>
1178
1179 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1180 error message.
1181 (enlarge_archive): Likewise.
1182
56b672e9
BN
11832013-05-28 Ben North <ben@redfrontdoor.org>
1184
1185 * manual/arith.texi (frexp): It is the magnitude of the return
1186 value which lies in [0.5, 1), not the return value itself.
1187
5e056687
AZ
11882013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1189
1190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191
2b66ef5d
TS
11922013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1193
528c2405
TS
1194 * stdio-common/bug26.c (main): Correct fscanf template.
1195
07b4c13d
TS
1196 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1197 declare _dl_skip_args.
1198
ec9dd97c
TS
1199 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1200 Don't declare.
1201
2b66ef5d
TS
1202 * manual/platform.texi: Add missing @end deftypefun.
1203
4f8dfe27
JM
12042013-05-24 Joseph Myers <joseph@codesourcery.com>
1205
0323d086
JM
1206 [BZ #15529]
1207 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1208 bit of mantissa of 2^16382.
1209 * math/libm-test.inc (hypot_test_data): Add more tests.
1210
dd4259b9
JM
1211 * math/libm-test.inc: Add drem and pow10 to list of tested
1212 functions.
1213 (pow10_test): New function.
1214 (drem_test): Likewise.
1215 (drem_test_tonearest): Likewise.
1216 (drem_test_towardzero): Likewise.
1217 (drem_test_downward): Likewise.
1218 (drem_test_upward): Likewise.
1219 (main): Call the new functions.
1220
4f8dfe27
JM
1221 * math/libm-test.inc (finite_test_data): Remove.
1222 (finite_test): Run tests from isfinite_test_data.
1223 (gamma_test_data): Remove.
1224 (gamma_test): Run tests from lgamma_test_data.
1225 * sysdeps/i386/fpu/libm-test-ulps: Update.
1226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227
d116b7c4
AZ
12282013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1229
1230 * manual/platform.texi: Add PowerPC PPR function set documentation.
1231 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1232 implementation.
1233
e96e3767
CD
12342013-05-24 Carlos O'Donell <carlos@redhat.com>
1235
1236 * math/libm-test.inc (MAX_EXP): Define.
1237 (ULPDIFF): Define.
1238 (ulp): New function.
1239 (check_float_internal): Use ULPDIFF.
1240 (cpow_test): Disable failing test.
1241 (check_ulp): Test ulp() implemetnation.
1242 (main): Call check_ulp before starting tests.
1243
b679a606
JM
12442013-05-24 Joseph Myers <joseph@codesourcery.com>
1245
e8bdba36
JM
1246 * math/gen-libm-test.pl (generate_testfile): Do not handle
1247 START_DATA and END_DATA.
1248 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1249 END_DATA.
1250 (acos_tonearest_test_data): Likewise.
1251 (acos_towardzero_test_data): Likewise.
1252 (acos_downward_test_data): Likewise.
1253 (acos_upward_test_data): Likewise.
1254 (acosh_test_data): Likewise.
1255 (asin_test_data): Likewise.
1256 (asin_tonearest_test_data): Likewise.
1257 (asin_towardzero_test_data): Likewise.
1258 (asin_downward_test_data): Likewise.
1259 (asin_upward_test_data): Likewise.
1260 (asinh_test_data): Likewise.
1261 (atan_test_data): Likewise.
1262 (atanh_test_data): Likewise.
1263 (atan2_test_data): Likewise.
1264 (cabs_test_data): Likewise.
1265 (cacos_test_data): Likewise.
1266 (cacosh_test_data): Likewise.
1267 (carg_test_data): Likewise.
1268 (casin_test_data): Likewise.
1269 (casinh_test_data): Likewise.
1270 (catan_test_data): Likewise.
1271 (catanh_test_data): Likewise.
1272 (cbrt_test_data): Likewise.
1273 (ccos_test_data): Likewise.
1274 (ccosh_test_data): Likewise.
1275 (ceil_test_data): Likewise.
1276 (cexp_test_data): Likewise.
1277 (cimag_test_data): Likewise.
1278 (clog_test_data): Likewise.
1279 (clog10_test_data): Likewise.
1280 (conj_test_data): Likewise.
1281 (copysign_test_data): Likewise.
1282 (cos_test_data): Likewise.
1283 (cos_tonearest_test_data): Likewise.
1284 (cos_towardzero_test_data): Likewise.
1285 (cos_downward_test_data): Likewise.
1286 (cos_upward_test_data): Likewise.
1287 (cosh_test_data): Likewise.
1288 (cosh_tonearest_test_data): Likewise.
1289 (cosh_towardzero_test_data): Likewise.
1290 (cosh_downward_test_data): Likewise.
1291 (cosh_upward_test_data): Likewise.
1292 (cpow_test_data): Likewise.
1293 (cproj_test_data): Likewise.
1294 (creal_test_data): Likewise.
1295 (csin_test_data): Likewise.
1296 (csinh_test_data): Likewise.
1297 (csqrt_test_data): Likewise.
1298 (ctan_test_data): Likewise.
1299 (ctan_tonearest_test_data): Likewise.
1300 (ctan_towardzero_test_data): Likewise.
1301 (ctan_downward_test_data): Likewise.
1302 (ctan_upward_test_data): Likewise.
1303 (ctanh_test_data): Likewise.
1304 (ctanh_tonearest_test_data): Likewise.
1305 (ctanh_towardzero_test_data): Likewise.
1306 (ctanh_downward_test_data): Likewise.
1307 (ctanh_upward_test_data): Likewise.
1308 (erf_test_data): Likewise.
1309 (erfc_test_data): Likewise.
1310 (exp_test_data): Likewise.
1311 (exp_tonearest_test_data): Likewise.
1312 (exp_towardzero_test_data): Likewise.
1313 (exp_downward_test_data): Likewise.
1314 (exp_upward_test_data): Likewise.
1315 (exp10_test_data): Likewise.
1316 (exp2_test_data): Likewise.
1317 (expm1_test_data): Likewise.
1318 (fabs_test_data): Likewise.
1319 (fdim_test_data): Likewise.
1320 (finite_test_data): Likewise.
1321 (floor_test_data): Likewise.
1322 (fma_test_data): Likewise.
1323 (fma_towardzero_test_data): Likewise.
1324 (fma_downward_test_data): Likewise.
1325 (fma_upward_test_data): Likewise.
1326 (fmax_test_data): Likewise.
1327 (fmin_test_data): Likewise.
1328 (fmod_test_data): Likewise.
1329 (fpclassify_test_data): Likewise.
1330 (frexp_test_data): Likewise.
1331 (gamma_test_data): Likewise.
1332 (hypot_test_data): Likewise.
1333 (ilogb_test_data): Likewise.
1334 (isfinite_test_data): Likewise.
1335 (isgreater_test_data): Likewise.
1336 (isgreaterequal_test_data): Likewise.
1337 (isinf_test_data): Likewise.
1338 (isless_test_data): Likewise.
1339 (islessequal_test_data): Likewise.
1340 (islessgreater_test_data): Likewise.
1341 (isnan_test_data): Likewise.
1342 (isnormal_test_data): Likewise.
1343 (issignaling_test_data): Likewise.
1344 (isunordered_test_data): Likewise.
1345 (j0_test_data): Likewise.
1346 (j1_test_data): Likewise.
1347 (jn_test_data): Likewise.
1348 (ldexp_test_data): Likewise.
1349 (lgamma_test_data): Likewise.
1350 (lrint_test_data): Likewise.
1351 (lrint_tonearest_test_data): Likewise.
1352 (lrint_towardzero_test_data): Likewise.
1353 (lrint_downward_test_data): Likewise.
1354 (lrint_upward_test_data): Likewise.
1355 (llrint_test_data): Likewise.
1356 (llrint_tonearest_test_data): Likewise.
1357 (llrint_towardzero_test_data): Likewise.
1358 (llrint_downward_test_data): Likewise.
1359 (llrint_upward_test_data): Likewise.
1360 (log_test_data): Likewise.
1361 (log10_test_data): Likewise.
1362 (log1p_test_data): Likewise.
1363 (log2_test_data): Likewise.
1364 (logb_test_data): Likewise.
1365 (logb_downward_test_data): Likewise.
1366 (lround_test_data): Likewise.
1367 (llround_test_data): Likewise.
1368 (modf_test_data): Likewise.
1369 (nearbyint_test_data): Likewise.
1370 (nextafter_test_data): Likewise.
1371 (nexttoward_test_data): Likewise.
1372 (pow_test_data): Likewise.
1373 (pow_tonearest_test_data): Likewise.
1374 (pow_towardzero_test_data): Likewise.
1375 (pow_downward_test_data): Likewise.
1376 (pow_upward_test_data): Likewise.
1377 (remainder_test_data): Likewise.
1378 (remainder_tonearest_test_data): Likewise.
1379 (remainder_towardzero_test_data): Likewise.
1380 (remainder_downward_test_data): Likewise.
1381 (remainder_upward_test_data): Likewise.
1382 (remquo_test_data): Likewise.
1383 (rint_test_data): Likewise.
1384 (rint_tonearest_test_data): Likewise.
1385 (rint_towardzero_test_data): Likewise.
1386 (rint_downward_test_data): Likewise.
1387 (rint_upward_test_data): Likewise.
1388 (round_test_data): Likewise.
1389 (scalb_test_data): Likewise.
1390 (scalbn_test_data): Likewise.
1391 (scalbln_test_data): Likewise.
1392 (signbit_test_data): Likewise.
1393 (sin_test_data): Likewise.
1394 (sin_tonearest_test_data): Likewise.
1395 (sin_towardzero_test_data): Likewise.
1396 (sin_downward_test_data): Likewise.
1397 (sin_upward_test_data): Likewise.
1398 (sincos_test_data): Likewise.
1399 (sinh_test_data): Likewise.
1400 (sinh_tonearest_test_data): Likewise.
1401 (sinh_towardzero_test_data): Likewise.
1402 (sinh_downward_test_data): Likewise.
1403 (sinh_upward_test_data): Likewise.
1404 (sqrt_test_data): Likewise.
1405 (tan_test_data): Likewise.
1406 (tan_tonearest_test_data): Likewise.
1407 (tan_towardzero_test_data): Likewise.
1408 (tan_downward_test_data): Likewise.
1409 (tan_upward_test_data): Likewise.
1410 (tanh_test_data): Likewise.
1411 (tgamma_test_data): Likewise.
1412 (trunc_test_data): Likewise.
1413 (y0_test_data): Likewise.
1414 (y1_test_data): Likewise.
1415 (yn_test_data): Likewise.
1416 (significand_test_data): Likewise.
1417
b679a606
JM
1418 * math/gen-libm-test.pl (@functions): Remove variable.
1419 (generate_testfile): Don't handle START and END lines.
1420 * math/libm-test.inc (START): New macro.
1421 (END): Likewise.
1422 (END_COMPLEX): Likewise.
1423 (acos_test): Use END macro without arguments.
1424 (acos_test_tonearest): Likewise.
1425 (acos_test_towardzero): Likewise.
1426 (acos_test_downward): Likewise.
1427 (acos_test_upward): Likewise.
1428 (acosh_test): Likewise.
1429 (asin_test): Likewise.
1430 (asin_test_tonearest): Likewise.
1431 (asin_test_towardzero): Likewise.
1432 (asin_test_downward): Likewise.
1433 (asin_test_upward): Likewise.
1434 (asinh_test): Likewise.
1435 (atan_test): Likewise.
1436 (atanh_test): Likewise.
1437 (atan2_test): Likewise.
1438 (cabs_test): Likewise.
1439 (cacos_test): Use END_COMPLEX macro without arguments.
1440 (cacosh_test): Likewise.
1441 (carg_test): Use END macro without arguments.
1442 (casin_test): Use END_COMPLEX macro without arguments.
1443 (casinh_test): Likewise.
1444 (catan_test): Likewise.
1445 (catanh_test): Likewise.
1446 (cbrt_test): Use END macro without arguments.
1447 (ccos_test): Use END_COMPLEX macro without arguments.
1448 (ccosh_test): Likewise.
1449 (ceil_test): Use END macro without arguments.
1450 (cexp_test): Use END_COMPLEX macro without arguments.
1451 (cimag_test): Use END macro without arguments.
1452 (clog_test): Use END_COMPLEX macro without arguments.
1453 (clog10_test): Likewise.
1454 (conj_test): Likewise.
1455 (copysign_test): Use END macro without arguments.
1456 (cos_test): Likewise.
1457 (cos_test_tonearest): Likewise.
1458 (cos_test_towardzero): Likewise.
1459 (cos_test_downward): Likewise.
1460 (cos_test_upward): Likewise.
1461 (cosh_test): Likewise.
1462 (cosh_test_tonearest): Likewise.
1463 (cosh_test_towardzero): Likewise.
1464 (cosh_test_downward): Likewise.
1465 (cosh_test_upward): Likewise.
1466 (cpow_test): Use END_COMPLEX macro without arguments.
1467 (cproj_test): Likewise.
1468 (creal_test): Use END macro without arguments.
1469 (csin_test): Use END_COMPLEX macro without arguments.
1470 (csinh_test): Likewise.
1471 (csqrt_test): Likewise.
1472 (ctan_test): Likewise.
1473 (ctan_test_tonearest): Likewise.
1474 (ctan_test_towardzero): Likewise.
1475 (ctan_test_downward): Likewise.
1476 (ctan_test_upward): Likewise.
1477 (ctanh_test): Likewise.
1478 (ctanh_test_tonearest): Likewise.
1479 (ctanh_test_towardzero): Likewise.
1480 (ctanh_test_downward): Likewise.
1481 (ctanh_test_upward): Likewise.
1482 (erf_test): Use END macro without arguments.
1483 (erfc_test): Likewise.
1484 (exp_test): Likewise.
1485 (exp_test_tonearest): Likewise.
1486 (exp_test_towardzero): Likewise.
1487 (exp_test_downward): Likewise.
1488 (exp_test_upward): Likewise.
1489 (exp10_test): Likewise.
1490 (exp2_test): Likewise.
1491 (expm1_test): Likewise.
1492 (fabs_test): Likewise.
1493 (fdim_test): Likewise.
1494 (finite_test): Likewise.
1495 (floor_test): Likewise.
1496 (fma_test): Likewise.
1497 (fma_test_towardzero): Likewise.
1498 (fma_test_downward): Likewise.
1499 (fma_test_upward): Likewise.
1500 (fmax_test): Likewise.
1501 (fmin_test): Likewise.
1502 (fmod_test): Likewise.
1503 (fpclassify_test): Likewise.
1504 (frexp_test): Likewise.
1505 (gamma_test): Likewise.
1506 (hypot_test): Likewise.
1507 (ilogb_test): Likewise.
1508 (isfinite_test): Likewise.
1509 (isgreater_test): Likewise.
1510 (isgreaterequal_test): Likewise.
1511 (isinf_test): Likewise.
1512 (isless_test): Likewise.
1513 (islessequal_test): Likewise.
1514 (islessgreater_test): Likewise.
1515 (isnan_test): Likewise.
1516 (isnormal_test): Likewise.
1517 (issignaling_test): Likewise.
1518 (isunordered_test): Likewise.
1519 (j0_test): Likewise.
1520 (j1_test): Likewise.
1521 (jn_test): Likewise.
1522 (ldexp_test): Likewise.
1523 (lgamma_test): Likewise.
1524 (lrint_test): Likewise.
1525 (lrint_test_tonearest): Likewise.
1526 (lrint_test_towardzero): Likewise.
1527 (lrint_test_downward): Likewise.
1528 (lrint_test_upward): Likewise.
1529 (llrint_test): Likewise.
1530 (llrint_test_tonearest): Likewise.
1531 (llrint_test_towardzero): Likewise.
1532 (llrint_test_downward): Likewise.
1533 (llrint_test_upward): Likewise.
1534 (log_test): Likewise.
1535 (log10_test): Likewise.
1536 (log1p_test): Likewise.
1537 (log2_test): Likewise.
1538 (logb_test): Likewise.
1539 (logb_test_downward): Likewise.
1540 (lround_test): Likewise.
1541 (llround_test): Likewise.
1542 (modf_test): Likewise.
1543 (nearbyint_test): Likewise.
1544 (nextafter_test): Likewise.
1545 (nexttoward_test): Likewise.
1546 (pow_test): Likewise.
1547 (pow_test_tonearest): Likewise.
1548 (pow_test_towardzero): Likewise.
1549 (pow_test_downward): Likewise.
1550 (pow_test_upward): Likewise.
1551 (remainder_test): Likewise.
1552 (remainder_test_tonearest): Likewise.
1553 (remainder_test_towardzero): Likewise.
1554 (remainder_test_downward): Likewise.
1555 (remainder_test_upward): Likewise.
1556 (remquo_test): Likewise.
1557 (rint_test): Likewise.
1558 (rint_test_tonearest): Likewise.
1559 (rint_test_towardzero): Likewise.
1560 (rint_test_downward): Likewise.
1561 (rint_test_upward): Likewise.
1562 (round_test): Likewise.
1563 (scalb_test): Likewise.
1564 (scalbn_test): Likewise.
1565 (scalbln_test): Likewise.
1566 (signbit_test): Likewise.
1567 (sin_test): Likewise.
1568 (sin_test_tonearest): Likewise.
1569 (sin_test_towardzero): Likewise.
1570 (sin_test_downward): Likewise.
1571 (sin_test_upward): Likewise.
1572 (sincos_test): Likewise.
1573 (sinh_test): Likewise.
1574 (sinh_test_tonearest): Likewise.
1575 (sinh_test_towardzero): Likewise.
1576 (sinh_test_downward): Likewise.
1577 (sinh_test_upward): Likewise.
1578 (sqrt_test): Likewise.
1579 (tan_test): Likewise.
1580 (tan_test_tonearest): Likewise.
1581 (tan_test_towardzero): Likewise.
1582 (tan_test_downward): Likewise.
1583 (tan_test_upward): Likewise.
1584 (tanh_test): Likewise.
1585 (tgamma_test): Likewise.
1586 (trunc_test): Likewise.
1587 (y0_test): Likewise.
1588 (y1_test): Likewise.
1589 (yn_test): Likewise.
1590 (significand_test): Likewise.
1591
bae143d2
OB
15922013-05-24 Ondřej Bílka <neleai@seznam.cz>
1593
1594 [BZ #15381]
1595 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1596
9323d39b
EM
15972013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1598
d4ea44a0 1599 [BZ #14894]
9323d39b
EM
1600 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1601 __ppc_mdoio and __ppc_mdoom.
1602 * manual/platform.texi: Document new functions __ppc_yield,
1603 __ppc_mdoio and __ppc_mdoom.
1604
13e23af7
CD
16052013-05-22 Carlos O'Donell <carlos@redhat.com>
1606
1607 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1608 (main): Mention "tls" pseudo-hwcap is legacy.
1609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1610
351fe550
JM
16112013-05-22 Joseph Myers <joseph@codesourcery.com>
1612
1613 * math/gen-libm-test.pl (parse_args): Output only string of
1614 arguments as text for test name, not full call or descriptions of
1615 tests for extra outputs.
1616 (generate_testfile): Do not pass function name to parse_args.
1617 Generate this_func variable from START.
1618 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1619 field to arg_str.
1620 (struct test_ff_f_data): Likewise.
1621 (test_ff_f_data_nexttoward): Likewise.
1622 (struct test_fi_f_data): Likewise.
1623 (struct test_fl_f_data): Likewise.
1624 (struct test_if_f_data): Likewise.
1625 (struct test_fff_f_data): Likewise.
1626 (struct test_c_f_data): Likewise.
1627 (struct test_f_f1_data): Likewise. Remove field extra_name.
1628 (struct test_fF_f1_data): Likewise.
1629 (struct test_ffI_f1_data): Likewise.
1630 (struct test_c_c_data): Rename test_name field to arg_str.
1631 (struct test_cc_c_data): Likewise.
1632 (struct test_f_i_data): Likewise.
1633 (struct test_ff_i_data): Likewise.
1634 (struct test_f_l_data): Likewise.
1635 (struct test_f_L_data): Likewise.
1636 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1637 and extra2_name.
1638 (COMMON_TEST_SETUP): New macro.
1639 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1640 (COMMON_TEST_CLEANUP): Likewise.
1641 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1642 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1643 macros.
1644 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1645 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1646 macros.
1647 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1648 (RUN_TEST_fff_f): Take argument string. Call new setup and
1649 cleanup macros.
1650 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1651 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1652 macros.
1653 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1654 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1655 macros.
1656 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1657 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1658 cleanup macros.
1659 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1660 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1661 cleanup macros.
1662 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1663 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1664 cleanup macros.
1665 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1666 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1667 macros.
1668 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1669 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1670 macros.
1671 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1672 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1673 macros.
1674 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1675 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1676 cleanup macros.
1677 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1678 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1679 cleanup macros.
1680 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1681 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1682 macros.
1683 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1684 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1685 cleanup macros.
1686 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1687 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1688 macros.
1689 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1690 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1691 macros.
1692 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1693 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1694 cleanup macros.
1695 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1696
85118d4d
EBM
16972013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1698
1699 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1700 to _sifields.sigfault.
1701 (si_addr_lsb): Define new macro.
1702 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1704 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1705
7a44c18f
CD
17062013-05-03 Carlos O'Donell <carlos at redhat.com>
1707
1708 [BZ #15441]
1709 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1710 returns -1.
1711 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1712 null return -1.
1713 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1714 loading the domain.
1715
b50a7181
JM
17162013-05-22 Joseph Myers <joseph@codesourcery.com>
1717
1718 * math/gen-libm-test.pl (parse_args): Do not include expected
1719 result in test name.
1720 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1721 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1722 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1723 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1724 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726
051063c8
SP
17272013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1728
3ce9e010
SP
1729 * benchtests/Makefile: Sort function entries.
1730
051063c8
SP
1731 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1732 tanh, asinh, acosh, atanh.
1733 * benchtests/acos-inputs: New file.
1734 * benchtests/acosh-inputs: New file.
1735 * benchtests/asin-inputs: New file.
1736 * benchtests/asinh-inputs: New file.
1737 * benchtests/atanh-inputs: New file.
1738 * benchtests/cosh-inputs: New file.
1739 * benchtests/log-inputs: New file.
1740 * benchtests/sinh-inputs: New file.
1741 * benchtests/tanh-inputs: New file.
1742
47c22455
DL
17432013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1744
1745 [BZ #15339]
1746 * posix/tst-getaddrinfo4.c: New test.
1747 * posix/Makefile (tests): Add it.
1748
3d04f5db
SP
17492013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1750
1751 [BZ #15339]
1752 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1753 when no services were used.
1754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1755 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1756
d5dd6189
AS
17572013-05-21 Andreas Schwab <schwab@suse.de>
1758
1759 [BZ #15014]
1760 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1761 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1762 successful.
1763 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1764 redundant variable declarations and reallocation of buffer when
1765 parsing as IPv6 address. Always set NSS status when called from
1766 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1767 buffer too small. Correct computation of needed size.
1768 * nss/Makefile (tests): Add test-digits-dots.
1769 * nss/test-digits-dots.c: New test.
1770
fef94eab
SP
17712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 * benchtests/Makefile: Remove instructions for adding
1774 benchmark tests.
1775 * benchtests/README: New file to explain how to execute and
1776 enhance the benchmark tests.
1777
e39adf43
AS
17782013-05-21 Andreas Schwab <schwab@suse.de>
1779
1780 [BZ #15493]
1781 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1782 * setjmp/tst-sigsetjmp.c: New test.
1783
b2b671b6
OB
17842013-05-20 Ondřej Bílka <neleai@seznam.cz>
1785
1786 * sysdeps/x86_64/memset.S (memset): New implementation.
1787 (__bzero): Likewise.
1788 (__memset_tail): New function.
1789
2d48b41c
OB
17902013-05-20 Ondřej Bílka <neleai@seznam.cz>
1791
1792 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1793 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1794 __memcpy_sse2_unaligned ifunc selection.
1795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1796 Add memcpy-sse2-unaligned.S.
1797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1798 Add: __memcpy_sse2_unaligned.
1799
f16cc3eb
JM
18002013-05-19 Joseph Myers <joseph@codesourcery.com>
1801
3e694268
JM
1802 [BZ #15490]
1803 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1804 math_force_eval before restoring floating-point envrionment.
1805 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1806 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1807 Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1809 <math_private.h>.
1810 (__nearbyintl): Use math_force_eval before restoring
1811 floating-point environment.
1812 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1813
db62a907
JM
1814 * math/gen-libm-test.pl (special_functions): Remove.
1815 (parse_args): Don't handle TEST_extra. Handle functions with no
1816 return value.
1817 * math/libm-test.inc (struct test_sincos_data): Replace with
1818 struct test_fFF_11_data.
1819 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1820 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1821 (sincos_test_data): Change element type to struct
1822 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1823 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1824 RUN_TEST_LOOP_sincos.
1825 * math/README.libm-test: Don't mention special handling of
1826 individual functions.
1827 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1829 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1830 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1831 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1833
f16cc3eb
JM
1834 * math/gen-libm-test.pl (get_variable): Remove function.
1835 (parse_args): Don't show pointer parameters to call in test
1836 names. Use "extra output N" in test names for extra outputs
1837 rather than naming variables.
1838
3779b5b6
JM
18392013-05-18 Joseph Myers <joseph@codesourcery.com>
1840
2ee094ff
JM
1841 [BZ #15488]
1842 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1843 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1844 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1845 double tests.
1846 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1847 disable.
1848 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1849 check_long_double.
1850
3779b5b6
JM
1851 * math/gen-libm-test.pl (@tests): Remove variable.
1852 ($count): Likewise.
1853 (new_test): Remove function.
1854 (show_exceptions): New function.
1855 (special_functions): Use show_exceptions instead of new_test.
1856 (parse_args): Likewise.
1857 (generate_testfile): Pass only function name in generated call to
1858 print_max_error or print_complex_max_error.
1859 (get_ulps): Do not handle complex tests specially.
1860 (output_test): Rename to ...
1861 (get_all_ulps_for_test): ... this. Return a string rather than
1862 printing to a file. Require ulps to be present.
1863 (output_ulps): Generate arrays rather than #defines.
1864 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1865 (struct ulp_data): New type.
1866 (BUILD_COMPLEX_ULP): Remove macro.
1867 (compare_ulp_data): New function.
1868 (find_ulps): Likewise.
1869 (find_test_ulps): Likewise.
1870 (find_function_ulps): Likewise.
1871 (find_complex_function_ulps): Likewise.
1872 (print_max_error): Determine allowed ulps using
1873 find_function_ulps.
1874 (print_complex_max_error): Determine allowed ulps using
1875 find_complex_function_ulps.
1876 (check_float_internal): Determine max ulps using find_test_ulps.
1877 (check_float): Do not take max_ulp parameter. Update call to
1878 check_float_internal.
1879 (check_complex): Likewise.
1880 (check_int): Do not take max_ulp parameter.
1881 (check_long): Likewise.
1882 (check_bool): Likewise.
1883 (check_longlong): Likewise.
1884 (struct test_f_f_data): Remove max_ulp field.
1885 (struct test_ff_f_data): Likewise.
1886 (struct test_ff_f_data_nexttoward): Likewise.
1887 (struct test_fi_f_data): Likewise.
1888 (struct test_fl_f_data): Likewise.
1889 (struct test_if_f_data): Likewise.
1890 (struct test_fff_f_data): Likewise.
1891 (struct test_c_f_data): Likewise.
1892 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1893 (struct test_fF_f1_data): Likewise.
1894 (struct test_ffI_f1_data): Likewise.
1895 (struct test_c_c_data): Remove max_ulp field.
1896 (struct test_cc_c_data): Likewise.
1897 (struct test_f_i_data): Likewise.
1898 (struct test_ff_i_data): Likewise.
1899 (struct test_f_l_data): Likewise.
1900 (struct test_f_L_data): Likewise.
1901 (struct test_sincos_data): Likewise.
1902 (RUN_TEST_f_f): Do not handle ulps.
1903 (RUN_TEST_LOOP_f_f): Likewise.
1904 (RUN_TEST_2_f): Likewise.
1905 (RUN_TEST_LOOP_2_f): Likewise.
1906 (RUN_TEST_fff_f): Likewise.
1907 (RUN_TEST_LOOP_fff_f): Likewise.
1908 (RUN_TEST_c_f): Likewise.
1909 (RUN_TEST_LOOP_c_f): Likewise.
1910 (RUN_TEST_f_f1): Likewise.
1911 (RUN_TEST_LOOP_f_f1): Likewise.
1912 (RUN_TEST_fF_f1): Likewise.
1913 (RUN_TEST_LOOP_fF_f1): Likewise.
1914 (RUN_TEST_fI_f1): Likewise.
1915 (RUN_TEST_LOOP_fI_f1): Likewise.
1916 (RUN_TEST_ffI_f1): Likewise.
1917 (RUN_TEST_LOOP_ffI_f1): Likewise.
1918 (RUN_TEST_c_c): Likewise.
1919 (RUN_TEST_LOOP_c_c): Likewise.
1920 (RUN_TEST_cc_c): Likewise.
1921 (RUN_TEST_LOOP_cc_c): Likewise.
1922 (RUN_TEST_f_i): Likewise.
1923 (RUN_TEST_LOOP_f_i): Likewise.
1924 (RUN_TEST_f_i_tg): Likewise.
1925 (RUN_TEST_LOOP_f_i_tg): Likewise.
1926 (RUN_TEST_ff_i_tg): Likewise.
1927 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1928 (RUN_TEST_f_b): Likewise.
1929 (RUN_TEST_LOOP_f_b): Likewise.
1930 (RUN_TEST_f_b_tg): Likewise.
1931 (RUN_TEST_LOOP_f_b_tg): Likewise.
1932 (RUN_TEST_f_l): Likewise.
1933 (RUN_TEST_LOOP_f_l): Likewise.
1934 (RUN_TEST_f_L): Likewise.
1935 (RUN_TEST_LOOP_f_L): Likewise.
1936 (RUN_TEST_sincos): Likewise.
1937 (RUN_TEST_LOOP_sincos): Likewise.
1938
8269107f
JM
19392013-05-17 Joseph Myers <joseph@codesourcery.com>
1940
bb38759d
JM
1941 [BZ #15480]
1942 [BZ #15485]
1943 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1944 main case of finite arguments, set rounding mode to FE_TONEAREST
1945 and discard exceptions.
1946 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1947 exceptions.
1948 (remainder_tonearest_test_data): New variable.
1949 (remainder_test_tonearest): New function.
1950 (remainder_towardzero_test_data): New variable.
1951 (remainder_test_towardzero): New function.
1952 (remainder_downward_test_data): New variable.
1953 (remainder_test_downward): New function.
1954 (remainder_upward_test_data): New variable.
1955 (remainder_test_upward): New function.
1956 (main): Call the new test functions.
1957
a00bdcf0
JM
1958 * math/libm-test.inc (struct test_f_f1_data): Remove field
1959 extra_init.
1960 (struct test_fF_f1_data): Likewise.
1961 (struct test_ffI_f1_data): Likewise.
1962 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1963 based on value of EXTRA_EXPECTED.
1964 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1965 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1966 EXTRA_VAR based on value of EXTRA_EXPECTED.
1967 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1968 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1969 EXTRA_VAR based on value of EXTRA_EXPECTED.
1970 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1971 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1972 EXTRA_VAR based on value of EXTRA_EXPECTED.
1973 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1974 * math/gen-libm-test.pl (parse_args): Don't output initializers
1975 for extra output values.
1976
de407f79
JM
1977 * math/libm-test.inc (check_int): Expect result to be exactly
1978 equal to expected value and do not handle ulps.
1979 (check_long): Likewise.
1980 (check_longlong): Likewise.
1981
8269107f
JM
1982 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1983 exceptions.
1984 (cimag_test_data): Likewise.
1985 (conj_test_data): Likewise.
1986 (copysign_test_data): Likewise.
1987 (cproj_test_data): Likewise.
1988 (creal_test_data): Likewise.
1989 (fabs_test_data): Likewise.
1990 (fdim_test_data): Likewise.
1991 (finite_test_data): Likewise.
1992 (floor_test_data): Likewise.
1993 (fmax_test_data): Likewise.
1994 (fmin_test_data): Likewise.
1995 (fmod_test_data): Likewise.
1996 (fpclassify_test_data): Likewise.
1997 (frexp_test_data): Likewise.
1998 (ilogb_test_data): Likewise.
1999 (isfinite_test_data): Likewise.
2000 (isgreater_test_data): Likewise.
2001 (isgreaterequal_test_data): Likewise.
2002 (isinf_test_data): Likewise.
2003 (isless_test_data): Likewise.
2004 (islessequal_test_data): Likewise.
2005 (islessgreater_test_data): Likewise.
2006 (isnan_test_data): Likewise.
2007 (isnormal_test_data): Likewise.
2008 (issignaling_test_data): Likewise.
2009 (isunordered_test_data): Likewise.
2010 (ldexp_test_data): Likewise.
2011 (lrint_test_data): Likewise.
2012 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2013 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2014 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2015 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2016 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2017 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2018 test input.
2019 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2020 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2021 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2022 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2023 that test input.
2024 (lrint_downward_test_data): Test for "inexact" exceptions.
2025 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2026 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2027 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2028 test input.
2029 (lrint_upward_test_data): Test for "inexact" exceptions.
2030 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2031 test input.
2032 (llrint_test_data): Test for "inexact" exceptions.
2033 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2034 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2035 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2036 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2037 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2038 (llrint_downward_test_data): Test for "inexact" exceptions.
2039 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2040 (llrint_upward_test_data): Test for "inexact" exceptions.
2041 (logb_test_data): Likewise.
2042 (logb_downward_test_data): Likewise.
2043 (nextafter_test_data): Likewise.
2044 (nexttoward_test_data): Likewise.
2045 (remainder_test_data): Likewise.
2046 (remquo_test_data): Likewise.
2047 (scalbn_test_data): Likewise.
2048 (scalbln_test_data): Likewise.
2049 (signbit_test_data): Likewise.
2050 (sqrt_test_data): Likewise.
2051 (significand_test_data): Likewise.
2052
48a18de1
SP
20532013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2054
2055 [BZ #15424]
2056 * benchtests/bench-modf.c (struct args): Mark arg0 as
2057 volatile.
2058 * scripts/bench.pl: Mark members of struct args as volatile.
2059
13d3b41a
AZ
20602013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061
68191c1d 2062 [BZ # 15497]
13d3b41a
AZ
2063 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2064 negative infinity on POWER6 or lower.
2065 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2066
2848b105
MR
20672013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2068
2069 [BZ #15442]
2070 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2071 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2072 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2073 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2074 (_FP_SETQNAN): New macro.
2075 (_FP_SETQNAN_SEMIRAW): Likewise.
2076 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2077 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2078 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2079 (FP_EXTEND): Use _FP_FRAC_SNANP.
2080 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2081 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2082 into account.
2083 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2084 New macro.
2085 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2086 Likewise.
2087
323e5cb7
JM
20882013-05-16 Joseph Myers <joseph@codesourcery.com>
2089
c58b274f
JM
2090 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2091 with DIVIDE_BY_ZERO_EXCEPTION.
2092 (gamma_test_data): Likewise.
2093 (lgamma_test_data): Likewise.
2094 (log_test_data): Likewise.
2095 (log10_test_data): Likewise.
2096 (log2_test_data): Likewise.
2097 (tgamma_test_data): Likewise.
2098
0ab34904
JM
2099 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2100 (acos_test_tonearest): Likewise.
2101 (acos_test_towardzero): Likewise.
2102 (acos_test_downward): Likewise.
2103 (acos_test_upward): Likewise.
2104 (acosh_test): Likewise.
2105 (asin_test): Likewise.
2106 (asin_test_tonearest): Likewise.
2107 (asin_test_towardzero): Likewise.
2108 (asin_test_downward): Likewise.
2109 (asin_test_upward): Likewise.
2110 (asinh_test): Likewise.
2111 (atan_test): Likewise.
2112 (atanh_test): Likewise.
2113 (atan2_test): Likewise.
2114 (cabs_test): Likewise.
2115 (cacos_test): Likewise.
2116 (cacosh_test): Likewise.
2117 (casin_test): Likewise.
2118 (casinh_test): Likewise.
2119 (catan_test): Likewise.
2120 (catanh_test): Likewise.
2121 (cbrt_test): Likewise.
2122 (ccos_test): Likewise.
2123 (ccosh_test): Likewise.
2124 (cexp_test): Likewise.
2125 (clog_test): Likewise.
2126 (clog10_test): Likewise.
2127 (cos_test): Likewise.
2128 (cos_test_tonearest): Likewise.
2129 (cos_test_towardzero): Likewise.
2130 (cos_test_downward): Likewise.
2131 (cos_test_upward): Likewise.
2132 (cosh_test): Likewise.
2133 (cosh_test_tonearest): Likewise.
2134 (cosh_test_towardzero): Likewise.
2135 (cosh_test_downward): Likewise.
2136 (cosh_test_upward): Likewise.
2137 (cpow_test): Likewise.
2138 (csin_test): Likewise.
2139 (csinh_test): Likewise.
2140 (csqrt_test): Likewise.
2141 (ctan_test): Likewise.
2142 (ctan_test_tonearest): Likewise.
2143 (ctan_test_towardzero): Likewise.
2144 (ctan_test_downward): Likewise.
2145 (ctan_test_upward): Likewise.
2146 (ctanh_test): Likewise.
2147 (ctanh_test_tonearest): Likewise.
2148 (ctanh_test_towardzero): Likewise.
2149 (ctanh_test_downward): Likewise.
2150 (ctanh_test_upward): Likewise.
2151 (erf_test): Likewise.
2152 (erfc_test): Likewise.
2153 (exp_test): Likewise.
2154 (exp_test_tonearest): Likewise.
2155 (exp_test_towardzero): Likewise.
2156 (exp_test_downward): Likewise.
2157 (exp_test_upward): Likewise.
2158 (exp10_test): Likewise.
2159 (exp2_test): Likewise.
2160 (expm1_test): Likewise.
2161 (fmod_test): Likewise.
2162 (gamma_test): Likewise.
2163 (hypot_test): Likewise.
2164 (j0_test): Likewise.
2165 (j1_test): Likewise.
2166 (jn_test): Likewise.
2167 (lgamma_test): Likewise.
2168 (log_test): Likewise.
2169 (log10_test): Likewise.
2170 (log1p_test): Likewise.
2171 (log2_test): Likewise.
2172 (logb_test_downward): Likewise.
2173 (pow_test): Likewise.
2174 (pow_test_tonearest): Likewise.
2175 (pow_test_towardzero): Likewise.
2176 (pow_test_downward): Likewise.
2177 (pow_test_upward): Likewise.
2178 (remainder_test): Likewise.
2179 (remquo_test): Likewise.
2180 (sin_test): Likewise.
2181 (sin_test_tonearest): Likewise.
2182 (sin_test_towardzero): Likewise.
2183 (sin_test_downward): Likewise.
2184 (sin_test_upward): Likewise.
2185 (sincos_test): Likewise.
2186 (sinh_test): Likewise.
2187 (sinh_test_tonearest): Likewise.
2188 (sinh_test_towardzero): Likewise.
2189 (sinh_test_downward): Likewise.
2190 (sinh_test_upward): Likewise.
2191 (sqrt_test): Likewise.
2192 (tan_test): Likewise.
2193 (tan_test_tonearest): Likewise.
2194 (tan_test_towardzero): Likewise.
2195 (tan_test_downward): Likewise.
2196 (tan_test_upward): Likewise.
2197 (tanh_test): Likewise.
2198 (tgamma_test): Likewise.
2199 (y0_test): Likewise.
2200 (y1_test): Likewise.
2201 (yn_test): Likewise.
2202
323e5cb7
JM
2203 * math/gen-libm-test.pl (adjust_arg): Remove function.
2204 (special_function): Remove argument $in_func. Only handle
2205 generating output for tables of tests, not inside functions.
2206 (parse_args): Likewise.
2207 (generate_testfile): Remove variable $in_func. Update call to
2208 parse_args.
2209 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2210 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2211 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2212 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2213 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2214 (MAX_VALUE_INIT): Rename macro to max_value.
2215 (MIN_VALUE_INIT): Rename macro to min_value.
2216 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2217 (plus_zero): Remove variable.
2218 (minus_zero): Likewise.
2219 (plus_infty): Likewise.
2220 (minus_infty): Likewise.
2221 (qnan_value): Likewise.
2222 (max_value): Likewise.
2223 (min_value): Likewise.
2224 (min_subnorm_value): Likewise.
2225
e054f494
RA
22262013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2227
2228 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2229 uint64_t or uint32_t usage.
2230 * crypt/sha256-block.c: Likewise.
2231 * crypt/sha256-crypt.c: Likewise.
2232 * crypt/sha256.c: Likewise.
2233 * crypt/sha512-block.c: Likewise.
2234 * crypt/sha512-crypt.c: Likewise.
2235 * crypt/sha512.c: Likewise.
2236 * debug/backtrace-tst.c: Likewise.
2237 * debug/pcprofiledump.c: Likewise.
2238 * elf/cache.c: Likewise.
2239 * elf/dl-cache.c: Likewise.
2240 * elf/dl-misc.c: Likewise.
2241 * elf/dl-profile.c: Likewise.
2242 * elf/dl-support.c: Likewise.
2243 * elf/ldconfig.c: Likewise.
2244 * elf/sprof.c: Likewise.
2245 * iconv/dummy-repertoire.c: Likewise.
2246 * iconv/iconv_charmap.c: Likewise.
2247 * iconv/skeleton.c: Likewise.
2248 * iconvdata/8bit-generic.c: Likewise.
2249 * iconvdata/cp737.h: Likewise.
2250 * iconvdata/cp775.h: Likewise.
2251 * iconvdata/ibm1008.h: Likewise.
2252 * iconvdata/ibm1025.h: Likewise.
2253 * iconvdata/ibm1046.h: Likewise.
2254 * iconvdata/ibm1097.h: Likewise.
2255 * iconvdata/ibm1112.h: Likewise.
2256 * iconvdata/ibm1122.h: Likewise.
2257 * iconvdata/ibm1123.h: Likewise.
2258 * iconvdata/ibm1124.h: Likewise.
2259 * iconvdata/ibm1129.h: Likewise.
2260 * iconvdata/ibm1130.h: Likewise.
2261 * iconvdata/ibm1132.h: Likewise.
2262 * iconvdata/ibm1133.h: Likewise.
2263 * iconvdata/ibm1137.h: Likewise.
2264 * iconvdata/ibm1140.h: Likewise.
2265 * iconvdata/ibm1141.h: Likewise.
2266 * iconvdata/ibm1142.h: Likewise.
2267 * iconvdata/ibm1143.h: Likewise.
2268 * iconvdata/ibm1144.h: Likewise.
2269 * iconvdata/ibm1145.h: Likewise.
2270 * iconvdata/ibm1146.h: Likewise.
2271 * iconvdata/ibm1147.h: Likewise.
2272 * iconvdata/ibm1148.h: Likewise.
2273 * iconvdata/ibm1149.h: Likewise.
2274 * iconvdata/ibm1153.h: Likewise.
2275 * iconvdata/ibm1154.h: Likewise.
2276 * iconvdata/ibm1155.h: Likewise.
2277 * iconvdata/ibm1156.h: Likewise.
2278 * iconvdata/ibm1157.h: Likewise.
2279 * iconvdata/ibm1158.h: Likewise.
2280 * iconvdata/ibm1160.h: Likewise.
2281 * iconvdata/ibm1161.h: Likewise.
2282 * iconvdata/ibm1162.h: Likewise.
2283 * iconvdata/ibm1163.h: Likewise.
2284 * iconvdata/ibm1164.h: Likewise.
2285 * iconvdata/ibm1166.h: Likewise.
2286 * iconvdata/ibm1167.h: Likewise.
2287 * iconvdata/ibm12712.h: Likewise.
2288 * iconvdata/ibm1390.h: Likewise.
2289 * iconvdata/ibm1399.h: Likewise.
2290 * iconvdata/ibm16804.h: Likewise.
2291 * iconvdata/ibm4517.h: Likewise.
2292 * iconvdata/ibm4899.h: Likewise.
2293 * iconvdata/ibm4909.h: Likewise.
2294 * iconvdata/ibm4971.h: Likewise.
2295 * iconvdata/ibm5347.h: Likewise.
2296 * iconvdata/ibm803.h: Likewise.
2297 * iconvdata/ibm856.h: Likewise.
2298 * iconvdata/ibm901.h: Likewise.
2299 * iconvdata/ibm902.h: Likewise.
2300 * iconvdata/ibm9030.h: Likewise.
2301 * iconvdata/ibm9066.h: Likewise.
2302 * iconvdata/ibm921.h: Likewise.
2303 * iconvdata/ibm922.h: Likewise.
2304 * iconvdata/ibm9448.h: Likewise.
2305 * iconvdata/isiri-3342.h: Likewise.
2306 * iconvdata/jis0201.h: Likewise.
2307 * include/link.h: Likewise.
2308 * include/netdb.h: Likewise.
2309 * inet/check_native.c: Likewise.
2310 * inet/check_pf.c: Likewise.
2311 * inet/getipv4sourcefilter.c: Likewise.
2312 * inet/getnameinfo.c: Likewise.
2313 * inet/getsourcefilter.c: Likewise.
2314 * inet/htonl.c: Likewise.
2315 * inet/setipv4sourcefilter.c: Likewise.
2316 * inet/setsourcefilter.c: Likewise.
2317 * inet/test-inet6_opt.c: Likewise.
2318 * inet/tst-network.c: Likewise.
2319 * locale/C-collate.c: Likewise.
2320 * locale/C-ctype.c: Likewise.
2321 * locale/C-time.c: Likewise.
2322 * locale/C-translit.h: Likewise.
2323 * locale/loadarchive.c: Likewise.
2324 * locale/programs/3level.h: Likewise.
2325 * locale/programs/charmap.c: Likewise.
2326 * locale/programs/charmap.h: Likewise.
2327 * locale/programs/ld-address.c: Likewise.
2328 * locale/programs/ld-collate.c: Likewise.
2329 * locale/programs/ld-ctype.c: Likewise.
2330 * locale/programs/ld-identification.c: Likewise.
2331 * locale/programs/ld-measurement.c: Likewise.
2332 * locale/programs/ld-messages.c: Likewise.
2333 * locale/programs/ld-monetary.c: Likewise.
2334 * locale/programs/ld-name.c: Likewise.
2335 * locale/programs/ld-numeric.c: Likewise.
2336 * locale/programs/ld-paper.c: Likewise.
2337 * locale/programs/ld-telephone.c: Likewise.
2338 * locale/programs/ld-time.c: Likewise.
2339 * locale/programs/linereader.c: Likewise.
2340 * locale/programs/locale.c: Likewise.
2341 * locale/programs/locarchive.c: Likewise.
2342 * locale/programs/locfile.h: Likewise.
2343 * locale/programs/repertoire.c: Likewise.
2344 * locale/programs/simple-hash.c: Likewise.
2345 * locale/programs/simple-hash.h: Likewise.
2346 * malloc/memusage.c: Likewise.
2347 * malloc/memusagestat.c: Likewise.
2348 * nis/nis_defaults.c: Likewise.
2349 * nis/nis_hash.c: Likewise.
2350 * nis/nis_print.c: Likewise.
2351 * nis/nis_xdr.c: Likewise.
2352 * nscd/connections.c: Likewise.
2353 * nscd/hstcache.c: Likewise.
2354 * nscd/nscd_gethst_r.c: Likewise.
2355 * nscd/nscd_getserv_r.c: Likewise.
2356 * nscd/nscd_helper.c: Likewise.
2357 * nscd/servicescache.c: Likewise.
2358 * nss/makedb.c: Likewise.
2359 * nss/nss_db/db-XXX.c: Likewise.
2360 * nss/nss_db/db-initgroups.c: Likewise.
2361 * nss/nss_db/db-netgrp.c: Likewise.
2362 * nss/nss_files/files-network.c: Likewise.
2363 * nss/nss_files/files-parse.c: Likewise.
2364 * posix/bug-regex5.c: Likewise.
2365 * posix/fnmatch_loop.c: Likewise.
2366 * posix/regcomp.c: Likewise.
2367 * posix/regexec.c: Likewise.
2368 * posix/tst-rfc3484-2.c: Likewise.
2369 * posix/tst-rfc3484-3.c: Likewise.
2370 * posix/tst-rfc3484.c: Likewise.
2371 * resolv/nss_dns/dns-canon.c: Likewise.
2372 * resolv/nss_dns/dns-network.c: Likewise.
2373 * resolv/res_init.c: Likewise.
2374 * resolv/res_mkquery.c: Likewise.
2375 * resolv/tst-aton.c: Likewise.
2376 * stdlib/cxa_atexit.c: Likewise.
2377 * stdlib/cxa_finalize.c: Likewise.
2378 * stdlib/gen-fpioconst.c: Likewise.
2379 * stdlib/strtol_l.c: Likewise.
2380 * string/tst-endian.c: Likewise.
2381 * sunrpc/auth_des.c: Likewise.
2382 * sunrpc/clnt_udp.c: Likewise.
2383 * sunrpc/rtime.c: Likewise.
2384 * sunrpc/svcauth_des.c: Likewise.
2385 * sunrpc/xdr.c: Likewise.
2386 * sunrpc/xdr_intXX_t.c: Likewise.
2387 * sunrpc/xdr_rec.c: Likewise.
2388 * sysdeps/generic/ldconfig.h: Likewise.
2389 * sysdeps/generic/ldsodefs.h: Likewise.
2390 * sysdeps/generic/memusage.h: Likewise.
2391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2393 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2401 * sysdeps/posix/getaddrinfo.c: Likewise.
2402 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2404 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2405 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2406 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2407 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2408 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2409 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2410 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2413 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2414 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2415 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2416 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2417 * sysdeps/x86_64/dl-tls.h: Likewise.
2418 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2419 * time/alt_digit.c: Likewise.
2420 * time/era.c: Likewise.
2421 * wcsmbs/tst-c16c32-1.c: Likewise.
2422
8c75f674
JM
24232013-05-16 Joseph Myers <joseph@codesourcery.com>
2424
2425 * math/libm-test.inc (struct test_sincos_data): New type.
2426 (RUN_TEST_LOOP_sincos): New macro.
2427 (sincos_test_data): New variable.
2428 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2429
e6e49e59
RH
24302013-05-16 Richard Henderson <rth@redhat.com>
2431
2432 * math/atest-exp2.c (LIMB64): New macro.
2433 (CONSTSZ): New macro.
2434 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2435 (hexdig): Move ...
2436 (print_mpn_fp): ... to function scope.
2437 (read_mpn_hex): Remove.
2438 (get_log2): Remove.
2439 (exp2_mpn): Use mp_log2.
2440 (main): Use mp_exp1.
2441
15c7c18d
JM
24422013-05-16 Joseph Myers <joseph@codesourcery.com>
2443
105a07df
JM
2444 * math/libm-test.inc: Remove comment about not testing "inexact"
2445 exceptions.
2446 (INEXACT_EXCEPTION): New macro.
2447 (NO_INEXACT_EXCEPTION): Likewise.
2448 (INVALID_EXCEPTION_OK): Update value.
2449 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2450 (OVERFLOW_EXCEPTION_OK): Likewise.
2451 (UNDERFLOW_EXCEPTION_OK): Likewise.
2452 (IGNORE_ZERO_INF_SIGN): Likewise.
2453 (ERRNO_UNCHANGED): Likewise.
2454 (ERRNO_EDOM): Likewise.
2455 (ERRNO_ERANGE): Likewise.
2456 (test_exceptions): Handle testing "inexact" exceptions.
2457 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2458 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2459 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2460 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2461 INEXACT_EXCEPTION.
2462 (rint_towardzero_test_data): Likewise.
2463 (rint_downward_test_data): Likewise.
2464 (rint_upward_test_data): Likewise.
2465
e9eee333
JM
2466 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2467 with OVERFLOW_EXCEPTION.
2468 (exp10_test_data): Likewise.
2469 (exp2_test_data): Likewise.
2470 (expm1_test_data): Likewise.
2471 (lgamma_test_data): Likewise.
2472 (pow_test_data): Likewise.
2473 (tgamma_test_data): Likewise.
2474 (yn_test_data): Remove duplicate test of overflow.
2475
1c38ff73
JM
2476 * math/libm-test.inc (struct test_cc_c_data): New type.
2477 (RUN_TEST_LOOP_cc_c): New macro.
2478 (cpow_test_data): New variable.
2479 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2480
15c7c18d
JM
2481 * math/libm-test.inc (struct test_f_L_data): New type.
2482 (RUN_TEST_LOOP_f_L): New macro.
2483 (llrint_test_data): New variable.
2484 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2485 (llrint_tonearest_test_data): New variable.
2486 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2487 (llrint_towardzero_test_data): New variable.
2488 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2489 (llrint_downward_test_data): New variable.
2490 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2491 (llrint_upward_test_data): New variable.
2492 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2493 (llround_test_data): New variable.
2494 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2495
f137ff13
PC
24962013-05-13 Peter Collingbourne <pcc@google.com>
2497
2498 * math/atest-exp2.c (get_log2): Remove const attribute.
2499
3608cb24
JM
25002013-05-15 Joseph Myers <joseph@codesourcery.com>
2501
2502 * math/libm-test.inc (struct test_f_l_data): New type.
2503 (RUN_TEST_LOOP_f_l): New macro.
2504 (lrint_test_data): New variable.
2505 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2506 (lrint_tonearest_test_data): New variable.
2507 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2508 (lrint_towardzero_test_data): New variable.
2509 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2510 (lrint_downward_test_data): New variable.
2511 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2512 (lrint_upward_test_data): New variable.
2513 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2514 (lround_test_data): New variable.
2515 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2516
39b1f617
PC
25172013-05-15 Peter Collingbourne <pcc@google.com>
2518
1deff3dc
PC
2519 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2520 (EXTRACT_WORDS64) Use where appropriate.
2521 (INSERT_WORDS64) Likewise.
2522
791f3ba0
PC
2523 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2524 constraints with x constraints.
2525 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2526
39b1f617
PC
2527 * malloc/obstack.c (_obstack_compat): Add initializer.
2528
12fba011
EM
25292013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2530
2531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2532 si_trapno and add si_addr_lsb to _sifields.sigfault.
2533 (si_trapno): Remove macro.
2534 (si_addr_lsb): Define new macro.
2535 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2536
d369f531
JM
25372013-05-15 Joseph Myers <joseph@codesourcery.com>
2538
b861c6c4
JM
2539 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2540 instead of TEST_f_l.
2541 (llrint_test_tonearest): Likewise.
2542 (llrint_test_towardzero): Likewise.
2543 (llrint_test_downward): Likewise.
2544 (llrint_test_upward): Likewise.
2545 (llround_test): Likewise.
2546
7abeee12
JM
2547 * math/libm-test.inc (struct test_f_i_data): Add comment.
2548 (RUN_TEST_LOOP_f_b): New macro.
2549 (RUN_TEST_LOOP_f_b_tg): Likewise.
2550 (finite_test_data): New variable.
2551 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2552 (isfinite_test_data): New variable.
2553 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2554 (isinf_test_data): New variable.
2555 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2556 (isnan_test_data): New variable.
2557 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2558 (isnormal_test_data): New variable.
2559 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2560 (issignaling_test_data): New variable.
2561 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2562 (signbit_test_data): New variable.
2563 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2564
cbe8c4d3
JM
2565 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2566 with INVALID_EXCEPTION.
2567 (acosh_test_data): Likewise.
2568 (asin_test_data): Likewise.
2569 (atanh_test_data): Likewise.
2570 (fmod_test_data): Likewise.
2571 (log_test_data): Likewise.
2572 (log10_test_data): Likewise.
2573 (log2_test_data): Likewise.
2574 (pow_test_data): Likewise.
2575 (sqrt_test_data): Likewise.
2576 (y0_test_data): Likewise.
2577 (y1_test_data): Likewise.
2578 (yn_test_data): Likewise.
2579
5575c0e5
JM
2580 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2581 function contents.
2582
d369f531
JM
2583 * math/libm-test.inc (struct test_ff_i_data): New type.
2584 (RUN_TEST_LOOP_ff_i_tg): New macro.
2585 (isgreater_test_data): New variable.
2586 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2587 (isgreaterequal_test_data): New variable.
2588 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2589 (isless_test_data): New variable.
2590 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2591 (islessequal_test_data): New variable.
2592 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2593 (islessgreater_test_data): New variable.
2594 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2595 (isunordered_test_data): New variable.
2596 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2597
781fd748
DM
25982013-05-14 David S. Miller <davem@davemloft.net>
2599
2600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2601
87aa21df
JM
26022013-05-14 Joseph Myers <joseph@codesourcery.com>
2603
5e908270
JM
2604 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2605
f71172e5
JM
2606 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2607 extra_test to int.
2608 (struct test_f_i_data): Change type of max_ulp to int.
2609
8cfa635a
JM
2610 * math/libm-test.inc (test_ffI_f1_data): New type.
2611 (RUN_TEST_LOOP_ffI_f1): New macro.
2612 (remquo_test_data): New variable.
2613 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2614
2bcb36b2
JM
2615 * setjmp/tst-setjmp-fp.c: New file.
2616 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2617 (link-libm): New variable.
2618 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2619
acbd839a
JM
2620 * math/libm-test.inc (struct test_f_i_data): New type.
2621 (RUN_TEST_LOOP_f_i): New macro.
2622 (RUN_TEST_LOOP_f_i_tg): Likewise.
2623 (fpclassify_test_data): New variable.
2624 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2625 (ilogb_test_data): New variable.
2626 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2627
e414d745
JM
2628 * math/libm-test.inc (scalbln_test): Correct function name in END
2629 call.
2630
d9c2a0fd
JM
2631 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2632 (RUN_TEST_LOOP_fI_f1): New macro.
2633 (frexp_test_data): New variable.
2634 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2635
9dc9095d
JM
2636 * math/libm-test.inc (struct test_fF_f1_data): New type.
2637 (RUN_TEST_LOOP_fF_f1): New macro.
2638 (modf_test_data): New variable.
2639 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2640
87aa21df
JM
2641 * math/libm-test.inc (struct test_f_f1_data): New type.
2642 (RUN_TEST_LOOP_f_f1): New macro.
2643 (gamma_test_data): New variable.
2644 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2645 (lgamma_test_data): New variable.
2646 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2647
141af660
CD
26482013-05-13 Carlos O'Donell <carlos@redhat.com>
2649
2650 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2651 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2652 (main): Comment "tls" pseudo-hwcap.
2653
6d33265c
JM
26542013-05-13 Joseph Myers <joseph@codesourcery.com>
2655
68fc074c
JM
2656 * math/libm-test.inc (struct test_fl_f_data): New type.
2657 (RUN_TEST_LOOP_fl_f): New variable.
2658 (scalbln_test_data): New variable.
2659 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2660
243216e1
JM
2661 * math/libm-test.inc (struct test_fi_f_data): New type.
2662 (RUN_TEST_LOOP_fi_f): New macro.
2663 (ldexp_test_data): New variable.
2664 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2665 (scalbn_test_data): New variable.
2666 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2667
6a1992e2
JM
2668 * math/libm-test.inc (struct test_c_f_data): New type.
2669 (RUN_TEST_LOOP_c_f): New macro.
2670 (cabs_test_data): New variable.
2671 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2672 (carg_test_data): New variable.
2673 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2674 (cimag_test_data): New variable.
2675 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2676 (creal_test_data): New variable.
2677 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2678
0e400df5
JM
2679 * math/libm-test.inc (struct test_if_f_data): New type.
2680 (RUN_TEST_LOOP_if_f): New macro.
2681 (jn_test_data): New variable.
2682 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2683 (yn_test_data): New variable.
2684 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2685
6d33265c
JM
2686 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2687
f98ece5f
AZ
26882013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2689
2690 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2691 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2692
0f7d347b
SP
26932013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2694
43fe811b
SP
2695 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2696 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2697 (bench-deps): Add bench-timing.h.
2698 * benchtests-bench-skeleton.c: Include bench-timing.h.
2699 (main): Use TIMING_* macros instead of clock_gettime.
2700 * benchtests/bench-timing.h: New file.
2701
0f7d347b
SP
2702 [BZ #14582]
2703 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2704 Renamed from _LIB_VERSION.
2705 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2706
601a3a5f
JM
27072013-05-12 Joseph Myers <joseph@codesourcery.com>
2708
4f184d30
JM
2709 * math/libm-test.inc (struct test_fff_f_data): New type.
2710 (RUN_TEST_LOOP_fff_f): New macro.
2711 (fma_test_data): New variable.
2712 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2713 (fma_towardzero_test_data): New variable.
2714 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2715 (fma_downward_test_data): New variable.
2716 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2717 (fma_upward_test_data): New variable.
2718 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2719
08198877
JM
2720 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2721 (struct test_c_c_data): New type.
2722 (RUN_TEST_LOOP_c_c): New macro.
2723 (cacos_test_data): New variable.
2724 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2725 (cacosh_test_data): New variable.
2726 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2727 (casin_test_data): New variable.
2728 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2729 (casinh_test_data): New variable.
2730 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2731 (catan_test_data): New variable.
2732 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2733 (catanh_test_data): New variable.
2734 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2735 (ccos_test_data): New variable.
2736 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2737 (ccosh_test_data): New variable.
2738 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2739 (cexp_test_data): New variable.
2740 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2741 (clog_test_data): New variable.
2742 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2743 (clog10_test_data): New variable.
2744 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2745 (conj_test_data): New variable.
2746 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2747 (cproj_test_data): New variable.
2748 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2749 (csin_test_data): New variable.
2750 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2751 (csinh_test_data): New variable.
2752 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2753 (csqrt_test_data): New variable.
2754 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2755 (ctan_test_data): New variable.
2756 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2757 (ctan_tonearest_test_data): New variable.
2758 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2759 (ctan_towardzero_test_data): New variable.
2760 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2761 (ctan_downward_test_data): New variable.
2762 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2763 (ctan_upward_test_data): New variable.
2764 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2765 (ctanh_test_data): New variable.
2766 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2767 (ctanh_tonearest_test_data): New variable.
2768 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2769 (ctanh_towardzero_test_data): New variable.
2770 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2771 (ctanh_downward_test_data): New variable.
2772 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2773 (ctanh_upward_test_data): New variable.
2774 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2775 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2776 of BUILD_COMPLEX.
2777
601a3a5f
JM
2778 * math/libm-test.inc (struct test_ff_f_data): New type.
2779 (struct test_ff_f_data_nexttoward): Likewise.
2780 (RUN_TEST_LOOP_2_f): New macro.
2781 (RUN_TEST_LOOP_ff_f): Likewise.
2782 (atan2_test_data): New variable.
2783 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2784 (copysign_test_data): New variable.
2785 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2786 (fdim_test_data): New variable.
2787 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2788 (fmax_test_data): New variable.
2789 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2790 (fmin_test_data): New variable.
2791 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2792 (fmod_test_data): New variable.
2793 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2794 (hypot_test_data): New variable.
2795 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2796 (nextafter_test_data): New variable.
2797 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2798 (nexttoward_test_data): New variable.
2799 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2800 (pow_test_data): New variable.
2801 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2802 (pow_tonearest_test_data): New variable.
2803 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2804 (pow_towardzero_test_data): New variable.
2805 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2806 (pow_downward_test_data): New variable.
2807 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2808 (pow_upward_test_data): New variable.
2809 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2810 (remainder_test_data): New variable.
2811 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2812 (scalb_test_data): New variable.
2813 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815
74c57478
JM
28162013-05-11 Joseph Myers <joseph@codesourcery.com>
2817
8329e4da
JM
2818 * math/libm-test.inc (fma_test): Use max_value instead of local
2819 variable fltmax.
2820 (nextafter_test): Likewise.
2821
74c57478
JM
2822 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2823 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2824 (acos_downward_test_data): New variable.
2825 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2826 (acos_upward_test_data): New variable.
2827 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2828 (acosh_test_data): New variable.
2829 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2830 (asin_test_data): New variable.
2831 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2832 (asin_tonearest_test_data): New variable.
2833 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2834 (asin_towardzero_test_data): New variable.
2835 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2836 (asin_downward_test_data): New variable.
2837 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2838 (asin_upward_test_data): New variable.
2839 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2840 (asinh_test_data): New variable.
2841 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2842 (atan_test_data): New variable.
2843 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2844 (atanh_test_data): New variable.
2845 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2846 (cbrt_test_data): New variable.
2847 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2848 (ceil_test_data): New variable.
2849 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2850 (cos_test_data): New variable.
2851 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2852 (cos_tonearest_test_data): New variable.
2853 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2854 (cos_towardzero_test_data): New variable.
2855 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2856 (cos_downward_test_data): New variable.
2857 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2858 (cos_upward_test_data): New variable.
2859 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2860 (cosh_test_data): New variable.
2861 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2862 (cosh_tonearest_test_data): New variable.
2863 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2864 (cosh_towardzero_test_data): New variable.
2865 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2866 (cosh_downward_test_data): New variable.
2867 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2868 (cosh_upward_test_data): New variable.
2869 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2870 (erf_test_data): New variable.
2871 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2872 (erfc_test_data): New variable.
2873 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2874 (exp_test_data): New variable.
2875 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2876 (exp_tonearest_test_data): New variable.
2877 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2878 (exp_towardzero_test_data): New variable.
2879 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2880 (exp_downward_test_data): New variable.
2881 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2882 (exp_upward_test_data): New variable.
2883 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2884 (exp10_test_data): New variable.
2885 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2886 (exp2_test_data): New variable.
2887 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2888 (expm1_test_data): New variable.
2889 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2890 (fabs_test_data): New variable.
2891 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2892 (floor_test_data): New variable.
2893 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2894 (j0_test_data): New variable.
2895 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2896 (j1_test_data): New variable.
2897 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2898 (log_test_data): New variable.
2899 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2900 (log10_test_data): New variable.
2901 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2902 (log1p_test_data): New variable.
2903 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2904 (log2_test_data): New variable.
2905 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2906 (logb_test_data): New variable.
2907 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2908 (logb_downward_test_data): New variable.
2909 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2910 (nearbyint_test_data): New variable.
2911 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2912 (rint_test_data): New variable.
2913 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2914 (rint_tonearest_test_data): New variable.
2915 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2916 (rint_towardzero_test_data): New variable.
2917 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2918 (rint_downward_test_data): New variable.
2919 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2920 (rint_upward_test_data): New variable.
2921 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2922 (round_test_data): New variable.
2923 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2924 (sin_test_data): New variable.
2925 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2926 (sin_tonearest_test_data): New variable.
2927 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2928 (sin_towardzero_test_data): New variable.
2929 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2930 (sin_downward_test_data): New variable.
2931 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2932 (sin_upward_test_data): New variable.
2933 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2934 (sinh_test_data): New variable.
2935 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2936 (sinh_tonearest_test_data): New variable.
2937 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2938 (sinh_towardzero_test_data): New variable.
2939 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2940 (sinh_downward_test_data): New variable.
2941 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2942 (sinh_upward_test_data): New variable.
2943 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2944 (sqrt_test_data): New variable.
2945 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2946 (tan_test_data): New variable.
2947 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2948 (tan_tonearest_test_data): New variable.
2949 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2950 (tan_towardzero_test_data): New variable.
2951 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2952 (tan_downward_test_data): New variable.
2953 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2954 (tan_upward_test_data): New variable.
2955 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2956 (tanh_test_data): New variable.
2957 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2958 (tgamma_test_data): New variable.
2959 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2960 (trunc_test_data): New variable.
2961 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2962 (y0_test_data): New variable.
2963 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2964 (y1_test_data): New variable.
2965 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2966 (significand_test_data): New variable.
2967 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2968
7187d844
CG
29692013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2970
2971 [BZ #12387]
2972 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2973
f63fae73
PT
29742013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2975
2976 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2977
8a67a4b3
AJ
29782013-05-10 Andreas Jaeger <aj@suse.de>
2979
2980 [BZ #15448]
2981 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2982 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2983
51df539d
JM
29842013-05-10 Joseph Myers <joseph@codesourcery.com>
2985
2986 * math/gen-libm-test.pl (adjust_arg): New function.
2987 (special_functions): Handle generating output in both functions
2988 and arrays.
2989 (parse_args): Likewise.
2990 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2991 $in_func argument to parse_args.
2992 * math/libm-test.inc (struct test_f_f_data): New type.
2993 (IF_ROUND_INIT_): New macro.
2994 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2995 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2996 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2997 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2998 (ROUND_RESTORE_): Likewise.
2999 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3000 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3001 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3002 (ROUND_RESTORE_FE_UPWARD): Likewise.
3003 (RUN_TEST_LOOP_f_f): New macro.
3004 (acos_test_data): New variable.
3005 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3006 (acos_tonearest_test_data): New variable.
3007 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3008
5c637fe5
SP
30092013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3010
3011 * benchtests/bench-skeleton.c (startup): Fix coding style.
3012
ab2b9461
JM
30132013-05-10 Joseph Myers <joseph@codesourcery.com>
3014
3015 [BZ #6809]
3016 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3017 negative infinity argument.
3018 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3019 negative infinity argument.
3020 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3021 negative infinity argument.
3022 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3023 domain errors.
3024
4c0fe6fe
FW
30252013-05-10 Florian Weimer <fweimer@redhat.com>
3026
3027 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3028 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3029 * iconv/iconv_prog.c (main): Likewise.
3030 * locale/programs/charmap-dir.c (charmap_readdir)
3031 (fopen_uncompressed): Likewise.
3032 * locale/programs/locfile.c (siblings_uncached)
3033 (write_locale_data): Use lstat64 instead of lstat.
3034 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3035 stat.
3036
a3375d29
AJ
30372013-05-10 Andreas Jaeger <aj@suse.de>
3038
3039 [BZ #15395]
3040 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3041 localization.
3042 Include <locale.h>.
3043
36129722
CD
30442013-05-09 Carlos O'Donell <carlos@redhat.com>
3045
3046 * elf/dl-close.c (_dl_close_worker): Add comments.
3047
faa7f811
JM
30482013-05-09 Joseph Myers <joseph@codesourcery.com>
3049
ed41ffef
JM
3050 [BZ #15359]
3051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3052 high part of pi/2.
3053 (__ieee754_rem_pio2l): Update comments.
3054
d0213cd0
JM
3055 [BZ #15429]
3056 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3057 high part of pi/2.
3058 (__ieee754_rem_pio2l): Update comments.
3059
0d3e777a
JM
3060 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3061 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3062
24f56066
JM
3063 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3064 M_PI_4l.
3065
faa7f811
JM
3066 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3067 (M_PI_34_LOG10El): Likewise.
3068 (M_PI2_LOG10El): Likewise.
3069 (M_PI4_LOG10El): Likewise.
3070 (M_PI_LOG10El): Likewise.
3071
e9a5e0fd
AZ
30722013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3073
3074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3075
d8cd06db
JM
30762013-05-08 Joseph Myers <joseph@codesourcery.com>
3077
a0d9f9d7
JM
3078 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3079 (MINUS_ZERO_INIT): Likewise.
3080 (PLUS_INFTY_INIT): Likewise.
3081 (MINUS_INFTY_INIT): Likewise.
3082 (QNAN_VALUE_INIT): Likewise.
3083 (MAX_VALUE_INIT): Likewise.
3084 (MIN_VALUE_INIT): Likewise.
3085 (MIN_SUBNORM_VALUE_INIT): Likewise.
3086 (plus_zero): Initialize with PLUS_ZERO_INIT.
3087 (minus_zero): Initialize with MINUS_ZERO_INIT.
3088 (plus_infty): Initialize with PLUS_INFTY_INIT.
3089 (minus_infty): Initialize with MINUS_INFTY_INIT.
3090 (qnan_value): Initialize with QNAN_VALUE_INIT.
3091 (max_value): Initialize with MAX_VALUE_INIT.
3092 (min_value): Initialize with MIN_VALUE_INIT.
3093 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3094
ae08db3b
JM
3095 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3096 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3097 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3098 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3099
f44bf14a
JM
3100 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3101 (RUN_TEST_2_f): Likewise.
3102 (RUN_TEST_ff_f): Likewise.
3103 (RUN_TEST_fi_f): Likewise.
3104 (RUN_TEST_fl_f): Likewise.
3105 (RUN_TEST_fff_f): Likewise.
3106 (RUN_TEST_c_f): Likewise.
3107 (RUN_TEST_f_f1): Likewise.
3108 (RUN_TEST_fF_f1): Likewise.
3109 (RUN_TEST_fI_f1): Likewise.
3110 (RUN_TEST_ffI_f1): Likewise.
3111 (RUN_TEST_c_c): Likewise.
3112 (RUN_TEST_cc_c): Likewise.
3113 (RUN_TEST_f_i): Likewise.
3114 (RUN_TEST_f_i_tg): Likewise.
3115 (RUN_TEST_ff_i_tg): Likewise.
3116 (RUN_TEST_f_b): Likewise.
3117 (RUN_TEST_f_b_tg): Likewise.
3118 (RUN_TEST_f_l): Likewise.
3119 (RUN_TEST_f_L): Likewise.
3120 (RUN_TEST_sincos): Likewise.
3121 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3122 whether to show exceptions. Do not include ");\n" in return
3123 value.
3124 (special_functions): Output call to RUN_TEST_sincos instead of
3125 check_float calls. Update calls to new_test.
3126 (parse_args): Output call to single RUN_TEST_* macro instead of
3127 check_* calls and other assignments. Update calls to new_test.
3128
d8cd06db
JM
3129 [BZ #2546]
3130 [BZ #2560]
3131 [BZ #5159]
3132 [BZ #15426]
3133 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3134 input to result for tgamma overflow.
3135 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3136 (gamma_coeff): New variable.
3137 (NCOEFF): New macro.
3138 (gamma_positive): New function.
3139 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3140 underflow here. Use gamma_positive instead of exp (lgamma) for
3141 other arguments.
3142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3143 (gamma_coeff): New variable.
3144 (NCOEFF): New macro.
3145 (gammaf_positive): New function.
3146 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3147 underflow here. Use gamma_positive instead of exp (lgamma) for
3148 other arguments.
3149 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3150 (gamma_coeff): New variable.
3151 (NCOEFF): New macro.
3152 (gammal_positive): New function.
3153 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3154 underflow here. Use gamma_positive instead of exp (lgamma) for
3155 other arguments.
3156 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3157 (gamma_coeff): New variable.
3158 (NCOEFF): New macro.
3159 (gammal_positive): New function.
3160 (__ieee754_gammal_r): Handle positive infinity, overflow and
3161 underflow here. Handle NaN the same as positive infinity. Remove
3162 check x < 0xffffffff for negative integers. Use gamma_positive
3163 instead of exp (lgamma) for other arguments.
3164 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3165 (gamma_coeff): New variable.
3166 (NCOEFF): New macro.
3167 (gammal_positive): New function.
3168 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3169 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3170 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3171 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3172 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3173 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3174 * sysdeps/generic/math_private.h (__gamma_productf): New
3175 prototype.
3176 (__gamma_product): Likewise.
3177 (__gamma_productl): Likewise.
3178 * math/Makefile (libm-calls): Add gamma_product.
3179 * math/libm-test.inc (tgamma_test): Add more tests.
3180 * sysdeps/i386/fpu/libm-test-ulps: Update.
3181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3182
bb7cf681
OB
31832013-05-08 Ondřej Bílka <neleai@seznam.cz>
3184
3185 * benchtests/bench-skeleton.c (main): Preheat CPU.
3186
ba853947
AJ
31872013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3188
3189 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3190
8347c74c
RM
31912013-05-07 Roland McGrath <roland@hack.frob.com>
3192
3193 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3194 and _dl_skip_args_internal.
3195
e8dd4791
CD
31962013-05-07 Carlos O'Donell <carlos@redhat.com>
3197
3198 * manual/message.texi (Message Translation): Talk about users.
3199 Message to key mapping impacts design.
3200
c7405830
RM
32012013-05-06 Roland McGrath <roland@hack.frob.com>
3202
a9173057
RM
3203 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3204
976e2f03
RM
3205 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3206
9723ffc5
RM
3207 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3208 * sysdeps/wordsize-64/glob64.c: ... here.
3209
962e6658
RM
3210 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3211 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3212 New macros.
3213
ee586a6d
RM
3214 * debug/getlogin_r_chk.c: Moved to ...
3215 * login/getlogin_r_chk.c: ... here.
3216 * debug/Makefile (routines): Move getlogin_r_chk to ...
3217 * login/Makefile (routines): ... here.
3218 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3219 * login/Versions (libc: GLIBC_2.4): ... here.
3220
355f9165
RM
3221 * io/poll.c (__poll): Renamed from poll.
3222 Add libc_hidden_def.
3223 (poll): Define as weak alias.
3224
bd9ffde6
RM
3225 * debug/ptsname_r_chk.c: Moved to ...
3226 * login/ptsname_r_chk.c: ... here.
3227 * debug/Makefile (routines): Move ptsname_r_chk to ...
3228 * login/Makefile (routines): ... here.
3229 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3230 * login/Versions (libc: GLIBC_2.4): ... here.
3231
8fb16a04
RM
3232 * posix/getlogin.c: Moved to ...
3233 * login/getlogin.c: ... here.
3234 * posix/getlogin_r.c: Moved to ...
3235 * login/getlogin_r.c: ... here.
3236 * posix/getlogin_r.c: Moved to ...
3237 * login/getlogin_r.c: ... here.
3238 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3239 * login/Makefile (routines): ... here.
3240 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3241 * login/Versions (libc: GLIBC_2.0): ... here.
3242
b99b892f
RM
3243 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3244 (setrlimit): Define as weak alias.
3245
c7405830
RM
3246 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3247 Call __ names for open, ftruncate, and close.
3248 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3249 (truncate): Define as weak alias.
3250
5bf96de5
JM
32512013-05-06 Joseph Myers <joseph@codesourcery.com>
3252
9ea3513c
JM
3253 * math/gen-libm-test.pl (parse_args): Initialize x before each
3254 test of frexp, modf and remquo.
3255
5bf96de5
JM
3256 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3257 test signgam value.
3258
16e616a7
AZ
32592013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3260
3261 [BZ #15418]
3262 [BZ #15419]
3263 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3264 internal tests.
3265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3266
d5e82754
RM
32672013-05-06 Roland McGrath <roland@hack.frob.com>
3268
3269 * elf/dl-writev.h: New file.
3270 * elf/dl-misc.c: Include it.
3271 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3272 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3273
a7548d41
JM
32742013-05-04 Joseph Myers <joseph@codesourcery.com>
3275
b7dab1e4
JM
3276 * math/libm-test.inc (noXFails): Remove variable.
3277 (noXPasses): Likewise.
3278 (BUILD_COMPLEX_INT): Remove macro.
3279 (print_screen): Remove xfail argument.
3280 (print_screen_max_error): Likewise.
3281 (update_stats): Likewise.
3282 (print_max_error): Likewise. Update calls to other affected
3283 functions.
3284 (print_complex_max_error): Likewise.
3285 (test_single_exception): Update calls to print_screen.
3286 (test_single_errno): Likewise.
3287 (check_float_internal): Remove xfail argument. Update calls to
3288 other affected functions.
3289 (check_float): Likewise.
3290 (check_complex): Likewise.
3291 (check_int): Likewise.
3292 (check_long): Likewise.
3293 (check_bool): Likewise.
3294 (check_longlong): Likewise.
3295 (main): Don't print noXFails and noXPasses.
3296 * math/gen-libm-test.pl (top level): Don't mention expected
3297 failure handling in comment.
3298 (new_test): Don't handle expected failures.
3299 (parse_args): Don't mention expected failure handling in comment.
3300 (generate_testfile): Don't handle expected failures.
3301 (parse_ulps): Likewise.
3302 (print_ulps_file): Likewise.
3303 (get_failure): Remove function.
3304 (output_test): Don't handle expected failures.
3305 * make/README.libm-test: Don't mention expected failure handling.
3306
a7548d41
JM
3307 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3308 (minus_zero): Likewise.
3309 (plus_infty): Likewise.
3310 (minus_infty): Likewise.
3311 (qnan_value): Likewise.
3312 (max_value): Likewise.
3313 (min_value): Likewise.
3314 (min_subnorm_value): Likewise.
3315 (initialize): Do not initialize those variables dynamically.
3316
60bfd54c
RM
33172013-05-03 Roland McGrath <roland@hack.frob.com>
3318
cc0e6ed8
RM
3319 * io/open.c (__open_2): Moved to ...
3320 * io/open_2.c: ... this new file.
3321 * io/open64.c (__open64_2): Moved to ...
3322 * io/open64_2.c: ... this new file.
3323 * io/openat.c (__openat_2): Moved to ...
3324 * io/openat_2.c: ... this new file.
3325 * io/openat64.c (__openat64_2): Moved to ...
3326 * io/openat64_2.c: ... this new file.
3327 * io/Makefile (routines): Add them.
3328 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3329 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3330 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3331 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3332 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3333 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3334 (__openat64): Add hidden_ver.
3335 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3336 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3337
60bfd54c
RM
3338 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3339 Separately conditionalize setting of GLRO(dl_sysinfo) so
3340 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3341 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3342
83e7640f
AZ
33432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3344
3345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3346 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3347 definition.
3348 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3349 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3350 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3351 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3352 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3353
d5dc2af3
JM
33542013-05-03 Joseph Myers <joseph@codesourcery.com>
3355
c31a5b1e
JM
3356 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3357 test signgam value.
3358
d5dc2af3
JM
3359 * math/libm-test.inc (hypot_test): Do not use
3360 IGNORE_ZERO_INF_SIGN.
3361
164fd39d
AJ
33622013-05-03 Andreas Jaeger <aj@suse.de>
3363
3364 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3365 Linux 3.9.
3366 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3367 (PF_MAX): Adjust for VSOCK change.
3368
8237f48c
AZ
33692013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3372
9df02941
CD
33732013-05-02 Carlos O'Donell <carlos@redhat.com>
3374
3375 [BZ #15264]
3376 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3377 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3378 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3379
d422395e
DM
33802013-05-02 David S. Miller <davem@davemloft.net>
3381
3382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3383
a07c5731
OB
33842013-05-01 Ondřej Bílka <neleai@seznam.cz>
3385
3386 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3387
1324e37f
RM
33882013-05-01 Roland McGrath <roland@hack.frob.com>
3389
3390 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3391
0695940b
RS
33922013-05-01 Richard Smith <richard@metafoo.co.uk>
3393
bb5f27ad 3394 [BZ #14952]
0695940b
RS
3395 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3396 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3397 Use __attribute__ ((__gnu_inline__)).
3398 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3399 Don't use __attribute__ ((__gnu_inline__)).
3400
10de07f5
JM
34012013-05-01 Joseph Myers <joseph@codesourcery.com>
3402
3403 [BZ #15423]
3404 * math/s_catan.c (__catan): Handle small real or imaginary part of
3405 input specially to avoid spurious underflow.
3406 * math/s_catanf.c (__catanf): Likewise.
3407 * math/s_catanh.c (__catanh): Likewise.
3408 * math/s_catanhf.c (__catanhf): Likewise.
3409 * math/s_catanhl.c (__catanhl): Likewise.
3410 * math/s_catanl.c (__catanl): Likewise.
3411 * math/libm-test.inc (catan_test): Add more tests.
3412 (catanh_test): Likewise.
3413 * sysdeps/i386/fpu/libm-test-ulps: Update.
3414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3415
cb4d5414
AZ
34162013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3417
3418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3419
caf84319
JM
34202013-04-30 Joseph Myers <joseph@codesourcery.com>
3421
3422 [BZ #15416]
3423 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3424 accurately for denominator in atan2.
3425 * math/s_catanf.c (__catanf): Likewise.
3426 * math/s_catanh.c (__catanh): Likewise.
3427 * math/s_catanhf.c (__catanhf): Likewise.
3428 * math/s_catanhl.c (__catanhl): Likewise.
3429 * math/s_catanl.c (__catanl): Likewise.
3430 * math/libm-test.inc (catan_test): Add more tests.
3431 (catanh_test): Likewise.
3432 * sysdeps/i386/fpu/libm-test-ulps: Update.
3433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434
d569c6ee
SP
34352013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3436
6dbe713d
SP
3437 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3438
f0ee064b
SP
3439 * benchtests/Makefile (bench): Remove slow benchmarks.
3440 * benchtests/atan-inputs: Add slow benchmark inputs.
3441 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3442 (BENCH_FUNC): Accept variant offset.
3443 (VARIANT): Define.
3444 * benchtests/bench-skeleton.c (main): Run benchmark for each
3445 variant.
3446 * benchtests/cos-inputs: Add slow benchmark inputs.
3447 * benchtests/exp-inputs: Likewise.
3448 * benchtests/pow-inputs: Likewise.
3449 * benchtests/sin-inputs: Likewise.
3450 * benchtests/slowatan-inputs: Remove.
3451 * benchtests/slowatan.c: Remove.
3452 * benchtests/slowcos-inputs: Remove.
3453 * benchtests/slowcos.c: Remove.
3454 * benchtests/slowexp-inputs: Remove.
3455 * benchtests/slowexp.c: Remove.
3456 * benchtests/slowpow-inputs: Remove.
3457 * benchtests/slowpow.c: Remove.
3458 * benchtests/slowsin-inputs: Remove.
3459 * benchtests/slowsin.c: Remove.
3460 * benchtests/slowtan-inputs: Remove.
3461 * benchtests/slowtan.c: Remove.
3462 * benchtests/tan-inputs: Add slow benchmark inputs.
3463 * scripts/bench.pl: Parse comments and directives.
3464
d569c6ee
SP
3465 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3466 in CPPFLAGS.
3467 ($(objpfx)bench-%.c): Remove *-ITER.
3468 * benchtests/bench-modf.c: Remove definition of ITER.
3469 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3470 (main): Loop for DURATION seconds instead of fixed number of
3471 iterations.
3472 * scripts/bench.pl: Don't expect iterations in parameters.
3473
a6a242fe
RM
34742013-04-29 Roland McGrath <roland@hack.frob.com>
3475
3476 * io/fchdir.c (__fchdir): Renamed from fchdir.
3477 (fchdir): Define as weak alias.
3478
f2da7793
JM
34792013-04-29 Joseph Myers <joseph@codesourcery.com>
3480
3481 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3482 (ERRNO_EDOM): Likewise.
3483 (ERRNO_ERANGE): Likewise.
3484 (noErrnoTests): New variable.
3485 (init_max_error): Set errno to 0.
3486 (test_single_errno): New function.
3487 (test_errno): Likewise.
3488 (check_float_internal): Call test_errno. Set errno to 0.
3489 (check_complex): Refer to errno tests in comment.
3490 (check_int): Call test_errno. Set errno to 0.
3491 (check_long): Likewise.
3492 (check_bool): Likewise.
3493 (check_longlong): Likewise.
3494 (cos_test): Use ERRNO_* flags for errno tests instead of
3495 check_int.
3496 (expm1_test): Likewise.
3497 (fmod_test): Likewise.
3498 (ilogb_test): Likewise.
3499 (lgamma_test): Likewise.
3500 (pow_test): Likewise.
3501 (remainder_test): Likewise.
3502 (sin_test): Likewise.
3503 (tan_test): Likewise.
3504 (yn_test): Likewise.
3505 (initialize): Set errno to 0.
3506 (main): Print number of errno tests.
3507 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3508
b1a36ceb
AJ
35092013-04-29 Andreas Jaeger <aj@suse.de>
3510
c3ed8088
AJ
3511 [BZ #15084]
3512 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3513 and RES_USEVC.
3514
f1a24198
AJ
3515 [BZ #15085]
3516 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3517 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3518 unimplemented.
3519
9ce3b2cb
AJ
3520 [BZ #15380]
3521 * stdlib/random.c (__initstate): Return NULL if
3522 __initstate fails.
3523
f1a24198 3524 [BZ #15086]
b1a36ceb
AJ
3525 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3526 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3527 RES_SNGLKUPREOP.
3528
7e7b6f36
AZ
35292013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3530
3531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3532
4d14f449
JM
35332013-04-29 Joseph Myers <joseph@codesourcery.com>
3534
3535 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3536 of individual tests.
3537 (casin_test): Likewise.
3538 (casinh_test): Likewise.
3539
5b4217d7
JM
35402013-04-27 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #15409]
3543 * math/s_catan.c (__catan): Handle arguments with large real or
3544 imaginary part separately without squaring.
3545 * math/s_catanf.c (__catanf): Likewise.
3546 * math/s_catanh.c (__catanh): Likewise.
3547 * math/s_catanhf.c (__catanhf): Likewise.
3548 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3549 and redefine.
3550 (__catanhl): Handle arguments with large real or imaginary part
3551 separately without squaring.
3552 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3553 and redefine.
3554 (__catanl): Handle arguments with large real or imaginary part
3555 separately without squaring.
3556 * math/libm-test.inc (catan_test): Add more tests.
3557 (catanh_test): Likewise.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3560
4220c3ef
AJ
35612013-04-27 Andreas Jaeger <aj@suse.de>
3562
3563 [BZ #15007]
3564 * stdlib/stdlib.h: Update guards for qecvt.
3565 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3566 <stdlib.h>.
3567
4721b2d1
AM
35682013-04-27 Allan McRae <allan@archlinux.org>
3569
3570 * sysdeps/i386/fpu/libm-test-ulps: Update.
3571
f0302940
JM
35722013-04-26 Joseph Myers <joseph@codesourcery.com>
3573
9457fd95
JM
3574 [BZ #15406]
3575 * math/s_catan.c: Include <float.h>.
3576 (__catan): Ensure underflow exception occurs for underflowed
3577 result.
3578 * math/s_catanf.c: Include <float.h>.
3579 (__catanf): Ensure underflow exception occurs for underflowed
3580 result.
3581 * math/s_catanh.c: Include <float.h>.
3582 (__catanh): Ensure underflow exception occurs for underflowed
3583 result.
3584 * math/s_catanhf.c: Include <float.h>.
3585 (__catanhf): Ensure underflow exception occurs for underflowed
3586 result.
3587 * math/s_catanhl.c: Include <float.h>.
3588 (__catanhl): Ensure underflow exception occurs for underflowed
3589 result.
3590 * math/s_catanl.c: Include <float.h>.
3591 (__catanl): Ensure underflow exception occurs for underflowed
3592 result.
3593 * math/libm-test.inc (catan_test): Add more tests.
3594 (catanh_test): Likewise.
3595
f0302940
JM
3596 [BZ #15405]
3597 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3598 underflowed result.
3599 * math/s_ccoshf.c (__ccoshf): Likewise.
3600 * math/s_ccoshl.c (__ccoshl): Likewise.
3601 * math/s_csin.c (__csin): Likewise.
3602 * math/s_csinf.c (__csinf): Likewise.
3603 * math/s_csinh.c (__csinh): Likewise.
3604 * math/s_csinhf.c (__csinhf): Likewise.
3605 * math/s_csinhl.c (__csinhl): Likewise.
3606 * math/s_csinl.c (__csinl): Likewise.
3607 * math/libm-test.inc (ccos_test): Add more tests.
3608 (ccosh_test): Likewise.
3609 (csin_test): Likewise.
3610 (csinh_test): Likewise.
3611
aa630f59
AZ
36122013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613
3614 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3615 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3616 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3617 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3618 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3619 powerpc/power5+/fpu folders.
3620 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3621
3622
1b835983
MT
36232013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3624
3625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3626
73709b26
JM
36272013-04-25 Joseph Myers <joseph@codesourcery.com>
3628
3629 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3630 additions to variable.
3631 [$(config-machine) = x86_64] (modules-names): Likewise.
3632 ($(objpfx)tst-audit3): Remove dependency.
3633 ($(objpfx)tst-audit3.out): Likewise.
3634 ($(objpfx)tst-audit4): Likewise.
3635 ($(objpfx)tst-audit4.out): Likewise.
3636 ($(objpfx)tst-audit5): Likewise.
3637 ($(objpfx)tst-audit5.out): Likewise.
3638 ($(objpfx)tst-audit6): Likewise.
3639 ($(objpfx)tst-audit6.out): Likewise.
3640 ($(objpfx)tst-audit7): Likewise.
3641 ($(objpfx)tst-audit7.out): Likewise.
3642 (tst-audit3-ENV): Remove variable.
3643 (tst-audit4-ENV): Likewise.
3644 (tst-audit5-ENV): Likewise.
3645 (tst-audit6-ENV): Likewise.
3646 (tst-audit7-ENV): Likewise.
3647 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3648 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3649 addition to variable.
3650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3654 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3655 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3656 tst-audit3, tst-audit4 and tst-audit5.
3657 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3658 tst-audit6 and tst-audit7.
3659 [$(subdir) = elf] (modules-names): Add audit modules for those
3660 tests.
3661 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3662 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3663 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3664 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3665 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3666 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3667 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3668 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3669 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3670 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3671 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3672 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3673 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3674 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3675 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3676 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3677 Likewise.
3678 [$(subdir) = elf && $(config-cflags-avx) = yes]
3679 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3680 [$(subdir) = elf && $(config-cflags-avx) = yes]
3681 (CFLAGS-tst-auditmod4a.c): Likewise.
3682 [$(subdir) = elf && $(config-cflags-avx) = yes]
3683 (CFLAGS-tst-auditmod4b.c): Likewise.
3684 [$(subdir) = elf && $(config-cflags-avx) = yes]
3685 (CFLAGS-tst-auditmod6b.c): Likewise.
3686 [$(subdir) = elf && $(config-cflags-avx) = yes]
3687 (CFLAGS-tst-auditmod6c.c): Likewise.
3688 [$(subdir) = elf && $(config-cflags-avx) = yes]
3689 (CFLAGS-tst-auditmod7b.c): Likewise.
3690 * elf/tst-audit3.c: Move to ...
3691 * sysdeps/x86_64/tst-audit3.c: ... here.
3692 * elf/tst-audit4.c: Move to ...
3693 * sysdeps/x86_64/tst-audit4.c: ... here.
3694 * elf/tst-audit5.c: Move to ...
3695 * sysdeps/x86_64/tst-audit5.c: ... here.
3696 * elf/tst-audit6.c: Move to ...
3697 * sysdeps/x86_64/tst-audit6.c: ... here.
3698 * elf/tst-audit7.c: Move to ...
3699 * sysdeps/x86_64/tst-audit7.c: ... here.
3700 * elf/tst-auditmod3a.c: Move to ...
3701 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3702 * elf/tst-auditmod3b.c: Move to ...
3703 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3704 * elf/tst-auditmod4a.c: Move to ...
3705 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3706 * elf/tst-auditmod4b.c: Move to ...
3707 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3708 * elf/tst-auditmod5a.c: Move to ...
3709 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3710 * elf/tst-auditmod5b.c: Move to ...
3711 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3712 * elf/tst-auditmod6a.c: Move to ...
3713 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3714 * elf/tst-auditmod6b.c: Move to ...
3715 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3716 * elf/tst-auditmod6c.c: Move to ...
3717 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3718 * elf/tst-auditmod7a.c: Move to ...
3719 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3720 * elf/tst-auditmod7b.c: Move to ...
3721 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3722
1ef74943
PP
37232013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3724
3725 [BZ #15366]
3726 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3727 define unconditionally.
3728 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3729 define unconditionally.
3730 (INT8_C, INT16_C, etc.): Likewise.
3731
93fd48c5
MR
37322013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3733
ae9552cf
MR
3734 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3735 __ehdr_start with hidden visibility.
3736
93fd48c5
MR
3737 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3738
418601aa
CD
37392013-04-24 Carlos O'Donell <carlos@redhat.com>
3740
3741 * math/libm-test.inc (cos_test): Use accurate hex constants.
3742 (sincost_test): Likewise.
3743
2f38fbfe
JM
37442013-04-24 Joseph Myers <joseph@codesourcery.com>
3745
5e221800
JM
3746 * math/libm-test.inc (catan_test): Add more tests.
3747 (catanh_test): Likewise.
3748
77f143fd
JM
3749 * math/s_catanf.c (__catanf): Use suffixed floating-point
3750 constants.
3751 * math/s_catanhf.c (__catanhf): Likewise.
3752 * math/s_catanhl.c (__catanhl): Likewise.
3753 * math/s_catanl.c (__catanl): Likewise.
3754
2f38fbfe
JM
3755 [BZ #15394]
3756 * math/s_catan.c (__catan): Calculate imaginary part of result
3757 with log1p not log unless computing log of number close to 0.
3758 * math/s_catanf.c (__catanf): Likewise.
3759 * math/s_catanl.c (__catanl): Likewise.
3760 * math/s_catanh.c (__catanh): Calculate real part of result with
3761 log1p not log unless computing log of number close to 0.
3762 * math/s_catanhf.c (__catanhf): Likewise.
3763 * math/s_catanhl.c (__catanhl): Likewise.
3764 * math/libm-test.inc (catan_test): Add more tests.
3765 (catanh_test): Likewise.
3766 * sysdeps/i386/fpu/libm-test-ulps: Update.
3767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3768
45d69176
SP
37692013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3770
3771 * benchtests/Makefile: Mention files in which fast and slow
3772 paths of math functions are implemented.
3773
87f51853
RM
37742013-04-23 Roland McGrath <roland@hack.frob.com>
3775
3776 * sysdeps/posix/timespec_get.c: New file.
3777
3c026539
AZ
37782013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3779
3780 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3781 POWER.
3782 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3783 for POWER.
3784 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3785 powerpc/power5/fpu folders.
3786 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3787 * benchtests/Makefile: Add modf testcase.
3788 * benchtests/bench-modf.c: New file: Benchmark test for mo
3789
ff491d14
SP
37902013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3791
3792 [BZ #14888]
3793 * time/Makefile (tests): Add tst-strptime-whitespace.
3794 * time/strptime_l.c (get_number): Use ISSPACE.
3795 (__strptime_internal): Likewise.
3796 * time/tst-strptime-whitespace.c: New test case.
3797
7ed3f4e8
AS
37982013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3799
3800 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3801 member.
3802 (_nss_files_init): Set it here.
3803
5c95f7b6
HC
38042013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3805
3806 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3807 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3808 unsigned.
3809
d34c9158
JBG
38102013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3811
3812 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3813
2169712d
SP
38142013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3815
3816 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3817 size just once.
3818
29c5de99
DM
38192013-04-21 David S. Miller <davem@davemloft.net>
3820
3821 * po/ru.po: Update Russion translation from translation project.
3822
ccdad15d
AC
38232013-04-17 Adam Conrad <adconrad@0c3.net>
3824
3825 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3826 and setfsgid.
3827
0f122b8d
CD
38282013-04-17 Carlos O'Donell <carlos@redhat.com>
3829
5c5b07da 3830 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3831 * configure: Regenerate.
5c5b07da 3832 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3833 Add example to error message.
3834 * sysdeps/i386/configure: Regenerate.
3835
037714dd
SP
38362013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
3838 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3839 slowtan.
3840 * benchtests/cos-inputs: New file.
3841 * benchtests/slowcos-inputs: New file.
3842 * benchtests/slowcos.c: New file.
3843 * benchtests/slowtan-inputs: New file.
3844 * benchtests/slowtan.c: New file.
3845 * benchtests/tan-inputs: New file.
3846
e913141d
RM
38472013-04-16 Roland McGrath <roland@hack.frob.com>
3848
3849 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3850 considered kosher.
3851
a2964074
SP
38522013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3853
4856bcd2
SP
3854 * benchtests/Makefile: Include cppflags-iterator.mk to add
3855 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3856
a2964074
SP
3857 * Makefile.in (bench-clean): New target.
3858 * benchtests/Makefile (bench-clean): Likewise.
3859
9fbf9aca
DH
38602013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3861
3862 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3863
207d1e2a
TS
38642013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3865
3866 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3867
306dfba9
AS
38682013-04-15 Andreas Schwab <schwab@suse.de>
3869
3870 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3872 * nscd/pwdcache.c (cache_addpw): Likewise.
3873 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3874 more than recsize.
3875
206a6699
SP
38762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3877
3878 * benchtests/Makefile (bench): Write all output to
3879 bench-out.tmp together.
3880
0582f6b3
AS
38812013-04-15 Andreas Schwab <schwab@suse.de>
3882
3883 * nscd/nscd.c (main): Don't fork again after closing files.
3884
acb4325f
SP
38852013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3886
5cb26d0a
SP
3887 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3888
acb4325f
SP
3889 * benchtests/Rules (bench-deps): Collect dependencies into a
3890 single variable. Add Makefile to dependencies.
3891 ($(objpfx)bench-%.c): Depend on bench-deps.
3892
47792506
RM
38932013-04-12 Roland McGrath <roland@hack.frob.com>
3894 Xavier Roche <roche+kml2@exalead.com>
3895
3896 [BZ #15361]
3897 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3898 just that it's a file descriptor.
3899 * manual/llio.texi (Synchronizing AIO Operations): Update description
3900 for EBADF error from aio_fsync.
3901
8fc1bee5
SP
39022013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3903
3904 * Rules (bench): Move target definition...
3905 * benchtests/Makefile: ... here.
3906
aba5e333
CD
39072013-04-11 Carlos O'Donell <carlos@redhat.com>
3908
3909 * math/libm-test.inc (cos_test): Fix PI/2 test.
3910 (sincos_test): Likewise.
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3912 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3913
273cdee8
AS
39142013-04-11 Andreas Schwab <schwab@suse.de>
3915
6ecec3b6
AS
3916 [BZ #13988]
3917 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3918 accept exponent character only when digits were seen.
3919 * stdio-common/Makefile (tests): Add bug26.
3920 * stdio-common/bug26.c: New file.
3921
273cdee8
AS
3922 [BZ #14293]
3923 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3924 non-freeable.
3925
8da491f5
SP
39262013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3927
01dc6df9
SP
3928 * Makeconfig (rtld-prefix): Define built linker prefix.
3929 * Rules (run-bench): Use it.
3930 * math/Makefile (run-regen-ulps): Likewise.
3931
8da491f5
SP
3932 * Rules (bench): Remove eval.
3933
abe7f530
SP
39342013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3935 Roland McGrath <roland@hack.frob.com>
3936 Ondrej Bilka <neleai@seznam.cz>
3937
3938 [BZ #15346]
3939 * time/getdate.c: Include ctype.h and alloca.h.
3940 (__getdate_r): Trim leading and trailing spaces of input.
3941 * time/tst-getdate.c (tests): Add tests with leading and
3942 trailing spaces.
3943
61c23e62
RM
39442013-04-08 Roland McGrath <roland@hack.frob.com>
3945
3946 [BZ #14280]
3947 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3948 when computing value.
3949
7208a313
CD
39502013-04-06 Carlos O'Donell <carlos@redhat.com>
3951
085b2d41
CD
3952 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3953 Use testrun.sh to run libm tests.
3954
7208a313
CD
3955 [BZ #15309]
3956 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3957
872c0acd
MM
39582013-04-06 Marko Myllynen <myllynen@redhat.com>
3959
3960 [BZ #15264]
3961 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3962
26510bdd
CD
39632013-04-06 Carlos O'Donell <carlos@redhat.com>
3964
3965 * Makefile.in (regen-ulps): New target.
3966 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3967 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3968 [ifneq (no,$(PERL)] (regen-ulps): New target.
3969 [ifeq (no,$(PERL)] (regen-ulps): New target.
3970 * math/libm-test.inc (ulps_file_name): Define.
3971 (output_dir): New variable.
3972 (options): Add "output-dir" option.
3973 (parse_opt): Handle 'o' case.
3974 (main): If output_dir is non-NULL use it as a prefix
3975 otherwise use "".
3976 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3977
a01f19c8
CD
39782013-04-06 Carlos O'Donell <carlos@redhat.com>
3979
3980 [BZ #10060, #10062]
3981 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3982 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3983 fail configure if __sync_val_compare_and_swap is not inlined.
3984 * sysdeps/i386/configure: Regenerate.
3985 * configure.in: Build for i686 when configured for i386.
3986 * configure: Regenerate.
3987 * README: Remove i386 reference.
3988
b7a329a5
CD
39892013-04-06 Carlos O'Donell <carlos@redhat.com>
3990
3991 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3992 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3993
bf0f50df
TS
39942013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3995
ee091edf
TS
3996 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3997 (lmsnanval): New variables.
3998 (F): Add conversion tests.
3999 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4000 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4001
a8b792d6
TS
4002 * stdio-common/tstdiomisc.c (F): Properly collect individual
4003 tests' results.
4004
a1cbf437
TS
4005 [BZ #14686, #15336]
4006 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4007 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4008 Instead, use input NaN values or generate a qNaN by arithmetic
4009 operation. Also fix bugs to comply with the standard.
4010 * math/libm-test.inc (remainder_test): Add more tests.
4011
8b43a0c9
TS
4012 [BZ #15335, #15342]
4013 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4015 input NaN values or generate a qNaN by arithmetic operation.
4016
d91da4ce
TS
4017 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4018 unreachable code.
4019
bf0f50df
TS
4020 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4021 definitions.
4022
05e166c8
JM
40232013-04-03 Joseph Myers <joseph@codesourcery.com>
4024
4025 [BZ #14478]
4026 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4027 underflowed result.
4028 * math/s_cexpf.c (__cexpf): Likewise.
4029 * math/s_cexpl.c (__cexpl): Likewise.
4030 * math/libm-test.inc (cexp_test): Add more tests.
4031
1cef1b19
AS
40322013-04-03 Andreas Schwab <schwab@suse.de>
4033
4034 [BZ #15330]
4035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4036 order arrays from heap if bigger than alloca cutoff.
4037
74d87055
TS
40382013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4039
4040 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4041 (SNAN_TESTS_double): Refer to GCC PR56831.
4042 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4043 GCC PR56828.
4044
d755bba4
SP
40452013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4046
90d5d5bb
SP
4047 * Rules (bench): Move bench.out after the run is complete.
4048
73e0cd5d
SP
4049 * Rules (bench): Echo currently running benchmark.
4050
64aabd4b
SP
4051 * benchtests/Makefile (bench): Add atan and slowatan.
4052 * benchtests/atan-inputs: New file.
4053 * benchtests/slowatan-inputs: New file.
4054 * benchtests/slowatan.c: New file.
4055
c871eccd
SP
4056 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4057 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4058 its value.
4059
d755bba4
SP
4060 [BZ #15305]
4061 * sysdeps/unix/sysv/linux/kernel-features.h
4062 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4063 __ASSUME_XFS_RESTRICTED_CHOWN.
4064 * sysdeps/unix/sysv/linux/pathconf.c
4065 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4066 Save and restore errno.
4067
52ce4860
JM
40682013-04-02 Joseph Myers <joseph@codesourcery.com>
4069
4070 [BZ #15327]
4071 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4072 arguments using __kernel_casinh.
4073 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4074 arguments using __kernel_casinhf.
4075 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4076 arguments using __kernel_casinhl.
4077 * math/libm-test.inc (cacosh_test): Add more tests.
4078 * sysdeps/i386/fpu/libm-test-ulps: Update.
4079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4080
81f311c2
SP
40812013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4082
e7906a47
SP
4083 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4085
92e3664b
SP
4086 * bench/Makefile (bench): Add sin and slowsin.
4087 * benchtests/sin-inputs: New file.
4088 * benchtests/slowsin-inputs: New file.
4089 * benchtests/slowsin.c: New file.
4090
81f311c2
SP
4091 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4092 (bench): Add slowexp and slowpow.
4093 (exp-ITER): Increase iterations.
4094 (pow-ITER): Likewise.
4095 * benchtests/exp-inputs: Change input.
4096 * benchtests/pow-inputs: Likewise.
4097 * benchtests/slowexp-inputs: New file.
4098 * benchtests/slowexp.c: New file.
4099 * benchtests/slowpow-inputs: New file.
4100 * benchtests/slowpow.c: New file.
4101
ab0f1aa9
AZ
41022013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4103
4104 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4105 instructions.
4106 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4107 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4108 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4109 * benchtests/Makefile: Add rint benchtest.
4110 * benchtests/rint-inputs: Input for rint benchtest.
4111
57267616
TS
41122013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4113
4114 * Versions.def (libm): Add GLIBC_2.18.
4115 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4116 hidden libm prototypes.
4117 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4118 * math/Makefile (libm-calls): Add s_issignaling.
4119 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4120 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4121 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4122 declaration.
4123 * math/math.h [__USE_GNU] (issignaling): New macro.
4124 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4125 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4126 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4127 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4130 * manual/arith.texi (issignaling): New section.
4131 * manual/libm-err-tab.pl (@all_functions): Update comment.
4132 * math/gen-libm-test.pl (parse_args): Apply special handling for
4133 issignaling.
4134 * math/libm-test.inc (print_float, issignaling_test): New
4135 functions.
4136 (check_float_internal): Add issignaling checks.
4137 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4138 default definition.
4139 * sysdeps/powerpc/math-tests.h: New file.
4140 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4141 tests.
4142 * math/test-snan.c (TEST_FUNC): Likewise.
4143
6142896d
DM
41442013-03-30 David S. Miller <davem@davemloft.net>
4145
4146 * po/de.po: Update from translation team.
4147
ccc8cadf
JM
41482013-03-30 Joseph Myers <joseph@codesourcery.com>
4149
4150 [BZ #10357]
4151 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4152 imaginary part less than 1.0 and real part less than 0.5
4153 specially.
4154 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4155 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4156 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4157 (cacos_test): Add more tests.
4158 (casin_test): Likewise.
4159 (casinh_test): Likewise.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162
0f6a8d4b
SP
41632013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4164
0d1029de
SP
4165 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4166 ONE with its value.
4167
c2d94018
SP
4168 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4169 (__pow_mp): Replace ONE and MONE with their values.
4170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4173 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4174 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4176
27ec37f1
SP
4177 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4178
a64d7e0e
SP
4179 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4180 (__pow_mp): Replace ZERO and MZERO with their values.
4181 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4183 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4185 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4186 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4187 (__sqr): Likewise.
4188
d26dd3eb
SP
4189 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4190
0f6a8d4b
SP
4191 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4192
e57b0c61
RM
41932013-03-28 Roland McGrath <roland@hack.frob.com>
4194
4195 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4196 Declare with __attribute__ ((weak)).
4197 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4198 Call __call_tls_dtors only if it's not NULL.
4199
356b3480
RM
42002013-03-28 Roland McGrath <roland@hack.frob.com>
4201
288f7d79
RM
4202 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4203 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4204 magic __ehdr_start linker symbol if it's defined.
4205 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4206 them up here if it was already done.
4207
dc0a0263
RM
4208 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4209 (_dl_aux_init): Use const in cast when setting it.
4210 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4211 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4212 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4213
3d3436ae
RM
4214 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4215 Declare them here.
4216 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4217 * csu/libc-tls.c: Nor here.
4218 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4219
356b3480
RM
4220 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4221 (__libc_message): Never call vsyslog.
4222
b0f1246a
AM
42232013-03-28 Alan Modra <amodra@gmail.com>
4224
4225 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4226 Define as empty.
4227 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4228 Likewise.
4229
fbbe2b9a
AZ
42302013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4231
4232 [BZ #15214]
4233 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4234 underflow.
4235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4236
1728ab37
SP
42372013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4238
7a86be6e
SP
4239 [BZ #15304]
4240 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4241 Don't add gid passed as argument.
4242
1728ab37
SP
4243 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4244
3a7182a1
JM
42452013-03-27 Joseph Myers <joseph@codesourcery.com>
4246
4247 [BZ #15307]
4248 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4249 imaginary part between 1.0 and 1.5 and real part less than 0.5
4250 specially.
4251 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4252 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4253 * math/libm-test.inc (cacos_test): Add more tests.
4254 (casin_test): Likewise.
4255 (casinh_test): Likewise.
4256 * sysdeps/i386/fpu/libm-test-ulps: Update.
4257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4258
6f2e90e7
SP
42592013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
5739f705
SP
4261 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4262 constants.
4263 (norm): Likewise.
4264 (denorm): Likewise.
4265 (__dbl_mp): Likewise.
4266 (add_magnitudes): Likewise.
4267 (sub_magnitudes): Likewise.
4268 (__add): Likewise.
4269 (__sub): Likewise.
4270 (__mul): Likewise.
4271 (__sqr): Likewise.
4272 (__inv): Likewise.
4273 (__dvd): Likewise.
4274
e375e83d
SP
4275 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4276 commented code.
4277 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4278 (__dubcos): Likewise.
4279 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4280 (__ieee754_acos): Likewise.
4281 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4282 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4283 (__exp1): Likewise.
4284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4286 (log1): Likewise.
4287 (my_log2): Likewise.
4288 (checkint): Likewise.
4289 * sysdeps/ieee754/dbl-64/e_remainder.c
4290 (__ieee754_remainder): Likewise.
4291 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4293 (bsloww): Likewise.
4294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4295
6f2e90e7
SP
4296 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4298 MANTISSA_STORE_T to store computations on mantissa. Use
4299 macros for rounding and division.
4300 (denorm): Likewise.
4301 (__dbl_mp): Likewise.
4302 (add_magnitudes): Likewise.
4303 (sub_magnitudes): Likewise.
4304 (__mul): Likewise.
4305 (__sqr): Likewise.
4306 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4307 powers of two in terms of TWOPOW macro.
4308 (mp_no): Make type of mantissa as MANTISSA_T.
4309 [!RADIXI]: Define RADIXI.
4310 [!TWO52]: Define TWO52.
4311 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4312
fce14d4e
AZ
43132013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4314
4315 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4316 llroundl symbol when building for PPC32.
4317
9ad027fb
MW
43182013-03-24 Mark H Weaver <mhw@netris.org>
4319
4320 * manual/arith.texi (Normalization Functions): Fix prototypes for
4321 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4322
e42a38dd
AZ
43232013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324
4325 [BZ #13889]
4326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4327 high value to check if expl overflow.
4328 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4329 to check for underflow and overflow.
4330 * math/libm-test.inc: Add exp test.
4331
2e0fb521
DL
43322013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4333
4334 [BZ #11120]
4335 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4336 with NOT_IN_libc.
4337
b5784d95
AZ
43382013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4339
4340 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4341 symbol.
4342
5aa4a1a1
TS
43432013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4344
bdef0be7
TS
4345 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4346 wrap blocks consisting of several statements.
4347
5aa4a1a1
TS
4348 * sysdeps/generic/math-tests.h: New file.
4349 * sysdeps/i386/fpu/math-tests.h: Likewise.
4350 * math/test-snan.c: Include it.
4351 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4352
98c48fe5
JM
43532013-03-21 Joseph Myers <joseph@codesourcery.com>
4354
4355 [BZ #15285]
4356 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4357 (__ieee754_j0l): Do not improve calculations using cos of twice
4358 input for inputs above LDBL_MAX / 2.0L.
4359 (__ieee754_y0l): Likewise.
4360 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4361 (__ieee754_j1l): Do not improve calculations using cos of twice
4362 input for inputs above LDBL_MAX / 2.0L.
4363 (__ieee754_y1l): Likewise.
4364 * math/libm-test.inc (j0_test): Add another test.
4365 (j1_test): Likewise.
4366 (y0_test): Likewise.
4367 (y1_test): Likewise.
4368 * sysdeps/i386/fpu/libm-test-ulps: Update.
4369
3775a8bc
SP
43702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4371
4372 * Rules ($(objpfx)bench-%.c): Include code from a C source
4373 file.
4374
0a1b2ae6
JM
43752013-03-21 Joseph Myers <joseph@codesourcery.com>
4376
4377 [BZ #15287]
4378 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4379 imaginary part 1.0 and real part less than 0.5 specially.
4380 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4381 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4382 * math/libm-test.inc (cacos_test): Add more tests.
4383 (casin_test): Likewise.
4384 (casinh_test): Likewise.
4385 * sysdeps/i386/fpu/libm-test-ulps: Update.
4386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4387
b33d4ce4
SP
43882013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4389
4390 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4391 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4392
bef0b507
JM
43932013-03-20 Joseph Myers <joseph@codesourcery.com>
4394
4395 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4396 * config.make.in (config-cflags-sse4): Remove variable.
4397 (config-cflags-avx): Likewise.
4398 (config-cflags-sse2avx): Likewise.
4399 (config-cflags-novzeroupper): Likewise.
4400 (config-asflags-i686): Likewise.
4401 (have-mfma4): Likewise.
4402 (have-as-vis3): Likewise.
4403 (MIG): Likewise.
4404 * configure.in (MIG): Do not AC_SUBST.
4405 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4406 (libc_cv_cc_sse4): Do not AC_SUBST.
4407 (libc_cv_cc_avx): Likewise.
4408 (libc_cv_cc_sse2avx): Likewise.
4409 (libc_cv_cc_novzeroupper): Likewise.
4410 (libc_cv_cc_fma4): Likewise.
4411 (libc_cv_as_i686): Likewise.
4412 (libc_cv_sparc_as_vis3): Likewise.
4413 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4414 LIBC_CONFIG_VAR.
4415 (config-asflags-i686): Likewise.
4416 (config-cflags-avx): Likewise.
4417 (config-cflags-sse2avx): Likewise.
4418 (have-mfma4): Likewise.
4419 (config-cflags-novzeroupper): Likewise.
4420 * sysdeps/mach/configure.in (MIG): Likewise.
4421 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4422 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4423 LIBC_CONFIG_VAR.
4424 (config-cflags-avx): Likewise.
4425 (config-cflags-sse2avx): Likewise.
4426 (have-mfma4): Likewise.
4427 (config-cflags-novzeroupper): Likewise.
4428 * configure: Regenerated.
4429 * sysdeps/i386/configure: Likewise.
4430 * sysdeps/mach/configure: Likewise.
4431 * sysdeps/sparc/configure: Likewise.
4432 * sysdeps/x86_64/configure: Likewise.
4433
912cc4b3
RM
44342013-03-20 Roland McGrath <roland@hack.frob.com>
4435
4436 [BZ #14812]
4437 * locale/programs/localedef.c (options): Put N_ translation marker
4438 on argument names, not just descriptions.
4439
04eed2b0
MS
44402013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4441
4442 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4443
a065ceff
OB
44442013-03-20 Ondřej Bílka <neleai@seznam.cz>
4445
9bb2a810 4446 [BZ #14176]
a065ceff
OB
4447 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4448
a600e5ce
RM
44492013-03-19 Roland McGrath <roland@hack.frob.com>
4450
4451 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4452 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4453 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4454 [!BEFORE_ABORT] (before_abort): New function.
4455 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4456 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4457 (writev_for_fatal): New function.
4458 (WRITEV_FOR_FATAL): New macro; call that.
4459 (backtrace_and_maps): New function.
4460 (BEFORE_ABORT): New macro; call that.
4461 (struct str_list): Type removed.
4462 (__libc_message, __libc_fatal): Functions removed.
4463 Include <sysdeps/posix/libc_fatal.c> instead.
4464
6b18bea6
JM
44652013-03-19 Joseph Myers <joseph@codesourcery.com>
4466
4467 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4468 constants.
4469 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4470 double constants.
4471
aaa8cb4b
AS
44722013-03-19 Andreas Schwab <schwab@suse.de>
4473
44673770
AS
4474 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4475 * sysdeps/gnu/configure: Regenerate.
4476
aaa8cb4b
AS
4477 * configure.in: Substitute libc_cv_rtlddir.
4478 * configure: Regenerate.
4479 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4480 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4481 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4482 * elf/Makefile (install-others, CFLAGS-interp.c)
4483 (ldso_install, common-ldd-rewrite): Likewise.
4484 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4485 $(inst_slibdir)/$(rtld-installed-name).
4486 * scripts/rellns-sh: Add -p option.
4487 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4488 for source.
4489
d3cfc668
SP
44902013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4491
4492 * manual/nptl.texi: Renamed to ...
4493 * manual/threads.texi: ... this.
4494 * manual/Makefile (chapters): Update.
4495
0e2b9cdd
RM
44962013-03-18 Roland McGrath <roland@hack.frob.com>
4497
4498 [BZ #14812]
4499 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4500 on argument names, not just descriptions.
0e2b9cdd
RM
4501 * malloc/memusagestat.c (options): Likewise.
4502 * nss/getent.c (options): Likewise.
63270c24
RM
4503
45042013-03-18 Benno Schulenberg <bensberg@justemail.net>
4505
4506 [BZ #14812]
4507 * iconv/iconv_prog.c (options): Put N_ translation marker
4508 on argument names, not just descriptions.
4509 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4510
b2e1393c
OB
45112013-03-18 Ondrej Bilka <neleai@seznam.cz>
4512
4513 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4514 implementation which is faster on all x86_64 architectures.
4515 Tested on AMD, Intel Nehalem, SNB, IVB.
4516 * sysdeps/x86_64/strnlen.S: Likewise.
4517
4518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4519 Remove all multiarch strlen and strnlen versions.
4520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4521 Remove strlen and strnlen related parts.
4522
4523 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4524 Inline strlen part.
4525 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4526
4527 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4528 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4529 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4530 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4531 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4532 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4533
ec4ff04d
CD
45342013-03-17 Carlos O'Donell <carlos@redhat.com>
4535
4536 * manual/memory.texi (Malloc Tunable Parameters):
4537 Sort parameters alphabetically. Add comments for missing entries.
4538
cd18e90a
DM
45392013-03-17 David S. Miller <davem@davemloft.net>
4540
4541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4542
2a185d32
JM
45432013-03-16 Joseph Myers <joseph@codesourcery.com>
4544
d2f9799e
JM
4545 [BZ #15283]
4546 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4547 for arguments at most half maximum finite value.
4548 * math/libm-test.inc (j0_test): Add more tests.
4549 (j1_test): Likewise.
4550 (y0_test): Likewise.
4551 (y1_test): Likewise.
4552 * sysdeps/i386/fpu/libm-test-ulps: Update.
4553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4554
2a185d32
JM
4555 [BZ #14155]
4556 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4557 1 / x and functions P and Q for arguments above 0x1p256L.
4558 (__ieee754_y0l): Likewise.
4559 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4560 (__ieee754_y1l): Likewise.
4561 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4562 (j1_test): Likewise.
4563 (y0_test): Likewise.
4564 (y1_test): Likewise.
4565
6cbec759
TS
45662013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4567
4568 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4569 variable.
4570
bc16e260
RM
45712013-03-15 Roland McGrath <roland@hack.frob.com>
4572
aefc9b8c
RM
4573 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4574 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4575 zero since it's initialized to EXEC_PAGESIZE.
4576
bc16e260
RM
4577 * sysdeps/unix/sysv/linux/ldsodefs.h
4578 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4579 * sysdeps/generic/ldsodefs.h: ... here.
4580
a57da955
TS
45812013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4582
af00a34d
TS
4583 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4584
495ded2c
TS
4585 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4586 math/test-snan.c.
4587 * math/test-snan.c: Renamed from
4588 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4589 * math/Makefile (tests): Add test-snan.
4590 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4591 test-powerpc-snan.
4592
777b0332
TS
4593 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4594 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4595 functions.
4596 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4597 __builtin_nan family of functions.
4598 * math/libm-test.inc (initialize): Initialize qnan_value with
4599 __builtin_nan family of functions.
4600 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4601 Remove variables.
4602 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4603 Remove functions.
4604 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4605 storage class. Initialize qNaN_var and sNaN_var with
4606 __builtin_nan and __builtin_nans families of functions,
4607 respectively.
4608
64d063b8
TS
4609 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4610 (sqrt_test): Remove duplicate test with qNaN input.
4611 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4612 (round_test, signbit_test, significand_test): Note missing +/-Inf
4613 as well as qNaN tests.
4614
67e971f1
TS
4615 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4616 qNaN_var. Fix a few strings, too.
4617 * math/libm-test.inc (nan_value): Rename to qnan_value.
4618 * math/gen-libm-test.pl (%beautify): Adjust to that.
4619 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4620 * math/test-misc.c (main): Likewise.
4621 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4622 to __qnan_bytes, and __qnan_union, respectively.
4623 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4624 Likewise.
4625 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4626 and lqnanval, respectively.
4627 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4628 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4629 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4630 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4631
64487e12
TS
4632 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4633 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4634 doubles.
4635
e015e27b
TS
4636 * math/test-misc.c (main): Fix copy'n'pastos.
4637 * misc/tst-efgcvt.c (special): Likewise.
4638
a57da955
TS
4639 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4640 Remove declarations.
4641
1e380345
SP
46422013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4643
4644 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4645 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4646 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4647 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4648
ef26eece
AZ
46492013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650
4651 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4652 macro to return vdso values correctly in IFUNC implementations.
4653 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4654 Optimization by using IFUNC.
4655
8cfdb7e0
SP
46562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4657 Richard Henderson <rth@redhat.com>
4658 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4659
4660 * Makefile.in (bench): New target.
4661 * NEWS: Mention the benchmark framework.
4662 * Rules (bench): Likewise.
4663 (binaries-bench): Generate binaries for functions to
4664 benchmark.
4665 * benchtests/Makefile: New makefile for benchmark tests.
4666 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4667 programs.
4668 * benchtests/exp-inputs: New input file for EXP function.
4669 * benchtests/pow-inputs: New input file for POW function.
4670 * scripts/bench.pl: New script to generate source files for
4671 benchmark programs.
4672
bcda9880
SP
46732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4674
d22ca8cd
SP
4675 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4676 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4677 computations on mantissa. Use macros for rounding and
4678 division.
4679 (denorm): Likewise.
4680 (__dbl_mp): Likewise.
4681 (add_magnitudes): Likewise.
4682 (sub_magnitudes): Likewise.
4683 (__mul): Likewise.
4684 (__sqr): Likewise.
4685 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4686 powers of two in terms of TWOPOW macro.
4687 (mp_no): Make type of mantissa as MANTISSA_T.
4688 [!RADIXI]: Define RADIXI.
4689 [!TWO52]: Define TWO52.
4690 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4691
bcda9880
SP
4692 * manual/nptl.texi (cindex): Modify threads to pthreads.
4693
06d5adfb
JM
46942013-03-15 Joseph Myers <joseph@codesourcery.com>
4695
4696 * sysdeps/x86_64/preconfigure: Regenerated.
4697
41c7328e
JM
46982013-03-14 Joseph Myers <joseph@codesourcery.com>
4699
4700 [BZ #14155]
4701 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4702 0x1p28 and above.
4703 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4704 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4705 0x1p28 and above.
4706 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4707 * math/libm-test.inc (j0_test): Do not allow one spurious
4708 underflow exception.
4709 (y1_test): Likewise.
4710
e25cfa60
SP
47112013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
0409959c
SP
4713 * manual/Makefile (chapters): Add nptl.
4714 * manual/debug.texi (Debugging Support): Add link to Threads
4715 chapter.
4716 * manual/nptl.texi: New file.
4717
e25cfa60
SP
4718 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4719
58a1335e
PB
47202013-03-14 Petr Baudis <pasky@ucw.cz>
4721
4722 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4723 for non-NULL pointer before the memory validity test. Pointed
4724 out by Holger Brunck <holger.brunck@keymile.com>.
4725
9dc7c64f
AS
47262013-03-13 Andreas Schwab <schwab@suse.de>
4727
4728 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4729 instead of .os.
4730
54206aa6
JM
47312013-03-13 Joseph Myers <joseph@codesourcery.com>
4732
4733 * timezone/zic.c: Update from tzcode 2013b.
4734
e98cdb38
CD
47352013-03-12 Carlos O'Donell <carlos@redhat.com>
4736
4737 * manual/install.texi (Configuring and compiling):
4738 Mention i686 and i586.
4739 * INSTALL: Regenerate.
4740
9967e003
RM
47412013-03-12 Roland McGrath <roland@hack.frob.com>
4742
4743 * sysdeps/init_array/elf-init.c: New file.
4744 * csu/elf-init.c
4745 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4746 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4747
4748 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4749 __gmon_start__ as global, but as static with a .preinit_array pointer.
4750 * sysdeps/init_array/gmon-start.c: New file. Use that.
4751 * sysdeps/init_array/crti.S: New file, empty except for comments.
4752 * sysdeps/init_array/crtn.S: Likewise.
4753
e6b5a293 47542013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4755
4756 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4757 definining bcopy.
80f844c9
OB
4758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4759 Remove Prefer_SSE_for_memop.
4760 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4761 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4762 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4764 memset-x86-64.
80f844c9 4765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4766 Remove bzero, memset ifunc support.
80f844c9
OB
4767 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4768 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4769 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4770 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4771
fb6b0fcb
AS
47722013-03-11 Andreas Schwab <schwab@suse.de>
4773
4774 [BZ #15234]
4775 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4776 by SHLIB_COMPAT.
4777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4778 (GLIBC_2.16): Remove pthread_atfork.
4779
3e6bd4b1
PP
47802013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4781
4782 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4783 (ptestcases.h): Likewise.
4784
222d7f00
RM
47852013-03-08 Roland McGrath <roland@hack.frob.com>
4786
4787 * Makeconfig ($(common-objpfx)config.status): Depend on
4788 sysdeps/*/preconfigure{,.in} too.
4789
1ba4f030
JM
47902013-03-08 Joseph Myers <joseph@codesourcery.com>
4791
a222d91a
JM
4792 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4793 (__free_hook): Use void * instead of __malloc_ptr_t.
4794 (__malloc_hook): Likewise.
4795 (__realloc_hook): Likewise.
4796 (__memalign_hook): Likewise.
4797 (__after_morecore_hook): Likewise.
4798 * malloc/arena.c (save_malloc_hook): Likewise.
4799 (save_free_hook): Likewise.
4800 * malloc/hooks.c (malloc_hook_ini): Likewise.
4801 (realloc_hook_ini): Likewise.
4802 (memalign_hook_ini): Likewise.
4803 * malloc/malloc.c (malloc_hook_ini): Likewise.
4804 (realloc_hook_ini): Likewise.
4805 (memalign_hook_ini): Likewise.
4806 (__free_hook): Likewise.
4807 (__malloc_hook): Likewise.
4808 (__realloc_hook): Likewise.
4809 (__memalign_hook): Likewise.
4810 (__libc_malloc): Likewise.
4811 (__libc_free): Likewise.
4812 (__libc_realloc): Likewise.
4813 (__libc_memalign): Likewise.
4814 (__libc_valloc): Likewise.
4815 (__libc_pvalloc): Likewise.
4816 (__libc_calloc): Likewise.
4817 (__posix_memalign): Likewise.
4818 * malloc/morecore.c (__sbrk): Likewise.
4819 (__default_morecore): Likewise.
4820
5cc45e10
JM
4821 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4822
dd54b864
JM
4823 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4824 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4825 __malloc_ptrdiff_t.
4826
1ba4f030
JM
4827 * malloc/malloc.h (__malloc_size_t): Remove macro.
4828 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4829 __malloc_size_t.
4830 (old_memalign_hook): Likewise.
4831 (old_realloc_hook): Likewise.
4832 (struct hdr): Likewise.
4833 (flood): Likewise.
4834 (mallochook): Likewise.
4835 (memalignhook): Likewise.
4836 (reallochook): Likewise.
4837 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4838 (tr_old_realloc_hook): Likewise.
4839 (tr_old_memalign_hook): Likewise.
4840 (tr_mallochook): Likewise.
4841 (tr_reallochook): Likewise.
4842 (tr_memalignhook): Likewise.
4843
edf66e57
AZ
48442013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4845
4846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4847 default_ldbl_pack and using as default implementation.
4848 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4849 implementation.
4850 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4851 redundant definition.
4852 (ldbl_insert_mantissa): Likewise.
4853 (ldbl_canonicalize): Likewise.
4854 (ldbl_nearbyint): Likewise.
4855 (ldbl_pack): Rename to ldbl_pack_ppc.
4856 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4857 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4858 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4859
6d9145d8
SP
48602013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4861
4862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4863 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4865 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4867 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4868 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4869 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4870
4dd4e157
AJ
48712013-03-07 Andreas Jaeger <aj@suse.de>
4872
4873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4874 bits/mman-linux.h.
4875
adbb8027
SP
48762013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4877
ce544b5b
SP
4878 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4879 Include mpa.h and declare __MPEXP.
4880 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4881 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4882 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4883 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4884 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4885 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4886 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4887
4cc149fd
SP
4888 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4889 (__slowpow): Use long double EXPL and LOGL functions to
4890 compute POW.
4891 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4892 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4894 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4895 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4897
e6ebd4a7
SP
4898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4899 intermediate variable to calculate exponent.
4900 (__sqr): Likewise.
4901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4902 Likewise.
4903 (__sqr): Likewise.
4904
82a9811d
SP
4905 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4906 [!NO__SQR]: Define __sqr.
4907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4908 and NO__SQR. Remove all code except __mul and __sqr. Include
4909 sysdeps/ieee754/dbl-64/mpa.c.
4910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4911
adbb8027
SP
4912 [BZ #12723]
4913 * posix/Makefile (tests): Add tst-pathconf.
4914 * posix/tst-pathconf.c: New test case.
4915 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4916 _PC_PIPE_BUF.
4917 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4918
39120df9
PF
49192013-03-06 Patsy Franklin <pfrankli@redhat.com>
4920
4921 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4922
67525cb8
AJ
49232013-03-06 Andreas Jaeger <aj@suse.de>
4924
664a9ce4
AJ
4925 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4926 definition via __MAP_ANONYMOUS.
4927
8e39047d
AJ
4928 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4929 it's not part of Linux headers.
4930
67525cb8
AJ
4931 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4932 (MAP_HUGE_MASK): Define.
4933
4934 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4935 Define.
4936 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4938 Define.
4939 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4940 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4941 Define.
4942 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4944 Define.
4945 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4946
4947 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4948 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4949 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4950 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4951 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4952 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4953
4954 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4955 Handle f2fs.
4956
4957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4958 Handle f2fs and efivarfs.
4959
4960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4961 f2fs.
4962
4963 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4964 (EFIVARFS_MAGIC): Add.
4965 (F2FS_LINK_MAX): Add.
4966
e1b42695
PP
49672013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4968
4969 * stdio-common/vfprintf.c: Replace __builtin_expect with
4970 __glibc_unlikely.
4971
2d67d91a
JM
49722013-03-06 Joseph Myers <joseph@codesourcery.com>
4973
4974 [BZ #13550]
4975 * sysdeps/generic/bp-sym.h: Remove file.
4976 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4977 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4978 <bp-sym.h> and <bp-asm.h>.
4979 (__longjmp): Don't use BP_SYM.
4980 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4981 and <bp-asm.h>.
4982 (memcpy): Don't use BP_SYM.
4983 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4984 <bp-sym.h> and <bp-asm.h>.
4985 (memcpy): Don't use BP_SYM.
4986 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4987 <bp-asm.h>.
4988 (memcpy): Don't use BP_SYM.
4989 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4990 <bp-asm.h>.
4991 (memset): Don't use BP_SYM.
4992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4994 (__bzero): Don't use BP_SYM.
4995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4997 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4998 <bp-sym.h> and <bp-asm.h>.
4999 (memcmp): Don't use BP_SYM. Remove comment about bounded
5000 pointers.
5001 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5002 <bp-sym.h> and <bp-asm.h>.
5003 (memcpy): Don't use BP_SYM.
5004 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5005 <bp-sym.h> and <bp-asm.h>.
5006 (memset): Don't use BP_SYM.
5007 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5008 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5009 (__bzero): Don't use BP_SYM.
5010 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5011 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5012 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5013 <bp-sym.h> and <bp-asm.h>.
5014 (strncmp): Don't use BP_SYM. Remove comment about bounded
5015 pointers.
5016 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5017 <bp-sym.h> and <bp-asm.h>.
5018 (memcpy): Don't use BP_SYM.
5019 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5020 <bp-sym.h> and <bp-asm.h>.
5021 (memset): Don't use BP_SYM.
5022 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5023 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5024 (__bzero): Don't use BP_SYM.
5025 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5026 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5027 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5028 <bp-sym.h> and <bp-asm.h>.
5029 (__memchr): Don't use BP_SYM.
5030 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5031 <bp-sym.h> and <bp-asm.h>.
5032 (memcmp): Don't use BP_SYM. Remove comment about bounded
5033 pointers.
5034 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (memcpy): Don't use BP_SYM.
5037 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5038 <bp-sym.h> and <bp-asm.h>.
5039 (__mempcpy): Don't use BP_SYM.
5040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5041 <bp-sym.h> and <bp-asm.h>.
5042 (__memrchr): Don't use BP_SYM.
5043 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5044 <bp-sym.h> and <bp-asm.h>.
5045 (memset): Don't use BP_SYM.
5046 (__bzero): Likewise.
5047 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5048 <bp-sym.h> and <bp-asm.h>.
5049 (__rawmemchr): Don't use BP_SYM.
5050 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5051 <bp-sym.h> and <bp-asm.h>.
5052 (__STRCMP): Don't use BP_SYM.
5053 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5054 <bp-sym.h> and <bp-asm.h>.
5055 (strchr): Don't use BP_SYM.
5056 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5057 <bp-sym.h> and <bp-asm.h>.
5058 (__strchrnul): Don't use BP_SYM.
5059 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5060 <bp-sym.h> and <bp-asm.h>.
5061 (strlen): Don't use BP_SYM.
5062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5063 <bp-sym.h> and <bp-asm.h>.
5064 (strncmp): Don't use BP_SYM. Remove comment about bounded
5065 pointers.
5066 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5067 <bp-sym.h> and <bp-asm.h>.
5068 (__strnlen): Don't use BP_SYM.
5069 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5070 <bp-sym.h> and <bp-asm.h>.
5071 (__GI__setjmp): Don't use BP_SYM.
5072 (_setjmp): Likewise.
5073 (__sigsetjmp): Likewise.
5074 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5075 (L(start_addresses)): Don't use BP_SYM.
5076 (_start): Likewise.
5077 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5078 <bp-asm.h>.
5079 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5080 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5081 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5082 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5083 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5084 <bp-asm.h>.
5085 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5086 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5087 about bounded pointers.
5088 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5089 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5090 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5091 <bp-asm.h>.
5092 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5093 about bounded pointers. Remove GKM FIXME comments.
5094 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5095 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5096 <bp-asm.h>.
5097 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5098 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5099 Remove GKM FIXME comments.
5100 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5101 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5102 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5103 <bp-asm.h>.
5104 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5105 about bounded pointers. Remove GKM FIXME comment.
5106 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5107 and <bp-asm.h>.
5108 (strncmp): Don't use BP_SYM. Remove comment about bounded
5109 pointers.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5111 <bp-sym.h> and <bp-asm.h>.
5112 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5114 <bp-sym.h> and <bp-asm.h>.
5115 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5116 comment.
5117
cdcf361f
PP
51182013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5119
5120 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5121 call free(NULL).
5122
3c4a2b15
DM
51232013-03-05 David S. Miller <davem@davemloft.net>
5124
5125 * po/es.po: Update from translation team.
5126
cdcf361f 51272013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5128
5129 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5130 <bits/mman-linux.h>.
5131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5132 is fine.
5133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5134 <bits/mman-linux.h> to end of file.
5135 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5136 is fine.
5137 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5138 <bits/mman-linux.h> to end of file.
5139 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5140 is fine.
5141 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5142 <bits/mman-linux.h> to end of file.
5143
5144 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5145 (MCL_CURRENT, MCL_FUTURE): Define here.
5146
5f67c04f
AK
51472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5148
8a4473cc 5149 [BZ #15232]
5f67c04f
AK
5150 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5151 attribute_hidden.
5152 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5153
c3e94a95
AK
51542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5155
5156 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5157 fourth parameter needed for rt_sigprocmask syscall.
5158 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5159 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5160 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5161 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5162 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5163 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5164
cfb6382a
JM
51652013-03-04 Joseph Myers <joseph@codesourcery.com>
5166
5167 [BZ #13550]
5168 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5169 comment about bounded pointers.
5170 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5171 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5172
539d8e01
AJ
51732013-03-04 Andreas Jaeger <aj@suse.de>
5174
5175 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5176 common definitions.
5177
5178 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5179 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5180 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5181 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5184
2e167a70 51852013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5186
5187 [BZ #15055]
5188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5189 __ieee754_sqrl instead of __sqrl.
5190
68508633
JM
51912013-03-01 Joseph Myers <joseph@codesourcery.com>
5192
5193 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5194 * sysdeps/powerpc/fpu_control.h: ... here.
5195 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5196 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5197 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5198 * sysdeps/powerpc/bits/mathinline.h: ... here.
5199
7775448e
RM
52002013-03-01 Roland McGrath <roland@hack.frob.com>
5201
5202 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5203 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5204 to just [NEED_DL_SYSINFO_DSO].
5205 * elf/dl-support.c: Likewise.
5206 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5207 * elf/rtld.c (dl_main): Likewise.
5208 * elf/setup-vdso.h (setup_vdso): Likewise.
5209 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5210 * sysdeps/unix/sysv/linux/dl-sysdep.c
5211 (_dl_discover_osversion): Likewise.
5212
4e9b5995
CD
52132013-03-01 Carlos O'Donell <carlos@redhat.com>
5214
5215 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5216 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5217
e23872c8
SP
52182013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5219
e5c74c63
SP
5220 * NEWS: Mention libm performance improvements and non-x86 PI
5221 futex support.
5222
e23872c8
SP
5223 * csu/libc-start.c (__pthread_initialize_minimal): Change
5224 function arguments.
5225 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5226
b5510883
JM
52272013-02-28 Joseph Myers <joseph@codesourcery.com>
5228
5229 [BZ #13550]
5230 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5231 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5232 <bp-sym.h> and <bp-asm.h>.
5233 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5235 and <bp-asm.h>.
5236 (memcpy): Don't use BP_SYM.
5237 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5238 <bp-asm.h>.
5239 (__mpn_add_n): Don't use BP_SYM.
5240 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5241 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5242 and <bp-asm.h>.
5243 (__mpn_addmul_1): Don't use BP_SYM.
5244 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5245 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5246 <bp-sym.h>.
5247 (_setjmp): Don't use BP_SYM.
5248 (__novmx_setjmp): Likewise.
5249 (__GI__setjmp): Likewise.
5250 (__vmx_setjmp): Likewise.
5251 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5252 <bp-sym.h>.
5253 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5254 (__bzero): Don't use BP_SYM.
5255 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5256 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5257 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5258 <bp-sym.h> and <bp-asm.h>.
5259 (memcpy): Don't use BP_SYM.
5260 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5261 <bp-sym.h> and <bp-asm.h>.
5262 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5263 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5264 <bp-sym.h> and <bp-asm.h>.
5265 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5266 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5267 <bp-asm.h>.
5268 (__mpn_lshift): Don't use BP_SYM.
5269 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5270 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5271 <bp-asm.h>.
5272 (memset): Don't use BP_SYM.
5273 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5274 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5275 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5276 <bp-asm.h>.
5277 (__mpn_mul_1): Don't use BP_SYM.
5278 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5279 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5280 <bp-sym.h> and <bp-asm.h>.
5281 (memcmp): Don't use BP_SYM.
5282 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5283 <bp-sym.h> and <bp-asm.h>.
5284 (memcpy): Don't use BP_SYM.
5285 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5286 <bp-sym.h> and <bp-asm.h>.
5287 (memset): Don't use BP_SYM.
5288 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5289 <bp-sym.h> and <bp-asm.h>.
5290 (strncmp): Don't use BP_SYM.
5291 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5292 <bp-sym.h> and <bp-asm.h>.
5293 (memcpy): Don't use BP_SYM.
5294 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5295 <bp-sym.h> and <bp-asm.h>.
5296 (memset): Don't use BP_SYM.
5297 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5298 <bp-sym.h> and <bp-asm.h>.
5299 (__memchr): Don't use BP_SYM.
5300 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5301 <bp-sym.h> and <bp-asm.h>.
5302 (memcmp): Don't use BP_SYM.
5303 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5304 <bp-sym.h> and <bp-asm.h>.
5305 (memcpy): Don't use BP_SYM.
5306 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5307 <bp-sym.h> and <bp-asm.h>.
5308 (__mempcpy): Don't use BP_SYM.
5309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5310 <bp-sym.h> and <bp-asm.h>.
5311 (__memrchr): Don't use BP_SYM.
5312 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5313 <bp-sym.h> and <bp-asm.h>.
5314 (memset): Don't use BP_SYM.
5315 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5316 <bp-sym.h> and <bp-asm.h>.
5317 (__rawmemchr): Don't use BP_SYM.
5318 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5319 <bp-sym.h> and <bp-asm.h>.
5320 (__STRCMP): Don't use BP_SYM.
5321 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5322 <bp-sym.h> and <bp-asm.h>.
5323 (strchr): Don't use BP_SYM.
5324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5325 <bp-sym.h> and <bp-asm.h>.
5326 (__strchrnul): Don't use BP_SYM.
5327 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5328 <bp-sym.h> and <bp-asm.h>.
5329 (strlen): Don't use BP_SYM.
5330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5331 <bp-sym.h> and <bp-asm.h>.
5332 (strncmp): Don't use BP_SYM.
5333 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5334 <bp-sym.h> and <bp-asm.h>.
5335 (__strnlen): Don't use BP_SYM.
5336 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5337 <bp-asm.h>.
5338 (__mpn_rshift): Don't use BP_SYM.
5339 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5340 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5341 <bp-sym.h> and <bp-asm.h>.
5342 (__sigsetjmp): Don't use BP_SYM.
5343 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5344 (L(start_addresses)): Don't use BP_SYM.
5345 (_start): Likewise.
5346 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5347 <bp-asm.h>.
5348 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5349 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5350 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5351 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5352 <bp-asm.h>.
5353 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5354 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5355 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5356 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5357 <bp-asm.h>.
5358 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5359 comments.
5360 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5361 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5362 <bp-asm.h>.
5363 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5364 FIXME comments.
5365 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5366 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5367 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5368 <bp-asm.h>.
5369 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5370 comment.
5371 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5372 and <bp-asm.h>.
5373 (strncmp): Don't use BP_SYM,
5374 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5375 <bp-asm.h>.
5376 (__mpn_sub_n): Don't use BP_SYM.
5377 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5378 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5379 and <bp-asm.h>.
5380 (__mpn_submul_1): Don't use BP_SYM.
5381 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5383 <bp-sym.h> and <bp-asm.h>.
5384 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5386 <bp-sym.h> and <bp-asm.h>.
5387 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5388 comment.
5389
8d19fe64
SP
53902013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5391
5392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5393 Use ZK to minimize writes to Z.
5394 (sub_magnitudes): Simplify code a bit.
5395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5396 Use ZK to minimize writes to Z.
5397 (sub_magnitudes): Simplify code a bit.
5398
85bd816a
RM
53992013-02-27 Roland McGrath <roland@hack.frob.com>
5400
5401 * csu/gmon-start.c: Add special exception to license text.
5402
b5977bf2
RH
54032013-02-27 Richard Henderson <rth@redhat.com>
5404
5405 * scripts/config.guess: Update from config.git.
5406 * scripts/config.sub: Likewise.
5407
11d6e2f2
SP
54082013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5409
09c14ed2
SP
5410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5411
a688864e
SP
5412 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5413
6295157a
SP
5414 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5415
b8de2202
SP
5416 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5417
11d6e2f2
SP
5418 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5419
7e80ddb8
RM
54202013-02-26 Roland McGrath <roland@hack.frob.com>
5421
5422 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5423 [$(build-shared = yes].
7e80ddb8 5424
7da6d9ed
SP
54252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5426
45f05884
SP
5427 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5428 (__mul): Reduce iterations for calculating mantissa.
5429
2236d359
SP
5430 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5431 MPTWO.
5432 (__mpranred): Likewise.
5433
7da6d9ed
SP
5434 [BZ #15160]
5435 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5436 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5437
b7688c42
PE
54382013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5439
5440 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5441 Define __attribute__.
5442
53a5c423
SP
54432013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5444
5445 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5446 unused.
5447 * posix/regex_internal.h (__attribute): Remove.
5448 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5449 (re_string_context_at): Likewise.
5450 (bitset_not): Use __attribute__ and mark function as possibly
5451 unused.
5452 (bitset_merge): Likewise.
5453 (bitset_mask): Likewise.
5454 (re_string_char_size_at): Likewise.
5455 (re_string_wchar_at): Likewise.
5456 (re_string_elem_size_at): Likewise.
5457
60f5a8b5
SP
54582013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5459
2a983a2e
SP
5460 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5461 code.
5462 (cc32): Likewise.
5463
e69804d1
SP
5464 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5465 (__acr): Likewise.
5466 (__cpy): Likewise.
5467 (norm): Likewise.
5468 (denorm): Likewise.
5469 (__dbl_mp): Likewise.
5470 (add_magnitudes): Likewise.
5471 (sub_magnitudes): Likewise.
5472 (__mul): Likewise.
5473 (__inv): Likewise.
5474
2f22a1e8
SP
5475 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5476 style.
5477
8930ddc7
SP
5478 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5479 style.
5480
dc60cb11
SP
5481 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5482 code.
5483
60f5a8b5
SP
5484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5485 up changes with default code.
5486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5487 Likewise.
5488
b4d1fd33
AM
54892013-02-24 Allan McRae <allan@archlinux.org>
5490
faf6f8bc
AM
5491 * manual/socket.texi (The Internet Namespace): Order menu items
5492 to match that in the file.
5493
b4d1fd33
AM
5494 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5495 node listing of the info page menu.
5496
2366713d
JM
54972013-02-21 Joseph Myers <joseph@codesourcery.com>
5498
5499 [BZ #13550]
5500 * sysdeps/i386/bp-asm.h: Remove file.
5501 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5502 (PARMS): Do not use macros from bp-asm.h.
5503 (S1): Likewise.
5504 (S2): Likewise.
5505 (SIZE): Likewise.
5506 (__mpn_add_n): Do not use BP_SYM
5507 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5508 "bp-asm.h".
5509 (PARMS): Do not use macros from bp-asm.h.
5510 (S1): Likewise.
5511 (SIZE): Likewise.
5512 (__mpn_addmul_1): Do not use BP_SYM
5513 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5514 "bp-asm.h".
5515 (PARMS): Do not use macros from bp-asm.h.
5516 (SIGMSK): Likewise.
5517 (_setjmp): Likewise. Do not use BP_SYM.
5518 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5519 "bp-asm.h".
5520 (PARMS): Do not use macros from bp-asm.h.
5521 (SIGMSK): Likewise.
5522 (setjmp): Likewise. Do not use BP_SYM.
5523 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5524 "bp-asm.h".
5525 (PARMS): Do not use macros from bp-asm.h.
5526 (__frexp): Do not use BP_SYM.
5527 (frexp): Likewise.
5528 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5529 "bp-asm.h".
5530 (PARMS): Do not use macros from bp-asm.h.
5531 (__frexpf): Do not use BP_SYM.
5532 (frexpf): Likewise.
5533 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5534 "bp-asm.h".
5535 (PARMS): Do not use macros from bp-asm.h.
5536 (__frexpl): Do not use BP_SYM.
5537 (frexpl): Likewise.
5538 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5539 "bp-asm.h".
5540 (PARMS): Do not use macros from bp-asm.h.
5541 (__remquo): Do not use BP_SYM.
5542 (remquo): Likewise.
5543 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5544 "bp-asm.h".
5545 (PARMS): Do not use macros from bp-asm.h.
5546 (__remquof): Do not use BP_SYM.
5547 (remquof): Likewise.
5548 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5549 "bp-asm.h".
5550 (PARMS): Do not use macros from bp-asm.h.
5551 (__remquol): Do not use BP_SYM.
5552 (remquol): Likewise.
5553 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5554 "bp-asm.h".
5555 (PARMS): Do not use macros from bp-asm.h.
5556 (DEST): Likewise.
5557 (SRC): Likewise.
5558 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5559 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5560 "bp-asm.h".
5561 (PARMS): Do not use macros from bp-asm.h.
5562 (strlen): Do not use BP_SYM.
5563 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5564 "bp-asm.h".
5565 (PARMS): Do not use macros from bp-asm.h.
5566 (S1): Likewise.
5567 (S2): Likewise.
5568 (SIZE): Likewise.
5569 (__mpn_add_n): Do not use BP_SYM.
5570 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5571 "bp-asm.h".
5572 (PARMS): Do not use macros from bp-asm.h.
5573 (S1): Likewise.
5574 (SIZE): Likewise.
5575 (__mpn_addmul_1): Do not use BP_SYM.
5576 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5577 weak_alias.
5578 (bzero): Likewise.
5579 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5580 "bp-asm.h".
5581 (PARMS): Do not use macros from bp-asm.h.
5582 (S): Likewise.
5583 (SIZE): Likewise.
5584 (__mpn_lshift): Do not use BP_SYM.
5585 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5586 "bp-asm.h".
5587 (PARMS): Do not use macros from bp-asm.h.
5588 (DEST): Likewise.
5589 (SRC): Likewise.
5590 (LEN): Likewise.
5591 (memcpy): Likewise. Do not use BP_SYM.
5592 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5593 libc_hidden_def and weak_alias.
5594 (mempcpy): Do not use BP_SYM in weak_alias.
5595 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5596 "bp-asm.h".
5597 (PARMS): Do not use macros from bp-asm.h.
5598 (DEST): Likewise.
5599 (LEN): Likewise.
5600 [!BZERO_P] (CHR): Likewise.
5601 (memset): Likewise. Do not use BP_SYM.
5602 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5603 "bp-asm.h".
5604 (PARMS): Do not use macros from bp-asm.h.
5605 (S1): Likewise.
5606 (SIZE): Likewise.
5607 (__mpn_mul_1): Do not use BP_SYM.
5608 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5609 "bp-asm.h".
5610 (PARMS): Do not use macros from bp-asm.h.
5611 (S): Likewise.
5612 (SIZE): Likewise.
5613 (__mpn_rshift): Do not use BP_SYM.
5614 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5615 "bp-asm.h".
5616 (PARMS): Do not use macros from bp-asm.h.
5617 (STR): Likewise.
5618 (CHR): Likewise.
5619 (strchr): Likewise. Do not use BP_SYM.
5620 (index): Do not use BP_SYM in weak_alias.
5621 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5622 "bp-asm.h".
5623 (PARMS): Do not use macros from bp-asm.h.
5624 (DEST): Likewise.
5625 (SRC): Likewise.
5626 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5627 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5628 "bp-asm.h".
5629 (PARMS): Do not use macros from bp-asm.h.
5630 (strlen): Do not use BP_SYM.
5631 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5632 "bp-asm.h".
5633 (PARMS): Do not use macros from bp-asm.h.
5634 (S1): Likewise.
5635 (S2): Likewise.
5636 (SIZE): Likewise.
5637 (__mpn_sub_n): Do not use BP_SYM.
5638 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5639 "bp-asm.h".
5640 (PARMS): Do not use macros from bp-asm.h.
5641 (S1): Likewise.
5642 (SIZE): Likewise.
5643 (__mpn_submul_1): Do not use BP_SYM.
5644 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5645 "bp-asm.h".
5646 (PARMS): Do not use macros from bp-asm.h.
5647 (S1): Likewise.
5648 (S2): Likewise.
5649 (SIZE): Likewise.
5650 (__mpn_add_n): Do not use BP_SYM.
5651 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5652 weak_alias.
5653 (bzero): Likewise.
5654 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5655 "bp-asm.h".
5656 (PARMS): Do not use macros from bp-asm.h.
5657 (BLK2): Likewise.
5658 (LEN): Likewise.
5659 (memcmp): Do not use BP_SYM.
5660 (bcmp): Do not use BP_SYM in weak_alias.
5661 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5662 "bp-asm.h".
5663 (PARMS): Do not use macros from bp-asm.h.
5664 (DEST): Likewise.
5665 (SRC): Likewise.
5666 (LEN): Likewise.
5667 (memcpy): Likewise. Do not use BP_SYM.
5668 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5669 "bp-asm.h".
5670 (PARMS): Do not use macros from bp-asm.h.
5671 (DEST): Likewise.
5672 (SRC): Likewise.
5673 (LEN): Likewise.
5674 (memmove): Likewise. Do not use BP_SYM.
5675 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5676 "bp-asm.h".
5677 (PARMS): Do not use macros from bp-asm.h.
5678 (DEST): Likewise.
5679 (SRC): Likewise.
5680 (LEN): Likewise.
5681 (__mempcpy): Likewise. Do not use BP_SYM.
5682 (mempcpy): Do not use BP_SYM in weak_alias.
5683 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
5688 [!BZERO_P] (CHR): Likewise.
5689 (memset): Likewise. Do not use BP_SYM.
5690 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5691 "bp-asm.h".
5692 (PARMS): Do not use macros from bp-asm.h.
5693 (STR2): Likewise.
5694 (strcmp): Do not use BP_SYM.
5695 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5696 "bp-asm.h".
5697 (PARMS): Do not use macros from bp-asm.h.
5698 (STR): Likewise.
5699 (DELIM): Likewise.
5700 [USE_AS_STRTOK_R] (SAVE): Likewise.
5701 (FUNCTION): Likewise. Do not use BP_SYM.
5702 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5703 aliases.
5704 (strtok_r): Likewise.
5705 (__GI___strtok_r): Likewise.
5706 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5707 (PARMS): Do not use macros from bp-asm.h.
5708 (S): Likewise.
5709 (SIZE): Likewise.
5710 (__mpn_lshift): Do not use BP_SYM.
5711 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5712 (PARMS): Do not use macros from bp-asm.h.
5713 (STR): Likewise.
5714 (CHR): Likewise.
5715 (__memchr): Do not use BP_SYM.
5716 (memchr): Do not use BP_SYM in weak_alias.
5717 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5718 (PARMS): Do not use macros from bp-asm.h.
5719 (BLK2): Likewise.
5720 (LEN): Likewise.
5721 (memcmp): Do not use BP_SYM.
5722 (bcmp): Do not use BP_SYM in weak_alias.
5723 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5724 (PARMS): Do not use macros from bp-asm.h.
5725 (S1): Likewise.
5726 (SIZE): Likewise.
5727 (__mpn_mul_1): Do not use BP_SYM.
5728 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5729 "bp-asm.h".
5730 (PARMS): Do not use macros from bp-asm.h.
5731 (STR): Likewise.
5732 (CHR): Likewise.
5733 (__rawmemchr): Do not use BP_SYM.
5734 (rawmemchr): Do not use BP_SYM in weak_alias.
5735 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5736 (PARMS): Do not use macros from bp-asm.h.
5737 (S): Likewise.
5738 (SIZE): Likewise.
5739 (__mpn_rshift): Do not use BP_SYM.
5740 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5741 (PARMS): Do not use macros from bp-asm.h.
5742 (SIGMSK): Likewise.
5743 (__sigsetjmp): Likewise. Do not use BP_SYM.
5744 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5745 (_start): Do not use BP_SYM.
5746 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5747 (PARMS): Do not use macros from bp-asm.h.
5748 (DEST): Likewise.
5749 (SRC): Likewise.
5750 (__stpcpy): Likewise. Do not use BP_SYM.
5751 (stpcpy): Do not use BP_SYM in weak_alias.
5752 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5753 "bp-asm.h".
5754 (PARMS): Do not use macros from bp-asm.h.
5755 (DEST): Likewise.
5756 (SRC): Likewise.
5757 (LEN): Likewise.
5758 (__stpncpy): Likewise. Do not use BP_SYM.
5759 (stpncpy): Do not use BP_SYM in weak_alias.
5760 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5761 (PARMS): Do not use macros from bp-asm.h.
5762 (STR): Likewise.
5763 (CHR): Likewise.
5764 (strchr): Likewise. Do not use BP_SYM.
5765 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5766 "bp-asm.h".
5767 (PARMS): Do not use macros from bp-asm.h.
5768 (STR): Likewise.
5769 (CHR): Likewise.
5770 (__strchrnul): Likewise. Do not use BP_SYM.
5771 (strchrnul): Do not use BP_SYM in weak_alias.
5772 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5773 "bp-asm.h".
5774 (PARMS): Do not use macros from bp-asm.h.
5775 (STOP): Likewise.
5776 (strcspn): Do not use BP_SYM.
5777 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5778 "bp-asm.h".
5779 (PARMS): Do not use macros from bp-asm.h.
5780 (STR): Likewise.
5781 (STOP): Likewise.
5782 (strpbrk): Likewise. Do not use BP_SYM.
5783 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5784 "bp-asm.h".
5785 (PARMS): Do not use macros from bp-asm.h.
5786 (STR): Likewise.
5787 (CHR): Likewise.
5788 (strrchr): Likewise. Do not use BP_SYM.
5789 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5790 (PARMS): Do not use macros from bp-asm.h.
5791 (SKIP): Likewise.
5792 (strspn): Do not use BP_SYM.
5793 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5794 (PARMS): Do not use macros from bp-asm.h.
5795 (STR): Likewise.
5796 (DELIM): Likewise.
5797 (SAVE): Likewise.
5798 (FUNCTION): Likewise. Do not use BP_SYM.
5799 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5800 aliases.
5801 (strtok_r): Likewise.
5802 (__GI___strtok_r): Likewise.
5803 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5804 (PARMS): Do not use macros from bp-asm.h.
5805 (S1): Likewise.
5806 (S2): Likewise.
5807 (SIZE): Likewise.
5808 (__mpn_sub_n): Do not use BP_SYM.
5809 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5810 "bp-asm.h".
5811 (PARMS): Do not use macros from bp-asm.h.
5812 (S1): Likewise.
5813 (SIZE): Likewise.
5814 (__mpn_submul_1): Do not use BP_SYM.
5815 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5816 <bp-sym.h>.
5817 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5818 and <bp-asm.h>.
5819 (PARMS): Do not use macros from bp-asm.h.
5820 (FLAGS): Likewise.
5821 (PTID): Likewise.
5822 (TLS): Likewise.
5823 (CTID): Likewise.
5824 (__clone): Do not use BP_SYM.
5825 (clone): Do not use BP_SYM in weak_alias.
5826 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5827 and <bp-asm.h>.
5828 (PARMS): Do not use macros from bp-asm.h.
5829 (LEN): Likewise.
5830 (__mmap64): Do not use BP_SYM.
5831 (mmap64): Do not use BP_SYM in weak_alias.
5832 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5833 <bp-sym.h> and <bp-asm.h>.
5834 (PARMS): Do not use macros from bp-asm.h.
5835 (__posix_fadvise64_l64): Do not use BP_SYM.
5836 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5837 (PARMS): Do not use macros from bp-asm.h.
5838 (NSOPS): Likewise.
5839 (semtimedop): Do not use BP_SYM.
5840 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5841 and <bp-asm.h>.
5842
582a3cff
AM
58432013-02-21 Allan McRae <allan@archlinux.org>
5844
5845 * manual/message.texi (Charset conversion in gettext):
5846 Move @end statement to beginning of line.
5847
bab8a695
SP
58482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5849
80945231
SP
5850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5851 static.
5852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5853 Likewise.
5854
bab8a695
SP
5855 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5856 (denorm): Likewise.
5857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5859
e21d7aa7
AK
58602013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5861
5862 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5863 tail-call to the resolved function if pltexit isn't needed.
5864
4c7a4263
SP
58652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5868 or Y being zero as being unlikely.
5869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5870 Likewise.
5871
41f49342
CD
58722013-02-20 Carlos O'Donell <carlos@redhat.com>
5873
5874 * manual/nss.texi (System Databases and Name Service Switch):
5875 Remove frobnicate @pxref.
5876
50022a93
TS
58772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5878
5879 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5880 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5881
08cbd996
PM
58822013-02-20 Petr Machata <pmachata@redhat.com>
5883
5884 * elf/elf.h (R_ARM_TARGET1): New macro.
5885 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5886 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5887 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5888 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5889 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5890 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5891 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5892 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5893 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5894 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5895 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5896 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5897 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5898 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5899 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5900 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5901 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5902 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5903 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5904 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5905 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5906 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5907 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5908 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5909 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5910 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5911 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5912 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5913 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5914 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5915 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5916 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5917 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5918 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5919 (R_ARM_THM_GOT_BREL12): Likewise.
5920 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5921 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5922 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5923 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5924 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5925 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5926 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5927 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5928 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5929
c7b275d6
TS
59302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5931
5932 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5933 __attribute_used__ to __attribute__ ((unused)).
5934
20cd7fb3
SP
59352013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5936
5937 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5938 powerpc mpa.c.
5939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5940 comment formatting.
5941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5942
92945b52
JM
59432013-02-19 Joseph Myers <joseph@codesourcery.com>
5944
5945 [BZ #13550]
5946 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5947 Remove macro.
5948 (ENTER): Remove both macro definitions.
5949 (LEAVE): Likewise.
5950 (CHECK_BOUNDS_LOW): Likewise.
5951 (CHECK_BOUNDS_HIGH): Likewise.
5952 (CHECK_BOUNDS_BOTH): Likewise.
5953 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5954 (RETURN_BOUNDED_POINTER): Likewise.
5955 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5956 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5957 (POP_ERRNO_LOCATION_RETURN): Likewise.
5958 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5959 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5960 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5961 macros.
5962 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5963 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5964 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5965 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5966 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5967 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5968 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5969 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5970 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5971 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5972 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5973 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5974 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5975 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5976 removed macros.
5977 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5978 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5979 macros.
5980 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5981 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5982 * sysdeps/i386/i586/memset.S (memset): Likewise.
5983 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5984 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5985 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5986 macros.
5987 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5988 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5989 Change uses of L(2) to L(out).
5990 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5991 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5992 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5993 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5994 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5995 removed macros.
5996 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5997 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5998 macros.
5999 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6000 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6001 (RETURN): Do not use macro LEAVE.
6002 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6003 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6004 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6005 * sysdeps/i386/i686/memset.S (memset): Likewise.
6006 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6007 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6008 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6009 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6010 Likewise.
6011 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6012 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6013 L(1_2) and L(1_3) into L(1).
6014 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6015 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6016 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6017 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6018 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6019 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6020 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6021 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6022 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6023 macros.
6024 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6025 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6026 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6027 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6028 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6029 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6030 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6031 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6032 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6033 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6034 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6035 * sysdeps/i386/strspn.S (strspn): Likewise.
6036 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6037 conditional code.
6038 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6039 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6040 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6041 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6042 L(1_3) into L(1_1).
6043 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6044 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6045 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6046 macros.
6047 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6048
2389741a
JJ
60492013-02-19 Jakub Jelinek <jakub@redhat.com>
6050
6051 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6052 macro.
6053
2016b3cd
SP
60542013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6055
e4f22324
SP
6056 * math/atest-exp.c (exp_mpn): Remove ROUND.
6057 * math/atest-exp2.c (exp_mpn): Likewise.
6058 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6059
2016b3cd
SP
6060 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6061 * stdlib/tst-tls-atexit-lib.c: Likewise.
6062 * stdlib/tst-tls-atexit.c: Likewise.
6063
4be9b544
MF
60642013-02-18 Mike Frysinger <vapier@gentoo.org>
6065
6066 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6067 and __attribute_alloc_size__.
6068
2f62b9ee
MF
60692013-02-18 Mike Frysinger <vapier@gentoo.org>
6070
6071 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6072 __attribute_alloc_size__.
6073 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6074 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6075
6ff444c4
MF
60762013-02-18 Mike Frysinger <vapier@gentoo.org>
6077
6078 * include/programs/xmalloc.h: New file.
6079 * catgets/gencat.c: Include it.
6080 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6081 * elf/pldd.c: Likewise.
6082 * iconv/iconv_charmap.c: Likewise.
6083 * iconv/iconvconfig.c: Likewise.
6084 * iconv/strtab.c: Likewise.
6085 * locale/programs/locale.c: Likewise.
6086 * locale/programs/localedef.h: Likewise.
6087 * locale/programs/simple-hash.c: Likewise.
6088 * nscd/nscd.h: Likewise.
6089 * nss/makedb.c: Likewise.
6090 * sysdeps/generic/ldconfig.h: Likewise.
6091
be179c8a
SP
60922013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6093
ba384f6e
SP
6094 * Versions.def: Add GLIBC_2.18.
6095 * include/link.h (struct link_map): New member l_tls_dtor_count.
6096 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6097 (__call_tls_dtors): Likewise.
6098 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6099 __cxa_thread_atexit_impl.
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6101 Likewise.
6102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6103 Likewise.
6104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6105 Likewise.
6106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6107 Likewise.
6108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6110 Likewise.
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6112 Likewise.
6113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6115 Likewise.
6116 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6117 (tests): Add test case tst-tls-atexit.
6118 (modules-names): Add shared library for tst-tls-atexit.
6119 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6120 (GLIBC_PRIVATE): Add __call_tls_dtors.
6121 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6122 for libstdc++.
6123 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6124 * stdlib/tst-tls-atexit.c: New test case.
6125 * stdlib/tst-tls-atexit-lib.c: New test case.
6126
ffaa74cf 6127 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6128
be179c8a
SP
6129 * elf/Versions (ld): Add _dl_find_dso_for_object.
6130 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6131 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6132 (dl_open_worker): Use _dl_find_dso_for_object.
6133 * elf/dl-sym.c (do_sym): Likewise.
6134 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6135
f78b5caa
AK
61362013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6137
6138 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6139 Syntactic changes only.
6140 (_dl_runtime_profile): Do a tail-call to the resolved function.
6141
29691210
JM
61422013-02-17 Joseph Myers <joseph@codesourcery.com>
6143
6144 [BZ #13550]
6145 * sysdeps/x86_64/bp-asm.h: Remove file.
6146 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6147 <bp-sym.h> and <bp-asm.h>.
6148 (__clone): Do not use BP_SYM.
6149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6150 <bp-sym.h> and <bp-asm.h>.
6151 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6152 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6153 "bp-asm.h".
6154 (_setjmp): Do not use BP_SYM.
6155 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6156 "bp-asm.h".
6157 (setjmp): Do not use BP_SYM.
6158 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6159 libc_hidden_def.
6160 (mempcpy): Do not use BP_SYM in weak_alias.
6161 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (strchr): Do not use BP_SYM.
6164 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6165 "bp-asm.h".
6166 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6167 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6168 (_start): Do not use BP_SYM.
6169 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6170 "bp-asm.h".
6171 (strcat): Do not use BP_SYM.
6172 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6173 "bp-asm.h".
6174 (STRCMP): Do not use BP_SYM.
6175 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6176 "bp-asm.h".
6177 (STRCPY): Do not use BP_SYM.
6178 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6179 "bp-asm.h".
6180 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6181 "bp-asm.h".
6182 (FUNCTION): Do not use BP_SYM.
6183 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6184 weak_alias.
6185 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6186
f238fd19
AJ
61872013-02-17 Andreas Jaeger <aj@suse.de>
6188
6189 * time/Versions: Sort entries.
6190 * string/Versions: Likewise.
6191 * resolv/Versions: Likewise.
6192 * posix/Versions: Likewise.
6193 * iconv/Versions: Likewise.
6194 * elf/Versions: Likewise.
6195 * wcsmbs/Versions: Likewise.
6196
bd07f23c 61972013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6198
22af19f9
SP
6199 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6200 loop termination condition.
6201
4709fe76
SP
6202 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6203 variable to calculate EZ.
6204 (__sqr): Likewise.
2d0e0f29
SP
6205
6206 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6207 the lower precision input.
6208
daaa7713
JM
62092013-02-15 Joseph Myers <joseph@codesourcery.com>
6210
6211 [BZ #13550]
6212 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6213 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6214 (run-via-rtld-prefix): Do not handle %-bp tests.
6215 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6216 (all-object-suffixes): Remove .ob.
6217 (bppfx): Remove variable.
6218 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6219 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6220 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6221 [$(build-bounded) = yes] (libtype.ob): Likewise.
6222 * Makerules (elide-routines.ob): Remove variable.
6223 (do-tests-clean): Do not handle *-bp.out.
6224 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6225 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6226 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6227 (tests): Do not include $(tests-bp.out).
6228 (xtests): Do not include $(xtests-bp.out).
6229 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6230 [$(build-bounded) = yes] ($(addprefix
6231 $(objpfx),$(binaries-bounded))): Remove rule.
6232 ($(objpfx)%-bp.out): Remove rule.
6233 * config.make.in (build-bounded): Remove variable.
6234 * crypt/Makefile [$(build-bounded) = yes]
6235 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6236 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6237 append to variable.
6238 [$(build-bounded) = yes] (install-lib): Likewise.
6239 [$(build-bounded) = yes] (generated): Likewise.
6240 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6241 Remove rule.
6242 * intl/Makefile [$(build-bounded) = yes]
6243 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6244 * math/Makefile [$(build-bounded) = yes]
6245 ($(tests:%=$(objpfx)%-bp): Likewise.
6246 * misc/Makefile [$(build-bounded) = yes]
6247 ($(objpfx)tst-tsearch-bp): Likewise.
6248 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6249 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6250 Remove dependency.
6251 * string/Makefile (o-objects.ob): Remove variable.
6252 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6253 (CFLAGS-.ob): Remove variable.
6254 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6255 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6256 both definitions of variable.
6257 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6258 (ASFLAGS-.ob): Remove variable.
6259
e97ed6dd
JM
62602013-02-14 Joseph Myers <joseph@codesourcery.com>
6261
2bdd4ca6
JM
6262 [BZ #13550]
6263 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6264 Remove __BOUNDED_POINTERS__ from condition.
6265 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6266 * string/bits/string2.h [!__NO_STRING_INLINES &&
6267 !__BOUNDED_POINTERS__]: Likewise.
6268 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6269 Likewise.
6270 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6271 Remove conditional code.
6272 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6273 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6274 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6275 condition.
6276
e97ed6dd
JM
6277 [BZ #13550]
6278 * csu/libc-start.c: Do not include <bp-sym.h>.
6279 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6280 * elf/dl-open.c: Do not include <bp-sym.h>.
6281 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6282 * math/fegetenv.c: Do not include <bp-sym.h>.
6283 (fegetenv): Do not use BP_SYM in versioned symbols.
6284 * nptl/sysdeps/pthread/bits/libc-lockP.h
6285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6286 <bp-sym.h>.
6287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6288 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6290 (__pthread_mutex_destroy): Likewise.
6291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6292 (__pthread_mutex_lock): Likewise.
6293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6294 (__pthread_mutex_trylock): Likewise.
6295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6296 (__pthread_mutex_unlock): Likewise.
6297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6298 (__pthread_mutexattr_init): Likewise.
6299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6300 (__pthread_mutexattr_destroy): Likewise.
6301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6302 (__pthread_mutexattr_settype): Likewise.
6303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6304 (__pthread_rwlock_init): Likewise.
6305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6306 (__pthread_rwlock_destroy): Likewise.
6307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6308 (__pthread_rwlock_rdlock): Likewise.
6309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6310 (__pthread_rwlock_tryrdlock): Likewise.
6311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6312 (__pthread_rwlock_wrlock): Likewise.
6313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6314 (__pthread_rwlock_trywrlock): Likewise.
6315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6316 (__pthread_rwlock_unlock): Likewise.
6317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6318 (__pthread_key_create): Likewise.
6319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6320 (__pthread_setspecific): Likewise.
6321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6322 (__pthread_getspecific): Likewise.
6323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6324 Likewise.
6325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6326 (_pthread_cleanup_push_defer): Likewise.
6327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6328 (_pthread_cleanup_pop_restore): Likewise.
6329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6330 (pthread_setcancelstate): Likewise.
6331 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6332 <bp-sym.h>.
6333 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6334 (memchr): Do not use BP_SYM in weak_alias.
6335 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6336 (fegetenv): Do not use BP_SYM in versioned symbols.
6337 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6338 (fesetenv): Do not use BP_SYM in versioned symbols.
6339 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6340 (feupdateenv): Do not use BP_SYM in versioned symbols.
6341 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6342 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6343 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6344 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6345 (open64): Do not use BP_SYM in weak_alias.
6346 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6347 (fegetenv): Do not use BP_SYM in versioned symbols.
6348 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6349 (fesetenv): Do not use BP_SYM in versioned symbols.
6350 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6351 (feupdateenv): Do not use BP_SYM in versioned symbols.
6352 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6353 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6354 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6355 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6356 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6357 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6358 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6359 <bp-sym.h>.
6360 (__libc_start_main): Do not use BP_SYM.
6361
d6752ccd
SP
63622013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6363
cb57ce60
SP
6364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6365 redundant return line.
6366 (norm): Likewise.
6367 (denorm): Likewise.
6368 (dbl_mp): Likewise.
6369 (sub_magnitudes): Likewise.
6370 (__add): Likewise.
6371 (__sub): Likewise.
6372 (__mul): Likewise.
6373 (__inv): Likewise.
6374 (__dvd): Likewise.
6375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6376 (norm): Likewise.
6377 (denorm): Likewise.
6378 (dbl_mp): Likewise.
6379 (sub_magnitudes): Likewise.
6380 (__add): Likewise.
6381 (__sub): Likewise.
6382 (__mul): Likewise.
6383 (__inv): Likewise.
6384 (__dvd): Likewise.
6385
f414520d
SP
6386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6387 instead of __mul.
6388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6389 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6390 (cc32): Likewise.
6391
d6752ccd
SP
6392 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6393 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6395 of __mul for squares.
6396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6397 function
6398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6399 Likewise.
6400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6402
70d9946a
JM
64032013-02-13 Joseph Myers <joseph@codesourcery.com>
6404
6405 [BZ #13550]
6406 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6407 code.
6408 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6409 prototype or function definition. Rename ubp_* variables and
6410 parameters. Remove argv definitions conditional on
6411 [__BOUNDED_POINTERS__].
6412 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6413 * elf/dl-runtime.c (_dl_fixup): Likewise.
6414 * include/set-hooks.h (RUN_HOOK): Likewise.
6415 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6416 definition.
6417 * string/strcpy.c (strcpy): Do not use __unbounded.
6418 * sysdeps/generic/frame.h (struct layout): Likewise.
6419 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6420 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6421 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6422 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6423 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6424 (__backtrace): Likewise.
6425 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6426 use __ptrvalue.
6427 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6428 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6429 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6430 Likewise.
6431 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6432 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6433 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6434 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6435 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6436 Do not use __unbounded.
6437 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6438 Rename __unboundedrlimits parameter to rlimits in prototype.
6439 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6440 Do not use __unbounded.
6441 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6442 not use __ptrvalue.
6443 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6444 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6445 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6446 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6447 __ptrvalue or __unbounded.
6448 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6449 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6450 use __unbounded.
6451 (__new_msgctl): Do not use __ptrvalue.
6452 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6453 __unbounded.
6454 (__libc_msgrcv): Do not use __ptrvalue.
6455 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6456 startup_info): Do not use __unbounded.
6457 (__libc_start_main): Likewise. Rename ubp_* variables and
6458 parameters. Remove argv definitions conditional on
6459 [__BOUNDED_POINTERS__].
6460 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6461 __ptrvalue.
6462 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6463 use __unbounded.
6464 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6465 or __ptrvalue.
6466 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6467 use __unbounded.
6468 (__new_shmctl): Do not use __ptrvalue.
6469 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6470 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6471 Likewise.
6472 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6473 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6474 (__libc_sigaction): Likewise.
6475 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6476 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6477 Likewise.
6478 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6479
cc7834d6
OB
64802013-02-13 Ondřej Bílka <neleai@seznam.cz>
6481
ffb1ec7b 6482 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6483
6484 * string/mempcpy.c: Implement by calling memcpy.
6485
bdf02814
SP
64862013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6487
c2af38aa
SP
6488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6489
4e92d59e
SP
6490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6491 evaluation.
6492
909279a5
SP
6493 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6494 values in the mantissa.
6495
bdf02814
SP
6496 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6497 minimize writes to Z.
6498 (sub_magnitudes): Simplify code a bit.
6499
cd525923
RM
65002013-02-12 Roland McGrath <roland@hack.frob.com>
6501
6502 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6503 from the message. The linker prefixes all warnings with that already.
6504
7e2f0d2d
AS
65052013-02-12 Andreas Schwab <schwab@suse.de>
6506
a445af0b
AS
6507 [BZ #15078]
6508 * posix/regexec.c (extend_buffers): Add parameter min_len.
6509 (check_matching): Pass minimum needed length.
6510 (clean_state_log_if_needed): Likewise.
6511 (get_subexp): Likewise.
6512 * posix/Makefile (tests): Add bug-regex34.
6513 (bug-regex34-ENV): Define.
6514 * posix/bug-regex34.c: New file.
6515
7e2f0d2d
AS
6516 [BZ #11561]
6517 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6518 elements compare against the byte sequence of it, not its name.
6519 * posix/Makefile (tests): Add bug-regex35.
6520 (bug-regex35-ENV): Define.
6521 * posix/bug-regex35.c: New file.
6522
a175b684
TV
65232013-02-11 Tom de Vries <tom@codesourcery.com>
6524
6525 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6526 comment.
6527 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6528 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6529 (CHECK_EOL): Add undef.
6530
310998fe 65312013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6532
6533 * bits/stdlib-bsearch.h: New file.
6534 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6535 * stdlib/stdlib.h: Likewise.
41eda41d 6536
8ded91fb
RM
65372013-02-11 Roland McGrath <roland@hack.frob.com>
6538
6539 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6540 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6541 declaration.
6542 * manual/search.texi (Array Search Function): Add missing const in
6543 lfind prototype.
6544 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6545 declaration to use rlim_t.
6546 (Basic Scheduling Functions): Remove erroneous const from
6547 sched_getparam prototype. Remove erroneous * from
6548 sched_get_priority_max and sched_get_priority_min prototypes.
6549 (Resource Usage): Fix summary @comment on vtimes to refer to
6550 sys/vtimes.h rather than vtimes.h.
6551 Add missing *s in vtimes prototype.
6552 (Limits on Resources): Fix ulimit prototype to return long int.
6553 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6554 prototypes to use long int rather than double.
6555 (BSD Random): Fix initstate and setstate to use char *, not void *.
6556 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6557 prototype to make second argument 'struct aiocb64 *const[]'.
6558 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6559 (Status of AIO Operations): Remove erroneous const in aio_return and
6560 aio_return64 prototypes.
6561 (Synchronizing I/O): Fix sync prototype to return void.
6562 * manual/startup.texi (Suboptions): Remove an erroneous const in
6563 getsubopt prototype.
6564 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6565 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6566 use size_t rather than int.
6567 (Scanning All Users): Likewise for getpwent_r.
6568 (Setting Groups): Add missing const to setgroups prototype.
6569 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6570 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6571 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6572 'const void *' rather than 'const char *'.
6573 (Host Address Functions): Likewise for inet_ntop.
6574 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6575 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6576 ssize_t for return value.
6577 (Sending Data): Likewise for send, sendto, sendmsg.
6578 (Socket Option Functions): Add a missing const in setsockopt prototype.
6579 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6580 use wchar_t for the argument.
6581 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6582 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6583 take no arguments.
6584 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6585 double/float/long double for second argument.
6586 Fix return types of significand, significandf, significandl.
6587 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6588 argument in fchmod prototype.
6589 (File Owner): Use uid_t and gid_t in fchown prototype.
6590 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6591 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6592 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6593 use 'const struct dirent **' as argument types to CMP function pointer
6594 argument.
6595 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6596 (File Times): Fix summary magic @comment for struct utimbuf and utime
6597 to refer to utime.h, not time.h.
6598 * manual/string.texi (Argz Functions): Add missing const in
6599 argz_extract and argz_next prototypes.
6600 (Finding Tokens in a String): Likewise for basename.
6601 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6602 (Copying and Concatenation): Fix typo in wmemmove prototype.
6603 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6604 (Signal Stack): Remove erroneous const in sigstack prototype.
6605 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6606 prototype.
6607 (Simple Calendar Time): Likewise for stime.
6608 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6609 prototype.
6610 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6611 say sys/sysctl.h instead.
6612 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6613 and vsyslog prototypes.
6614
fe77fe6d
TV
66152013-02-11 Tom de Vries <tom@codesourcery.com>
6616
6617 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6618 Remove.
6619
3a09b620
RM
66202013-02-11 Roland McGrath <roland@hack.frob.com>
6621
6622 * misc/sys/mman.h: Fix typo in mremap comment.
6623
550a0b89
RM
66242013-02-08 Roland McGrath <roland@hack.frob.com>
6625
6626 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6627 the '\0' terminator.
6628
a2da1673
JM
66292013-02-08 Joseph Myers <joseph@codesourcery.com>
6630
6631 [BZ #13550]
6632 * debug/segfault.c: Don't include <bp-checks.h>.
6633 * sysdeps/generic/bp-checks.h: Remove file.
6634 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6635 (__GETDENTS): Don't use CHECK_N.
6636 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6637 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6638 (__getgroups): Don't use CHECK_N.
6639 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6640 (setgroups): Don't use CHECK_N.
6641 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6642 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6643 (__libc_msgrcv): Don't use CHECK_N.
6644 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6645 (__libc_msgsnd): Don't use CHECK_N.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6647 <bp-checks.h>.
6648 (__libc_pread): Don't use CHECK_N.
6649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6650 include <bp-checks.h>.
6651 (__libc_pread64): Don't use CHECK_N.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6653 include <bp-checks.h>.
6654 (__libc_pwrite): Don't use CHECK_N.
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6656 include <bp-checks.h>.
6657 (__libc_pwrite64): Don't use CHECK_N.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6659 <bp-checks.h>.
6660 (__libc_pread): Don't use CHECK_N.
6661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6662 include <bp-checks.h>.
6663 (__libc_pread64): Don't use CHECK_N.
6664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6665 include <bp-checks.h>.
6666 (__libc_pwrite): Don't use CHECK_N.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6668 include <bp-checks.h>.
6669 (__libc_pwrite64): Don't use CHECK_N.
6670 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6671 (do_pread): Don't use CHECK_N.
6672 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6673 (do_pread64): Don't use CHECK_N.
6674 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6675 (do_pwrite): Don't use CHECK_N.
6676 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6677 (do_pwrite64): Don't use CHECK_N.
6678 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6679 (__libc_readv): Don't use CHECK_N.
6680 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6681 (semop): Don't use CHECK_N.
6682 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6683 <bp-checks.h>.
6684 (semtimedop): Don't use CHECK_N.
6685 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6686 (__libc_pread): Don't use CHECK_N.
6687 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6688 <bp-checks.h>.
6689 (__libc_pread64): Don't use CHECK_N.
6690 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6691 <bp-checks.h>.
6692 (__libc_pwrite): Don't use CHECK_N.
6693 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6694 <bp-checks.h>.
6695 (__libc_pwrite64): Don't use CHECK_N.
6696 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6697 <bp-checks.h>.
6698 (__libc_msgrcv): Don't use CHECK_N.
6699 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6700 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6701 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6702 (__libc_writev): Don't use CHECK_N.
6703
b84660a8
RM
67042013-02-08 Roland McGrath <roland@hack.frob.com>
6705
7f3e75f8
RM
6706 * string/strcpy.c: Removed unused variable.
6707
b84660a8
RM
6708 * Makeconfig (+sysdep-includes): Define with := rather than =.
6709 Use an existing include/ subdir of each sysdeps dir before it.
6710
471514d3
CD
67112013-02-08 Carlos O'Donell <carlos@redhat.com>
6712
6713 * nscd/connection.c (register_traced_file): Comment function.
6714 [HAVE_INOTIFY] (union __inev): Define.
6715 [HAVE_INOTIFY] (inotify_check_files): New function.
6716 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6717 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6718 clear_db_cache.
6719 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6720
b2d3c3be
CD
67212013-02-08 Carlos O'Donell <carlos@redhat.com>
6722
6723 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6724 loaded if not already and that a failure is permanent.
6725
b39949d2
CD
67262013-02-08 Carlos O'Donell <carlos@redhat.com>
6727
ddacd1db 6728 [BZ #15006]
b39949d2
CD
6729 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6730 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6731
b2c9eff4
JM
67322013-02-08 Joseph Myers <joseph@codesourcery.com>
6733
f3aae3f3
JM
6734 [BZ #13550]
6735 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6736 (CHECK_1_NULL_OK): Likewise.
6737 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6738 (__fxstat): Do not use CHECK_1.
6739 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6740 <bp-checks.h>.
6741 (___fxstat64): Do not use CHECK_1.
6742 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6743 <bp-checks.h>.
6744 (__fxstatat): Do not use CHECK_1.
6745 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6746 <bp-checks.h>.
6747 (__fxstatat64): Do not use CHECK_1.
6748 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6749 <bp-checks.h>.
6750 (__fxstat): Do not use CHECK_1.
6751 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6752 <bp-checks.h>.
6753 (__fxstatat): Do not use CHECK_1.
6754 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6755 <bp-checks.h>.
6756 (__getresgid): Do not use CHECK_1.
6757 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6758 <bp-checks.h>.
6759 (__getresuid): Do not use CHECK_1.
6760 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6761 <bp-checks.h>.
6762 (__lxstat): Do not use CHECK_1.
6763 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6764 <bp-checks.h>.
6765 (__old_msgctl): Do not use CHECK_1.
6766 (__new_msgctl): Likewise.
6767 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6768 <bp-checks.h>.
6769 (__new_setrlimit): Do not use CHECK_1.
6770 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6771 <bp-checks.h>.
6772 (__old_shmctl): Do not use CHECK_1.
6773 (__new_shmctl): Likewise.
6774 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6775 <bp-checks.h>.
6776 (__xstat): Do not use CHECK_1.
6777 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6778 (__lxstat): Do not use CHECK_1.
6779 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6780 <bp-checks.h>.
6781 (___lxstat64): Do not use CHECK_1.
6782 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6783 (__old_msgctl): Do not use CHECK_1.
6784 (__new_msgctl): Likewise.
6785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6786 <bp-checks.h>.
6787 (__gettimeofday): Do not use CHECK_1.
6788 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6789 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6790 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6791 <bp-checks.h>.
6792 (__gettimeofday): Do not use CHECK_1.
6793 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6794 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6795 (__new_shmctl): Do not use CHECK_1.
6796 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6797 <bp-checks.h>.
6798 (do_sigtimedwait): Do not use CHECK_1.
6799 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6800 <bp-checks.h>.
6801 (do_sigwaitinfo): Do not use CHECK_1.
6802 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6803 <bp-checks.h>.
6804 (msgctl): Do not use CHECK_1.
6805 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6806 <bp-checks.h>.
6807 (shmctl): Do not use CHECK_1.
6808 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6809 (ustat): Do not use CHECK_1.
6810 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6811 <bp-checks.h>.
6812 (__fxstat): Do not use CHECK_1.
6813 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6814 <bp-checks.h>.
6815 (__fxstatat): Do not use CHECK_1.
6816 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6817 <bp-checks.h>.
6818 (__lxstat): Do not use CHECK_1.
6819 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6820 <bp-checks.h>.
6821 (__xstat): Do not use CHECK_1.
6822 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6823 (__xstat): Do not use CHECK_1.
6824 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6825 (___xstat64): Do not use CHECK_1.
6826
b2c9eff4
JM
6827 [BZ #13550]
6828 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6829 definitions.
6830 (CHECK_BOUNDS_HIGH): Likewise.
6831 * string/strcpy.c: Do not include <bp-checks.h>.
6832 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6833
f1d70dad
RM
68342013-02-07 Roland McGrath <roland@hack.frob.com>
6835
6836 * nscd/nscd-client.h (__nscd_drop_map_ref):
6837 Add __attribute__ ((unused)).
6838 * nis/nss-nisplus.h (niserr2nss): Likewise.
6839
6840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6841 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6842
6843 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6844 Remove inline keyword.
6845 * include/rounding-mode.h (round_away): Likewise.
6846 * libio/wfileops.c (adjust_wide_data): Likewise.
6847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6848 (__m128i_strloadu_tolower): Likewise.
6849 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6850 (__m128i_strloadu_tolower): Likewise.
6851 * time/mktime.c (ydhms_diff): Likewise.
6852 * locale/elem-hash.h (elem_hash): Likewise.
6853 * locale/setlocale.c (setdata): Likewise.
6854 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6855 (re_string_wchar_at): Likewise.
6856 (bitset_not, bitset_merge, bitset_mask): Likewise.
6857 [!(__GNUC__ > 3)] (inline): Remove macro.
6858 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6859 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6860 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6861 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6862 * string/memcmp.c (memcmp_bytes): Likewise.
6863 * locale/programs/locarchive.c (compute_hashval): Likewise.
6864 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6865 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6866 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6867 * nss/getent.c (print_rpc, print_protocols): Likewise.
6868 (print_passwd, print_group, print_aliases): Likewise.
6869 * nis/nss-nisplus.h (niserr2nss): Likewise.
6870 * nscd/connections.c (restart_p): Likewise.
6871 Change return type to bool.
6872
eab55bfb
RM
68732013-02-05 Roland McGrath <roland@hack.frob.com>
6874
7bd642f5
RM
6875 * Makeconfig (all-Depend-files): Add existing
6876 $(sorted-subdirs:=/Depend) files.
6877 (all-subdirs): Remove nss.
6878 * sysdeps/unix/inet/Subdirs: Add it here instead.
6879 * hesiod/Depend: New file.
6880
573c29b2
RM
6881 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6882 instead of calling alloca.
6883
b2e25af0
RM
6884 * io/lseek.c (__lseek): Rename to __libc_lseek.
6885 Define __lseek as an alias.
6886
eab55bfb
RM
6887 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6888
9a0d1941
CD
68892013-02-04 Carlos O'Donell <carlos@redhat.com>
6890
6891 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6892 else clause and remove check for non-standard endianness.
6893
b83bbec4
DM
68942013-02-04 David S. Miller <davem@davemloft.net>
6895
6896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6897
6277fdab
JM
68982013-02-04 Joseph Myers <joseph@codesourcery.com>
6899
6900 [BZ #13550]
6901 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6902 (__ubp_memchr): Remove prototype.
6903 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6904 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6905 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6906 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6907 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6908 Remove alias.
6909 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6910 (__ubp_memchr): Likewise.
6911 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6912 (__ubp_memchr): Likewise.
6913 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6914 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6915 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6916 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6917 CHECK_STRING.
6918 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6919 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6920 (__getcwd): Do not use CHECK_STRING.
6921 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6922 <bp-checks.h>.
6923 (__real_chown): Do not use CHECK_STRING.
6924 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6925 <bp-checks.h>.
6926 (fchownat): Do not use CHECK_STRING.
6927 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6928 CHECK_STRING.
6929 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6930 <bp-checks.h>.
6931 (__lchown): Do not use CHECK_STRING.
6932 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6933 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6934 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6935 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6937 include <bp-checks.h>.
6938 (truncate64): Do not use CHECK_STRING.
6939 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6940 <bp-checks.h>.
6941 (__real_chown): Do not use CHECK_STRING.
6942 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6943 <bp-checks.h>.
6944 (__lchown): Do not use CHECK_STRING.
6945 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6946 <bp-checks.h>.
6947 (__chown): Do not use CHECK_STRING.
6948 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6949 <bp-checks.h>.
6950 (truncate64): Do not use CHECK_STRING.
6951 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6952 Likewise.
6953 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6954 (__xmknod): Do not use CHECK_STRING.
6955 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6956 <bp-checks.h>.
6957 (__xmknodat): Do not use CHECK_STRING.
6958 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6959 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6960
903ae060
AS
69612013-02-04 Andreas Schwab <schwab@suse.de>
6962
6963 [BZ #14142]
6964 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6965 * include/netdb.h: Likewise for h_errno.
6966 * elf/tst-stackguard1.c: Include <tls.h>.
6967
542f9466
JK
69682013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6969
6970 * elf/link.h (struct link_map): Extend the l_addr comment.
6971 * include/link.h (struct link_map): Likewise.
6972
e782a927
JM
69732013-02-01 Joseph Myers <joseph@codesourcery.com>
6974
6975 [BZ #13550]
6976 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6977 (BOUNDED_1): Remove macro.
6978 * debug/backtrace.c: Don't include <bp-checks.h>.
6979 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6980 (__backtrace): Likewise.
6981 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6982 <bp-checks.h>.
6983 (__backtrace): Don't use BOUNDED_1.
6984 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6985 <bp-checks.h>.
6986 (__backtrace): Don't use BOUNDED_1.
6987 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6988 (__backtrace): Don't use BOUNDED_1.
6989 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6990 (shmat): Don't use BOUNDED_N.
6991
8cf28c5e
JM
69922013-01-31 Joseph Myers <joseph@codesourcery.com>
6993
3a7ac8a0
JM
6994 [BZ #13550]
6995 * sysdeps/generic/bp-start.h: Remove file.
6996 * csu/libc-start.c: Don't include <bp-start.h>.
6997 (LIBC_START_MAIN): Set up __environ directly instead of using
6998 INIT_ARGV_and_ENVIRON.
6999 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7000 <bp-start.h>.
7001
f3499f95
JM
7002 [BZ #13550]
7003 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7004 definitions.
7005 (CHECK_FCNTL): Likewise.
7006 (CHECK_N_PAGES): Likewise.
7007
32a45bea
JM
7008 [BZ #13550]
7009 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7010 definitions.
7011 (CHECK_SIGSET_NULL_OK): Likewise.
7012 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7013 <bp-checks.h>.
7014 (sigpending): Don't use CHECK_SIGSET.
7015 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7016 <bp-checks.h>.
7017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7018 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7019 <bp-checks.h>.
7020 (do_sigsuspend): Don't use CHECK_SIGSET.
7021 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7022 use CHECK_SIGSET.
7023 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7024 (do_sigwait): Don't use CHECK_SIGSET.
7025 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7026 use CHECK_SIGSET.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7028 include <bp-checks.h>.
7029 (sigpending): Don't use CHECK_SIGSET.
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7031 include <bp-checks.h>.
7032 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7033 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7034 <bp-checks.h>.
7035 (sigpending): Don't use CHECK_SIGSET.
7036 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7037 <bp-checks.h>.
7038 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7039
2e8a5c8c
JM
7040 [BZ #13550]
7041 * sysdeps/generic/bp-semctl.h: Remove file.
7042 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7043 <bp-checks.h> and <bp-semctl.h>.
7044 (__old_semctl): Don't use CHECK_SEMCTL.
7045 (__new_semctl): Likewise.
7046 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7047 and <bp-semctl.h>.
7048 (__old_semctl): Don't use CHECK_SEMCTL.
7049 (__new_semctl): Likewise.
7050 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7051 <bp-checks.h> and <bp-semctl.h>.
7052 (__old_semctl): Don't use CHECK_SEMCTL.
7053 (__new_semctl): Likewise.
7054 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7055 <bp-checks.h> and <bp-semctl.h>.
7056 (semctl): Don't use CHECK_SEMCTL.
7057
c2d54929
JM
7058 [BZ #13550]
7059 * Makerules (elide-bp-thunks): Remove variable.
7060 (elide-routines.oS): Don't use $(elide-bp-thunks).
7061 (elide-routines.os): Likewise.
7062 (elide-routines.o): Likewise.
7063 (elide-routines.op): Likewise.
7064 (elide-routines.og): Likewise.
7065 (objects): Don't use $(bp-thunks).
7066 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7067 include.
7068 (common-generated): Do not add s-proto-bp.d.
7069 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7070 (int): Likewise.
7071 (typ): Likewise.
7072 Do not generate makefile rules for bounded-pointer thunks.
7073 * sysdeps/generic/bp-thunks.h: Remove file.
7074 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7075 * sysdeps/unix/s-proto-bp.S: Likewise.
7076
8cf28c5e
JM
7077 [BZ #15062]
7078 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7079 parts of result separately when argument is not close to line from
7080 -i to i and one part of argument is small.
7081 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7082 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7083 * math/libm-test.inc (cacos_test): Add more tests.
7084 (casin_test): Likewise.
7085 (casinh_test): Likewise.
7086 * sysdeps/i386/fpu/libm-test-ulps: Update.
7087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7088
c4e33b8d
DM
70892013-01-31 David S. Miller <davem@davemloft.net>
7090
7091 * po/de.po: Update from translation team.
7092
3b60b421
MK
70932013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7094
7095 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7096
bb931195
TS
70972013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7098
b5a5da23
TS
7099 * configure.in (_AC_PROG_CC_C89): New definition.
7100 * configure: Regenerate.
7101
bb931195
TS
7102 * configure.in (AC_PROG_CPP): New definition.
7103 * configure: Regenerate.
7104
8c53a12c
JM
71052013-01-23 Joseph Myers <joseph@codesourcery.com>
7106
7107 * debug/tst-backtrace.h: New file.
7108 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7109 (ret): Remove variable.
7110 (x): Likewise.
7111 (FAIL): Remove macro.
7112 (NO_INLINE): Likewise.
7113 (fn1): Use match function instead of strstr.
7114 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7115 (ret): Remove variable.
7116 (x): Likewise.
7117 (FAIL): Remove macro.
7118 (NO_INLINE): Likewise.
7119 (fn): Use match function instead of strstr.
7120 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7121 (ret): Remove variable.
7122 (x): Likewise.
7123 (FAIL): Remove macro.
7124 (NO_INLINE): Likewise.
7125 (handle_signal): Use match function instead of strstr.
7126 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7127 (ret): Remove variable.
7128 (x): Likewise.
7129 (FAIL): Remove macro.
7130 (NO_INLINE): Likewise.
7131 (handle_signal): Use match function instead of strstr.
7132
4858fa2a
RM
71332013-01-23 Roland McGrath <roland@hack.frob.com>
7134
7135 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7136
bae8e7f5
DM
71372013-01-23 David S. Miller <davem@davemloft.net>
7138
7139 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7140 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7141 argument of CAS if possible.
7142 * sysdeps/sparc/sparc64/bits/atomic.h
7143 (__arch_compare_and_exchange_val_32_acq): Likewise.
7144 (__arch_compare_and_exchange_val_64_acq): Likewise.
7145
9cbbc4ae
PT
71462013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7147
7148 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7149 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7150 Include <limits.h>.
67b3f58c 7151 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7152
5655a0b5
AC
71532013-01-23 Adam Conrad <adconrad@0c3.net>
7154
7155 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7156 (LDFLAGS-tst-array5): Likewise.
7157
052aff95
JM
71582013-01-23 Joseph Myers <joseph@codesourcery.com>
7159
7160 [BZ #15036]
7161 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7162 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7163 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7164 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7165
7c1e01aa
DM
71662013-01-21 David S. Miller <davem@davemloft.net>
7167
7168 * sysdeps/sparc/backtrace.c: New file.
7169 * sysdeps/sparc/sparc32/backtrace.h: New file.
7170 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7171 * sysdeps/sparc/sparc64/backtrace.h: New file.
7172 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7173 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7174 -funwind-tables.
7175
ab087e0a
AS
71762013-01-21 Andreas Schwab <schwab@suse.de>
7177
7178 [BZ #15020]
7179 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7180 closed its stdout.
7181
ed689c2f
AS
71822013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7183
7184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7185 "mpa2.h".
7186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7187
31d470ac
JM
71882013-01-18 Joseph Myers <joseph@codesourcery.com>
7189 Mark Mitchell <mark@codesourcery.com>
7190 Tom de Vries <tom@codesourcery.com>
7191 Paul Pluzhnikov <ppluzhnikov@google.com>
7192
7193 * debug/tst-backtrace2.c: New file.
7194 * debug/tst-backtrace3.c: Likewise.
7195 * debug/tst-backtrace4.c: Likewise.
7196 * debug/tst-backtrace5.c: Likewise.
7197 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7198 (CFLAGS-tst-backtrace3.c): Likewise.
7199 (CFLAGS-tst-backtrace4.c): Likewise.
7200 (CFLAGS-tst-backtrace5.c): Likewise.
7201 (LDFLAGS-tst-backtrace2): Likewise.
7202 (LDFLAGS-tst-backtrace3): Likewise.
7203 (LDFLAGS-tst-backtrace4): Likewise.
7204 (LDFLAGS-tst-backtrace5): Likewise.
7205 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7206 tst-backtrace4 and tst-backtrace5.
7207
90567f30 72082013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7209 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7210
7211 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7212 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7213 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7214 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7216 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7217 "+r" and remove output regs list as redundant. Add explicit inline
7218 asm to specify register of return val to work around compiler codegen
7219 bug. Remove (int) cast on return value. Add return type parameter to
7220 use in macro so that this macro does not truncate return value for
7221 64-bit values.
7222 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7223 pass to INTERNAL_VSYSCALL_NCS.
7224 (INLINE_VSYSCALL): Add 'long int' as return type to
7225 INTERNAL_VSYSCALL_NCS macro invocation.
7226 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7227 INTERNAL_VSYSCALL_NCS macro invocation.
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7229
d3b9ea61
SP
72302013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7231
0b57daeb
SP
7232 [BZ #14496]
7233 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7234 Fix application of SIMD FP exception mask.
7235
caa99d06
SP
7236 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7237 mp_no from a power of two.
7238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7239 __mpexp_twomm1. Use __pow_mp.
7240
d3b9ea61
SP
7241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7242 multiplication.
7243
1dbaee3c
DM
72442013-01-17 David S. Miller <davem@davemloft.net>
7245
7246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7247
728d7b43
JM
72482013-01-17 Joseph Myers <joseph@codesourcery.com>
7249
7250 [BZ #15023]
7251 * include/complex.h: Condition contents on [!_COMPLEX_H].
7252 (__kernel_casinhf): New prototype.
7253 (__kernel_casinh): Likewise.
7254 (__kernel_casinhl): Likewise.
7255 * math/Makefile (libm_calls): Add k_casinh.
7256 * math/k_casinh.c: New file.
7257 * math/k_casinhf.c: Likewise.
7258 * math/k_casinhl.c: Likewise.
7259 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7260 finite nonzero arguments.
7261 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7262 finite nonzero arguments.
7263 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7264 finite nonzero arguments.
7265 * math/s_casinh.c: Do not include <float.h>.
7266 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7267 * math/s_casinhf.c: Do not include <float.h>.
7268 (__casinhf): Move code for finite nonzero arguments to
7269 k_casinhf.c.
7270 * math/s_casinhl.c: Do not include <float.h>.
7271 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7272 redefine.
7273 (__casinhl): Move code for finite nonzero arguments to
7274 k_casinhl.c.
7275 * math/libm-test.inc (cacos_test): Add more tests.
7276 * sysdeps/i386/fpu/libm-test-ulps: Update.
7277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7278
2a26ef3a
PT
72792013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7280
7281 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7282 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7283 [!HAVE_MREMAP]: Remove [defined linux] case.
7284 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7285
a897655d
SP
72862013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7287
7288 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7289
881ebe89 72902013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7291
7292 * elf/elf.h (R_386_SIZE32): New relocation.
7293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7294 R_386_SIZE32.
7295 (elf_machine_rela): Likewise.
7296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7297 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7298
59981e9b
JM
72992013-01-17 Joseph Myers <joseph@codesourcery.com>
7300
7301 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7302 (FP_FAST_FMA): Do not define.
7303 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7304 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7305 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7306 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7307 !_SOFT_FLOAT]: Likewise.
7308 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7310 value.
7311 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7312 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7315 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7316 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7317 file.
7318
cfa8054f
AS
73192013-01-16 Andreas Schwab <schwab@suse.de>
7320
7321 [BZ #14327]
7322 * include/stdlib.h (__mktemp): Add declaration.
7323 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7324 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7325
dd930cc5
SP
73262013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7327
881ebe89
SP
7328 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7329 definitions.
7330 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7331 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7332 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7333 definitions here.
7334 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7335 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7336 definitions.
7337 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7338 and ONE.
7339 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7340 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7341 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7342 definitions.
7343 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7344 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7345 definitions.
7346 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7347
dd930cc5
SP
7348 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7349
c19a9f89
DM
73502013-01-15 David S. Miller <davem@davemloft.net>
7351
1aa61767
DM
7352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7353 trunc{,f} to libm-sysdep_routes.
7354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7356 file.
7357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7359 file.
7360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7361 file.
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7365 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7367 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7368 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7369 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7370
c42d5e98
DM
7371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7372 nearbyint{,f} to libm-sysdep_routes.
7373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7375 New file.
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7377 file.
7378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7379 New file.
7380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7381 file.
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7385 file.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7388 file.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7392
c19a9f89
DM
7393 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7394 libc_feholdexcept and libc_fesetenv.
7395
357679d2
MF
73962013-01-15 Mike Frysinger <vapier@gentoo.org>
7397
7398 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7399
65a82e3d
DM
74002013-01-14 David S. Miller <davem@davemloft.net>
7401
8b954ab9
DM
7402 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7403 (SPARC_ASM_VIS2_IFUNC): Likewise.
7404 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7406 use of 'siam' instruction.
7407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7408 Likewise.
7409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7410 Likewise.
7411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7412 Likewise.
7413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7418 file.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7420 file.
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7422 file.
7423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7424 file.
7425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7430 new VIS2 routines.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7434 Likewise.
7435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7440 routines to libm-sysdep_routines.
7441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7442
65a82e3d
DM
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7444 fdim/fdimf to libm-sysdep_routines.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7446 file.
7447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7449 file.
7450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7453 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7454 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7455 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7456 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7457
e34ab705
SP
74582013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7459
2a91b573
SP
7460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7461 to optimize copies.
7462
1066a534
SP
7463 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7466
e34ab705
SP
7467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7468 local variable MPTWO.
7469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7470 Likewise.
7471
aba5e596
MF
74722013-01-13 Mike Frysinger <vapier@gentoo.org>
7473
7474 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7475 GLOB_NOESCAPE.
7476
e557e9e5
MF
74772013-01-13 Mike Frysinger <vapier@gentoo.org>
7478
7479 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7480
0428cec9
MF
74812013-01-13 Mike Frysinger <vapier@gentoo.org>
7482
7483 * manual/pattern.texi (glob_t): Document gl_flags.
7484 (glob64_t): Likewise.
7485
8794a964
DM
74862013-01-11 David S. Miller <davem@davemloft.net>
7487
66438c3f
RM
7488 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7489 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7490 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7491 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7492 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7493 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7494 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7495 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7496 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7497 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7498 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7499 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7500 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7501
4ae4244d
DM
7502 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7503 sparc V9 rather than using V8 code.
7504 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7505 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7506
8794a964
DM
7507 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7508 Move to...
7509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7510 Here.
7511
6270516e
RM
75122013-01-11 Roland McGrath <roland@hack.frob.com>
7513
7514 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7515 not in the main loop.
7516 * configure: Regenerated.
7517
6a57d931
JM
75182013-01-11 Joseph Myers <joseph@codesourcery.com>
7519
7520 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7521 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7522 to just #else.
7523 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7524 [!__GLIBC_HAVE_LONG_LONG] case.
7525 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7526 condition to just #else.
7527 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7528 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7529 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7530 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7531 unconditional.
7532 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7533 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7534 #elif condition to just #else.
7535 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7536 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7537 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7538 #elif condition to just #else.
7539
0e8529e9
SE
75402013-01-11 Steve Ellcey <sellcey@mips.com>
7541
7542 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7543 (EF_MIPS_ARCH_64): Fix value.
7544 (EF_MIPS_ARCH_32R2): New.
7545 (EF_MIPS_ARCH_64R2): New.
7546
740b3dbe
L
75472013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 * Makeconfig (+link-pie-before-libc): New.
7550 (+link-pie-after-libc): Likewise.
7551 (+link-pie-tests): Likewise.
7552 (+link-pie): Rewritten.
7553 (link-before-libc): Remove $(config-LDFLAGS).
7554 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7555 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7556 (config-LDFLAGS): Renamed to ...
7557 (rtld-LDFLAGS): This.
7558 (rtld-tests-LDFLAGS): New macro.
7559 (link-libc-rpath-link): Likewise.
7560 (link-libc-tests-rpath-link): Likewise.
7561 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7562 (link-libc): Prepand $(link-libc-rpath-link).
7563 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7564 (test-program-prefix): New macro.
7565 (test-via-rtld-prefix): Likewise.
7566 (test-program-cmd): Likewise.
7567 (host-test-program-cmd): Likewise.
7568 * Makefile ($(common-objpfx)testrun.sh): Replace
7569 $(run-program-prefix) with $(test-program-prefix).
7570 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7571 $(rtld-LDFLAGS).
7572 ($(common-objpfx)shlib.lds): Likewise.
7573 (build-module-helper): Likewise.
7574 ($(common-objpfx)format.lds): Likewise.
7575 * Rules (binaries-pie-tests): New.
7576 (binaries-pie-notests): Likewise.
7577 (binaries-pie): Rewritten.
7578 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7579 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7580 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7581 (make-test-out): Replace $(host-built-program-cmd) with
7582 $(host-test-program-cmd).
7583 * config.make.in (build-hardcoded-path-in-tests): New variable.
7584 * configure.in (--enable-hardcoded-path-in-tests): New configure
7585 option.
7586 (hardcoded_path_in_tests): New AC_SUBST.
7587 * configure: Regenerated.
7588 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7589 $(built-program-cmd) with $(test-program-cmd).
7590 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7591 (test_program_cmd): This.
7592 * elf/Makefile ($(objpfx)order.out): Run test with
7593 $(test-program-prefix).
7594 ($(objpfx)order2.out): Likewise.
7595 ($(objpfx)tst-initorder.out): Likewise.
7596 ($(objpfx)tst-initorder2.out): Likewise.
7597 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7598 $(test-program-cmd).
7599 ($(objpfx)tst-array1-static.out): Likewise.
7600 ($(objpfx)tst-array2.out): Likewise.
7601 ($(objpfx)tst-array3.out): Likewise.
7602 ($(objpfx)tst-array4.out): Likewise.
7603 ($(objpfx)tst-array5.out): Likewise.
7604 ($(objpfx)tst-array5-static.out): Likewise.
7605 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7606 $(test-program-cmd).
7607 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7608 $(run-program-prefix) with $(test-program-prefix).
7609 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7610 (test_program_prefix): This.
7611 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7612 $(run-program-prefix) with $(test-program-prefix).
7613 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7614 (test_program_prefix): This.
7615 * iconvdata/tst-tables.sh: Likewise.
7616 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7617 $(run-program-prefix) with $(test-program-prefix).
7618 ($(objpfx)tst-translit.out): Likewise.
7619 ($(objpfx)tst-gettext2.out): Likewise.
7620 ($(objpfx)tst-gettext4.out): Likewise.
7621 ($(objpfx)tst-gettext6.out): Likewise.
7622 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7623 (test_program_prefix): This.
7624 * intl/tst-gettext2.sh: Likewise.
7625 * intl/tst-gettext4.sh Likewise.
7626 * intl/tst-gettext6.sh: Likewise.
7627 * intl/tst-translit.sh: Likewise.
7628 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7629 with $(test-program-cmd).
7630 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7631 $(run-program-prefix) with $(test-program-prefix).
7632 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7633 (test_program_prefix): This.
7634 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7635 $(run-program-prefix) with $(test-program-prefix).
7636 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7637 (test_program_prefix): This.
7638 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7639 * posix/Makefile ($(objpfx)globtest.out): Replace
7640 $(run-via-rtld-prefix) and $(test-wrapper) with
7641 $(test-program-prefix) and $(test-via-rtld-prefix).
7642 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7643 $(test-program-prefix).
7644 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7645 $(host-test-program-cmd).
7646 (tst-spawn-ARGS): Likewise.
7647 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7648 $(test-program-prefix).
7649 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7650 (test_via_rtld_prefix): This.
7651 (test_wrapper): Renamed to ...
7652 (test_program_prefix): This.
7653 (run_program_prefix): Replaced by test_program_prefix.
7654 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7655 (test_program_prefix): This.
7656 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7657 with $(host-test-program-cmd).
7658 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7659 $(run-program-prefix) with $(test-program-prefix).
7660 ($(objpfx)tst-printf.out): Likewise.
7661 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7662 $(test-program-cmd).
7663 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7664 (test_program_prefix): This.
7665 * stdio-common/tst-unbputc.sh: Likewise.
7666 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7667 $(run-program-prefix) with $(test-program-prefix).
7668 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7669 (test_program_prefix): This.
7670 * string/Makefile ($(objpfx)tst-svc.out): Replace
7671 $(built-program-cmd) with $(test-program-cmd).
7672
c6fe55cf
AJ
76732013-01-11 Andreas Jaeger <aj@suse.de>
7674
7675 [BZ #15003]
7676 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7677 value. Sync with Linux 3.7.
7678
9e6919c8
DM
76792013-01-10 David S. Miller <davem@davemloft.net>
7680
7681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7682 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7683 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7684
1c9f1a02
RM
76852013-01-10 Roland McGrath <roland@hack.frob.com>
7686
7687 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7688 never set.
7689 * configure: Regenerated.
7690
b9de2dde
DM
76912013-01-10 David S. Miller <davem@davemloft.net>
7692
7693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7694 sparc V9 rather than using V8 code.
7695 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7696 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7697
e7f68ef4
RM
76982013-01-10 Roland McGrath <roland@hack.frob.com>
7699
7700 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7701 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7702 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7703 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7704 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7705 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7706 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7707 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7708 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7709 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7710 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7711 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7712 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7713 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7714 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7715 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7716 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7717 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7718 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7719 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7720 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7721 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7722 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7723 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7724 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7725 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7726 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7727
5a47cc9c
DM
77282013-01-10 David S. Miller <davem@davemloft.net>
7729
7730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7731
4cf8f209
L
77322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7733
7734 * posix/Makefile (tests-static): New variable.
7735 (tests): Add $(tests-static).
7736 (tst-exec-static-ARGS): New variable.
7737 (tst-spawn-static-ARGS): Likewise.
7738 * posix/tst-exec-static.c: New file.
7739 * posix/tst-spawn-static.c: Likewise.
7740 * posix/tst-exec.c: Support run directly.
7741 * posix/tst-spawn.c: Likewise.
7742
fed0faa1
JM
77432013-01-10 Joseph Myers <joseph@codesourcery.com>
7744
828beb13
JM
7745 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7746 long.
7747 * math/bits/mathcalls.h (llrint): Likewise.
7748 (llround): Likewise.
7749 * stdlib/stdlib.h (struct drand48_data): Likewise.
7750 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7751 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7753 Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7755 Likewise.
7756 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7757 (elf_greg_t): Likewise.
7758 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7759 (__jmp_buf): Likewise.
7760 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7761 definitions.
7762 (llrint): Likewise, for all definitions.
7763 (llrintl): Likewise.
7764
fed0faa1
JM
7765 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7766 Remove [__GNUC__] condition.
7767 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7768 condition to just [__USE_ISOC99].
7769 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7770
1a20cb20
L
77712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7772
7773 [BZ #14200]
7774 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7775 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7776 defined.
7777 (_POSIX_V6_ILP32_OFF32): Likewise.
7778 (_XBS5_ILP32_OFF32): Likewise.
7779 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7780 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7781
751b85f7
SP
77822013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7783
7490eb81
SP
7784 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7785
751b85f7
SP
7786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7787 doubles __mpexp_twomm1. Adjust usage.
7788 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7789 Remove.
7790
988197f0
AS
77912013-01-10 Andreas Schwab <schwab@suse.de>
7792
7793 [BZ #14964]
7794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7795 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7796
e83d7298
DM
77972013-01-09 David S. Miller <davem@davemloft.net>
7798
034ed64b 7799 [BZ #15003]
e83d7298
DM
7800 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7801 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7802 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7803 TCP_FASTOPEN): Define.
7804 (tcp_repair_opt): New structure.
7805 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7806 enum values.
7807 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7808 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7809 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7810 (tcp_cookie_transactions): New structure.
7811
d5e0b9bd
AB
78122013-01-09 Anton Blanchard <anton@samba.org>
7813
7814 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7815 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7816 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7817 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7818
0c07e3ea
JM
78192013-01-09 Joseph Myers <joseph@codesourcery.com>
7820
7821 * include/features.h (__USE_ANSI): Remove.
7822
232f7002
RM
78232013-01-09 Roland McGrath <roland@hack.frob.com>
7824
ad98e30c
RM
7825 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7826
232f7002
RM
7827 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7828
950c99ca
SP
78292013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7830
b5792741
SP
7831 * sysdeps/s390/fpu/libm-test-ulps: Update.
7832
47cf2278
SP
7833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7834
950c99ca
SP
7835 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7836 (__acr): Likewise.
7837 (__cpy): Likewise.
7838 (norm): Likewise.
7839 (denorm): Likewise.
7840 (__mp_dbl): Likewise.
7841 (__dbl_mp): Likewise.
7842 (add_magnitudes): Likewise.
7843 (sub_magnitudes): Likewise.
7844 (__add): Likewise.
7845 (__sub): Likewise.
7846 (__mul): Likewise.
7847 (__inv): Likewise.
7848 (__dvd): Likewise.
7849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7850 (__acr): Likewise.
7851 (__cpy): Likewise.
7852 (norm): Likewise.
7853 (denorm): Likewise.
7854 (__mp_dbl): Likewise.
7855 (__dbl_mp): Likewise.
7856 (add_magnitudes): Likewise.
7857 (sub_magnitudes): Likewise.
7858 (__add): Likewise.
7859 (__sub): Likewise.
7860 (__mul): Likewise.
7861 (__inv): Likewise.
7862 (__dvd): Likewise.
7863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7864 (__acr): Likewise.
7865 (__cpy): Likewise.
7866 (norm): Likewise.
7867 (denorm): Likewise.
7868 (__mp_dbl): Likewise.
7869 (__dbl_mp): Likewise.
7870 (add_magnitudes): Likewise.
7871 (sub_magnitudes): Likewise.
7872 (__add): Likewise.
7873 (__sub): Likewise.
7874 (__mul): Likewise.
7875 (__inv): Likewise.
7876 (__dvd): Likewise.
7877
eede9df9
JM
78782013-01-08 Joseph Myers <joseph@codesourcery.com>
7879
7880 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7881 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7882 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7883 2 && __USE_EXTERN_INLINES]: Likewise.
7884
c40ea3d9
AJ
78852013-01-08 Andreas Jaeger <aj@suse.de>
7886
7887 [BZ# 14985]
7888 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7889 Remove.
7890 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7891 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7892
2ccdea26
AB
78932013-01-07 Anton Blanchard <anton@samba.org>
7894
7895 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7896 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7897 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7898 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7899 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7900 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7901 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7902 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7906 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7909 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7913 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7915 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7916 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7918 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7919 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7920 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7921 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7922 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7924 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7925 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7927 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7928 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7929 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7930 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7933 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7935 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7938
a9708fed
JM
79392013-01-07 Joseph Myers <joseph@codesourcery.com>
7940
375607b9
JM
7941 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7942 (__MALLOC_PMT): Likewise.
7943 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7944 [__GNUC__], only on [_LIBC].
7945 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7946 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7947 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7948 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7949 forward declaration.
7950 (realloc_hook_ini): Likewise.
7951 (memalign_hook_ini): Likewise.
7952 (__libc_memalign): Do not use __MALLOC_PMT in variable
7953 declaration.
7954 (__libc_valloc): Likewise.
7955 (__libc_pvalloc): Likewise.
7956 (__libc_calloc): Likewise.
7957 (__posix_memalign): Likewise.
7958
a9708fed
JM
7959 [BZ #14996]
7960 * math/s_casinh.c: Include <float.h>.
7961 (__casinh): Do not do computation with squaring and square root
7962 for large arguments.
7963 * math/s_casinhf.c: Include <float.h>.
7964 (__casinhf): Do not do computation with squaring and square root
7965 for large arguments.
7966 * math/s_casinhl.c: Include <float.h>.
7967 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7968 (__casinhl): Do not do computation with squaring and square root
7969 for large arguments.
7970 * math/libm-test.inc (casin_test): Add more tests.
7971 (casinh_test): Likewise.
7972 * sysdeps/i386/fpu/libm-test-ulps: Update.
7973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7974
afec409a
L
79752013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7976
7977 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7978 (__x86_64_raw_data_cache_size): Likewise.
7979 (__x86_64_data_cache_size_half): Likewise.
7980 (__x86_64_raw_data_cache_size_half): Likewise.
7981 (__x86_64_shared_cache_size): Likewise.
7982 (__x86_64_raw_shared_cache_size): Likewise.
7983 (__x86_64_shared_cache_size_half): Likewise.
7984 (__x86_64_raw_shared_cache_size_half): Likewise.
7985 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7986 to ...
7987 (__x86_data_cache_size): This.
7988 (__x86_64_raw_data_cache_size): Renamed to ...
7989 (__x86_raw_data_cache_size): This.
7990 (__x86_64_data_cache_size_half): Renamed to ...
7991 (__x86_data_cache_size_half): This.
7992 (__x86_64_raw_data_cache_size_half): Renamed to ...
7993 (__x86_raw_data_cache_size_half): This.
7994 (__x86_64_shared_cache_size): Renamed to ...
7995 (__x86_shared_cache_size): This.
7996 (__x86_64_raw_shared_cache_size): Renamed to ...
7997 (__x86_raw_shared_cache_size): This.
7998 (__x86_64_shared_cache_size_half): Renamed to ...
7999 (__x86_shared_cache_size_half): This.
8000 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8001 (__x86_raw_shared_cache_size_half): This.
8002 * sysdeps/x86_64/memcpy.S: Updated.
8003 * sysdeps/x86_64/memset.S: Likewise.
8004 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8007
0b3986d0
DM
80082013-01-04 David S. Miller <davem@davemloft.net>
8009
8010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8011
e47686e9
AS
80122013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8013
d643bac1
AS
8014 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8015 1 to avoid redefinition warning.
8016 (__USE_GNU): Don't define.
8017 (init_signaling_nan): Protoize.
8018
e47686e9
AS
8019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8020
b18decba
SP
80212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8022
fffb407f
SP
8023 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8025 (__cpymn): Likewise.
8026 (norm): Remove commented code.
8027 (denorm): Likewise.
8028 (__mp_dbl): Likewise.
8029 (__inv): Likewise.
8030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8031 (__cpymn): Likewise.
8032 (norm): Remove commented code.
8033 (denorm): Likewise.
8034 (__mp_dbl): Likewise.
8035 (__inv): Likewise.
8036
b18decba
SP
8037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8038 mp_no value for 1.0 and 2.0.
8039 (norm): Use RADIXI instead of radixi.d.
8040 (denorm): Likewise.
8041 (__mul): Use 0.0 instead of zero.d.
8042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8043 mp_no value for 1.0 and 2.0.
8044 (norm): Use RADIXI instead of radixi.d.
8045 (denorm): Likewise.
8046 (__mul): Use 0.0 instead of zero.d.
8047
cdc1c96f
JM
80482013-01-04 Joseph Myers <joseph@codesourcery.com>
8049
8050 [BZ #14994]
8051 * math/s_casinh.c (__casinh): Reduce finite argument to first
8052 quadrant then set signs of results at the end.
8053 * math/s_casinhf.c (__casinhf): Likewise.
8054 * math/s_casinhl.c (__casinhl): Likewise.
8055 * math/libm-test.inc (casin_test): Add more tests.
8056 (casinh_test): Likewise.
8057 * sysdeps/i386/fpu/libm-test-ulps: Update.
8058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8059
302913e1
SP
80602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
6420d207
SP
8062 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8063
a9e48ab4
SP
8064 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8065
b7837264
SP
8066 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8067 declarations.
8068 (denorm): Likewise.
8069 (__mp_dbl): Likewise.
8070 (__inv): Likewise.
8071
f8af25d2
SP
8072 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8073 and adjust the header comment.
8074
302913e1
SP
8075 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8076 variable name from declaration.
8077
5d7dd1ca
L
80782013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8079
8080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8081 Initialize COMMON_CPUID_INDEX_7 element.
8082 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8083 (CPUID_RTM): Likewise.
8084 (HAS_RTM): Likewise.
8085 (COMMON_CPUID_INDEX_7): New enum.
8086
2f5f40f4
AS
80872013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8088
8089 [BZ #14981]
8090 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8091 size is zero, record memory as freed.
8092
4056f4a0
AJ
80932013-01-03 Andreas Jaeger <aj@suse.de>
8094
8095 * po/ia.po: Add new Interlingua translation.
8096
ab15736f 80972012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8098
8099 * locale/programs/localedef.c: Fix description of '--posix' flag.
8100
568035b7
JM
81012013-01-02 Joseph Myers <joseph@codesourcery.com>
8102
e6898b8d
JM
8103 * NEWS: Update dates in second copyright notice.
8104 * README: Update copyright dates in example.
8105 * manual/libc.texinfo: Update copyright dates.
8106 * scripts/test-installation.pl: Update copyright date in --version
8107 output.
8108
0e2f9562
JM
8109 * hurd/ctty-input.c: Fix copyright notice formatting.
8110 * hurd/ctty-output.c: Likewise.
8111 * hurd/dtable.c: Likewise.
8112 * hurd/hurd-raise.c: Likewise.
8113 * hurd/hurdprio.c: Likewise.
8114 * hurd/msgportdemux.c: Likewise.
8115 * misc/sys/file.h: Likewise.
8116 * misc/sys/ioctl.h: Likewise.
8117 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8118 * sysdeps/mach/hurd/chdir.c: Likewise.
8119 * sysdeps/mach/hurd/fchdir.c: Likewise.
8120 * sysdeps/mach/hurd/rename.c: Likewise.
8121 * sysdeps/mach/hurd/rmdir.c: Likewise.
8122 * sysdeps/mach/hurd/seekdir.c: Likewise.
8123 * sysdeps/mach/hurd/setsid.c: Likewise.
8124 * sysdeps/posix/wait3.c: Likewise.
8125
568035b7
JM
8126 * All files with FSF copyright notices: Update copyright dates
8127 using scripts/update-copyrights.
8128 * intl/plural.c: Regenerated.
8129 * locale/programs/charmap-kw.h: Likewise.
8130 * locale/programs/locfile-kw.h: Likewise.
8131
da08f647
SP
81322013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8133
0f5477af
SP
8134 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8135 four values.
8136
44e0d4c2
SP
8137 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8138 calculation loop and add branch prediction.
8139
4d55b4e5
SP
8140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8141 check access beyond bounds of m1np.
8142
da08f647
SP
8143 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8144 MPTWO.
8145 (__inv): Remove local variable MPTWO to use the global
8146 constant.
8147 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8148 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8149 variable MPTWO.
8150 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8151 MP3HALFS static const.
8152
8e051029
DM
81532013-01-01 David S. Miller <davem@davemloft.net>
8154
8155 * po/ca.po: Update from translation team.
8156
f4cf5f2d
JM
81572013-01-01 Joseph Myers <joseph@codesourcery.com>
8158
8159 * scripts/update-copyrights: New file.
8160 * Makeconfig: Reformat copyright notice.
8161 * ctype/ctype.h: Likewise.
8162 * debug/swprintf_chk.c: Likewise.
8163 * elf/dl-cache.c: Likewise.
8164 * elf/dl-debug.c: Likewise.
8165 * elf/dl-object.c: Likewise.
8166 * grp/initgroups.c: Likewise.
8167 * hurd/Makefile: Likewise.
8168 * hurd/hurd/signal.h: Likewise.
8169 * hurd/hurdfault.c: Likewise.
8170 * hurd/hurdioctl.c: Likewise.
8171 * hurd/hurdlookup.c: Likewise.
8172 * hurd/intr-msg.c: Likewise.
8173 * iconv/gconv_open.c: Likewise.
8174 * libio/swprintf.c: Likewise.
8175 * locale/lc-ctype.c: Likewise.
8176 * locale/nl_langinfo.c: Likewise.
8177 * mach/Machrules: Likewise.
8178 * mach/Makefile: Likewise.
8179 * malloc/obstack.h: Likewise.
8180 * manual/Makefile: Likewise.
8181 * manual/tsort.awk: Likewise.
8182 * misc/bits/stab.def: Likewise.
8183 * nis/nis_print_group_entry.c: Likewise.
8184 * nis/nis_table.c: Likewise.
8185 * nis/nss_compat/compat-pwd.c: Likewise.
8186 * nis/nss_compat/compat-spwd.c: Likewise.
8187 * po/Makefile: Likewise.
8188 * posix/fnmatch.c: Likewise.
8189 * posix/regex.h: Likewise.
8190 * resolv/Makefile: Likewise.
8191 * resolv/nss_dns/dns-network.c: Likewise.
8192 * resolv/res_hconf.c: Likewise.
8193 * scripts/gen-sorted.awk: Likewise.
8194 * soft-fp/soft-fp.h: Likewise.
8195 * stdio-common/printf.h: Likewise.
8196 * stdlib/monetary.h: Likewise.
8197 * stdlib/random.c: Likewise.
8198 * stdlib/random_r.c: Likewise.
8199 * sysdeps/generic/Makefile: Likewise.
8200 * sysdeps/gnu/Makefile: Likewise.
8201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8224 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8225 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8228 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8229 * sysdeps/mach/hurd/errnos.awk: Likewise.
8230 * sysdeps/mach/hurd/fork.c: Likewise.
8231 * sysdeps/mach/hurd/getcwd.c: Likewise.
8232 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8233 * sysdeps/mach/hurd/mmap.c: Likewise.
8234 * sysdeps/mach/hurd/utimes.c: Likewise.
8235 * sysdeps/mach/hurd/xmknod.c: Likewise.
8236 * sysdeps/posix/profil.c: Likewise.
8237 * sysdeps/posix/readdir_r.c: Likewise.
8238 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8239 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8240 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8241 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8243 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8244 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8245 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8247 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8248 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8249 * sysdeps/pthread/lio_listio.c: Likewise.
8250 * sysdeps/sparc/dl-procinfo.h: Likewise.
8251 * sysdeps/unix/i386/sysdep.S: Likewise.
8252 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8253 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8254 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8255 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8257 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8258 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8259 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8260 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8261 * sysdeps/wordsize-32/divdi3.c: Likewise.
8262 * time/sys/time.h: Likewise.
8263 * wcsmbs/Makefile: Likewise.
8264
0549fbba
DM
82652013-01-01 David S. Miller <davem@davemloft.net>
8266
a141f1a7
DM
8267 * po/fr.po: Update from translation team.
8268
0549fbba
DM
8269 * catgets/gencat.c: Update copyright year.
8270 * csu/version.c: Likewise.
8271 * debug/catchsegv.sh: Likewise.
8272 * debug/pcprofiledump.c: Likewise.
8273 * debug/xtrace.sh: Likewise.
8274 * elf/ldconfig.c: Likewise.
8275 * elf/ldd.bash.in: Likewise.
8276 * elf/pldd.c: Likewise.
8277 * elf/sotruss.ksh: Likewise.
8278 * elf/sprof.c: Likewise.
8279 * iconv/iconv_prog.c: Likewise.
8280 * iconv/iconvconfig.c: Likewise.
8281 * locale/programs/locale.c: Likewise.
8282 * locale/programs/localedef.c: Likewise.
8283 * login/programs/pt_chown.c: Likewise.
8284 * malloc/memusage.sh: Likewise.
8285 * malloc/memusagestat.c: Likewise.
8286 * malloc/mtrace.pl: Likewise.
8287 * nscd/nscd.c: Likewise.
8288 * nss/getent.c: Likewise.
8289 * nss/makedb.c: Likewise.
8290 * posix/getconf.c: Likewise.
8291
18ea052c
SP
82922012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8293
8294 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8295 numbers.
8296
9c89fca6
MF
82972012-12-30 Mike Frysinger <vapier@gentoo.org>
8298
8299 * math/bits/mathcalls.h (modf): Use __nonnull.
8300
085ec079
SP
83012012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8302
8303 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8304 (split): Use macro CN instead of the bare value.
8305 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8306 could be used.
8307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8308 instead of the bare value.
8309 (power1): Likewise.
8310
6d9f97e1
SP
83112012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8312
d63f73be
SP
8313 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8314 __ATAN_TWOM.
8315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8316
6d9f97e1
SP
8317 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8318 their values.
8319 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8321 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8322 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8323
4c4febf5
AJ
83242012-12-28 Andreas Jaeger <aj@suse.de>
8325
af5843ef
AJ
8326 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8327 values are from Linux 3.7.
8328
4c4febf5
AJ
8329 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8330 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8331
99136f82
SP
83322012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8333
2f216c3c 8334 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8335 TRUE case.
8336
99136f82
SP
8337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8338 (norm): Likewise.
8339 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8340 variables with preprocessor constants.
8341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8343 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8344
7fffbdff
BH
83452012-12-27 Bruno Haible <bruno@clisp.org>
8346
8347 [BZ #14317]
8348 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8349 only if needed.
8350
b76eb5f0
SP
83512012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8352
31a7fe5c
SP
8353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8354 and use variable directly.
8355 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8356
b76eb5f0
SP
8357 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8358 MPONE.
8359 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8360 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8361 variable MPONE.
8362 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8364 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8365 include directive. Remove local variable MPONE.
8366 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8368 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8369
2c8bfe7d
DM
83702012-12-25 David S. Miller <davem@davemloft.net>
8371
8372 * version.h (RELEASE): Set to "development".
8373 (VERSION): Set to "2.17.90".
8374 * NEWS: Add 2.18 section.
8375
147d03b0
DM
83762012-12-21 David S. Miller <davem@davemloft.net>
8377
8378 * po/hr.po: Update from translation team.
8379
a8ebb2b9
AK
83802012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8381
8382 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8383
95b4f1b6
SE
83842012-12-19 Steve Ellcey <sellcey@mips.com>
8385
b2d94007 8386 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8387
cedb2a90
MS
83882012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8389
8390 * manual/contrib.texi (Contributors): Spelling correction.
8391
bbf527d6
DM
83922012-12-15 David S. Miller <davem@davemloft.net>
8393
8394 * po/ru.po: Update from translation team.
8395
bc38c906
DM
83962012-12-13 David S. Miller <davem@davemloft.net>
8397
85429b1a
DM
8398 * NEWS: Mention IFUNC testsuite enhancements.
8399
d283e353
DM
8400 * po/pl.po: Update from translation team.
8401 * po/bg.po: Likewise.
8402
bc38c906
DM
8403 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8404 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8405
a181b0d7
DM
84062012-12-11 David S. Miller <davem@davemloft.net>
8407
4641d57e
DM
8408 * po/sv.po: Update from translation team.
8409
f7bc6495
DM
8410 * po/vi.po: Update from translation team.
8411
6fc9048f
DM
8412 * po/cs.po: Update from translation team.
8413
a181b0d7
DM
8414 * po/de.po: Update from translation team.
8415 * po/eo.po: Likewise.
8416 * po/nl.po: Likewise.
8417
f70bfe80
SP
84182012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8419
3c8b4190
SP
8420 [BZ #14246]
8421 * manual/argp.texi (Argp Helper Functions): Move node to follow
8422 Argp Parsing State.
8423
f70bfe80
SP
8424 [BZ #14872]
8425 * manual/conf.texi (Limits on File System Capacity): Mention if
8426 terminating null is included in the max size.
8427
188f0adf
AJ
84282012-12-10 Andreas Jaeger <aj@suse.de>
8429
8430 * po/cs.po: Update from translation team.
8431
56e7d3ad
SP
84322012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8433
8434 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8435 void pointer and cast to uintptr_t.
8436 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8437 path.
8438 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8439 * sysdeps/s390/s390-64/memset.S: Likewise.
8440
76f2d2ea 84412012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8442
8443 [BZ #14833]
8444 * menual/message.texi (Message Translation): Fix typos.
8445 (Helper programs for gettext): Likewise.
8446
67cbf9a2
AS
84472012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8448
8449 [BZ #14898]
8450 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8451 Change to -1.
8452
682d0e9a
DM
84532012-12-07 David S. Miller <davem@davemloft.net>
8454
8455 * po/libc.pot: Update.
8456
573cd484
RH
84572012-12-07 Richard Henderson <rth@redhat.com>
8458
7e9da188 8459 [BZ #10114]
573cd484
RH
8460 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8461 normal/normal case to before the switch.
8462 (_FP_DIV): Likewise.
8463
e933a943
MF
84642012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8465 Mike Frysinger <vapier@gentoo.org>
8466
8467 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8468 check for __NR_fadvise64_64.
8469
82123268
CM
84702012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8471
8472 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8473 0, not just to plain "0" as a statement.
8474 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8475 with cw.
8476
d9814526
JM
84772012-12-06 Joseph Myers <joseph@codesourcery.com>
8478
8479 * NEWS: Use sourceware.org in Bugzilla URL.
8480
7728c574
SP
84812012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
f16946dd
SP
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8484 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8485
5704bbcb
SP
8486 * stdio-common/tst-put-error.c (do_test): Add newline to the
8487 padded test to ensure flush.
8488
17aa0516
JL
84892012-12-05 Jeff Law <law@redhat.com>
8490
8491 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8492
363313b5
JM
84932012-12-05 Joseph Myers <joseph@codesourcery.com>
8494
effbd42a
JM
8495 * README: Don't refer to ports add-on as distributed separately.
8496 Mention AArch64 in list of systems supported in the ports add-on.
8497
87600365
JM
8498 * LICENSES: Add more non-FSF copyright and license notices.
8499
a0d7066a
JM
8500 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8501 ((unused)).
8502
66ca5a5b
JM
8503 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8504
363313b5
JM
8505 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8506 10000 as width of padded output.
8507
b37984ad
JM
85082012-12-04 Joseph Myers <joseph@codesourcery.com>
8509
9003570a
JM
8510 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8511
b37984ad
JM
8512 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8513 variable LX with __attribute__ ((unused)).
8514 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8515 Likewise.
8516 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8518 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8519 with __attribute__ ((unused)).
8520
c8df52ec
DM
85212012-12-04 David S. Miller <davem@abraco.davemloft.net>
8522
8523 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8524
b3b099af
JM
85252012-12-04 Joseph Myers <joseph@codesourcery.com>
8526
c33aa6e3
JM
8527 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8528 (CFLAGS-nldbl-acos.c): New variable.
8529 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8530 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8531 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8532 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8533 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8534 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8537 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8538 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8539 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8540 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8541 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8542 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8547 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8548 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8549 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8550 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8551 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8552 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8553 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8554 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8555 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8556 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8557 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8558 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8559 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8607 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8608 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8613 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8618 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8623 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8624 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8626
20f0018d
JM
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8628 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8629
b3b099af
JM
8630 [BZ #14914]
8631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8632 whole low double instead of just low 47 bits when splitting values
8633 into two parts.
8634
029264d1
AM
86352012-12-03 Allan McRae <allan@archlinux.org>
8636
8637 * manual/stdio.texi (Predefined Printf Handlers): Remove
8638 @hsep and @vsep usage.
8639
c9d6789e
MF
86402012-12-03 Mike Frysinger <vapier@gentoo.org>
8641
8642 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8643 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8644
4b7634a5
JL
86452012-12-03 Jeff Law <law@redhat.com>
8646
8647 * time/sys/time.h (settimeofday): Do not mark TV argument
8648 as __nonnull.
8649
eb6cbd24
MF
86502012-12-01 Mike Frysinger <vapier@gentoo.org>
8651
8652 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8653 when currently writing and seek to current position when not.
8654 * libio/Makefile (tests): Remove bug-fclose1.
8655 * libio/bug-fclose1.c: Delete.
8656
f638872a
JM
86572012-12-01 Joseph Myers <joseph@codesourcery.com>
8658
8659 * manual/arith.texi (feenableexcept): Fix typo.
8660 (fedisableexcept): Likewise.
8661
48085d14
RM
86622012-11-30 Roland McGrath <roland@hack.frob.com>
8663
8664 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8665 second, differently-typed declaration, rather than a cast.
8666
1a538b9f
SP
86672012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
8669 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8670 * include/rpc/svc.h: ... here.
8671
d07f2ff1 86722012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8673
8674 [BZ #13013]
8675 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8676 depending n and resplen2 to catch cases where answer
8677 equals answerp2.
8678
c93ec1f0
CD
86792012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8680
8681 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8682 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8683
37db69de
MF
86842012-11-29 Mike Frysinger <vapier@gentoo.org>
8685
8686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8687
e10c4e4f
RM
86882012-11-29 Roland McGrath <roland@hack.frob.com>
8689
8690 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8691
2af1b328
JL
86922012-11-28 Jeff Law <law@redhat.com>
8693
8694 [BZ #13761]
8695 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8696 dataset_temporary. Track alloca usage into alloca_used.
8697 If dataset is large allocate and release it via malloc/free.
8698
111db5b1
FW
86992012-06-04 Florian Weimer <fweimer@redhat.com>
8700
f06cc227 8701 [BZ #14197]
111db5b1
FW
8702 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8703
dd694abd
DM
87042012-11-28 David S. Miller <davem@davemloft.net>
8705
8706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8707
9984dd01
JM
87082012-11-28 Joseph Myers <joseph@codesourcery.com>
8709
8710 [BZ #14803]
8711 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8712 of pi/2 rounded to nearest to 64 bits.
8713 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8714 nearest to 64 bits.
8715 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8716 bits.
8717
14bc93a9
JL
87182012-11-28 Jeff Law <law@redhat.com>
8719 Martin Osvald <mosvald@redhat.com>
8720
8721 [BZ #14889]
8722 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8723 * sunrpc/svc.c: Include time.h.
8724 (__svc_accept_failed): New function.
8725 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8726 any reason other than EINTR, call __svc_accept_failed.
8727 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8728 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8729
e3c6aa3a
AS
87302012-11-28 Andreas Schwab <schwab@suse.de>
8731
8732 * scripts/abilist.awk: Also handle indirect functions in .opd
8733 section.
8734
1bead169
JM
87352012-11-28 Joseph Myers <joseph@codesourcery.com>
8736
8737 [BZ #13881]
8738 * sysdeps/x86/fpu/powl_helper.c: New file.
8739 * sysdeps/x86/fpu/Makefile: Likewise.
8740 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8741 (p3): New object.
8742 (__ieee754_powl): Use __powl_helper for finite arguments except
8743 integer exponents below 8.
8744 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8745 (p3): New object.
8746 (__ieee754_powl): Use __powl_helper for finite arguments except
8747 integer exponents below 8.
8748 * math/libm-test.inc (pow_test): Add more tests and enable some
8749 previously disabled tests.
8750 * sysdeps/i386/fpu/libm-test-ulps: Update.
8751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752
0817d63d
SP
87532012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8754 Carlos O'Donell <carlos_odonell@mentor.com>
8755
8756 * nss/makedb.c (is_prime): Assert that input is odd and greater
8757 than 4. Note that fact in a comment too.
8758 (next_prime): Add 4 to input.
8759
de2fd463
SP
87602012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8761
8762 [BZ #11741]
8763 * libio/Makefile (tests): Add test case tst-fwrite-error.
8764 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8765 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8766 * libio/tst-fwrite-error.c: New test case.
8767
c515fb51
L
87682012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8769
8770 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8771 before casting to void *.
8772 * include/libc-internal.h (__pointer_type): New macro.
8773 (__integer_if_pointer_type_sub): Likewise.
8774 (__integer_if_pointer_type): Likewise.
8775 (cast_to_integer): Likewise.
8776 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8777 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8778 before casting to atomic64_t.
8779 (atomic_exchange_acq): Likewise.
8780 (__arch_exchange_and_add_body): Likewise.
8781 (__arch_add_body): Likewise.
8782 (atomic_add_negative): Likewise.
8783 (atomic_add_zero): Likewise.
8784
4cf77aa9
JM
87852012-11-26 Joseph Myers <joseph@codesourcery.com>
8786
8787 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8788 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8789 (add_fdes): Likewise.
8790 (linear_search_fdes): Likewise.
8791 (binary_search_unencoded_fdes): Likewise.
8792
d260b3b4
AS
87932012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8794
8795 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8796
67060746
AC
87972012-11-24 Adam Conrad <adconrad@0c3.net>
8798
8799 * configure.in: Autodetect C++ header directories.
8800 * configure: Regenerated.
8801
800938a1
MF
88022012-11-23 Mike Frysinger <vapier@gentoo.org>
8803
8804 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8805
4e6e34e6
AS
88062012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8807
8808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8809
7c7feb47
JM
88102012-11-22 Joseph Myers <joseph@codesourcery.com>
8811
7184dcdf
JM
8812 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8813 LDBL_MANT_DIG == 106]: Disable some tests.
8814 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8815 Likewise.
8816 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8817 Likewise.
8818
0a42601f
JM
8819 [BZ #14871]
8820 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8821 input for small inputs. Return +/- pi/2 for large inputs.
8822 * math/libm-test.inc (atan_test): Add more tests.
8823
79c9b9fe
JM
8824 * sysdeps/generic/unwind-dw2-fde-glibc.c
8825 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8826 __attribute__ ((unused)).
8827
c60d3bf2
JM
8828 [BZ #14645]
8829 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8830 x * y if x and y are nonzero and z is zero.
8831
ef1e0867
JM
8832 [BZ #14811]
8833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8834 nonzero exponents with absolute value below 0x1p-117 to +/-
8835 0x1p-117.
8836
1468ded3
JM
8837 [BZ #14869]
8838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8839 up arguments below 2**-450, not just those below 2**-500.
8840 * math/libm-test.inc (hypot_test): Add another test.
8841
8e27e3cc
JM
8842 [BZ #14868]
8843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8844 Return a+b for ratio over 2**120, not 2**60.
8845 * math/libm-test.inc (hypot_test): Add another test.
8846
c9c0279b
JM
8847 * math/libm-test.inc (clog_test): Use
8848 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8849 (clog10_test): Likewise.
8850
7c7feb47
JM
8851 [BZ #6778]
8852 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8853
fff1530e
AS
88542012-11-22 Andreas Schwab <schwab@suse.de>
8855
8856 * sysdeps/i386/fpu/libm-test-ulps: Update.
8857
94558d30
PT
88582012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8859
8860 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8861 printf output with newline.
8862
7e1be741
L
88632012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8864
6bfea974
L
8865 [BZ #14865]
8866 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8867 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8868 -z nodlopen, -z initfirst and -z execstack support.
8869 * configure: Regenerated.
8870
7e1be741
L
8871 * elf/elf.h (DF_1_NODIRECT): New macro.
8872 (DF_1_IGNMULDEF): Likewise.
8873 (DF_1_NOKSYMS): Likewise.
8874 (DF_1_NOHDR): Likewise.
8875 (DF_1_EDITED): Likewise.
8876 (DF_1_NORELOC): Likewise.
8877 (DF_1_SYMINTPOSE): Likewise.
8878 (DF_1_GLOBAUDIT): Likewise.
8879 (DF_1_SINGLETON): Likewise.
8880 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8881 DT_1_SUPPORTED_MASK bits.
8882 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8883
105ce2ce
CD
88842012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8885
8886 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8887
123be9de
TS
88882012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8889
d072f3f7
TS
8890 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8891 macro.
8892
123be9de
TS
8893 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8894 (sendmmsg): Move declarations...
8895 * socket/sys/socket.h: ... here.
8896 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8897 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8898 include it from...
8899 * socket/recvmmsg.c: ... this new file.
8900 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8901 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8902 definition of __sendmmsg hidden.
8903 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8904 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8905 Move ENOSYS stub into and include it from...
8906 * socket/sendmmsg.c: ... this new file.
8907 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8908 (sysdep_routines): Move recvmmsg and sendmmsg...
8909 * socket/Makefile (routines): ... here.
8910 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8911 (GLIBC_PRIVATE): Add __sendmmsg.
8912 * include/sys/socket.h (__sendmmsg): Add declarations.
8913 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8914 sendmmsg.
8915
cf9a5d18
JM
89162012-11-20 Joseph Myers <joseph@codesourcery.com>
8917
8918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8919 variable I1 with __attribute__ ((unused)).
8920 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8921
ecd4caf9
JM
89222012-11-19 Joseph Myers <joseph@codesourcery.com>
8923
be14d48f
JM
8924 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8925 DUMMY variables with __attribute__ ((unused)).
8926
ecd4caf9
JM
8927 * bits/byteswap.h: Include <bits/types.h>.
8928 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8929
986cab95
PT
89302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8931
8932 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8933 string_t. Do not manually set errno.
8934 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8935 length with __strnlen. Make sure to both set errno and return it on
8936 failure.
8937
6d33cc9d
DM
89382012-11-19 David S. Miller <davem@davemloft.net>
8939
8940 With help from Joseph Myers.
8941 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8942 very large arguments properly.
8943 * math/libm-test.inc (atan_test): New tests.
8944 (atan2_test): New tests.
8945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8947
ee663277
JM
89482012-11-19 Joseph Myers <joseph@codesourcery.com>
8949
877f2d8e
JM
8950 [BZ #14856]
8951 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8952 Define to 3.
8953
116fc08a
JM
8954 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8955 [POSIX] (EADDRNOTAVAIL): Likewise.
8956 [POSIX] (EAFNOSUPPORT): Likewise.
8957 [POSIX] (EALREADY): Likewise.
8958 [POSIX] (ECONNABORTED): Likewise.
8959 [POSIX] (ECONNREFUSED): Likewise.
8960 [POSIX] (ECONNRESET): Likewise.
8961 [POSIX] (EDESTADDRREQ): Likewise.
8962 [POSIX] (EDQUOT): Likewise.
8963 [POSIX] (EHOSTUNREACH): Likewise.
8964 [POSIX] (EIDRM): Likewise.
8965 [POSIX] (EISCONN): Likewise.
8966 [POSIX] (ELOOP): Likewise.
8967 [POSIX] (EMULTIHOP): Likewise.
8968 [POSIX] (ENETDOWN): Likewise.
8969 [POSIX] (ENETUNREACH): Likewise.
8970 [POSIX] (ENOBUFS): Likewise.
8971 [POSIX] (ENODATA): Likewise.
8972 [POSIX] (ENOLINK): Likewise.
8973 [POSIX] (ENOMSG): Likewise.
8974 [POSIX] (ENOPROTOOPT): Likewise.
8975 [POSIX] (ENOSR): Likewise.
8976 [POSIX] (ENOSTR): Likewise.
8977 [POSIX] (ENOTCONN): Likewise.
8978 [POSIX] (ENOTSOCK): Likewise.
8979 [POSIX] (EOPNOTSUPP): Likewise.
8980 [POSIX] (EOVERFLOW): Likewise.
8981 [POSIX] (EPROTO): Likewise.
8982 [POSIX] (EPROTONOSUPPORT): Likewise.
8983 [POSIX] (EPROTOTYPE): Likewise.
8984 [POSIX] (ESTALE): Likewise.
8985 [POSIX] (ETIME): Likewise.
8986 [POSIX] (ETXTBSY): Likewise.
8987 [POSIX] (EWOULDBLOCK): Likewise.
8988 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8989 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8990 [POSIX] (SEEK_CUR): Likewise.
8991 [POSIX] (SEEK_END): Likewise.
8992 [POSIX || UNIX98] (mode_t): Do not require.
8993 [POSIX] (off_t): Likewise.
8994 [POSIX] (pid_t): Likewise.
8995 [POSIX] (sys/stat.h): Do not allow header.
8996 [POSIX] (unistd.h): Likewise.
8997 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8998 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8999 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9000 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9001 require.
9002 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9003 sigevent): Specify elements.
9004 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9005 entry.
9006 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9007 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9008
a483863f
JM
9009 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9010 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9011 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9012 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9013 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9014 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9015 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9016 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9017 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9018 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9019 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9020 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9021 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9022 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9023 Likewise.
9024 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9025 Likewise.
9026 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9027 Likewise.
9028 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9029 Likewise.
9030 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9033 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9034 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9035 Specify lower bound on value.
9036 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9037 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9038 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9040 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9041 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9042 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9043 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9044 value.
9045 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9046 as optional.
9047 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9048 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9049 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9050 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9051 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9052 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9054 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9056 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9057 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9058 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9059 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9060 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9061 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9062 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9063 entry.
9064 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9065 optional.
9066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9067 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9068 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9069 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9070 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9071 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9072 Likewise.
9073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9074 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9075 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9076 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9077 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9078 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9079 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9080 as optional.
9081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9083 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9084 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9085 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9086 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9087 specify as optional.
9088 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9089 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9090 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9091 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9092 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9093 [XPG3] (NL_LANGMAX): Likewise.
9094 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9095 [POSIX || XPG3] (NL_NMAX): Likewise.
9096 [POSIX || XPG3] (NL_SETMAX): Likewise.
9097 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9098 [XPG3] (NZERO): Likewise.
9099 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9100 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9101 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9102 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9103 (REG_ERANGE): Expect.
9104 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9105 optional-constant.
9106 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9107 Use (void) in prototype.
9108 [POSIX] (*_t): Allow.
9109 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9110 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9111 (WRDE_BADVAL): Expect.
9112
5ba924e3
JM
9113 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9114 expect.
9115 [XPG3 || XPG4] (O_RSYNC): Likewise.
9116 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9117 Likewise.
9118 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9119 [XPG3 || XPG4] (sigqueue): Likewise.
9120 [XPG3 || XPG4] (sigtimedwait): Likewise.
9121 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9122 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9123 [XPG3 || XPG4] (vsnprintf): Likewise.
9124 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9125 Likewise.
9126 [XPG3 || XPG4] (blksize_t): Likewise.
9127 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9128 Likewise.
9129 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9130 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9131 [XPG3 || XPG4] (struct itimerspec): Likewise.
9132 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9133 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9134 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9135 [XPG3 || XPG4] (clockid_t): Likewise.
9136 [XPG3 || XPG4] (timer_t): Likewise.
9137 [XPG3 || XPG4] (clock_getres): Likewise.
9138 [XPG3 || XPG4] (clock_gettime): Likewise.
9139 [XPG3 || XPG4] (clock_settime): Likewise.
9140 [XPG3 || XPG4] (nanosleep): Likewise.
9141 [XPG3 || XPG4] (timer_create): Likewise.
9142 [XPG3 || XPG4] (timer_delete): Likewise.
9143 [XPG3 || XPG4] (timer_gettime): Likewise.
9144 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9145 [XPG3 || XPG4] (timer_settime): Likewise.
9146 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9147 [XPG3 || XPG4] (getlogin_r): Likewise.
9148 [XPG3 || XPG4] (pread): Likewise.
9149 [XPG3 || XPG4] (pthread_atfork): Likewise.
9150 [XPG3 || XPG4] (pwrite): Likewise.
9151
ee663277
JM
9152 [BZ #14835]
9153 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9154 <bits/siginfo.h>.
9155
942caa16
PT
91562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9157
e19af380
PT
9158 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9159 finalizing MALLSTREAM.
9160
942caa16
PT
9161 * sysdeps/mach/hurd/syncfs.c: New file.
9162
cfde9b46
SP
91632012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9164
9165 [BZ #14719]
9166 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9167 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9168 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9169 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9170 (_nss_dns_gethostbyname4_r): Likewise.
9171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9172 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9173
f6da27e5
PH
91742012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9175
9176 [BZ #13763]
9177 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9178
6665d4a2
SM
91792012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9180
1f51ee92
SM
9181 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9182 * elf/cache.c (print_entry): Print ",AArch64" for
9183 FLAG_AARCH64_LIB64
9184
6665d4a2
SM
9185 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9186 * elf/cache.c (print_entry): Print ",hard-float" for
9187 FLAG_ARM_LIBHF.
9188
05b227bd
DM
91892012-11-18 David S. Miller <davem@davemloft.net>
9190
9191 With help from Joseph Myers.
9192 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9193 cutoff to 2**-13.
9194 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9195 cutoff to 2**-25.
9196 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9197 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9198 small.
9199 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9200 * math/libm-test.inc (y0_test): New tests.
9201 (y1_test): New tests.
9202 * sysdeps/i386/fpu/libm-test-ulps: Update.
9203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9205
786b0b67
AS
92062012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9207
9208 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9209 64-bit targets.
9210 * configure: Regenerated.
9211
8e18b86d
DM
92122012-11-17 David S. Miller <davem@davemloft.net>
9213
9214 [BZ #14811]
9215 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9216 nonzero exponents with absolute value below 0x1p-128 to +/-
9217 0x1p-128.
9218
531f1ae0
JM
92192012-11-17 Joseph Myers <joseph@codesourcery.com>
9220
12df29e2
JM
9221 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9222
150dc1a0
JM
9223 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9224
531f1ae0
JM
9225 * posix/getconf-speclist.c: New file.
9226 * posix/posix-envs.def: Likewise.
9227 * posix/confstr.c (START_ENV_GROUP): New macro.
9228 (END_ENV_GROUP): Likewise.
9229 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9230 (KNOWN_PRESENT_ENV_STRING): Likewise.
9231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9232 (UNKNOWN_ENVIRONMENT): Likewise.
9233 (confstr): Include posix-envs.def instead of handling
9234 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9235 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9236 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9237 (END_ENV_GROUP): Likewise.
9238 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9239 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9240 (UNKNOWN_ENVIRONMENT): Likewise.
9241 (__sysconf): Include posix-envs.def instead of handling associated
9242 cases directly here.
9243 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9244 preprocessing getconf-speclist.c rather than running getconf or
9245 generating empty file.
9246
a93f9cbc
PT
92472012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9248
9249 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9250
d64d9f87
AL
92512012-11-16 Andrej Lajovic <natrij@gmail.com>
9252
9253 [BZ #14672]
9254 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9255
447885eb
DM
92562012-11-16 David S. Miller <davem@davemloft.net>
9257
9258 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9259 smaller than LDBL_EPSILON/2.0L, just return xm1.
9260
bcbf9830
L
92612012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9262
9263 * elf/tst-array1.c (init): Set constructor priority to 1000.
9264 (fini): Set destructor priority to 1000.
9265 * elf/tst-array2dep.c: Likewise.
9266
2b766585
SP
92672012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9268
9269 [BZ #11741]
9270 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9271 (_IO_new_file_xsputn): Also return EOF if none of the input
9272 data was written when overflow failed.
9273 * libio/iopadn.c (_IO_padn): Likewise.
9274 * libio/iowpadn.c (_IO_wpadn): Likewise.
9275 * stdio-common/tst-put-error.c: Add copyright notice.
9276 (do_test): Add case for printing padded string.
9277 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9278 _IO_padn returned error.
9279 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9280 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9281 return EOF.
9282
b1848fde
SP
92832012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9284
9285 * libio/libioP.h: Add comment note that the references to C++
9286 bits are now obsolete.
9287
2fd89785
MS
92882012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9289
9290 * math/libm-test.inc (check_complex): Use asprintf.
9291
e3ea5409
JM
92922012-11-14 Joseph Myers <joseph@codesourcery.com>
9293
9294 * debug/pcprofiledump.c (print_version): Update copyright year.
9295 * malloc/memusagestat.c (print_version): Likewise.
9296
2e64d265
L
92972012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9298
9299 [BZ #14831]
9300 * elf/Makefile (tests): Add tst-audit8.
9301 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9302 ($(objpfx)tst-audit8.out): New target.
9303 (tst-audit8-ENV): New variable.
9304 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9305 audit if l_reloc_result is NULL.
9306 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9307 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9308 * elf/tst-audit8.c: New file.
9309
c485e4d2
MS
93102012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9311
9312 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9313 * misc/Makefile (CFLAGS-select.c): Define.
9314 * posix/Makefile (CFLAGS-pause.c): Define.
9315
3a0d900a
DM
93162012-11-13 David S. Miller <davem@davemloft.net>
9317
9318 * crypt/Makefile: Move test targets after toplevel Rules
9319 inclusion. Grab any necessary sysdep routines when linking.
9320 * crypt/md5.c (md5_process_block): Remove define, we will always
9321 name it __md5_process_block.
9322 (md5_finish_ctx): Update md5_process_block call.
9323 (md5_stream): Likewise.
9324 (md5_process_bytes): Likewise.
9325 (md5_process_block): Rename to __md5_process_block and move to ...
9326 * crypt/md5-block.c: ... here.
9327 * crypt/sha256.c (sha256_process_block): Move to ...
9328 * crypt/sha256-block.c: ... here.
9329 * crypt/sha512.c (sha512_process_block): Move to ...
9330 * crypt/sha512-block.c: ... here.
9331 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9332 path.
9333 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9334 * sysdeps/sparc/sparc64/multiarch/Makefile
9335 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9336 crypt subdir.
9337 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9339 multiarch changes.
9340 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9341 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9342 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9343 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9344 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9345 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9347 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9349 file.
9350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9351 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9352 file.
9353 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9354
8ca89318
JM
93552012-11-13 Joseph Myers <joseph@codesourcery.com>
9356
e27d476a
JM
9357 * timezone/tzselect.ksh: Update from tzcode git revision
9358 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9359 * timezone/zdump.c: Likewise.
9360 * timezone/zic.c: Likewise.
9361 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9362 in TZVERSION setting, not $(PKGVERSION).
9363 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9364 REPORT_BUGS_TO settings.
9365
8ca89318
JM
9366 [BZ #14838]
9367 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9368 macro.
9369
47594329
MS
93702012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9371
9372 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9373 detection to immediately after _FP_ROUND().
9374 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9375 bits are 0.
9376
640ac3f1
DM
93772012-11-11 David S. Miller <davem@davemloft.net>
9378
9379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9380 inttypes.h
9381 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9382 __close rather than their public counterparts.
9383
3d2577bb
JM
93842012-11-10 Joseph Myers <joseph@codesourcery.com>
9385
9386 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9387 file.
9388 [UNIX98] (sem_timedwait): Do not expect.
9389 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9390 [XPG4 || UNIX98] (sockatmark): Do not expect.
9391 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9392 (clock_getcpuclockid): Do not expect.
9393 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9394 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9395 Do not expect.
9396 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9397 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9398 [UNIX98] (vwscanf): Likewise.
9399 [UNIX98] (vswscanf): Likewise.
9400
fb1ae1ee
JM
94012012-11-09 Joseph Myers <joseph@codesourcery.com>
9402
9ec6f8bd
JM
9403 * timezone/version.h: Remove file.
9404 * timezone/README: Do not refer to version.h.
9405 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9406 $(objpfx)version.h.
9407 ($(objpfx)zdump.o): Likewise.
c3f81911 9408 ($(objpfx)version.h): New target.
9ec6f8bd 9409
0aa8f8a1
JM
9410 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9411 2012i.
9412 * timezone/README: Don't mention modification to tzselect.ksh.
9413 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9414 work on unmodified tzselect.ksh. Substitute version numbers in
9415 tzselect.ksh.
9416
4e87147f
JM
9417 * Makefile (format-me): Remove.
9418 (INSTALL): Adjust indentation. Use commands directly instead of
9419 using $(format-me).
9420
8b748aed
JM
9421 * aclocal.m4 (ACX_PKGVERSION): New macro.
9422 (ACX_BUGURL): Likewise.
9423 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9424 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9425 (REPORT_BUGS_TO): Likewise.
9426 * configure: Regenerated.
9427 * config.h.in (PKGVERSION): New macro.
9428 (REPORT_BUGS_TO): Likewise.
9429 * config.make.in (PKGVERSION): New variable.
9430 (PKGVERSION_TEXI): Likewise.
9431 (REPORT_BUGS_TO): Likewise.
9432 (REPORT_BUGS_TEXI): Likewise.
9433 * Makefile (format-me): Use -I$(common-objpfx)manual.
9434 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9435 ($(common-objpfx)manual/%): New target.
9436 (manual/%): Remove target.
9437 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9438 (print_version): Use PKGVERSION.
9439 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9440 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9441 and REPORT_BUGS_TO.
9442 ($(objpfx)xtrace): Likewise.
9443 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9444 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9445 (print_version): Use PKGVERSION.
9446 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9447 (do_version): Use PKGVERSION.
9448 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9449 REPORT_BUGS_TO.
9450 (common-ldd-rewrite): Likewise.
9451 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9452 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9453 (print_version): Use PKGVERSION.
9454 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9455 * elf/pldd.c (argp_program_bug_address): Remove variable.
9456 (more_help): New function.
9457 (argp): Use more_help.
9458 (print_version): Use PKGVERSION.
9459 * elf/sln.c (main): Use PKGVERSION.
9460 (usage): Use REPORT_BUGS_TO.
9461 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9462 (top level): Use PKGVERSION.
9463 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9464 (print_version): Use PKGVERSION.
9465 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9466 (print_version): Use PKGVERSION.
9467 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9468 (print_version): Use PKGVERSION.
9469 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9470 (print_version): Use PKGVERSION.
9471 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9472 (print_version): Use PKGVERSION.
9473 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9474 (print_version): Use PKGVERSION.
9475 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9476 and BUGURL.
9477 ($(objpfx)memusage): Likewise.
9478 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9479 (do_version): Use PKGVERSION.
9480 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9481 (print_version): Use PKGVERSION.
9482 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9483 ($PKGVERSION): New variable.
9484 ($REPORT_BUGS_TO): Likewise.
9485 (usage): Use $REPORT_BUGS_TO.
9486 (top level): Use $PKGVERSION.
9487 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9488 ($(objpfx)pkgvers.texi): New rule.
9489 ($(objpfx)stamp-pkgvers): Likewise.
9490 * manual/install.texi: Include pkgvers.texi.
9491 (--with-pkgversion): Document new configure option.
9492 (--with-bugurl): Likewise.
9493 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9494 than necessarily for this particular distribution. Use
9495 REPORT_BUGS_TO for where to report bugs.
9496 * INSTALL: Regenerated.
9497 * manual/libc.texinfo: Include pkgvers.texi.
9498 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9499 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9500 (print_version): Use PKGVERSION.
9501 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9502 (print_version): Use PKGVERSION.
9503 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9504 (print_version): Use PKGVERSION.
9505 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9506 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9507 macro.
9508 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9509 (print_version): Use PKGVERSION.
9510 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9511 (print_version): Use PKGVERSION.
9512 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9513 and PKGVERSION.
9514
92e4b6a9
JM
9515 * timezone/checktab.awk: Update from tzcode 2012i.
9516 * timezone/ialloc.c: Likewise.
9517 * timezone/private.h: Likewise.
9518 * timezone/scheck.c: Likewise.
9519 * timezone/tzfile.h: Likewise.
9520 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9521 (TZVERSION): Hardcode tzcode version number.
9522 * timezone/zdump.c: Update from tzcode 2012i.
9523 * timezone/zic.c: Likewise.
9524 * timezone/version.h: New file.
9525 * timezone/README: Describe version.h. Update upstream location.
9526
9bde902c
JM
9527 [BZ #14824]
9528 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9529 (mktemp): Enable declaration.
9530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9534 Likewise.
9535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9536 Likewise.
9537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9538 Likewise.
9539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9540 Likewise.
9541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9542 Likewise.
9543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9544 Likewise.
9545
fb1ae1ee
JM
9546 [BZ #14821]
9547 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9548 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9549 for copies of such integer values.
9550 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9551 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9552
2c1adbcb
AJ
95532012-11-09 Andreas Jaeger <aj@suse.de>
9554
9555 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9556 definitions and declarations that are provided by
9557 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9558
d0f8457e
AK
95592012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9560
3a235abb 9561 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9562 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9563 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9564 definition.
9565
57241e26
MS
95662012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9567
9568 * elf/elf.h: Update comment before AArch64 relocations.
9569
60e8270d
DM
95702012-11-07 David S. Miller <davem@davemloft.net>
9571
9572 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9573 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9574 (__start_context): Declare.
9575 (__makecontext_ret): Delete.
9576 (__makecontext): Hook up __start_context instead of
9577 __makecontext_ret.
9578 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9579 (sysdep_routines): Add __start_context when in stdlib.
9580
0fbb0fbc
JM
95812012-11-07 Joseph Myers <joseph@codesourcery.com>
9582
9583 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9584 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9585 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9586 hardcoded "nm".
9587 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9588 (READELF): New variable. Use it instead of hardcoded "readelf".
9589
eb48db7e
L
95902012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9591
9592 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9593 * sysdeps/x86/Makefile: Here.
9594 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9595 * sysdeps/x86/tst-xmmymm.sh: This.
9596
05bcf62a
JM
95972012-11-07 Joseph Myers <joseph@codesourcery.com>
9598
c4b6cf53
JM
9599 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9600 expectations.
9601 [UNIX98] (pthread_barrier_t): Do not expect.
9602 [UNIX98] (pthread_barrierattr_t): Likewise.
9603 [UNIX98] (pthread_spinlock_t): Likewise.
9604 [UNIX98] (pthread_barrier_destroy): Likewise.
9605 [UNIX98] (pthread_barrier_init): Likewise.
9606 [UNIX98] (pthread_barrier_wait): Likewise.
9607 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9608 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9609 [UNIX98] (pthread_barrierattr_init): Likewise.
9610 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9611 [UNIX98] (pthread_getcpuclockid): Likewise.
9612 [UNIX98] (pthread_mutex_timedlock): Likewise.
9613 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9614 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9615 [UNIX98] (pthread_sigmask): Likewise.
9616 [UNIX98] (pthread_spin_destroy): Likewise.
9617 [UNIX98] (pthread_spin_init): Likewise.
9618 [UNIX98] (pthread_spin_lock): Likewise.
9619 [UNIX98] (pthread_spin_trylock): Likewise.
9620 [UNIX98] (pthread_spin_unlock): Likewise.
9621 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9622 Do not expect.
9623 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9624 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9625 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9626 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9627 [XPG3 || XPG4] (pthread_key_t): Likewise.
9628 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9629 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9630 [XPG3 || XPG4] (pthread_once_t): Likewise.
9631 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9632 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9633 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9634 [XPG3 || XPG4] (pthread_t): Likewise.
9635
cbe6e120
JM
9636 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9637 not expect.
9638 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9639
1b126443
JM
9640 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9641 Change function return type to int.
9642
b961a573
JM
9643 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9644 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9645 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9646 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9647 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9648 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9649 [!POSIX] (posix_madvise): Likewise.
9650 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9651 && !UNIX98].
9652 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9653 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9654 (mode_t): Likewise.
9655 (posix_mem_offset): Likewise.
9656 (posix_typed_mem_get_info): Likewise.
9657 (posix_typed_mem_open): Likewise.
9658
9e188909
JM
9659 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9660 Change condition to [XOPEN2K8].
9661
05bcf62a
JM
9662 * conform/conformtest.pl: Preprocess allow-header data with -x c
9663 instead of from stdin.
9664 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9665 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9666 [C99-based standards] (cerfc): Likewise.
9667 [C99-based standards] (cexp2): Likewise.
9668 [C99-based standards] (cexpm1): Likewise.
9669 [C99-based standards] (clog10): Likewise.
9670 [C99-based standards] (clog1p): Likewise.
9671 [C99-based standards] (clog2): Likewise.
9672 [C99-based standards] (clgamma): Likewise.
9673 [C99-based standards] (ctgamma): Likewise.
9674 [C99-based standards] (cerff): Likewise.
9675 [C99-based standards] (cerfcf): Likewise.
9676 [C99-based standards] (cexp2f): Likewise.
9677 [C99-based standards] (cexpm1f): Likewise.
9678 [C99-based standards] (clog10f): Likewise.
9679 [C99-based standards] (clog1pf): Likewise.
9680 [C99-based standards] (clog2f): Likewise.
9681 [C99-based standards] (clgammaf): Likewise.
9682 [C99-based standards] (ctgammaf): Likewise.
9683 [C99-based standards] (cerfl): Likewise.
9684 [C99-based standards] (cerfcl): Likewise.
9685 [C99-based standards] (cexp2l): Likewise.
9686 [C99-based standards] (cexpm1l): Likewise.
9687 [C99-based standards] (clog10l): Likewise.
9688 [C99-based standards] (clog1pl): Likewise.
9689 [C99-based standards] (clog2l): Likewise.
9690 [C99-based standards] (clgammal): Likewise.
9691 [C99-based standards] (ctgammal): Likewise.
9692 * conform/data/inttypes.h-data [C99-based standards]: Include
9693 stdint.h-data. Remove all expectations for stdint.h contents.
9694 [C99-based standards] (PRI*): Do not allow.
9695 [C99-based standards] (SCN*): Likewise.
9696 [C99-based standards] (*_t): Likewise.
9697 [C99-based-standards] (PRId8): Expect macro.
9698 [C99-based-standards] (PRIi8): Likewise.
9699 [C99-based-standards] (PRIo8): Likewise.
9700 [C99-based-standards] (PRIu8): Likewise.
9701 [C99-based-standards] (PRIx8): Likewise.
9702 [C99-based-standards] (PRIX8): Likewise.
9703 [C99-based-standards] (SCNd8): Likewise.
9704 [C99-based-standards] (SCNi8): Likewise.
9705 [C99-based-standards] (SCNo8): Likewise.
9706 [C99-based-standards] (SCNu8): Likewise.
9707 [C99-based-standards] (SCNx8): Likewise.
9708 [C99-based-standards] (PRIdLEAST8): Likewise.
9709 [C99-based-standards] (PRIiLEAST8): Likewise.
9710 [C99-based-standards] (PRIoLEAST8): Likewise.
9711 [C99-based-standards] (PRIuLEAST8): Likewise.
9712 [C99-based-standards] (PRIxLEAST8): Likewise.
9713 [C99-based-standards] (PRIXLEAST8): Likewise.
9714 [C99-based-standards] (SCNdLEAST8): Likewise.
9715 [C99-based-standards] (SCNiLEAST8): Likewise.
9716 [C99-based-standards] (SCNoLEAST8): Likewise.
9717 [C99-based-standards] (SCNuLEAST8): Likewise.
9718 [C99-based-standards] (SCNxLEAST8): Likewise.
9719 [C99-based-standards] (PRIdFAST8): Likewise.
9720 [C99-based-standards] (PRIiFAST8): Likewise.
9721 [C99-based-standards] (PRIoFAST8): Likewise.
9722 [C99-based-standards] (PRIuFAST8): Likewise.
9723 [C99-based-standards] (PRIxFAST8): Likewise.
9724 [C99-based-standards] (PRIXFAST8): Likewise.
9725 [C99-based-standards] (SCNdFAST8): Likewise.
9726 [C99-based-standards] (SCNiFAST8): Likewise.
9727 [C99-based-standards] (SCNoFAST8): Likewise.
9728 [C99-based-standards] (SCNuFAST8): Likewise.
9729 [C99-based-standards] (SCNxFAST8): Likewise.
9730 [C99-based-standards] (PRId16): Likewise.
9731 [C99-based-standards] (PRIi16): Likewise.
9732 [C99-based-standards] (PRIo16): Likewise.
9733 [C99-based-standards] (PRIu16): Likewise.
9734 [C99-based-standards] (PRIx16): Likewise.
9735 [C99-based-standards] (PRIX16): Likewise.
9736 [C99-based-standards] (SCNd16): Likewise.
9737 [C99-based-standards] (SCNi16): Likewise.
9738 [C99-based-standards] (SCNo16): Likewise.
9739 [C99-based-standards] (SCNu16): Likewise.
9740 [C99-based-standards] (SCNx16): Likewise.
9741 [C99-based-standards] (PRIdLEAST16): Likewise.
9742 [C99-based-standards] (PRIiLEAST16): Likewise.
9743 [C99-based-standards] (PRIoLEAST16): Likewise.
9744 [C99-based-standards] (PRIuLEAST16): Likewise.
9745 [C99-based-standards] (PRIxLEAST16): Likewise.
9746 [C99-based-standards] (PRIXLEAST16): Likewise.
9747 [C99-based-standards] (SCNdLEAST16): Likewise.
9748 [C99-based-standards] (SCNiLEAST16): Likewise.
9749 [C99-based-standards] (SCNoLEAST16): Likewise.
9750 [C99-based-standards] (SCNuLEAST16): Likewise.
9751 [C99-based-standards] (SCNxLEAST16): Likewise.
9752 [C99-based-standards] (PRIdFAST16): Likewise.
9753 [C99-based-standards] (PRIiFAST16): Likewise.
9754 [C99-based-standards] (PRIoFAST16): Likewise.
9755 [C99-based-standards] (PRIuFAST16): Likewise.
9756 [C99-based-standards] (PRIxFAST16): Likewise.
9757 [C99-based-standards] (PRIXFAST16): Likewise.
9758 [C99-based-standards] (SCNdFAST16): Likewise.
9759 [C99-based-standards] (SCNiFAST16): Likewise.
9760 [C99-based-standards] (SCNoFAST16): Likewise.
9761 [C99-based-standards] (SCNuFAST16): Likewise.
9762 [C99-based-standards] (SCNxFAST16): Likewise.
9763 [C99-based-standards] (PRId32): Likewise.
9764 [C99-based-standards] (PRIi32): Likewise.
9765 [C99-based-standards] (PRIo32): Likewise.
9766 [C99-based-standards] (PRIu32): Likewise.
9767 [C99-based-standards] (PRIx32): Likewise.
9768 [C99-based-standards] (PRIX32): Likewise.
9769 [C99-based-standards] (SCNd32): Likewise.
9770 [C99-based-standards] (SCNi32): Likewise.
9771 [C99-based-standards] (SCNo32): Likewise.
9772 [C99-based-standards] (SCNu32): Likewise.
9773 [C99-based-standards] (SCNx32): Likewise.
9774 [C99-based-standards] (PRIdLEAST32): Likewise.
9775 [C99-based-standards] (PRIiLEAST32): Likewise.
9776 [C99-based-standards] (PRIoLEAST32): Likewise.
9777 [C99-based-standards] (PRIuLEAST32): Likewise.
9778 [C99-based-standards] (PRIxLEAST32): Likewise.
9779 [C99-based-standards] (PRIXLEAST32): Likewise.
9780 [C99-based-standards] (SCNdLEAST32): Likewise.
9781 [C99-based-standards] (SCNiLEAST32): Likewise.
9782 [C99-based-standards] (SCNoLEAST32): Likewise.
9783 [C99-based-standards] (SCNuLEAST32): Likewise.
9784 [C99-based-standards] (SCNxLEAST32): Likewise.
9785 [C99-based-standards] (PRIdFAST32): Likewise.
9786 [C99-based-standards] (PRIiFAST32): Likewise.
9787 [C99-based-standards] (PRIoFAST32): Likewise.
9788 [C99-based-standards] (PRIuFAST32): Likewise.
9789 [C99-based-standards] (PRIxFAST32): Likewise.
9790 [C99-based-standards] (PRIXFAST32): Likewise.
9791 [C99-based-standards] (SCNdFAST32): Likewise.
9792 [C99-based-standards] (SCNiFAST32): Likewise.
9793 [C99-based-standards] (SCNoFAST32): Likewise.
9794 [C99-based-standards] (SCNuFAST32): Likewise.
9795 [C99-based-standards] (SCNxFAST32): Likewise.
9796 [C99-based-standards] (PRId64): Likewise.
9797 [C99-based-standards] (PRIi64): Likewise.
9798 [C99-based-standards] (PRIo64): Likewise.
9799 [C99-based-standards] (PRIu64): Likewise.
9800 [C99-based-standards] (PRIx64): Likewise.
9801 [C99-based-standards] (PRIX64): Likewise.
9802 [C99-based-standards] (SCNd64): Likewise.
9803 [C99-based-standards] (SCNi64): Likewise.
9804 [C99-based-standards] (SCNo64): Likewise.
9805 [C99-based-standards] (SCNu64): Likewise.
9806 [C99-based-standards] (SCNx64): Likewise.
9807 [C99-based-standards] (PRIdLEAST64): Likewise.
9808 [C99-based-standards] (PRIiLEAST64): Likewise.
9809 [C99-based-standards] (PRIoLEAST64): Likewise.
9810 [C99-based-standards] (PRIuLEAST64): Likewise.
9811 [C99-based-standards] (PRIxLEAST64): Likewise.
9812 [C99-based-standards] (PRIXLEAST64): Likewise.
9813 [C99-based-standards] (SCNdLEAST64): Likewise.
9814 [C99-based-standards] (SCNiLEAST64): Likewise.
9815 [C99-based-standards] (SCNoLEAST64): Likewise.
9816 [C99-based-standards] (SCNuLEAST64): Likewise.
9817 [C99-based-standards] (SCNxLEAST64): Likewise.
9818 [C99-based-standards] (PRIdFAST64): Likewise.
9819 [C99-based-standards] (PRIiFAST64): Likewise.
9820 [C99-based-standards] (PRIoFAST64): Likewise.
9821 [C99-based-standards] (PRIuFAST64): Likewise.
9822 [C99-based-standards] (PRIxFAST64): Likewise.
9823 [C99-based-standards] (PRIXFAST64): Likewise.
9824 [C99-based-standards] (SCNdFAST64): Likewise.
9825 [C99-based-standards] (SCNiFAST64): Likewise.
9826 [C99-based-standards] (SCNoFAST64): Likewise.
9827 [C99-based-standards] (SCNuFAST64): Likewise.
9828 [C99-based-standards] (SCNxFAST64): Likewise.
9829 [C99-based-standards] (PRIdMAX): Likewise.
9830 [C99-based-standards] (PRIiMAX): Likewise.
9831 [C99-based-standards] (PRIoMAX): Likewise.
9832 [C99-based-standards] (PRIuMAX): Likewise.
9833 [C99-based-standards] (PRIxMAX): Likewise.
9834 [C99-based-standards] (PRIXMAX): Likewise.
9835 [C99-based-standards] (SCNdMAX): Likewise.
9836 [C99-based-standards] (SCNiMAX): Likewise.
9837 [C99-based-standards] (SCNoMAX): Likewise.
9838 [C99-based-standards] (SCNuMAX): Likewise.
9839 [C99-based-standards] (SCNxMAX): Likewise.
9840 [C99-based-standards] (PRIdPTR): Likewise.
9841 [C99-based-standards] (PRIiPTR): Likewise.
9842 [C99-based-standards] (PRIoPTR): Likewise.
9843 [C99-based-standards] (PRIuPTR): Likewise.
9844 [C99-based-standards] (PRIxPTR): Likewise.
9845 [C99-based-standards] (PRIXPTR): Likewise.
9846 [C99-based-standards] (SCNdPTR): Likewise.
9847 [C99-based-standards] (SCNiPTR): Likewise.
9848 [C99-based-standards] (SCNoPTR): Likewise.
9849 [C99-based-standards] (SCNuPTR): Likewise.
9850 [C99-based-standards] (SCNxPTR): Likewise.
9851 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9852 allow.
9853 * conform/data/stdint.h-data: Update comments to clarify
9854 requirements.
9855 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9856 type.
9857 [C99-based standards] (INT8_MAX): Likewise.
9858 [C99-based standards] (INT16_MIN): Likewise.
9859 [C99-based standards] (INT16_MAX): Likewise.
9860 [C99-based standards] (INT32_MIN): Likewise.
9861 [C99-based standards] (INT32_MAX): Likewise.
9862 [C99-based standards] (INT64_MIN): Likewise.
9863 [C99-based standards] (INT64_MAX): Likewise.
9864 [C99-based standards] (UINT8_MAX): Likewise.
9865 [C99-based standards] (UINT16_MAX): Likewise.
9866 [C99-based standards] (UINT32_MAX): Likewise.
9867 [C99-based standards] (UINT64_MAX): Likewise.
9868 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9869 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9870 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9871 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9872 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9873 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9874 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9875 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9876 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9877 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9878 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9879 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9880 [C99-based standards] (INT_FAST8_MIN): Likewise.
9881 [C99-based standards] (INT_FAST8_MAX): Likewise.
9882 [C99-based standards] (INT_FAST16_MIN): Likewise.
9883 [C99-based standards] (INT_FAST16_MAX): Likewise.
9884 [C99-based standards] (INT_FAST32_MIN): Likewise.
9885 [C99-based standards] (INT_FAST32_MAX): Likewise.
9886 [C99-based standards] (INT_FAST64_MIN): Likewise.
9887 [C99-based standards] (INT_FAST64_MAX): Likewise.
9888 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9889 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9890 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9891 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9892 [C99-based standards] (INTPTR_MIN): Likewise.
9893 [C99-based standards] (INTPTR_MAX): Likewise.
9894 [C99-based standards] (UINTPTR_MAX): Likewise.
9895 [C99-based standards] (INTMAX_MIN): Likewise.
9896 [C99-based standards] (INTMAX_MAX): Likewise.
9897 [C99-based standards] (UINTMAX_MAX): Likewise.
9898 [C99-based standards] (PTRDIFF_MIN): Likewise.
9899 [C99-based standards] (PTRDIFF_MAX): Likewise.
9900 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9901 [C99-based standards] (SIZE_MAX): Likewise.
9902 [C99-based standards] (WCHAR_MAX): Likewise.
9903 [C99-based standards] (WINT_MAX): Likewise.
9904 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9905 constraint on value.
9906 [C99-based standards] (WCHAR_MIN): Likewise.
9907 [C99-based standards] (WINT_MIN): Likewise.
9908 [C99-based standards] (*_t): Allow.
9909 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9910 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9911 Include math.h-data and complex.h-data. Remove all expectations
9912 of math.h and complex.h contents.
9913 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9914 at end of line.
9915 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9916 (struct tm): Expect tag.
9917 [C99-based-standards] (wcstof): Expect function.
9918 [C99-based-standards] (wcstold): Likewise.
9919 [C99-based-standards] (wcstoll): Likewise.
9920 [C99-based-standards] (wcstoull): Likewise.
9921 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9922 macro-int-constant. Specify type.
9923 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9924 constraint on value.
9925 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9926 Specify type.
9927 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9928 Specify value.
9929 [ISO C standards]: Do not allow headers.
9930 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9931 wcs[abcdefghijklmnopqrstuvwxyz]*.
9932 [ISO C standards] (*_t): Do not allow.
9933 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9934 Expect function.
9935 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9936 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9937 Specify type.
9938 [ISO C standards]: Do not allow headers.
9939 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9940 is[abcdefghijklmnopqrstuvwxyz]*.
9941 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9942 to[abcdefghijklmnopqrstuvwxyz]*.
9943 [ISO C standards] (*_t): Do not allow.
9944 * conform/data/stdalign.h-data: New file.
9945 * conform/data/stdbool.h-data: Likewise.
9946 * conform/data/stdnoreturn.h-data: Likewise.
9947
7514feb8
RM
99482012-11-07 Roland McGrath <roland@hack.frob.com>
9949
9950 [BZ #14815]
9951 * manual/filesys.texi (Directory Entries): Typo fix.
9952 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9953
19b2ecfc
MS
99542012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9955
9956 * elf/elf.h (EM_AARCH64): New macro.
9957 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9958 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9959 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9960 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9961 (R_AARCH64_TLSDESC): Likewise.
9962 (NT_ARM_TLS): Likewise.
9963 (NT_ARM_HW_BREAK): Likewise.
9964 (NT_ARM_HW_WATCH): Likewise.
9965
60e235ee
JM
99662012-11-07 Joseph Myers <joseph@codesourcery.com>
9967
9968 [BZ #14811]
9969 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9970 (__ieee754_powl): Saturate nonzero exponents with absolute value
9971 below 0x1p-79 to +/- 0x1p-79.
9972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9973 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9974 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9975 nonzero exponents with absolute value below 0x1p-32 to +/-
9976 0x1p-32.
9977 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9978 (__ieee754_powl): Saturate nonzero exponents with absolute value
9979 below 0x1p-79 to +/- 0x1p-79.
9980 * math/libm-test.inc (pow_test): Add more tests.
9981
0ab234b7
AK
99822012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9983
9984 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9985 _dl_s390_cap_flags with kernel. Increase string length.
9986 (_dl_s390_platforms): Add z196 and zEC12.
9987
45832f74
JM
99882012-11-07 Joseph Myers <joseph@codesourcery.com>
9989
9990 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9991 Change XOPEN21K to XOPEN2K.
9992
19218757
MK
99932012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9994
9995 * string/memmove.c: Use memcpy when possible.
9996
c5f45721
AJ
99972012-11-06 Andreas Jaeger <aj@suse.de>
9998
9999 * po/eo.po: Update from translation team.
10000
82477c28
JM
100012012-11-06 Joseph Myers <joseph@codesourcery.com>
10002
10003 [BZ #14793]
10004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10005 exponent and small x and y exponents, scale x or y up. Increase
10006 by 2 the exponent used in scaling up.
10007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10009 * math/libm-test.inc (fma_test): Add more tests.
10010 (fma_test_towardzero): Likewise.
10011 (fma_test_downward): Likewise.
10012 (fma_test_upward): Likewise.
10013
99252c8c
JM
100142012-11-05 Joseph Myers <joseph@codesourcery.com>
10015
acfa885f
JM
10016 [BZ #14805]
10017 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10018 fenv_t *.
10019
99252c8c
JM
10020 [BZ #14801]
10021 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10022 namespace for names of struct fields.
10023 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10024 fenv_t fields.
10025 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10026 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10027
d6d98dea
ST
100282012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10029
10030 [BZ #3665]
10031 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10032
e10bb107
TS
100332012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10034
10035 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10036 PTR_DEMANGLE.
10037
10038 [BZ #5246]
10039 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10040 PTR_DEMANGLE.
10041
a0c2940d
JM
100422012-11-04 Joseph Myers <joseph@codesourcery.com>
10043
10044 [BZ #14797]
10045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10046 definitely overflow as x * y not x * y + z.
10047 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10048 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10049 * math/libm-test.inc (fma_test): Add more tests.
10050 (fma_test_towardzero): Likewise.
10051 (fma_test_downward): Likewise.
10052 (fma_test_upward): Likewise.
10053
b830319d
TS
100542012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10055
10056 [BZ #157]
10057
10058 * include/stub-tag.h: Remove file.
10059 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10060 '#include' of it.
10061 * manual/maint.texi (Porting): Don't reference it.
10062 * Makerules ($(objpfx)stubs): Likewise.
10063 * dirent/closedir.c: Don't include <stub-tag.h>.
10064 * dirent/dirfd.c: Likewise.
10065 * dirent/fdopendir.c: Likewise.
10066 * dirent/getdents.c: Likewise.
10067 * dirent/getdents64.c: Likewise.
10068 * dirent/opendir.c: Likewise.
10069 * dirent/readdir.c: Likewise.
10070 * dirent/readdir64.c: Likewise.
10071 * dirent/readdir64_r.c: Likewise.
10072 * dirent/readdir_r.c: Likewise.
10073 * dirent/rewinddir.c: Likewise.
10074 * dirent/seekdir.c: Likewise.
10075 * dirent/telldir.c: Likewise.
10076 * gmon/profil.c: Likewise.
10077 * grp/setgroups.c: Likewise.
10078 * inet/if_index.c: Likewise.
10079 * io/access.c: Likewise.
10080 * io/chdir.c: Likewise.
10081 * io/chmod.c: Likewise.
10082 * io/chown.c: Likewise.
10083 * io/close.c: Likewise.
10084 * io/dup.c: Likewise.
10085 * io/dup2.c: Likewise.
10086 * io/dup3.c: Likewise.
10087 * io/euidaccess.c: Likewise.
10088 * io/faccessat.c: Likewise.
10089 * io/fchdir.c: Likewise.
10090 * io/fchmod.c: Likewise.
10091 * io/fchmodat.c: Likewise.
10092 * io/fchown.c: Likewise.
10093 * io/fchownat.c: Likewise.
10094 * io/fcntl.c: Likewise.
10095 * io/flock.c: Likewise.
10096 * io/fstatfs.c: Likewise.
10097 * io/fstatfs64.c: Likewise.
10098 * io/fstatvfs.c: Likewise.
10099 * io/fstatvfs64.c: Likewise.
10100 * io/futimens.c: Likewise.
10101 * io/fxstat.c: Likewise.
10102 * io/fxstat64.c: Likewise.
10103 * io/fxstatat.c: Likewise.
10104 * io/fxstatat64.c: Likewise.
10105 * io/getcwd.c: Likewise.
10106 * io/isatty.c: Likewise.
10107 * io/lchmod.c: Likewise.
10108 * io/lchown.c: Likewise.
10109 * io/link.c: Likewise.
10110 * io/linkat.c: Likewise.
10111 * io/lseek.c: Likewise.
10112 * io/lseek64.c: Likewise.
10113 * io/lxstat64.c: Likewise.
10114 * io/mkdir.c: Likewise.
10115 * io/mkdirat.c: Likewise.
10116 * io/mkfifo.c: Likewise.
10117 * io/mkfifoat.c: Likewise.
10118 * io/open.c: Likewise.
10119 * io/open64.c: Likewise.
10120 * io/openat.c: Likewise.
10121 * io/openat64.c: Likewise.
10122 * io/pipe.c: Likewise.
10123 * io/pipe2.c: Likewise.
10124 * io/poll.c: Likewise.
10125 * io/posix_fadvise.c: Likewise.
10126 * io/posix_fadvise64.c: Likewise.
10127 * io/posix_fallocate.c: Likewise.
10128 * io/posix_fallocate64.c: Likewise.
10129 * io/read.c: Likewise.
10130 * io/readlink.c: Likewise.
10131 * io/readlinkat.c: Likewise.
10132 * io/rmdir.c: Likewise.
10133 * io/sendfile.c: Likewise.
10134 * io/sendfile64.c: Likewise.
10135 * io/statfs.c: Likewise.
10136 * io/statfs64.c: Likewise.
10137 * io/statvfs.c: Likewise.
10138 * io/statvfs64.c: Likewise.
10139 * io/symlink.c: Likewise.
10140 * io/symlinkat.c: Likewise.
10141 * io/ttyname.c: Likewise.
10142 * io/ttyname_r.c: Likewise.
10143 * io/umask.c: Likewise.
10144 * io/unlink.c: Likewise.
10145 * io/unlinkat.c: Likewise.
10146 * io/utime.c: Likewise.
10147 * io/utimensat.c: Likewise.
10148 * io/write.c: Likewise.
10149 * io/xmknod.c: Likewise.
10150 * io/xmknodat.c: Likewise.
10151 * io/xstat.c: Likewise.
10152 * io/xstat64.c: Likewise.
10153 * login/getpt.c: Likewise.
10154 * login/grantpt.c: Likewise.
10155 * login/unlockpt.c: Likewise.
10156 * math/e_acoshl.c: Likewise.
10157 * math/e_acosl.c: Likewise.
10158 * math/e_asinl.c: Likewise.
10159 * math/e_atan2l.c: Likewise.
10160 * math/e_atanhl.c: Likewise.
10161 * math/e_coshl.c: Likewise.
10162 * math/e_expl.c: Likewise.
10163 * math/e_fmodl.c: Likewise.
10164 * math/e_gammal_r.c: Likewise.
10165 * math/e_hypotl.c: Likewise.
10166 * math/e_j0l.c: Likewise.
10167 * math/e_j1l.c: Likewise.
10168 * math/e_jnl.c: Likewise.
10169 * math/e_lgammal_r.c: Likewise.
10170 * math/e_log10l.c: Likewise.
10171 * math/e_log2l.c: Likewise.
10172 * math/e_logl.c: Likewise.
10173 * math/e_powl.c: Likewise.
10174 * math/e_rem_pio2l.c: Likewise.
10175 * math/e_sinhl.c: Likewise.
10176 * math/e_sqrtl.c: Likewise.
10177 * math/fclrexcpt.c: Likewise.
10178 * math/fedisblxcpt.c: Likewise.
10179 * math/feenablxcpt.c: Likewise.
10180 * math/fegetenv.c: Likewise.
10181 * math/fegetexcept.c: Likewise.
10182 * math/fegetround.c: Likewise.
10183 * math/feholdexcpt.c: Likewise.
10184 * math/fesetenv.c: Likewise.
10185 * math/fesetround.c: Likewise.
10186 * math/feupdateenv.c: Likewise.
10187 * math/fgetexcptflg.c: Likewise.
10188 * math/fraiseexcpt.c: Likewise.
10189 * math/fsetexcptflg.c: Likewise.
10190 * math/ftestexcept.c: Likewise.
10191 * math/k_cosl.c: Likewise.
10192 * math/k_rem_pio2l.c: Likewise.
10193 * math/k_sinl.c: Likewise.
10194 * math/k_tanl.c: Likewise.
10195 * math/s_asinhl.c: Likewise.
10196 * math/s_atanl.c: Likewise.
10197 * math/s_cbrtl.c: Likewise.
10198 * math/s_erfl.c: Likewise.
10199 * math/s_expm1l.c: Likewise.
10200 * math/s_log1pl.c: Likewise.
10201 * math/s_tanhl.c: Likewise.
10202 * misc/acct.c: Likewise.
10203 * misc/brk.c: Likewise.
10204 * misc/chflags.c: Likewise.
10205 * misc/chroot.c: Likewise.
10206 * misc/fchflags.c: Likewise.
10207 * misc/fgetxattr.c: Likewise.
10208 * misc/flistxattr.c: Likewise.
10209 * misc/fremovexattr.c: Likewise.
10210 * misc/fsetxattr.c: Likewise.
10211 * misc/fsync.c: Likewise.
10212 * misc/ftruncate.c: Likewise.
10213 * misc/futimes.c: Likewise.
10214 * misc/futimesat.c: Likewise.
10215 * misc/getdomain.c: Likewise.
10216 * misc/getdtsz.c: Likewise.
10217 * misc/gethostid.c: Likewise.
10218 * misc/gethostname.c: Likewise.
10219 * misc/getloadavg.c: Likewise.
10220 * misc/getpagesize.c: Likewise.
10221 * misc/getsysstats.c: Likewise.
10222 * misc/getxattr.c: Likewise.
10223 * misc/gtty.c: Likewise.
10224 * misc/ioctl.c: Likewise.
10225 * misc/lgetxattr.c: Likewise.
10226 * misc/listxattr.c: Likewise.
10227 * misc/llistxattr.c: Likewise.
10228 * misc/lremovexattr.c: Likewise.
10229 * misc/lsetxattr.c: Likewise.
10230 * misc/lutimes.c: Likewise.
10231 * misc/madvise.c: Likewise.
10232 * misc/mincore.c: Likewise.
10233 * misc/mlock.c: Likewise.
10234 * misc/mlockall.c: Likewise.
10235 * misc/mmap.c: Likewise.
10236 * misc/mprotect.c: Likewise.
10237 * misc/msync.c: Likewise.
10238 * misc/munlock.c: Likewise.
10239 * misc/munlockall.c: Likewise.
10240 * misc/munmap.c: Likewise.
10241 * misc/preadv.c: Likewise.
10242 * misc/preadv64.c: Likewise.
10243 * misc/ptrace.c: Likewise.
10244 * misc/pwritev.c: Likewise.
10245 * misc/pwritev64.c: Likewise.
10246 * misc/readv.c: Likewise.
10247 * misc/reboot.c: Likewise.
10248 * misc/remap_file_pages.c: Likewise.
10249 * misc/removexattr.c: Likewise.
10250 * misc/revoke.c: Likewise.
10251 * misc/select.c: Likewise.
10252 * misc/setdomain.c: Likewise.
10253 * misc/setegid.c: Likewise.
10254 * misc/seteuid.c: Likewise.
10255 * misc/sethostid.c: Likewise.
10256 * misc/sethostname.c: Likewise.
10257 * misc/setregid.c: Likewise.
10258 * misc/setreuid.c: Likewise.
10259 * misc/setxattr.c: Likewise.
10260 * misc/sstk.c: Likewise.
10261 * misc/stty.c: Likewise.
10262 * misc/swapoff.c: Likewise.
10263 * misc/swapon.c: Likewise.
10264 * misc/sync.c: Likewise.
10265 * misc/syncfs.c: Likewise.
10266 * misc/syscall.c: Likewise.
10267 * misc/truncate.c: Likewise.
10268 * misc/ualarm.c: Likewise.
10269 * misc/usleep.c: Likewise.
10270 * misc/ustat.c: Likewise.
10271 * misc/utimes.c: Likewise.
10272 * misc/vhangup.c: Likewise.
10273 * misc/writev.c: Likewise.
10274 * posix/_exit.c: Likewise.
10275 * posix/alarm.c: Likewise.
10276 * posix/execve.c: Likewise.
10277 * posix/fexecve.c: Likewise.
10278 * posix/fork.c: Likewise.
10279 * posix/fpathconf.c: Likewise.
10280 * posix/getaddrinfo.c: Likewise.
10281 * posix/getegid.c: Likewise.
10282 * posix/geteuid.c: Likewise.
10283 * posix/getgid.c: Likewise.
10284 * posix/getgroups.c: Likewise.
10285 * posix/getlogin.c: Likewise.
10286 * posix/getlogin_r.c: Likewise.
10287 * posix/getpgid.c: Likewise.
10288 * posix/getpid.c: Likewise.
10289 * posix/getppid.c: Likewise.
10290 * posix/getresgid.c: Likewise.
10291 * posix/getresuid.c: Likewise.
10292 * posix/getsid.c: Likewise.
10293 * posix/getuid.c: Likewise.
10294 * posix/glob64.c: Likewise.
10295 * posix/nanosleep.c: Likewise.
10296 * posix/pathconf.c: Likewise.
10297 * posix/pause.c: Likewise.
10298 * posix/posix_madvise.c: Likewise.
10299 * posix/pread.c: Likewise.
10300 * posix/pread64.c: Likewise.
10301 * posix/pwrite.c: Likewise.
10302 * posix/pwrite64.c: Likewise.
10303 * posix/sched_getaffinity.c: Likewise.
10304 * posix/sched_getp.c: Likewise.
10305 * posix/sched_gets.c: Likewise.
10306 * posix/sched_primax.c: Likewise.
10307 * posix/sched_primin.c: Likewise.
10308 * posix/sched_rr_gi.c: Likewise.
10309 * posix/sched_setaffinity.c: Likewise.
10310 * posix/sched_setp.c: Likewise.
10311 * posix/sched_sets.c: Likewise.
10312 * posix/sched_yield.c: Likewise.
10313 * posix/setgid.c: Likewise.
10314 * posix/setlogin.c: Likewise.
10315 * posix/setpgid.c: Likewise.
10316 * posix/setresgid.c: Likewise.
10317 * posix/setresuid.c: Likewise.
10318 * posix/setsid.c: Likewise.
10319 * posix/setuid.c: Likewise.
10320 * posix/sleep.c: Likewise.
10321 * posix/spawni.c: Likewise.
10322 * posix/sysconf.c: Likewise.
10323 * posix/times.c: Likewise.
10324 * posix/wait.c: Likewise.
10325 * posix/wait3.c: Likewise.
10326 * posix/wait4.c: Likewise.
10327 * posix/waitpid.c: Likewise.
10328 * resolv/gai_sigqueue.c: Likewise.
10329 * resource/getpriority.c: Likewise.
10330 * resource/getrlimit.c: Likewise.
10331 * resource/getrusage.c: Likewise.
10332 * resource/nice.c: Likewise.
10333 * resource/setpriority.c: Likewise.
10334 * resource/setrlimit.c: Likewise.
10335 * resource/ulimit.c: Likewise.
10336 * rt/aio_cancel.c: Likewise.
10337 * rt/aio_fsync.c: Likewise.
10338 * rt/aio_read.c: Likewise.
10339 * rt/aio_sigqueue.c: Likewise.
10340 * rt/aio_suspend.c: Likewise.
10341 * rt/aio_write.c: Likewise.
10342 * rt/clock_getres.c: Likewise.
10343 * rt/clock_gettime.c: Likewise.
10344 * rt/clock_nanosleep.c: Likewise.
10345 * rt/clock_settime.c: Likewise.
10346 * rt/lio_listio.c: Likewise.
10347 * rt/mq_close.c: Likewise.
10348 * rt/mq_getattr.c: Likewise.
10349 * rt/mq_notify.c: Likewise.
10350 * rt/mq_open.c: Likewise.
10351 * rt/mq_receive.c: Likewise.
10352 * rt/mq_send.c: Likewise.
10353 * rt/mq_setattr.c: Likewise.
10354 * rt/mq_timedreceive.c: Likewise.
10355 * rt/mq_timedsend.c: Likewise.
10356 * rt/mq_unlink.c: Likewise.
10357 * rt/shm_open.c: Likewise.
10358 * rt/shm_unlink.c: Likewise.
10359 * rt/timer_create.c: Likewise.
10360 * rt/timer_delete.c: Likewise.
10361 * rt/timer_getoverr.c: Likewise.
10362 * rt/timer_gettime.c: Likewise.
10363 * rt/timer_settime.c: Likewise.
10364 * setjmp/__longjmp.c: Likewise.
10365 * setjmp/setjmp.c: Likewise.
10366 * signal/kill.c: Likewise.
10367 * signal/killpg.c: Likewise.
10368 * signal/raise.c: Likewise.
10369 * signal/sigaction.c: Likewise.
10370 * signal/sigaltstack.c: Likewise.
10371 * signal/sigblock.c: Likewise.
10372 * signal/sigignore.c: Likewise.
10373 * signal/sigintr.c: Likewise.
10374 * signal/signal.c: Likewise.
10375 * signal/sigpause.c: Likewise.
10376 * signal/sigpending.c: Likewise.
10377 * signal/sigqueue.c: Likewise.
10378 * signal/sigreturn.c: Likewise.
10379 * signal/sigset.c: Likewise.
10380 * signal/sigsetmask.c: Likewise.
10381 * signal/sigstack.c: Likewise.
10382 * signal/sigsuspend.c: Likewise.
10383 * signal/sigtimedwait.c: Likewise.
10384 * signal/sigvec.c: Likewise.
10385 * signal/sigwait.c: Likewise.
10386 * signal/sigwaitinfo.c: Likewise.
10387 * signal/sysv_signal.c: Likewise.
10388 * socket/accept.c: Likewise.
10389 * socket/accept4.c: Likewise.
10390 * socket/bind.c: Likewise.
10391 * socket/connect.c: Likewise.
10392 * socket/getpeername.c: Likewise.
10393 * socket/getsockname.c: Likewise.
10394 * socket/getsockopt.c: Likewise.
10395 * socket/isfdtype.c: Likewise.
10396 * socket/listen.c: Likewise.
10397 * socket/recv.c: Likewise.
10398 * socket/recvfrom.c: Likewise.
10399 * socket/recvmsg.c: Likewise.
10400 * socket/send.c: Likewise.
10401 * socket/sendmsg.c: Likewise.
10402 * socket/sendto.c: Likewise.
10403 * socket/setsockopt.c: Likewise.
10404 * socket/shutdown.c: Likewise.
10405 * socket/sockatmark.c: Likewise.
10406 * socket/socket.c: Likewise.
10407 * socket/socketpair.c: Likewise.
10408 * stdio-common/ctermid.c: Likewise.
10409 * stdio-common/cuserid.c: Likewise.
10410 * stdio-common/remove.c: Likewise.
10411 * stdio-common/rename.c: Likewise.
10412 * stdio-common/renameat.c: Likewise.
10413 * stdio-common/tempname.c: Likewise.
10414 * stdlib/getcontext.c: Likewise.
10415 * stdlib/makecontext.c: Likewise.
10416 * stdlib/setcontext.c: Likewise.
10417 * stdlib/swapcontext.c: Likewise.
10418 * stdlib/system.c: Likewise.
10419 * streams/fattach.c: Likewise.
10420 * streams/fdetach.c: Likewise.
10421 * streams/getmsg.c: Likewise.
10422 * streams/getpmsg.c: Likewise.
10423 * streams/putmsg.c: Likewise.
10424 * streams/putpmsg.c: Likewise.
10425 * sysdeps/unix/bsd/getpt.c: Likewise.
10426 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10427 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10428 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10430 Likewise.
10431 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10432 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10433 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10434 * sysvipc/msgctl.c: Likewise.
10435 * sysvipc/msgget.c: Likewise.
10436 * sysvipc/msgrcv.c: Likewise.
10437 * sysvipc/msgsnd.c: Likewise.
10438 * sysvipc/semctl.c: Likewise.
10439 * sysvipc/semget.c: Likewise.
10440 * sysvipc/semop.c: Likewise.
10441 * sysvipc/semtimedop.c: Likewise.
10442 * sysvipc/shmat.c: Likewise.
10443 * sysvipc/shmctl.c: Likewise.
10444 * sysvipc/shmdt.c: Likewise.
10445 * sysvipc/shmget.c: Likewise.
10446 * termios/tcdrain.c: Likewise.
10447 * termios/tcflow.c: Likewise.
10448 * termios/tcflush.c: Likewise.
10449 * termios/tcgetattr.c: Likewise.
10450 * termios/tcgetpgrp.c: Likewise.
10451 * termios/tcsendbrk.c: Likewise.
10452 * termios/tcsetattr.c: Likewise.
10453 * termios/tcsetpgrp.c: Likewise.
10454 * time/adjtime.c: Likewise.
10455 * time/clock.c: Likewise.
10456 * time/getitimer.c: Likewise.
10457 * time/gettimeofday.c: Likewise.
10458 * time/setitimer.c: Likewise.
10459 * time/settimeofday.c: Likewise.
10460 * time/stime.c: Likewise.
10461 * time/time.c: Likewise.
10462
104632012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10464
a20492cf
PT
10465 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10466 /usr/old/bin.
10467
72e182e3
PT
10468 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10469 instead of spaces.
10470 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10471
fbeafede
JM
104722012-11-03 Joseph Myers <joseph@codesourcery.com>
10473
5b5b04d6
JM
10474 [BZ #14796]
10475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10476 FE_TONEAREST before applying Dekker multiplication and Knuth
10477 addition. Clear inexact exceptions and check for exact zero
10478 results afterwards.
10479 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10480 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10482 * math/libm-test.inc (fma_test): Add more tests.
10483 (fma_test_towardzero): Likewise.
10484 (fma_test_downward): Likewise.
10485 (fma_test_upward): Likewise.
10486 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10487 function.
10488 (libc_fesetround): New macro.
10489 (libc_fesetroundf): Likewise.
10490 (libc_fesetroundl): Likewise.
10491 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10492 function.
10493 (libc_fesetround_387): Likewise.
10494 (libc_fesetroundf): New macro.
10495 (libc_fesetround): Likewise.
10496 (libc_fesetroundl): Likewise.
10497 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10498 function.
10499 (libc_fesetroundf): New macro.
10500 (libc_fesetround): Likewise.
10501 (libc_fesetroundl): Likewise.
10502 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10503 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10504 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10505 libm_hidden_ver.
10506 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10507 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10508 libm_hidden_def.
10509 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10510 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10511 libm_hidden_ver.
10512 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10513 libm_hidden_def.
10514
fbeafede
JM
10515 [BZ #3439]
10516 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10517 integer constant usable in #if and use that to give value to enum
10518 constant.
10519 (FE_DIVBYZERO): Likewise.
10520 (FE_UNDERFLOW): Likewise.
10521 (FE_OVERFLOW): Likewise.
10522 (FE_INVALID): Likewise.
10523 (FE_INVALID_SNAN): Likewise.
10524 (FE_INVALID_ISI): Likewise.
10525 (FE_INVALID_IDI): Likewise.
10526 (FE_INVALID_ZDZ): Likewise.
10527 (FE_INVALID_IMZ): Likewise.
10528 (FE_INVALID_COMPARE): Likewise.
10529 (FE_INVALID_SOFTWARE): Likewise.
10530 (FE_INVALID_SQRT): Likewise.
10531 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10532 (FE_TONEAREST): Likewise.
10533 (FE_TOWARDZERO): Likewise.
10534 (FE_UPWARD): Likewise.
10535 (FE_DOWNWARD): Likewise.
10536 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10537 (FE_DIVBYZERO): Likewise.
10538 (FE_OVERFLOW): Likewise.
10539 (FE_UNDERFLOW): Likewise.
10540 (FE_INEXACT): Likewise.
10541 (FE_TONEAREST): Likewise.
10542 (FE_DOWNWARD): Likewise.
10543 (FE_UPWARD): Likewise.
10544 (FE_TOWARDZERO): Likewise.
10545 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10546 (FE_UNDERFLOW): Likewise.
10547 (FE_OVERFLOW): Likewise.
10548 (FE_DIVBYZERO): Likewise.
10549 (FE_INVALID): Likewise.
10550 (FE_TONEAREST): Likewise.
10551 (FE_TOWARDZERO): Likewise.
10552 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10553 (FE_OVERFLOW): Likewise.
10554 (FE_UNDERFLOW): Likewise.
10555 (FE_DIVBYZERO): Likewise.
10556 (FE_INEXACT): Likewise.
10557 (FE_TONEAREST): Likewise.
10558 (FE_TOWARDZERO): Likewise.
10559 (FE_UPWARD): Likewise.
10560 (FE_DOWNWARD): Likewise.
10561 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10562 (FE_DIVBYZERO): Likewise.
10563 (FE_OVERFLOW): Likewise.
10564 (FE_UNDERFLOW): Likewise.
10565 (FE_INEXACT): Likewise.
10566 (FE_TONEAREST): Likewise.
10567 (FE_DOWNWARD): Likewise.
10568 (FE_UPWARD): Likewise.
10569 (FE_TOWARDZERO): Likewise.
10570
105ca950
CM
105712012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10572
10573 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10574
a542b389
AS
105752012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10576
10577 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10578 commands. Quote $PWD.
10579 (blacklist_exports): Don't use remove_newlines. Replace "declare
10580 -x" by "export".
10581 (remove_newlines): Remove.
10582
f62c8abc
L
105832012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10584
10585 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10586 * stdlib/stdlib.h (atof): Moved to ...
10587 * include/bits/stdlib-float.h: Here. New file.
10588 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10589 * stdlib/bits/stdlib-float.h: New file.
10590 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10591 -mno-sse -mno-mmx.
10592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10593 <xmmintrin.h>.
10594
0155d5b2
JM
105952012-11-02 Joseph Myers <joseph@codesourcery.com>
10596
a68d0680
JM
10597 * conform/conformtest.pl (@headers): Add fenv.h.
10598 * conform/data/fenv.h-data: New file.
10599 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10600 include of <math/fenv.h>.
10601
caf7f573
JM
10602 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10603 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10604 && !UNIX98]. Enables tests for XOPEN2K8.
10605 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10606 POSIX2008]: Likewise.
10607
6c073ad6
JM
10608 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10609 (struct rusage): Do not expect type or its members.
10610
0155d5b2
JM
10611 [BZ #3439]
10612 * math/math.h (FP_NAN): Define macro to integer constant usable in
10613 #if and use that to give value to enum constant.
10614 (FP_INFINITE): Likewise.
10615 (FP_ZERO): Likewise.
10616 (FP_SUBNORMAL): Likewise.
10617 (FP_NORMAL): Likewise.
10618
b5dcacb4
AS
106192012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10620
10621 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10622 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10623 arguments.
10624
f7934be8
RM
106252012-11-02 Roland McGrath <roland@hack.frob.com>
10626
10627 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10628 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10629 autoconf-time if not.
10630 * configure.in: Remove AC_PREREQ.
10631
d7d08bde
TMQMF
106322012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10633
10634 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10635 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10636 of the internal implementation.
10637
dcdae19a
JM
106382012-11-02 Joseph Myers <joseph@codesourcery.com>
10639
10640 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10641 except include of <misc/sys/syslog.h>.
10642
d6cffd3e
AS
106432012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10644
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10646 function returns with a NULL context exit with zero.
10647
b3563932
TMQMF
106482012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10649
10650 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10651
b288a93d
L
106522012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10653
10654 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10655 (run_program_cmd): This.
10656 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10657 (tst_langinfo): New variable. Use it.
10658
a2421a68
SAS
106592012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10660
10661 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10662 floating point opcodes.
10663
6f796e1b
TS
106642012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10665
7402596b
TS
10666 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10667 variable.
10668
d0d4f868
TS
10669 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10670
6f796e1b
TS
10671 * sysdeps/mach/hurd/powerpc: Remove directory.
10672 * sysdeps/mach/powerpc: Likewise.
10673
4da224a2
AS
106742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10675
10676 * scripts/check-local-headers.sh: Ignore c++ headers.
10677
341dd673
TS
106782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10679
10680 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10681 __libc_cleanup_region_start argument.
10682
473611b2
JM
106832012-11-01 Joseph Myers <joseph@codesourcery.com>
10684
10685 [BZ #14784]
10686 [BZ #14785]
10687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10688 x * y using scaling, not as x * y + z.
10689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10691 * math/libm-test.inc (fma_test): Add more tests.
10692 (fma_test_towardzero): Likewise.
10693 (fma_test_downward): Likewise.
10694 (fma_test_upward): Likewise.
10695
4078da3d
TS
106962012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10697
10698 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10699
903252aa
JM
107002012-10-31 Joseph Myers <joseph@codesourcery.com>
10701
10702 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10703 New variable.
10704
cbc818d0
TS
107052012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10706
10707 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10708
5a03cb1e
AS
107092012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10710
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10712 Fix sort order.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10714 Likewise.
10715
90aff2ff
TMQMF
107162012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10717
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10719 Fix the order of the list for glibc 2.17.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10721 Likewise.
10722
1818fcb7
AS
107232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10724
10725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10726
ef82f4da
JM
107272012-10-31 Joseph Myers <joseph@codesourcery.com>
10728
16a0e2ec
JM
10729 [BZ #14610]
10730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10731 for low part of x being zero before using __atanl (y).
10732 * math/libm-test.inc (atan2_test): Add another test.
10733
0eb69512
JM
10734 * manual/install.texi (Configuring and compiling): Document
10735 general use of test-wrapper and test-wrapper-env.
10736 * INSTALL: Regenerated.
10737
ef82f4da
JM
10738 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10739 (__fma): Do not extract and scale down low bits on after-rounding
10740 systems when result rounded to normal precision would have normal
10741 exponent.
10742 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10743 (__fmal): Do not extract and scale down low bits on after-rounding
10744 systems when result rounded to normal precision would have normal
10745 exponent.
10746 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10747 (__fmal): Do not extract and scale down low bits on after-rounding
10748 systems when result rounded to normal precision would have normal
10749 exponent.
10750 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10751 macro.
10752 (fma_test): Add more tests.
10753 (fma_test_towardzero): Likewise.
10754 (fma_test_downward): Likewise.
10755 (fma_test_upward): Likewise.
10756
954ef0d9
L
107572012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10758
10759 * sysdeps/i386/tininess.h: Renamed to ...
10760 * sysdeps/x86/tininess.h: This.
10761 * sysdeps/x86_64/tininess.h: Removed.
10762
df61ffb2
JM
107632012-10-30 Joseph Myers <joseph@codesourcery.com>
10764
10765 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10766 input. Use $(build-program-cmd).
10767 ($(objpfx)tst-array1-static.out): Likewise.
10768 ($(objpfx)tst-array2.out): Likewise.
10769 ($(objpfx)tst-array3.out): Likewise.
10770 ($(objpfx)tst-array4.out): Likewise.
10771 ($(objpfx)tst-array5.out): Likewise.
10772 ($(objpfx)tst-array5-static.out): Likewise.
10773
01767843
CM
107742012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10775
47cc1490
CM
10776 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10777 if defined.
10778
01767843
CM
10779 * nss/nsswitch.h (nss_interface_function): Provide new
10780 macro for use with NSS functions.
10781 * grp/initgroups.c: Use new macro.
10782 * nss/getXXbyYY.c: Likewise.
10783 * nss/getXXbyYY_r.c: Likewise.
10784 * nss/getXXent.c: Likewise.
10785 * nss/getXXent_r.c: Likewise.
10786 * sysdeps/posix/getaddrinfo.c: Likewise.
10787
8321aa97
AJ
107882012-10-30 Andreas Jaeger <aj@suse.de>
10789
10790 * po/ru.po: Update Russion translation from translation project.
10791
2a27fd6d
JM
107922012-10-30 Joseph Myers <joseph@codesourcery.com>
10793
8627a232
JM
10794 [BZ #14152]
10795 [BZ #14783]
10796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10797 result and shift together with sticky bit instead of replicating
10798 round-to-nearest rounding.
10799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10801 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10802 missing underflow exceptions.
10803 (fma_test_towardzero): Add more tests.
10804 (fma_test_downward): Likewise.
10805 (fma_test_upward): Likewise.
10806
2a27fd6d
JM
10807 [BZ #14047]
10808 * sysdeps/generic/tininess.h: New file.
10809 * sysdeps/i386/tininess.h: Likewise.
10810 * sysdeps/sh/tininess.h: Likewise.
10811 * sysdeps/x86_64/tininess.h: Likewise.
10812 * stdlib/tst-strtod-underflow.c: Likewise.
10813 * stdlib/tst-tininess.c: Likewise.
10814 * stdlib/strtod_l.c: Include <tininess.h>.
10815 (round_and_return): Do not set errno for exact underflow cases.
10816 Force an underflow exception when setting errno for underflow.
10817 Determine underflow based on rounding to normal precision if
10818 TININESS_AFTER_ROUNDING.
10819 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10820 ERANGE for exact underflow cases.
10821 * stdlib/Makefile (tests): Add tst-tininess and
10822 tst-strtod-underflow.
10823 ($(objpfx)tst-tininess): Use $(link-libm).
10824 ($(objpfx)tst-strtod-underflow): Likewise.
10825
e7170363
AJ
108262012-10-30 Andreas Jaeger <aj@suse.de>
10827
e5088dc6
AJ
10828 [BZ#14767]
10829 * elf/Makefile (tests): Remove conditional for have-initfini-array
10830 since this is now always required and the variable does not exist
10831 anymore.
10832 (tests-static): Likewise.
10833 (modules-names): Likewise.
10834
e7170363 10835 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10836
10837 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10838 merged with constructor/destructor.
10839 (init_array): Likewise.
10840 * elf/tst-array2dep.c (fini_array): Likewise.
10841 (init_array): Likewise.
10842
60457d8a
MF
108432012-10-29 Mike Frysinger <vapier@gentoo.org>
10844
10845 * manual/message.texi: Delete @cartouche tags.
10846
8bece752
PT
108472012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10848
94ce799f
PT
10849 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10850 EOPNOTSUPP.
10851 * sysdeps/mach/hurd/fsync.c: Likewise.
10852
8bece752
PT
10853 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10854 [_POSIX_REALTIME_SIGNALS]: Change condition to
10855 [_POSIX_REALTIME_SIGNALS > 0].
10856
86ebe6b1
AJ
108572012-10-27 Andreas Jaeger <aj@suse.de>
10858
10859 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10860 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10862 [__WORDSIZE != 64]: Likewise.
10863
54399c08
L
108642012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10865
10866 * iconvdata/tst-table.sh: Remove ${SHELL}.
10867 * iconvdata/tst-tables.sh: Likewise.
10868
e2211bed
DM
108692012-10-25 David S. Miller <davem@davemloft.net>
10870
10871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10872 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10873 of strtoull.
10874
f303f97c
DM
10875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10876 ifunc-impl-list.c
10877 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10878 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10879 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10880 file.
10881
1e9d84cd
RM
108822012-10-25 Roland McGrath <roland@hack.frob.com>
10883
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10885 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10886 __getdirentries.
10887
df381762
JM
108882012-10-25 Joseph Myers <joseph@codesourcery.com>
10889 Jim Blandy <jimb@codesourcery.com>
10890
10891 * scripts/cross-test-ssh.sh: New file.
10892 * manual/install.texi (Configuring and compiling): Document use of
10893 cross-test-ssh.sh.
10894 * INSTALL: Regenerated.
10895
bff64913
PT
108962012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10897
10898 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10899 EOPNOTSUPP.
10900
25fe8932
JM
109012012-10-25 Joseph Myers <joseph@codesourcery.com>
10902
10903 * Makeconfig (run-program-prefix): Fix comment.
10904
cc1290d0
JM
109052012-10-24 Joseph Myers <joseph@codesourcery.com>
10906 Jim Blandy <jimb@codesourcery.com>
10907
10908 * Makeconfig (test-wrapper): New variable,
10909 (test-wrapper-env): Likewise.
10910 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10911 (run-built-tests): Define to yes.
10912 (run-program-prefix): Use $(test-wrapper).
10913 (built-program-cmd): Likewise.
10914 * Rules (make-test-out): Use $(test-wrapper-env) and
10915 $(host-built-program-cmd).
10916 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10917 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10918 tst-pathopt.sh.
10919 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10920 $(test-wrapper-env) to tst-rtld-load-self.sh.
10921 ($(objpfx)order2.out): Use $(test-wrapper).
10922 ($(objpfx)tst-initorder.out): Likewise.
10923 ($(objpfx)tst-initorder2.out): Likewise.
10924 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10925 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10926 (test_wrapper_env): New variable. Use it to run ld.so.
10927 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10928 Use it to run ld.so.
10929 (test_wrapper_env): Likewise.
10930 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10931 $(test-wrapper) to run-iconv-test.sh.
10932 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10933 (ICONV): Use $test_wrapper.
10934 * posix/Makefile ($(objpfx)globtest.out): Pass
10935 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10936 globtest.sh, not $(run-program-prefix).
10937 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10938 (test_wrapper): Likewise.
10939 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10940 set together with run_via_rtld_prefix.
10941 (run_program_prefix): Define in terms of test_wrapper and
10942 run_via_rtld_prefix.
10943
6e6249d0
RM
109442012-10-24 Roland McGrath <roland@hack.frob.com>
10945
10946 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10947 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10948 Targets removed.
10949
10950 [BZ #14743]
10951 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10952 Declare __clock_getres, __clock_gettime, __clock_settime,
10953 __clock_nanosleep, and __clock_getcpuclockid.
10954 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10955 Remove librt_hidden_def (clock_gettime).
10956 * sysdeps/unix/clock_gettime.c: Likewise.
10957 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10959 * rt/clock_getres.c: Define __clock_getres as an alias.
10960 * sysdeps/posix/clock_getres.c: Likewise.
10961 * rt/clock_settime.c: Define __clock_settime as an alias.
10962 * sysdeps/unix/clock_settime.c: Likewise.
10963 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10964 * sysdeps/unix/clock_nanosleep.c: Likewise.
10965 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10966 * rt/clock-compat.c: New file.
10967 * rt/Makefile (librt-routines): Add clock-compat and move
10968 $(clock-routines) to ...
10969 (routines): ... here, new variable.
10970 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10971 Don't add get_clockfreq here.
10972 * rt/Versions (libc: GLIBC_2.17): New version set.
10973 Add clock_* symbols here.
10974 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10975 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10976 (GLIBC_2.17): Add clock_* symbols.
10977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10981 Likewise.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10983 Likewise.
10984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10988 * NEWS: Mention the move.
10989
10990 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10991 Use __open, __read, __close rather than their public counterparts.
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10993 (__get_clockfreq_via_cpuinfo): Likewise.
10994 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10995 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10996
10997 * config.h.in (HAVE_IFUNC): New #undef.
10998 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10999 was successful.
11000 * configure: Regenerated.
11001
0cae3f4b
MF
110022012-10-24 Mike Frysinger <vapier@gentoo.org>
11003
11004 * configure.in: Move READELF check to start of file.
11005 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11006 libc_cv_asm_gnu_indirect_function in the process.
11007 * configure: Regenerated.
11008
8175a253
MF
110092012-10-24 Mike Frysinger <vapier@gentoo.org>
11010
11011 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11012 send the output to /dev/null.
11013 (libc_cv_cc_with_libunwind): Likewise.
11014 (libc_cv_as_noexecstack): Likewise.
11015 * configure: Regenerate.
11016
0708a7d1
JM
110172012-10-24 Joseph Myers <joseph@codesourcery.com>
11018
10b40d85
JM
11019 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11020
0708a7d1
JM
11021 * posix/globtest.sh (TMPDIR): Do not set.
11022 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11023 (testout): Likewise.
11024
9fddec1a
AJ
110252012-10-24 Andreas Jaeger <aj@suse.de>
11026
3a8db22f
AJ
11027 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11028 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11029 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11030 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11031 posix_fadvise64, posix_fallocate64.
11032
9fddec1a
AJ
11033 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11034 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11035 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11036 Likewise.
11037 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11038 Likewise.
11039 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11040
11041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11042 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11043 <bits/fcntl-linux.h>.
11044 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11045
11046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11047 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11048 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11049 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11050 [__WORDSIZE != 64]: Likewise.
11051
ebfd1bbd
JM
110522012-10-23 Joseph Myers <joseph@codesourcery.com>
11053
03ac099f
JM
11054 * Makeconfig (run-built-tests): New variable.
11055 * Rules [$(cross-compiling) = yes]: Change condition to
11056 [$(run-built-tests) = no].
11057 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11058 to [$(run-built-tests) = yes].
11059 * elf/Makefile [$(cross-compiling) = no]: Likewise
11060 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11061 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11062 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11063 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11064 * io/Makefile [$(cross-compiling) = no]: Likewise.
11065 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11066 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11067 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11068 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11069 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11070 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11071 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11072 * string/Makefile [$(cross-compiling) = no]: Likewise.
11073
ebfd1bbd
JM
11074 * posix/Makefile ($(objpfx)globtest.out): Pass
11075 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11076 $(rtld-installed-name).
11077 * posix/globtest.sh (elf_objpfx): Remove variable.
11078 (rtld_installed_name): Likewise.
11079 (library_path): Likewise.
11080 (run_program_prefix): New variable. Use for running globtest
11081 binary.
11082
166bca24
JB
110832012-10-23 Jim Blandy <jimb@codesourcery.com>
11084 Joseph Myers <joseph@codesourcery.com>
11085
11086 * Makeconfig (host-built-program-cmd): New variable.
11087 * elf/Makefile (tst-stackguard1-ARGS): Use
11088 $(host-built-program-cmd).
11089 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11090 (tst-spawn-ARGS): Likewise.
11091 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11092
88866099
JM
110932012-10-23 Joseph Myers <joseph@codesourcery.com>
11094 Jim Blandy <jimb@codesourcery.com>
11095
11096 * Makeconfig (run-via-rtld-prefix): New variable.
11097 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11098 (built-program-cmd): Likewise.
11099
b4b4c296
AJ
111002012-10-22 Andreas Jaeger <aj@suse.de>
11101
11102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11103 __O_RSYNC if it exists, otherwise to O_SYNC.
11104
6fb54a22
JB
111052012-10-22 Jim Blandy <jimb@codesourcery.com>
11106 Joseph Myers <joseph@codesourcery.com>
11107
11108 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11109 /dev/null.
11110 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11111 from /dev/null
11112 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11113 /dev/null.
11114
481b90b9
AJ
111152012-10-22 Andreas Jaeger <aj@suse.de>
11116
2a0e2669
AJ
11117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11118 Define always.
11119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11120
76e38f9a
AJ
11121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11122 bits/fcntl-linux.h.
11123
7cd37b43
AJ
11124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11125 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11126
481b90b9
AJ
11127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11128 to __O_LARGEFILE.
11129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11130 to __O_LARGEFILE.
11131
aba75984
JB
111322012-10-21 Jim Blandy <jimb@codesourcery.com>
11133 Joseph Myers <joseph@codesourcery.com>
11134
11135 * config.make.in (NM): New variable.
11136
88d4247f
AJ
111372012-10-21 Andreas Jaeger <aj@suse.de>
11138
11139 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11140 definitions and declarations that are provided by
11141 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11142
f2eed205
L
111432012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11144
11145 [BZ #14683]
11146 * elf/Makefile (tests-static): Add tst-leaks1-static.
11147 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11148 ($(objpfx)tst-leaks1-static): New rule.
11149 ($(objpfx)tst-leaks1-static-mem): Likewise.
11150 (tst-leaks1-static-ENV): New macro.
11151 * elf/dl-open.c (dl_open_worker): Check the main application
11152 only if SHARED is defined.
11153 * elf/tst-leaks1-static.c: New file.
11154
335e6931
AJ
111552012-10-20 Andreas Jaeger <aj@suse.de>
11156
11157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11158 generic values for Linux.
11159 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11160 and declarations that are provided by <bits/fcntl-linux.h> and
11161 include <bits/fcntl-linux.h>.
11162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11164
ac5c94d3
RM
111652012-10-20 Roland McGrath <roland@hack.frob.com>
11166
11167 * io/fcntl.h: Move include of <bits/types.h> to the top and
11168 include it unconditionally.
11169
de54b33a
L
111702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11171
228cfb01
L
11172 * wcsmbs/Makefile (tests-ifunc): New variable.
11173 (tests): Add $(tests-ifunc).
11174 * wcsmbs/test-wcschr-ifunc.c: New file.
11175 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11176 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11177 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11178 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11179 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11180
69f07e5f
L
11181 * string/Makefile (tests-ifunc): New variable.
11182 (tests): Add $(tests-ifunc).
11183 * string/test-memccpy.c (TEST_NAME): New macro.
11184 * string/test-memchr.c (TEST_NAME): Likewise.
11185 * string/test-memcmp.c (TEST_NAME): Likewise.
11186 * string/test-memcpy.c (TEST_NAME): Likewise.
11187 * string/test-memmem.c (TEST_NAME): Likewise.
11188 * string/test-memmove.c (TEST_NAME): Likewise.
11189 * string/test-memset.c (TEST_NAME): Likewise.
11190 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11191 * string/test-stpcpy.c (TEST_NAME): Likewise.
11192 * string/test-stpncpy.c (TEST_NAME): Likewise.
11193 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11194 * string/test-strcasestr.c (TEST_NAME): Likewise.
11195 * string/test-strcat.c (TEST_NAME): Likewise.
11196 * string/test-strchr.c (TEST_NAME): Likewise.
11197 * string/test-strcmp.c(TEST_NAME): Likewise.
11198 * string/test-strcpy.c (TEST_NAME): Likewise.
11199 * string/test-strcspn.c (TEST_NAME): Likewise.
11200 * string/test-strlen.c (TEST_NAME): Likewise.
11201 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11202 * string/test-strncmp.c (TEST_NAME): Likewise.
11203 * string/test-strncpy.c (TEST_NAME): Likewise.
11204 * string/test-strnlen.c (TEST_NAME): Likewise.
11205 * string/test-strpbrk.c (TEST_NAME): Likewise.
11206 * string/test-strrchr.c (TEST_NAME): Likewise.
11207 * string/test-strspn.c (TEST_NAME): Likewise.
11208 * string/test-strstr.c (TEST_NAME): Likewise.
11209 * string/test-bcopy-ifunc.c: New file.
11210 * string/test-bzero-ifunc.c: Likewise.
11211 * string/test-memccpy-ifunc.c: Likewise.
11212 * string/test-memchr-ifunc.c: Likewise.
11213 * string/test-memcmp-ifunc.c: Likewise.
11214 * string/test-memcpy-ifunc.c: Likewise.
11215 * string/test-memmem-ifunc.c: Likewise.
11216 * string/test-memmove-ifunc.c: Likewise.
11217 * string/test-mempcpy-ifunc.c: Likewise.
11218 * string/test-memset-ifunc.c: Likewise.
11219 * string/test-rawmemchr-ifunc.c: Likewise.
11220 * string/test-stpcpy-ifunc.c: Likewise.
11221 * string/test-stpncpy-ifunc.c: Likewise.
11222 * string/test-strcasecmp-ifunc.c: Likewise.
11223 * string/test-strcasestr-ifunc.c: Likewise.
11224 * string/test-strcat-ifunc.c: Likewise.
11225 * string/test-strchr-ifunc.c: Likewise.
11226 * string/test-strchrnul-ifunc.c: Likewise.
11227 * string/test-strcmp-ifunc.c: Likewise.
11228 * string/test-strcpy-ifunc.c: Likewise.
11229 * string/test-strcspn-ifunc.c: Likewise.
11230 * string/test-strlen-ifunc.c: Likewise.
11231 * string/test-strncasecmp-ifunc.c: Likewise.
11232 * string/test-strncat-ifunc.c: Likewise.
11233 * string/test-strncmp-ifunc.c: Likewise.
11234 * string/test-strncpy-ifunc.c: Likewise.
11235 * string/test-strnlen-ifunc.c: Likewise.
11236 * string/test-strpbrk-ifunc.c: Likewise.
11237 * string/test-strrchr-ifunc.c: Likewise.
11238 * string/test-strspn-ifunc.c: Likewise.
11239 * string/test-strstr-ifunc.c: Likewise.
11240
de54b33a
L
11241 * debug/Makefile (tests-ifunc): New variable.
11242 (tests): Add $(tests-ifunc).
11243 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11244 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11245 * debug/test-stpcpy_chk-ifunc.c: New file.
11246 * debug/test-strcpy_chk-ifunc.c: Likewise.
11247
88481c16
SP
112482012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11249
11250 [BZ #13601]
11251 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11252 header is not read in.
11253
135948bd
JM
112542012-10-19 Joseph Myers <joseph@codesourcery.com>
11255
89f1c388
JM
11256 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11257 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11258 directly. Pass built executable to script as
11259 $(built-program-cmd).
11260 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11261 $testprogram without using LD_LIBRARY_PATH and $ldso.
11262
e40a0d21
JM
11263 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11264 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11265 $(rtld-installed-name).
11266 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11267 (rtld_installed_name): Likewise.
11268 (library_path): Likewise.
11269 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11270 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11271 $(run-program-prefix) to tst-tables.sh.
11272 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11273 it to run tst-table-from and tst-table-to.
11274 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11275 Pass it to tst-table.sh.
11276 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11277 $(run-program-prefix) to tst-gettext.sh.
11278 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11279 tst-translit.sh.
11280 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11281 tst-gettext2.sh.
11282 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11283 to run tst-gettext.
11284 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11285 to run tst-gettext2.
11286 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11287 to run tst-translit.
11288 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11289 $(run-program-prefix) to tst-mtrace.sh.
11290 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11291 to run tst-mtrace.
11292 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11293 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11294 $(rtld-installed-name).
11295 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11296 (rtld_installed_name): Likewise.
11297 (run_program_prefix): New variable. Use it to run wordexp-test.
11298
728e272a
JM
11299 * Makeconfig (ARCH): Remove all definitions.
11300 (machine): Likewise.
11301 [ARCH]: Remove conditional code.
11302 [!objdir]: Give error.
11303 [!objdir] (objpfx): Remove.
11304 [!objdir] (common-objpfx): Likewise.
11305 [!objdir] (common-objdir): Likewise.
11306 * configure.in (config_makefile): Remove. Hardcode Makefile in
11307 AC_CONFIG_FILES call.
11308 * configure: Regenerated.
11309
d528cdcf
JM
11310 [BZ #13888]
11311 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11312 or TMPDIR.
11313 (testout): Likewise.
11314
135948bd
JM
11315 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11316 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11317 $(rtld-installed-name).
11318 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11319 (rtld_installed_name): Likwise.
11320 (runit): Remove function.
11321 (run_getconf): New variable, Use it for running getconf binary.
11322
38c78296
L
113232012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 [BZ #14716]
11326 * string/test-memmem.c (check_result): New function.
11327 (do_one_test): Use it.
11328 (check1): New function.
11329 (test_main): Use it.
11330
d077f65f
MT
113312012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11332
11333 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11334
ced52c71
JM
113352012-10-18 Joseph Myers <joseph@codesourcery.com>
11336
11337 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11338 (_G_LSEEK64): Likewise.
11339 (_G_MMAP64): Likewise.
11340 (_G_FSTAT64): Likewise.
11341 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11342 (_G_LSEEK64): Likewise.
11343 (_G_MMAP64): Likewise.
11344 (_G_FSTAT64): Likewise.
11345 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11346 unconditional. Call __mmap64 directly.
11347 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11348 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11349 __lseek64 directly.
11350 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11351 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11352 __mmap64 directly.
11353 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11354 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11355 __lseek64 directly.
11356 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11357 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11358 __lseek64 directly.
11359 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11360 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11361 __lseek64 directly.
11362 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11363 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11364 __fxstat64 directly.
11365 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11366 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11367 unconditional.
11368 (freopen64) [!_G_OPEN64]: Remove conditional code.
11369 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11370 unconditional.
11371 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11372 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11373 unconditional.
11374 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11375 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11376 unconditional.
11377 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11378 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11379 unconditional.
11380 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11381 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11382 unconditional.
11383 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11384 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11385 unconditional.
11386 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11387 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11388 unconditional.
11389 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11390
b741de23
SP
113912012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11392
11393 [BZ #12140]
11394 * manual/memory.texi (Malloc Tunable Parameters): Add note
11395 about free list pointers overwriting some perturb bytes.
11396 Wording suggested by Roland McGrath.
11397
f9b9d9c9
JM
113982012-10-17 Joseph Myers <joseph@codesourcery.com>
11399
11400 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11401 (lgamma_test): Likewise.
11402 (tgamma_test): Likewise.
11403
172a631a
FW
114042012-10-16 Florian Weimer <fweimer@redhat.com>
11405
11406 [BZ #14700]
11407 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11408 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11409
e9f37252
MK
114102012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11411
11412 * NEWS: Mention BZ #14716.
11413 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11414 when removing AVAILABLE1_USES_J macro.
11415
d394eb74
L
114162012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11417
11418 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11419 (__bswap_64): __uint64_t for unsigned 64-bit int.
11420
ca38dc17
AS
114212012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11422
11423 * include/string.h (memmem): Declare libc hidden alias.
11424 * string/memmem.c (memmem): Define libc hidden alias.
11425 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11426 __read, __close instead of open, read, close.
11427
9a387d1f
L
114282012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11429
ac49ecaf
L
11430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11431 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11432 global and hidden.
11433 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11434 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11435 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11436 Likewise.
11437 (__rawmemchr_sse2): Likewise.
11438 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11439 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11440 (__strchr_sse2): Likewise.
11441 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11442 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11443 (__strcasecmp_sse2): Likewise.
11444 (__strncasecmp_sse2): Likewise.
11445 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11446 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11447 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11448 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11449 (__strrchr_sse2): Likewise.
11450 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11451 ifunc-impl-list.c.
11452 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11453 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11454 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11455 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11456 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11457 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11460 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11461 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11462 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11463 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11464 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11465 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11466 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11467 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11468 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11469 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11470 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11471 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11472 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11473 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11474 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11475 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11476 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11478 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11479 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11480 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11481 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11482
b090e8ea
L
11483 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11484 global and hidden.
11485 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11486 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11487 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11488 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11489 Likewise.
11490 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11491 Likewise.
11492 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11493 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11494 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11495 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11496 ifunc-impl-list.c.
11497 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11498 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11508 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11509 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11510 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11511 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11513 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11514 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11515 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11516 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11517 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11518 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11519 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11522 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11523 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11525 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11527 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11531 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11538
11dd4af6
L
11539 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11540 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11541 * include/ifunc-impl-list.h: New file.
11542 * misc/ifunc-impl-list.c: Likewise.
11543 * misc/Makefile (routines): Add ifunc-impl-list.
11544 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11545 * string/test-string.h: Include <ifunc-impl-list.h>.
11546 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11547 impl_array): New variables.
11548 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11549 are defined.
11550 (test_init): Call __libc_ifunc_impl_list to initialize
11551 func_list if TEST_IFUNC and TEST_NAME are defined.
11552
9a387d1f
L
11553 * string/Makefile (strop-tests): Add bcopy and bzero.
11554 * string/test-bcopy.c: New file.
11555 * string/test-bzero.c: Likewise.
11556 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11557 defined.
11558 * string/test-memset.c: Support bzero test if TEST_BZERO is
11559 defined.
11560 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11561 __libc_memmove.
11562 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11563 __libc_memset.
11564 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11565 of memset.
11566
472371b9
JM
115672012-10-10 Joseph Myers <joseph@codesourcery.com>
11568
1e4a9536
JM
11569 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11570 * configure: Regenerated.
11571
d173d12e
JM
11572 * Makeconfig (+link-static-before-libc): Don't include
11573 $(link-static-libc).
11574
472371b9
JM
11575 * libio/libio.h (_IO_pos_t): Remove.
11576
89a3ad0b
AO
115772012-10-10 Alexandre Oliva <aoliva@redhat.com>
11578
11579 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11580 McGrath.
11581
e7451425
AO
115822012-10-10 Alexandre Oliva <aoliva@redhat.com>
11583
11584 * crypt/crypt-entry.c: Include fips-private.h.
11585 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11586 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11587 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11588 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11589
4ba74a35
AO
115902012-10-10 Alexandre Oliva <aoliva@redhat.com>
11591
11592 * crypt/crypt-private.h: Include stdbool.h.
11593 (_ufc_setup_salt_r): Return bool.
11594 * crypt/crypt-entry.c: Include errno.h.
11595 (__crypt_r): Return NULL with EINVAL for bad salt.
11596 * crypt/crypt_util.c (bad_for_salt): New.
11597 (_ufc_setup_salt_r): Check that salt is long enough and within
11598 the specified alphabet.
11599 * crypt/badsalttest.c: New file.
11600 * crypt/Makefile (tests): Add it.
11601 ($(objpfx)badsalttest): New.
11602
f96f1242
MK
116032012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11604
11605 * NEWS: Add entry for BZ #14602.
11606
0e8e0c1c
JM
116072012-10-09 Joseph Myers <joseph@codesourcery.com>
11608
11609 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11610 type-generic.
11611 * math/libm-test.inc: Update comment listing what functions and
11612 macros are tested.
11613 (isgreater_test): New function.
11614 (isgreaterequal_test): Likewise.
11615 (isless_test): Likewise.
11616 (islessequal_test): Likewise.
11617 (islessgreater_test): Likewise.
11618 (isunordered_test): Likewise.
11619 (main): Call the new functions.
11620
273edc5e
RM
116212012-10-09 Roland McGrath <roland@hack.frob.com>
11622
b8493de0
RM
11623 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11624 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11625 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11626 * sysdeps/i386/configure: Regenerated.
11627 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11628 * sysdeps/mach/configure: Regenerated.
11629 * sysdeps/mach/hurd/configure: Regenerated.
11630 * sysdeps/powerpc/configure: Regenerated.
11631 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11632 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11633 * sysdeps/s390/s390-32/configure: Regenerated.
11634 * sysdeps/s390/s390-64/configure: Regenerated.
11635 * sysdeps/sh/configure: Regenerated.
11636 * sysdeps/sparc/configure: Regenerated.
11637 * sysdeps/unix/sysv/linux/configure: Regenerated.
11638 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11639 * sysdeps/x86_64/configure: Regenerated.
11640
273edc5e
RM
11641 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11642 defined. Don't check if MAP is NULL.
11643
c8450f70
JM
116442012-10-09 Joseph Myers <joseph@codesourcery.com>
11645
11646 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11647 (_G_stat64): Likewise.
11648 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11649 (_G_stat64): Likewise.
11650 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11651 instead of struct _G_stat64.
11652 * libio/fileops.c (mmap_remap_check): Likewise.
11653 (decide_maybe_mmap): Likewise.
11654 (_IO_new_file_seekoff): Likewise.
11655 (_IO_file_stat): Likewise.
11656 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11657 _G_off64_t.
11658 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11659 instead of struct _G_stat64.
11660 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11661
57e605ba
MK
116622012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11663
11664 [BZ #14602]
11665 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11666 Replace with ...
11667 (CHECK_EOL): New macro.
11668 (two_way_short_needle): Check beginning of haystack for EOL. Use
11669 CHECK_EOL.
11670 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11671 Replace with CHECK_EOL.
11672 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11673 Replace with CHECK_EOL.
11674
ef1bb361
JM
116752012-10-08 Joseph Myers <joseph@codesourcery.com>
11676
11677 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11678 type-generic.
11679 * math/libm-test.inc: Update comment listing what functions and
11680 macros are tested.
11681 (finite_test): New function.
11682 (isinf_test): Likewise.
11683 (isnan_test): Likewise.
11684 (fpclassify_test): Test subnormal input.
11685 (isfinite_test): Likewise.
11686 (isnormal_test): Likewise.
11687 (main): Call the new functions.
11688
55f11534
JN
116892012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11690
11691 [BZ #14660]
11692 * Makerules (%.dynsym): Force C locale when running
11693 $(OBJDUMP) --dynamic-syms.
11694
1ab29350
AS
116952012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11696
11697 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11698 <stdint.h>.
11699
f1ecb7ef
DM
117002012-10-06 David S. Miller <davem@davemloft.net>
11701
11702 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11703 upper 32-bits of the length value in %o2 since we use branch-on-register
11704 tests which consider the entire 64-bit register.
11705
5d41d91a
L
117062012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11707
11708 * string/test-strstr.c (check2): Add a test for page boundary.
11709
3baddb72
DM
117102012-10-05 David S. Miller <davem@davemloft.net>
11711
11712 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11713 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11714 file.
11715 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11716 sysdep_routines.
11717 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11718 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11719 and bzero when HWCAP_SPARC_CRYPTO is present.
11720
9cee5585
L
117212012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11722
d7e0dab9
L
11723 [BZ #14602]
11724 * string/test-strstr.c (check2): New function.
11725 (test_main): Call check2.
11726
03759f47
L
11727 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11728 and bug-strchr1.
11729 * string/bug-strcasestr1.c (do_test): Moved to ...
11730 * string/test-strcasestr.c (check1): Here. New function.
11731 (do_one_test): Break out result checking code into ...
11732 (check_result): This. New function.
11733 (do_one_test): Call check_result.
11734 (test_main): Call check1.
11735 * string/bug-strchr1.c (do_test): Moved to ...
11736 * string/test-strchr.c (check1): Here. New function.
11737 (do_one_test): Break out result checking code into ...
11738 (check_result): This. New function.
11739 (do_one_test): Call check_result.
11740 (test_main): Call check1.
11741 * string/bug-strstr1.c (main): Moved to ...
046f153e 11742 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11743 (do_one_test): Break out result checking code into ...
11744 (check_result): This. New function.
11745 (do_one_test): Call check_result.
11746 (test_main): Call check1.
11747 * string/bug-strcasestr1.c: Removed.
11748 * string/bug-strchr1.c: Likewise.
11749 * string/bug-strstr1.c: Likewise.
11750
53cea63e
L
11751 * elf/Makefile (dl-routines): Add hwcaps.
11752 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11753 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11754 (_dl_important_hwcaps): Moved to ...
11755 * elf/dl-hwcaps.c: Here. New file.
11756 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11757
9cee5585 11758 [BZ #14557]
bb859b06
L
11759 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11760 if IS_IN_rtld isn't defined.
11761
9cee5585
L
11762 * elf/dl-support.c (_dl_sysinfo_map): New.
11763 Include "get-dynamic-info.h" and "setup-vdso.h".
11764 (_dl_non_dynamic_init): Call setup_vdso.
11765 * elf/dynamic-link.h: Don't include <assert.h>.
11766 (elf_get_dynamic_info): Moved to ...
11767 * elf/get-dynamic-info.h: Here. New file.
11768 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11769 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11770 * elf/setup-vdso.h: Here. New file.
11771 * elf/rtld.c: Include "setup-vdso.h".
11772 (dl_main): Call setup_vdso.
11773
23c31b76
JM
117742012-10-05 Joseph Myers <joseph@codesourcery.com>
11775
28234b07
JM
11776 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11777 creal in comment listing functions tested. List finite, isinf,
11778 isnan, isless, islessequal, isgreater, isgreaterequal,
11779 islessgreater, isunordered, lgamma_r and pow10 as functions and
11780 macros not tested. Mention which functions not tested are aliases
11781 for other functions. Fix typo. Note that signs of NaNs are not
11782 tested.
11783
23c31b76
JM
11784 * scripts/config.guess: Update from config.git.
11785 * scripts/config.sub: Likewise.
11786
9043e228
RM
117872012-10-04 Roland McGrath <roland@hack.frob.com>
11788
11789 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11790 * misc/madvise.c (madvise): Renamed to __madvise.
11791 Make madvise a weak alias.
11792 * include/sys/mman.h: Declare __madvise.
11793 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11794 * sysdeps/unix/syscalls.list
11795 (madvise): Make __madvise the strong name, and madvise a weak alias.
11796 * sysdeps/unix/sysv/linux/syscalls.list
11797 (madvise, mmap): Remove redundant entries.
11798 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11799 * malloc/malloc.c (mtrim): Likewise.
11800 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11801
f57f8055
RM
118022012-10-03 Roland McGrath <roland@hack.frob.com>
11803
11804 * sysdeps/mach/hurd/dl-cache.c: File removed.
11805 * config.h.in (USE_LDCONFIG): New #undef.
11806 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11807 * configure: Regenerated.
11808 * elf/Makefile (dl-routines): Add dl-cache only under
11809 [$(use-ldconfig) = yes].
11810 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11811 cache on [USE_LDCONFIG].
11812 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11813 [USE_LDCONFIG].
11814 * elf/rtld.c (dl_main): Likewise.
11815
5bb0c10a
PT
118162012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11817
11818 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11819 _SC_LEVEL4_CACHE_LINESIZE.
11820
010188c6
RM
118212012-10-03 Roland McGrath <roland@hack.frob.com>
11822
11823 * sysdeps/unix/bsd/confstr.h: File removed.
11824
b6c5ec07
AO
118252012-10-02 Alexandre Oliva <aoliva@redhat.com>
11826
11827 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11828 sys/sdt-config.h.
11829
408223d4
RM
118302012-10-02 Roland McGrath <roland@hack.frob.com>
11831
11832 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11833 Make 'mapoff' field ElfW(Off) rather than off_t.
11834
bb9510dc
DL
118352012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11836
fc997c6e
DL
11837 * nscd/Makefile: Remove nscd-cflags and all its users.
11838 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11839 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11840
bb9510dc
DL
11841 [BZ #10631]
11842 * malloc.c (malloc_printerr): Clarify error message.
11843
05699367
L
118442012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11845
11846 [BZ #14648]
11847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11848 Set bit_FMA_Usable if FMA is supported.
11849 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11850 macro.
11851 (bit_FMA4_Usable): Updated.
11852 (index_FMA_Usable): New macro.
11853 (CPUID_FMA): Likewise
11854 (HAS_FMA): Defined with bit_FMA_Usable.
11855
51367701
RM
118562012-10-01 Roland McGrath <roland@hack.frob.com>
11857
11858 * bits/types.h (__swblk_t): Type removed.
11859 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11860 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11862 (__SWBLK_T_TYPE): Likewise.
11863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11864 (__SWBLK_T_TYPE): Likewise.
11865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11866 (__SWBLK_T_TYPE): Likewise.
11867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11868 (__SWBLK_T_TYPE): Likewise.
11869
4d57bf63 118702012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11871 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11872
11873 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11874 (xdr_mapname): Use YPMAXMAP as maxsize.
11875 (xdr_peername): Use YPMAXPEER as maxsize.
11876 (xdr_keydat): Use YPAXRECORD as maxsize.
11877 (xdr_valdat): Use YPMAXRECORD as maxsize.
11878
93c65d43
RM
118792012-10-01 Roland McGrath <roland@hack.frob.com>
11880
497a03d6
RM
11881 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11882
93c65d43
RM
11883 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11884 * csu/init-first.c: ... here.
11885 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11886 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11887 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11888 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11889 * sysdeps/i386/init-first.c: File removed.
11890 * sysdeps/sh/init-first.c: File removed.
11891
bec749fd
JM
118922012-10-01 Joseph Myers <joseph@codesourcery.com>
11893
11894 [BZ #14645]
11895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11896 if x * y might underflow to zero and z is zero.
11897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11899 * math/libm-test.inc (min_subnorm_value): New variable.
11900 (fma_test): Add more tests.
11901 (fma_test_towardzero): Likewise.
11902 (fma_test_downward): Likewise
11903 (fma_test_upward): Likewise.
11904 (initialize): Set min_subnorm_value.
11905
8ec5b013
JM
119062012-09-29 Joseph Myers <joseph@codesourcery.com>
11907
11908 [BZ #14638]
11909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11910 0 + 0.
11911 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11912 mode for addition resulting in exact zero.
11913 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11914 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11915 exact 0 + 0.
11916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11918 * math/libm-test.inc (fma_test): Add more tests.
11919 (fma_test_towardzero): New function.
11920 (fma_test_downward): Likewise.
11921 (fma_test_upward): Likewise.
11922 (main): Call the new functions.
11923
b1fa802e
DM
119242012-09-28 David S. Miller <davem@davemloft.net>
11925
11926 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11927
d3b9fd9e
RM
119282012-09-28 Roland McGrath <roland@hack.frob.com>
11929
ea4d37b3
RM
11930 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11931 instead of SIGALRM.
11932
ac51c949
RM
11933 * sysdeps/gnu/_G_config.h: Moved to ...
11934 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11935 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11936 * sysdeps/generic/_G_config.h: ... here.
11937
28c195f7
RM
11938 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11939
848917f9
RM
11940 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11941
6bacf05b
RM
11942 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11943 Conditionalize target on [libnss_test1.so-version].
11944
91363dbb
RM
11945 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11946
cc87f7d8
RM
11947 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11948 (elfobjdir): Move out of conditionals.
11949
b1c608fe
RM
11950 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11951 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11952 (__nss_lookup_function): Conditionalize label remove_from_tree on
11953 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11954
1d9a6d96
DM
119552012-09-28 David S. Miller <davem@davemloft.net>
11956
11957 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11958 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11959 file.
11960 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11961 sysdep_routines.
11962 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11964 when HWCAP_SPARC_CRYPTO is present.
11965
72581615
PT
119662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11967
11968 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11969
715a900c
JL
119702012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11971
11972 [BZ #6530]
11973 * stdio-common/vfprintf.c (process_string_arg): Revert
11974 2000-07-22 change.
11975
119762011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11977
11978 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11979 for testcase.
11980 * stdio-common/tst-sprintf.c: Include <locale.h>
11981 (main): Test sprintf's handling of incomplete multibyte
11982 characters.
11983
9bac1d86
L
119842012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 * elf/dl-runtime.c (VERSYMIDX): Removed.
11987 * elf/dl-version.c (VERSYMIDX): Likewise.
11988 * elf/do-rel.h (VERSYMIDX): Likewise.
11989 (VALIDX): Likewise.
11990 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11991 * elf/rtld.c (VALIDX): Likewise.
11992 (ADDRIDX): Likewise.
9bac1d86
L
11993 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11994 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11995 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11996 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11997 (VALIDX): Likewise.
11998 (ADDRIDX): Likewise.
9bac1d86 11999
b31606c0
PT
120002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12001
12002 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12003
11541177
JL
120042012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12005
12006 [BZ #11438]
12007 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12008 to global scope.
12009 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12010 addresses are in the same scope as 192.0.2/24.
12011 * posix/gai.conf: Document new scope table defaults.
12012
adb26fae
SP
120132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12014
12015 [BZ #5298]
12016 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12017 for ftell. Compute offsets from write pointers instead.
12018 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12019
4573c6b0
SP
120202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12021
12022 [BZ #14543]
12023 * libio/Makefile (tests): New test case tst-fseek.
12024 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12025 combination works in wide mode.
12026 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12027 state when the external buffer state changes.
12028
aa9bbfe6
DM
120292012-09-27 David S. Miller <davem@davemloft.net>
12030
12031 [BZ #14376]
12032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12033 pass reloc->r_addend in as the 'high' argument to
12034 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12035
784421e7
DM
12036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12037
c39bc8b8
PT
120382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12039
12040 * rt/tst-aio2.c: Include <pthread.h>.
12041 * rt/tst-aio3.c: Likewise.
12042
1ccc2399
SE
120432012-09-27 Steve Ellcey <sellcey@mips.com>
12044
12045 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12046
31ed4153
L
120472012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12048
25f5f885
L
12049 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12050 contents on [SHARED].
31ed4153 12051
b7bfe116
MP
120522012-09-26 Marek Polacek <polacek@redhat.com>
12053
12054 [BZ #14530]
12055 [BZ #13741]
12056 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12057 for C++ and GCC <4.3 as well as for non GCC compilers.
12058
43c4edba
MT
120592012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12060
12061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12062
6a1bf82f
RM
120632012-09-25 Roland McGrath <roland@hack.frob.com>
12064
12065 * Makefile.in (all, install): Declare with .PHONY.
12066 Reported by Michael Hope <michael.hope@linaro.org>.
12067
8ad11b9a
TMQMF
120682012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12069
12070 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12071 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12072 system header.
12073 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12074 Likewise.
12075 (sydep_routines): Add the new and the internal functions.
12076 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12077 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12079 (GLIBC_2.17): Add the new function.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12081 (GLIBC_2.17): Likewise.
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12083 (GLIBC_2.17): Likewise.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12085 (GLIBC_2.17): Likewise.
12086 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12087
7e2fca8d
AM
120882012-09-25 Alan Modra <amodra@gmail.com>
12089
12090 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12091 Add release barrier before setting once_control to say
12092 initialisation is done. Add hints on lwarx. Use macro in
12093 place of isync.
12094 (clear_once_control): Add release barrier.
12095
b87c4b24
JM
120962012-09-25 Joseph Myers <joseph@codesourcery.com>
12097
d032e0d2
JM
12098 [BZ #13629]
12099 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12100 specially.
12101 * math/s_clog10.c (__clog10): Likewise.
12102 * math/s_clog10f.c (__clog10f): Likewise.
12103 * math/s_clog10l.c (__clog10l): Likewise.
12104 * math/s_clogf.c (__clogf): Likewise.
12105 * math/s_clogl.c (__clogl): Likewise.
12106 * math/Makefile (libm-calls): Add x2y2m1.
12107 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12108 (__x2y2m1): Likewise.
12109 (__x2y2m1l): Likewise.
12110 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12111 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12114 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12115 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12116 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12117 * sysdeps/i386/fpu/libm-test-ulps: Update.
12118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12119
b87c4b24
JM
12120 [BZ #14621]
12121 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12122 int as type of variable DEPTH.
12123 (glob): Use size_t instead of int as type of variables NEWCOUNT
12124 and OLD_PATHC.
12125
6d3bf199
LD
121262012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12127
22bf5c17
LD
12128 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12129 Add s_sincosf-sse2.
12130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12131 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12132 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12133 macros for using routine as __sincosf_ia32.
12134 Use macro for function declaration and weak_alias.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136
12137 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12139
12140 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12141 subnormal argument.
12142 * math/s_cexpf.c (__cexpf): Likewise.
12143 * math/s_csinf.c (__csinf): Likewise.
12144 * math/s_csinhf.c (__csinhf): Likewise.
12145 * math/s_ctanf.c (__ctanf): Likewise.
12146 * math/s_ctanhf.c (__ctanhf): Likewise.
12147 * math/s_ccosh.c (__ccoshf): Likewise.
12148 * math/s_cexp.c (__cexpl): Likewise.
12149 * math/s_csin.c (__csin): Likewise.
12150 * math/s_csinh.c (__csinh): Likewise.
12151 * math/s_ctan.c (__ctan): Likewise.
12152 * math/s_ctanh.c (ctanh): Likewise.
12153 * math/s_ccoshl.c (__ccoshl): Likewise.
12154 * math/s_cexpl.c (__cexpl): Likewise.
12155 * math/s_csinl.c (__csinl): Likewise.
12156 * math/s_csinhl.c (__csinhl): Likewise.
12157 * math/s_ctanl.c (__ctanl): Likewise.
12158 * math/s_ctanhl.c (__ctanhl): Likewise.
12159
203e5603
JM
121602012-09-25 Joseph Myers <joseph@codesourcery.com>
12161
12162 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12163 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12164 (_IO_off_t): Define to __off_t, not _G_off_t.
12165 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12166 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12167 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12168 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12169 type of __dummy and __dummy2 fields.
12170 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12171 (_G_ssize_t): Likewise.
12172 (_G_off_t): Likewise.
12173 (_G_pid_t): Likewise.
12174 (_G_uid_t): Likewise.
12175 (_G_wchar_t): Likewise.
12176 (_G_wint_t): Likewise.
12177 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12178 (_G_ssize_t): Likewise.
12179 (_G_off_t): Likewise.
12180 (_G_pid_t): Likewise.
12181 (_G_uid_t): Likewise.
12182 (_G_wchar_t): Likewise.
12183 (_G_wint_t): Likewise.
12184 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12185 (_G_ssize_t): Likewise.
12186 (_G_off_t): Likewise.
12187 (_G_pid_t): Likewise.
12188 (_G_uid_t): Likewise.
12189 (_G_wchar_t): Likewise.
12190 (_G_wint_t): Likewise.
12191
9fab36eb
SP
121922012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12193
12194 * malloc/arena.c: Include malloc-sysdep.h.
12195 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12196 is sufficient to shrink the heap or an unmap is needed.
12197 * sysdeps/generic/malloc-sysdep.h: New file. Define
12198 new function check_may_shrink_heap.
12199 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12200 new function check_may_shrink_heap.
12201
2b4f00d1
SP
122022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12203
12204 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12205 comments.
12206
9a9028b1
DL
122072012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12208
57c69bef
DL
12209 * catgets/test-gencat.sh: Add "set -e".
12210 * elf/tst-pathopt.sh: Likewise.
12211 * grp/tst_fgetgrent.sh: Likewise.
12212 * iconvdata/run-iconv-test.sh: Likewise.
12213 * intl/tst-gettext.sh: Likewise.
12214 * intl/tst-gettext2.sh: Likewise.
12215 * intl/tst-gettext4.sh: Likewise.
12216 * intl/tst-gettext6.sh: Likewise.
12217 * intl/tst-translit.sh: Likewise.
12218 * io/ftwtest-sh: Likewise.
12219 * libio/test-freopen.sh: Likewise.
12220 * malloc/tst-mtrace.sh: Likewise.
12221 * posix/globtest.sh: Likewise.
12222 * posix/tst-getconf.sh: Likewise.
12223 * posix/wordexp-tst.sh: Likewise.
12224 * stdio-common/tst-printf.sh: Likewise.
12225 * stdio-common/tst-unbputc.sh: Likewise.
12226 * stdlib/tst-fmtmsg.sh: Likewise.
12227 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12228 * catgets/Makefile: Do not specify -e option when running
12229 testsuite shell scripts.
12230 * elf/Makefile: Likewise.
12231 * grp/Makefile: Likewise.
12232 * iconvdata/Makefile: Likewise.
12233 * intl/Makefile: Likewise.
12234 * io/Makefile: Likewise.
12235 * libio/Makefile: Likewise.
12236 * malloc/Makefile: Likewise.
12237 * posix/Makefile: Likewise.
12238 * stdio-common/Makefile: Likewise.
12239 * stdlib/Makefile: Likewise.
12240 * sysdeps/x86_64/Makefile: Likewise.
12241
9a9028b1
DL
12242 * io/ftwtest-sh: Add copyright header.
12243 * posix/globtest.sh: Likewise.
12244 * posix/tst-getconf.sh: Likewise.
12245 * posix/wordexp-tst.sh: Likewise.
12246 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12247
ced6f16e
L
122482012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12249
94b32c39
L
12250 [BZ #13679]
12251 * Makeconfig (+link): Defined as $(+link-static) if
12252 $(build-shared) isn't yes.
12253 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12254 isn't yes.
12255 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12256
189e935b
L
12257 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12258
ced6f16e
L
12259 [BZ #14562]
12260 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12261 new chunk size with MALLOC_ALIGN_MASK.
12262
a9f8e53a
JM
122632012-09-24 Joseph Myers <joseph@codesourcery.com>
12264
12265 [BZ #5044]
12266 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12267 <rounding-mode.h>.
12268 (__printf_fphex): Determine rounding using get_rounding_mode and
12269 round_away.
12270 * stdio-common/tst-printf-round.c (struct hex_test): New
12271 structure.
12272 (hex_tests): New variable.
12273 (test_hex_in_one_mode): New function.
12274 (do_test): Also run tests for hex float output.
12275
43153109
JM
122762012-09-21 Joseph Myers <joseph@codesourcery.com>
12277
12278 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12279 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12280 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12281 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12282 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12283 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12284 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12286
8a26625d
JM
122872012-09-20 Joseph Myers <joseph@codesourcery.com>
12288
12289 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12290 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12291 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12292 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12293
f3fd569c
DL
122942012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12295
12296 [BZ #14579]
12297 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12298 mode only.
12299 * elf/tst-rtld-load-self.sh: New test.
12300 * elf/Makefile: Run it.
12301
63bbedd4
JM
123022012-09-18 Joseph Myers <joseph@codesourcery.com>
12303
12304 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12305 (tst-writev-ENV): Remove.
12306 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12307
626f8b6a
CM
123082012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12309
12310 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12311
b7aaa4d6
JM
123122012-09-17 Joseph Myers <joseph@codesourcery.com>
12313
12314 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12315 unconditional.
12316 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12317 Likewise.
12318 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12319 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12320 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12321 Likewise.
12322
65513990
L
123232012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12324
12325 [BZ #14587]
12326 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12327 * config.make.in (have-cpp-asm-debuginfo): Removed.
12328 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12329 * configure: Regenerated.
12330
784761be
JM
123312012-09-14 Joseph Myers <joseph@codesourcery.com>
12332
12333 [BZ #5044]
12334 * stdio-common/printf_fp.c: Include <stdbool.h> and
12335 <rounding-mode.h>.
12336 (___printf_fp): Determine rounding using get_rounding_mode and
12337 round_away.
12338 * stdio-common/tst-printf-round.c: New file.
12339 * stdio-common/Makefile (tests): Add tst-printf-round.
12340 (link-libm): New variable.
12341 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12342
9503345f
L
123432012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12344
12345 [BZ #14576]
12346 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12347 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12348 Likewise.
12349 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12350 Likewise.
12351
ad35fc00
JM
123522012-09-13 Joseph Myers <joseph@codesourcery.com>
12353
12354 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12355 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12356 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12357 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12358
6c9b0f68
JM
123592012-09-12 Joseph Myers <joseph@codesourcery.com>
12360
12361 [BZ #14518]
12362 * include/rounding-mode.h: New file.
12363 * sysdeps/generic/get-rounding-mode.h: Likewise.
12364 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12365 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12366 (MAX_VALUE): New macro.
12367 (MIN_VALUE): Likewise.
12368 (overflow_value): New function.
12369 (underflow_value): Likewise.
12370 (round_and_return): Use overflow_value and underflow_value to
12371 determine return values in overflow and underflow cases. Use
12372 round_away to determine rounding depending on rounding mode.
12373 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12374 determine return values in overflow and underflow cases.
12375 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12376 (struct test_results): New structure.
12377 (struct test): Use struct test_results to store expected results
12378 for all rounding modes.
12379 (TEST): Include expected results for all rounding modes.
12380 (test_in_one_mode): New function.
12381 (do_test): Use test_in_one_mode to compute and check results.
12382 Check results for all rounding modes.
12383 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12384 $(link-libm).
12385
19fcedd5
AM
123862012-12-09 Allan McRae <allan@archlinux.org>
12387
1e9d84cd 12388 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12389
8bbfd2f1
JM
123902012-09-11 Joseph Myers <joseph@codesourcery.com>
12391
12392 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12393 (_G_int32_t): Likewise.
12394 (_G_uint16_t): Likewise.
12395 (_G_uint32_t): Likewise.
12396 (_G_HAVE_BOOL): Likewise.
12397 (_G_HAVE_ATEXIT): Likewise.
12398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12399 (_G_HAVE_IO_FILE_OPEN): Likewise.
12400 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12401 (_G_int32_t): Likewise.
12402 (_G_uint16_t): Likewise.
12403 (_G_uint32_t): Likewise.
12404 (_G_HAVE_BOOL): Likewise.
12405 (_G_HAVE_ATEXIT): Likewise.
12406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12407 (_G_HAVE_IO_FILE_OPEN): Likewise.
12408 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12409 (_G_int32_t): Likewise.
12410 (_G_uint16_t): Likewise.
12411 (_G_uint32_t): Likewise.
12412 (_G_HAVE_BOOL): Likewise.
12413 (_G_HAVE_ATEXIT): Likewise.
12414 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12415 (_G_HAVE_IO_FILE_OPEN): Likewise.
12416
b1dc5912
L
124172012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12418
12419 * csu/libc-tls.c: Update copyright years.
12420
0e886ef9
JM
124212012-09-10 Joseph Myers <joseph@codesourcery.com>
12422
28361c5e
JM
12423 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12424 [!_G_USING_THUNKS]: Remove conditional code.
12425 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12426 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12427
0e886ef9
JM
12428 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12429 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12430 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12431 (_G_VTABLE_LABEL_PREFIX): Likewise.
12432 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12433 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12434 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12435 (_G_VTABLE_LABEL_PREFIX): Likewise.
12436 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12437 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12438 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12439 (_G_VTABLE_LABEL_PREFIX): Likewise.
12440 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12441
bcba7aa2
L
124422012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12443
12444 * libio/Makefile: Include ../Makeconfig before tests.
12445 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12446 only if $(build-shared) is yes.
12447
06585ee8
L
12448 * iconv/gconv_db.c: Update copyright years.
12449
80ccd52c
LD
124502012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12451
12452 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12453 unwind info if defined PIC. Fix special cases description.
12454 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12455
12456 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12457 DP_HI_MASK entry.
12458 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12459
691bc9c1
L
124602012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12461
3d9b46b3
L
12462 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12463
de2139a9
L
12464 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12465 is NULL.
12466
5ca78dd0
L
12467 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12468 (LDLIBS-tst-chk4): This.
12469 (LDFLAGS-tst-chk5): Renamed to ...
12470 (LDLIBS-tst-chk5): This.
12471 (LDFLAGS-tst-chk6): Renamed to ...
12472 (LDLIBS-tst-chk6): This.
12473 (LDFLAGS-tst-lfschk4): Renamed to ...
12474 (LDLIBS-tst-lfschk4): This.
12475 (LDFLAGS-tst-lfschk5): Renamed to ...
12476 (LDLIBS-tst-lfschk5): This.
12477 (LDFLAGS-tst-lfschk6): Renamed to ...
12478 (LDLIBS-tst-lfschk6): This.
12479
691bc9c1
L
12480 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12481 on $(common-objpfx)soversions.mk.
12482
65cafb1c
JM
124832012-09-07 Joseph Myers <joseph@codesourcery.com>
12484
12485 [BZ #10014]
12486 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12487 example host name.
12488
c78ab094
SP
124892012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12490
12491 * malloc/arena.c (arena_get_retry): New function that gets
12492 another arena for the caller to try its request on.
12493 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12494 current arena cannot fulfill the request.
12495 (__libc_memalign): Likewise.
12496 (__libc_memalign): Likewise.
12497 (__libc_pvalloc): Likewise.
12498 (__libc_calloc): Likewise.
12499
01f49f59
JT
125002012-09-05 John Tobey <john.tobey@gmail.com>
12501
12502 [BZ #13542]
12503 * manual/arith.texi (Operations on Complex): Fix description
12504 of carg branch cut.
12505
4c23fed5
JM
125062012-09-06 Joseph Myers <joseph@codesourcery.com>
12507
1d3c8572
JM
12508 [BZ #10014]
12509 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12510 host name.
12511
4c23fed5
JM
12512 [BZ #10038]
12513 * manual/memory.texi (Memory): Make order of menu items match
12514 order of sections.
12515
04570aaa
L
125162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12517
12518 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12519 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12520 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12521
b80af2f4
L
125222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12523
12524 * csu/libc-tls.c (static_dtv): Renamed to ...
12525 (_dl_static_dtv): This. Make it global.
12526 (_dl_initial_dtv): Removed.
12527 (__libc_setup_tls): Updated.
12528 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12529 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12530 DL_INITIAL_DTV.
12531
2abe9f15
PM
125322012-09-06 Petr Machata <pmachata@redhat.com>
12533
12534 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12535 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12536 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12537 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12538
0948c3af
L
125392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12540
12541 [BZ #14545]
12542 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12543 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12544 freeing dtv[-1].
12545
a5055ad1
L
125462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 [BZ #14544]
12549 * Makeconfig (link-static-before-libc): Replace $(+prector)
12550 with $(+prectorT).
12551 (link-static-after-libc): Replace $(+postctor) with
12552 $(+postctorT).
12553 (link-bounded): Replace $(+prector)/$(+postctor) with
12554 $(+prectorT)/$(+postctorT).
12555 (+prectorT): New macro.
12556 (+postctorT): Likewise.
12557
ed8c2ecd
JM
125582012-09-06 Joseph Myers <joseph@codesourcery.com>
12559
12560 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12561 (round_str): Handle values above the maximum for IBM long double
12562 as inexact.
12563 * stdlib/tst-strtod-round.c (tests): Regenerated.
12564
14c996c8
AK
125652012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12566
12567 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12568 assembler flag.
12569 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12570 zarch_nohighgprs around the zarch optimized routines.
12571 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12572 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12573 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12574 for zarch.
12575
430d6ce6
DM
125762012-09-05 David S. Miller <davem@davemloft.net>
12577
12578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12579
ff04dda4
DM
12580 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12581 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12582 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12583 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12584 entries.
12585
24d4e01b
AO
125862012-09-05 Alexandre Oliva <aoliva@redhat.com>
12587
12588 * malloc/arena.c: Fold copyright years.
12589 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12590
61d58174
AO
125912012-09-05 Alexandre Oliva <aoliva@redhat.com>
12592
12593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12594
20196a5e
AO
125952012-09-05 Alexandre Oliva <aoliva@redhat.com>
12596
12597 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12598
5c447383
AO
125992012-09-05 Alexandre Oliva <aoliva@redhat.com>
12600
12601 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12602 change internal state upon failure.
12603
fad64255
AO
126042012-09-05 Alexandre Oliva <aoliva@redhat.com>
12605
12606 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12607 * malloc/memusage.c (mmap): Likewise.
12608 (mmap64, mremap): Likewise. Adjust name in comment.
12609
1ffb8c90
SP
126102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12611
12612 * libio/fileops.c: Fix typos in comments.
12613 * libio/oldfileops.c: Likewise.
12614 * libio/wfileops.c: Likewise.
12615
6ef9cc37
SP
126162012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12617
12618 [BZ #1349]
12619 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12620 (tst-malloc-usable-ENV): Set environment for test case.
12621 * malloc/hooks.c (malloc_check_get_size): New function to get
12622 requested size.
12623 * malloc/malloc.c (musable): Use malloc_check_get_size.
12624 * malloc/tst-malloc-usable.c: New test case.
12625
4d038ae3
AS
126262012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12627
12628 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12629
c4e85184
AM
126302012-09-05 Allan McRae <allan@archlinux.org>
12631
b9dafc56 12632 [BZ #13966]
c4e85184
AM
12633 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12634 determine header location.
12635 * configure: Regenerated.
12636
e1343020
AS
126372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12638
12639 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12640 float format.
12641 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12642 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12643 format.
e1343020
AS
12644 (test): Regenerate.
12645
0a9f1987
DM
126462012-09-04 David S. Miller <davem@davemloft.net>
12647
12648 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12649 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12650 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12651
29237804
FW
126522012-09-04 Florian Weimer <fweimer@redhat.com>
12653
12654 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12655 failures.
12656
edb3cb88
FW
12657 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12658
60160d83
JM
126592012-09-04 Joseph Myers <joseph@codesourcery.com>
12660
12661 [BZ #9914]
12662 * libio/iogetdelim.c: Include <limits.h>.
12663 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12664 + len + 1 would overflow.
12665
bcd6c8dc
AJ
126662012-09-03 Andreas Jaeger <aj@suse.de>
12667
12668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12669 * sysdeps/i386/fpu/libm-test-ulps: Update.
12670
4ffffbd2
LD
126712012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12672
12673 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12674 Add s_sinf-sse2, s_conf-sse2.
12675
12676 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12677 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12678 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12679 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12680
12681 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12682 for using routine as __sinf_ia32.
12683 Use macro for function declaration and weak_alias.
12684 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12685 for using routine as __cosf_ia32.
12686 Use macro for function declaration and weak_alias.
12687
12688 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12689 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12690
12691 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12692 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12694
12695 * math/libm-test.inc (cos_test): Add more test cases.
12696 (sin_test): Likewise.
12697 (sincos_test): Likewise.
12698
511fa286
AK
126992012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12700
12701 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12702 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12703 hidden.
12704 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12705
5f30cfec
L
127062012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12707
12708 [BZ #14538]
12709 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12710 first element of the GOT.
12711 (elf_machine_load_address): Return the difference between
12712 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12713
0786794f
AM
127142012-09-01 Allan McRae <allan@archlinux.org>
12715
5f30cfec
L
12716 [BZ #13412]
12717 * configure.in (AWK): Require gawk version 3.0 or later.
12718 * configure: Regenerated.
0786794f 12719
26889eac
JM
127202012-09-01 Joseph Myers <joseph@codesourcery.com>
12721
12722 * sysdeps/unix/sysv/linux/kernel-features.h
12723 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12725 [__NR_clock_getres]: Make code unconditional.
12726 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12727 (clock_getcpuclockid): Remove code left unreachable by removal of
12728 conditionals.
12729 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12730 code unconditional.
12731 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12732 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12733 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12734 Make code unconditional.
12735 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12736 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12737 * sysdeps/unix/sysv/linux/clock_settime.c
12738 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12739 conditional code.
12740 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12741 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12742
d22e28b0
L
127432012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12744
12745 [BZ #14476]
12746 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12747 scripts/test-installation.pl.
12748
12749 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12750 and $ld_so_version if it is set.
12751
050af9c4
SP
127522012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12753
12754 [BZ #14516]
12755 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12756 failure if reading from procfs failed.
12757 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12758
ad845c0b
JM
127592012-08-27 Joseph Myers <joseph@codesourcery.com>
12760
12761 * sysdeps/unix/sysv/linux/kernel-features.h
12762 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12763 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12764 Remove conditional code.
12765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12766 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12767 Remove conditional code.
12768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12769 * sysdeps/unix/sysv/linux/i386/fxstat.c
12770 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12772 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12773 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12775 * sysdeps/unix/sysv/linux/i386/lxstat.c
12776 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12778 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12779 Remove conditional code.
12780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12781 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12782 Remove conditional code.
12783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12784 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12785 <kernel-features.h>.
12786 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12787 Remove.
12788 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12789 Remove conditional code.
12790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12791 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12792 Remove conditional.
12793
5dbf56af
MF
127942012-08-27 Mike Frysinger <vapier@gentoo.org>
12795
12796 [BZ #5400]
12797 * NEWS: Add fixed bug number.
12798
d6e70f43
JM
127992012-08-27 Joseph Myers <joseph@codesourcery.com>
12800
7efb4737
JM
12801 [BZ #14519]
12802 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12803 underflowing exponent in case of negative sign.
12804 * stdlib/tst-strtod-round-data: Add more tests.
12805 * stdlib/tst-strtod-round.c (tests): Regenerated.
12806
af92131a
JM
12807 [BZ #3479]
12808 * stdlib/strtod_l.c (NDIG): Remove.
12809 (HEXNDIG): Likewise.
12810 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12811 smallest representable value.
12812 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12813 lie within an exact representation of 1/2 ulp of the result.
12814 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12815 unconditionally.
12816 (TENS_P9_IDX): Define unconditionally.
12817 (TENS_P9_SIZE): Likewise.
12818 (TENS_P10_IDX): Likewise.
12819 (TENS_P10_SIZE): Likewise.
12820 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12821 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12822 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12823 entries for 10^2^13 and 10^2^14.
12824 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12825 (TENS_P13_IDX): Define.
12826 (TENS_P13_SIZE): Likewise.
12827 (TENS_P14_IDX): Likewise.
12828 (TENS_P14_SIZE): Likewise.
12829 (_fpioconst_pow10): Change array size to
12830 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12831 unconditional.
12832 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12833 1024]: Add entries for 10^2^13 and 10^2^14.
12834 [LAST_POW10 > _LAST_POW10]: Remove #error.
12835 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12836 (_fpioconst_pow10): Change array size to
12837 FPIOCONST_POW10_ARRAY_SIZE.
12838 * stdlib/gen-fpioconst.c: New file.
12839 * stdlib/gen-tst-strtod-round.c: Likewise.
12840 * stdlib/tst-strtod-round-data: Likewise.
12841 * stdlib/tst-strtod-round.c: Likewise.
12842 * stdlib/Makefile (tests): Add tst-strtod-round.
12843
d6e70f43
JM
12844 [BZ #14459]
12845 * stdlib/strtod_l.c: Include <stdint.h>.
12846 (NDEBUG): Do not define.
12847 (round_and_return): Change EXPONENT parameter to type intmax_t.
12848 Rearrange calculations to avoid internal overflow possibilities.
12849 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12850 Rearrange calculations to avoid internal overflow possibilities.
12851 Assert that number fits inside MPNSIZE limbs.
12852 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12853 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12854 calculations and add assertions to avoid internal overflow
12855 possibilities. Add casts to avoid signed/unsigned operations.
12856 * stdlib/tst-strtod-overflow.c: New file.
12857 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12858
1f529f7d
MP
128592012-08-25 Marek Polacek <polacek@redhat.com>
12860
12861 * time/time.h: Fix some typos in comments.
12862
59a629f1
RM
128632012-08-23 Roland McGrath <roland@hack.frob.com>
12864
12865 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12866 * posix/tst-rfc3484-2.c: Likewise.
12867 * posix/tst-rfc3484-3.c: Likewise.
12868
d3bafbc9
SM
128692012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12870
12871 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12872 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12873
4efcc022
JM
128742012-08-23 Joseph Myers <joseph@codesourcery.com>
12875
12876 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12877 #include of fxstatat64.c.
12878
3cc3ef96
RM
128792012-08-22 Roland McGrath <roland@hack.frob.com>
12880
f04e2132
RM
12881 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12882 * shadow/getspent_r.c: Likewise.
12883 * shadow/getspnam.c: Likewise.
12884 * shadow/getspnam_r.c: Likewise.
12885 * gshadow/getsgent.c: Likewise.
12886 * gshadow/getsgent_r.c: Likewise.
12887 * gshadow/getsgnam.c: Likewise.
12888 * gshadow/getsgnam_r.c: Likewise.
12889 * inet/getnetbyad.c: Likewise.
12890 * inet/getnetbyad_r.c: Likewise.
12891 * inet/getnetbynm.c: Likewise.
12892 * inet/getnetbynm_r.c: Likewise.
12893 * inet/getnetent.c: Likewise.
12894 * inet/getnetent_r.c: Likewise.
12895 * inet/getproto.c: Likewise.
12896 * inet/getproto_r.c: Likewise.
12897 * inet/getprtent.c: Likewise.
12898 * inet/getprtent_r.c: Likewise.
12899 * inet/getprtname.c: Likewise.
12900 * inet/getprtname_r.c: Likewise.
12901 * inet/getrpcbyname.c: Likewise.
12902 * inet/getrpcbyname_r.c: Likewise.
12903 * inet/getrpcbynumber.c: Likewise.
12904 * inet/getrpcbynumber_r.c: Likewise.
12905 * inet/getrpcent.c: Likewise.
12906 * inet/getrpcent_r.c: Likewise.
12907 * inet/getaliasent.c: Likewise.
12908 * inet/getaliasent_r.c: Likewise.
12909 * inet/getaliasname.c: Likewise.
12910 * inet/getaliasname_r.c: Likewise.
12911 * nscd/getgrgid_r.c: Likewise.
12912 * nscd/getgrnam_r.c: Likewise.
12913 * nscd/gethstbyad_r.c: Likewise.
12914 * nscd/gethstbynm3_r.c: Likewise.
12915 * nscd/getpwnam_r.c: Likewise.
12916 * nscd/getpwuid_r.c: Likewise.
12917 * nscd/getsrvbynm_r.c: Likewise.
12918 * nscd/getsrvbypt_r.c: Likewise.
12919 * nscd/gai.c: Likewise.
12920
c53d909c
RM
12921 * configure.in (build_nscd): New substituted variable, set
12922 by --disable-build-nscd and defaults to $use_nscd.
12923 * configure: Regenerated.
12924 * config.make.in (build-nscd): New substituted variable.
12925 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12926 Change conditional to require [$(build-nscd) = yes] as well.
12927 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12928
3cc3ef96
RM
12929 [BZ# 13696]
12930 * configure.in (use_nscd): New substituted variable, set by
12931 --disable-nscd. If enabled, define USE_NSCD.
12932 * configure: Regenerated.
12933 * config.h.in: Add USE_NSCD.
12934 * config.make.in (use-nscd): New substituted variable.
12935 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12936 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12937 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12938 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12939 (CFLAGS-getgrnam_r.c): Likewise.
12940 (CFLAGS-initgroups.c): Likewise.
12941 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12942 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12943 Variables removed.
12944 * inet/getnetgrent_r.c
12945 (nscd_setnetgrent): New function, broken out of ...
12946 (setnetgrent): ... here. Call it.
12947 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12948 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12949 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12950 * nscd/Makefile (routines, aux): Move definitions after include of
12951 Makeconfig. Conditionalize on [$(use-nscd) != no].
12952 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12953 Conditionalize on [USE_NSCD].
12954 (is_nscd, nscd_init_cb): Likewise.
12955 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12956 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12957 * nss/nss_db/db-init.c: Likewise.
12958 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12959 [USE_NSCD].
12960 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12961 (make_request): Use it.
12962 (cache_valid_p): New function.
12963 (__check_pf): Use it.
12964 * NEWS: Add item for --disable-nscd.
12965
07e51550
DL
129662012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12967
12968 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12969 to support sed >= 4.2.1-20-ga9bf076.
12970 * configure: Regenerated.
12971
35a5b08b
RM
129722012-08-22 Roland McGrath <roland@hack.frob.com>
12973
12974 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12975 Conditionalize whole body on [IREL].
12976
8479f23a
JL
129772012-08-22 Jeff Law <law@redhat.com>
12978
12979 [BZ #14505]
12980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12981 if the family is PF_UNSPEC.
12982
48da0b21
MF
129832012-08-22 Mike Frysinger <vapier@gentoo.org>
12984
12985 * Makerules (lib-version): Rename from V.
12986 (install-lib-nosubdir): Change V to lib-version.
12987
15d0da8c
WS
129882012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12989
12990 [BZ #14252]
12991 * powerpc32/power6/wcschr.c: New file.
12992 * powerpc32/power6/wcscpy.c: New file.
12993 * powerpc32/power6/wcsrchr.c: New file.
12994 * powerpc64/power6/wcschr.c: New file.
12995 * powerpc64/power6/wcscpy.c: New file.
12996 * powerpc64/power6/wcsrchr.c: New file.
12997
bcca0895
MK
129982012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12999
13000 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13001 (two_way_short_needle): Use it.
5a4aaa33
RM
13002 * string/strstr.c (AVAILABLE1_USES_J): Define.
13003 * string/strcasestr.c: Likewise.
99677e57
MK
13004
13005 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13006 array references.
13007 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13008
400726de
MK
13009 [BZ #11607]
13010 * NEWS: Add an entry.
13011 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13012 define their defaults.
13013 (two_way_short_needle): Detect end-of-string on-the-fly.
13014 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13015 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13016 * string/bug-strcasestr1.c: New test.
13017 * string/Makefile: Run it.
13018
20a71f2c
MK
130192012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13020
13021 [BZ #11607]
13022 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13023 the first character.
13024
21ad0558
RM
130252012-08-21 Roland McGrath <roland@hack.frob.com>
13026
13027 * csu/elf-init.c (__libc_csu_irel): Function removed.
13028 * csu/libc-start.c (apply_irel): New function.
13029 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13030
0e1d9911
JM
130312012-08-21 Joseph Myers <joseph@codesourcery.com>
13032
13033 * sysdeps/unix/sysv/linux/kernel-features.h
13034 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13035 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13036 <kernel-features.h>.
13037 [__NR_fadvise64_64]: Make code unconditional.
13038 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13039 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13040 !__NR_fadvise64_64)]: Likewise.
13041 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13042 !__NR_fadvise64_64))]: Likewise.
13043 [__NR_fadvise64]: Make code unconditional.
13044 [!__NR_fadvise64]: Remove conditional code.
13045 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13046 <kernel-features.h>.
13047 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13048 unconditional.
13049 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13050 conditional code.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13052 not include <kernel-features.h>.
13053 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13054 unconditional.
13055 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13056 conditional code.
13057 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13058 include <kernel-features.h>.
13059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13060 unconditional.
13061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13062 conditional code.
13063
14a50c9d
WS
130642012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13065
13066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13067 slight instruction rearrangements per scrollpipe analysis.
13068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13069
c0f4faf0
RM
130702012-08-20 Roland McGrath <roland@hack.frob.com>
13071
696da859
RM
13072 * manual/syslog.texi (syslog; vsyslog, closelog):
13073 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13074 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13075
c0f4faf0
RM
13076 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13077 DSOCAPS to match condition on defining it.
13078
348363b2
JM
130792012-08-20 Joseph Myers <joseph@codesourcery.com>
13080
a35cbf28
JM
13081 * sysdeps/unix/sysv/linux/kernel-features.h
13082 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13084 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13085 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13087 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13088 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13090 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13091 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13092
445f7ecd
JM
13093 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13094 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13095
348363b2
JM
13096 * sysdeps/unix/sysv/linux/kernel-features.h
13097 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13098 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13099 unconditional.
13100 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13101 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13102 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13103 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13104 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13105 Make code unconditional.
13106 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13107 (__mmap64) [!__NR_mmap2]: Likewise.
13108 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13109 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13110 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13111 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13112 [__NR_mmap2]: Make code unconditional.
13113 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13114 (__mmap64) [!__NR_mmap2]: Likewise.
13115
bc5bc0e5
AK
131162012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13117
13118 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13119
88d506de
AJ
131202012-08-18 Andreas Jaeger <aj@suse.de>
13121
13122 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13123
493387d2
MF
131242012-08-18 Mike Frysinger <vapier@gentoo.org>
13125
13126 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13127 * include/unistd.h (__have_sock_cloexec): Likewise.
13128 (__have_pipe2): Likewise.
13129 (__have_dup3): Likewise.
13130
a277af22
MF
131312012-08-18 Mike Frysinger <vapier@gentoo.org>
13132
13133 [BZ #9685]
13134 * include/unistd.h (__have_pipe2): Change define into an extern int.
13135 (__have_dup3): Likewise.
13136 * socket/have_sock_cloexec.c: Include fcntl.h.
13137 (__have_pipe2): New variable.
13138 (__have_dup3): Likewise.
13139
fdab8fd3
MF
131402012-08-17 Mike Frysinger <vapier@gentoo.org>
13141
13142 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13143
31035e80
MP
131442012-08-17 Marek Polacek <polacek@redhat.com>
13145
13146 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13147 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13148
3bd9e993
RM
131492012-08-17 Roland McGrath <roland@hack.frob.com>
13150
c91c505f
RM
13151 * configure.in: Add AC_SUBST for sysheaders.
13152 * configure: Regenerated.
13153 * config.make.in (sysheaders): New substituted variable.
13154
7c6f9d53
RM
13155 * sysdeps/unix/mkfifo.c: Moved ...
13156 * sysdeps/posix/mkfifo.c: ... here.
13157 * sysdeps/unix/mkfifoat.c: Moved ...
13158 * sysdeps/posix/mkfifoat.c: ... here.
13159
13160 * sysdeps/unix/utime.c: Moved ...
13161 * sysdeps/posix/utime.c: ... here.
13162
13163 * sysdeps/unix/time.c: Moved ...
13164 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13165 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13166 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13167
13168 * sysdeps/unix/nice.c: Moved ...
13169 * sysdeps/posix/nice.c: ... here.
13170
13171 * sysdeps/unix/alarm.c: Moved ...
13172 * sysdeps/posix/alarm.c: ... here.
13173
3bd9e993
RM
13174 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13175
d1f09384
JL
131762012-08-17 Jeff Law <law@redhat.com>
13177
13178 * intl/Makefile (codeset_mo): New variable.
13179 ($(codeset_mo)): New target.
13180 (tst-codeset.out): Depend on that. Remove explicit rule.
13181 (tst-gettext3.out, tst-gettext5.out): Likewise.
13182 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13183 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13184 * intl/tst-codeset.sh: Remove.
13185 * intl/tst-gettext3.sh: Likewise.
13186 * intl/tst-gettext5.sh: Likewise.
13187
2ae1ae5c
RM
131882012-08-17 Roland McGrath <roland@hack.frob.com>
13189
c31fdb83
RM
13190 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13191 * sysdeps/unix/syscalls.list: ... here.
13192
a0844057
RM
13193 * sysdeps/posix/getaddrinfo.c
13194 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13195 (gaiconf_init, gaiconf_reload): Use them.
13196 [!_STATBUF_ST_NSEC]
13197 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13198 Define using time_t rather than struct timespec.
13199
750c1f2a
RM
13200 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13201 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13202 Macros removed.
13203 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13204 [!NO_THREADS].
13205 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13206 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13207 Likewise.
13208
2ae1ae5c
RM
13209 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13210 __libc_cleanup_push argument.
13211
e66a42f5
RM
13212 * bits/param.h: New file.
13213 * misc/sys/param.h: New file.
13214 * include/sys/param.h: New file.
13215 * misc/Makefile (headers): Add bits/param.h.
13216 * sysdeps/generic/sys/param.h: File removed.
13217 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13218 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13219 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13220 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13221
b7c08a66
RM
13222 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13223 last change.
13224
b2e1c562
RM
13225 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13226 [_IO_MTSAFE_IO].
13227 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13228 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13229 New macros.
13230
c75ccd4c
RM
13231 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13232 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13233 rather than -D_IO_MTSAFE_IO conditionally.
13234 * stdio-common/Makefile (CPPFLAGS): Likewise.
13235 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13236 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13237 Use $(libio-mtsafe).
13238 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13239 of -D_IO_MTSAFE_IO.
13240 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13241 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13242 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13243 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13244 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13245 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13246 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13247 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13248 (CFLAGS-fread_u_chk.c): Likewise.
13249 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13250 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13251 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13252 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13253 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13254 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13255 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13256 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13257 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13258
13259 * libio/Makefile: Test [$(libc-reentrant) = yes]
13260 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13261
13262 * Makeconfig
13263 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13264 * sysdeps/pthread/configure: File removed.
13265 * sysdeps/pthread/Makeconfig: New file.
13266 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13267 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13268
d9195db8
GB
132692012-08-16 Gary Benson <gbenson@redhat.com>
13270
13271 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13272 unmapping the first object in a namespace.
13273
86466cd9
RM
132742012-08-16 Roland McGrath <roland@hack.frob.com>
13275
13276 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13277 (__internal_setnetgrent): ... this. Add internal_function to
13278 definition. Add libc_hidden_def.
13279 (setnetgrent): Update caller.
13280 (internal_endnetgrent): Renamed to ...
13281 (__internal_endnetgrent): ... this. Add internal_function to
13282 definition. Add libc_hidden_def.
13283 (endnetgrent): Update caller.
13284 (internal_getnetgrent_r): Renamed to ...
13285 (__internal_getnetgrent_r): ... this. Add internal_function to
13286 definition. Add libc_hidden_def.
13287 (__getnetgrent_r): Update caller.
13288 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13289
c3c8283c
JM
132902012-08-16 Joseph Myers <joseph@codesourcery.com>
13291
13292 * stdlib/longlong.h: Update from GCC.
13293
db1ee0a8
RM
132942012-08-16 Roland McGrath <roland@hack.frob.com>
13295
13296 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13297 on _QL, which is set by umul_ppmm but never used.
13298 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13299 variables, which are set by GMP macros but never used.
13300 * stdio-common/_itowa.c (_itowa): Likewise.
13301 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13302 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13303
30f69637
CD
133042012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13305
13306 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13307 struct La_sh_regs is not constant.
13308 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13309 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13310 and struct La_sparc64_regs are not constant.
13311
93a78ac4
JM
133122012-08-16 Joseph Myers <joseph@codesourcery.com>
13313
13314 * sysdeps/unix/sysv/linux/kernel-features.h
13315 (__ASSUME_POSIX_TIMERS): Remove.
13316 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13318 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13319 Make code unconditional.
13320 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13321 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13322 Make code unconditional.
13323 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13324 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13325 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13327 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13328 Make code unconditional.
13329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13330 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13331 (__libc_missing_posix_timers): Remove.
13332
dd924cd7
RM
133332012-08-15 Roland McGrath <roland@hack.frob.com>
13334
4b4f2771
RM
13335 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13336 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13337
601c888b
RM
13338 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13339
176790a7
RM
13340 * elf/dl-sym.c: Include <stdlib.h>.
13341
329bc018
RM
13342 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13343 constants, which avoids warnings in 32-bit builds.
13344
e04e272d
RM
13345 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13346 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13347
952bf94a
RM
13348 * misc/lseek.c: File moved to ...
13349 * io/lseek.c: ... here.
13350
7c99b50a
RM
13351 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13352
dd924cd7
RM
13353 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13354 shifting LEN more than 31 bits at once.
13355
b3f479a8
LD
133562012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13357
13358 [BZ #14195]
8c4ae0d4
RM
13359 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13360 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13361 * string/test-strncasecmp.c (check1): Renamed to...
13362 (bz12205): ...this.
13363 (bz14195): Add new testcase for two empty input strings and N > 0.
13364 (test_main): Call new testcase, adapt for renamed function.
13365
9c55864e
AJ
133662012-08-15 Andreas Jaeger <aj@suse.de>
13367
13368 [BZ #14090]
13369 * crypt/md5test2.c: New test, based on test supplied by Serge
13370 Belyshev <belyshev@depni.sinp.msu.ru>.
13371 * crypt/Makefile (xtests): Add md5test-giant..
13372 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13373
02dcb6c5
PE
133742012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13375
13376 [BZ #14090]
13377 * crypt/md5.c (md5_process_block): Don't assume the buffer
13378 length is less than 2**32.
13379 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13380 length is less than 2**64.
13381
a3f95dcc
RM
133822012-08-15 Roland McGrath <roland@hack.frob.com>
13383
be75d758
RM
13384 * string/str-two-way.h: Include <sys/param.h>.
13385 (MAX): Macro removed.
13386
7312ca90
RM
13387 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13388 Move #define and #undef of memmove to just before and after
13389 including <string.h>.
13390
9a0a5486
RM
13391 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13392 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13393 and after including <string.h>. Move declarations of
13394 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13395 to before #include "string/memmove.c".
13396
67cc348d
RM
13397 * include/dirent.h: Declare __getdirentries.
13398
a3f95dcc
RM
13399 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13400 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13401
ca98e171
MF
134022012-08-14 Mike Frysinger <vapier@gentoo.org>
13403
13404 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13405 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13406 * sysdeps/i386/configure: Regenerated.
13407 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13408 STABS_CURRENT_FILE, and STABS_FUN.
13409 (END): Remove call to STABS_FUN_END.
13410 (STABS_CURRENT_FILE1): Delete.
13411 (STABS_CURRENT_FILE): Likewise.
13412 (STABS_FUN): Likewise.
13413 (STABS_FUN_END): Likewise.
13414 (STABS_FUN2): Likewise.
13415 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13416 * sysdeps/x86_64/configure: Regenerated.
13417
5908bf46
RM
134182012-08-14 Roland McGrath <roland@hack.frob.com>
13419
13420 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13421 * elf/dl-lookup.c: Likewise.
5908bf46 13422
f2c05b9e
JM
134232012-08-14 Joseph Myers <joseph@codesourcery.com>
13424
13425 * sysdeps/unix/sysv/linux/kernel-features.h
13426 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13427 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13428 unconditionally.
13429 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13430 unconditionally.
13431 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13432 condition on __ASSUME_CLONE_THREAD_FLAGS.
13433
e11f5155
AJ
134342012-08-14 Andreas Jaeger <aj@suse.de>
13435
13436 * sysdeps/i386/fpu/libm-test-ulps: Update.
13437
51a9ba86
MK
134382012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13439
2fdd4f78
AJ
13440 * include/atomic.h (atomic_exchange_and_add): Split into ...
13441 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13442 New atomic macros.
51a9ba86 13443
ba6cba9e
MT
134442012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13445
13446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13447
42443a47
JL
134482012-08-13 Jeff Law <law@redhat.com>
13449
13450 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13451 null byte in the output string.
13452
121dce05
JM
134532012-08-10 Joseph Myers <joseph@codesourcery.com>
13454
13455 * sysdeps/unix/sysv/linux/kernel-features.h
13456 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13457 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13458 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13459 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13460 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13461 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13462 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13463
bf51f568
JL
134642012-08-09 Jeff Law <law@redhat.com>
13465
13466 [BZ #13939]
13467 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13468 When avoid_arena is set, don't retry in the that arena. Pick the
13469 next one, whatever it might be.
13470 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13471 (arena_lock): Pass in new parameter to arena_get2.
13472 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13473 arena_get2.
13474 (__libc_malloc): Unify retrying after main arena failure with
13475 __libc_memalign version.
13476 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13477
f85fa270
L
134782012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13479
13480 [BZ #14166]
13481 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13482 to __redirect_strstr.
13483 (__strstr_sse42): Use typeof __redirect_strstr.
13484 (__strstr_ia32): Likewise.
13485 (__libc_strstr): New prototype.
13486 (strstr): Renamed to ...
13487 (__libc_strstr): This.
13488 (strstr): New strong alias of __libc_strstr.
13489 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13490 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13491 __redirect_time.
13492 Include <time.h>.
13493 (__libc_time): New prototype.
13494 (time_ifunc): Replace time with __libc_time.
13495 (time): New strong alias and hidden definition of __libc_time.
13496 (__GI_time): Remove strong alias.
13497 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13498 Include <stddef.h>.
13499 (memmove): Redefined to __redirect_memmove.
13500 (__memmove_sse2): Use typeof __redirect_memmove.
13501 (__memmove_ssse3): Likewise.
13502 (__memmove_ssse3_back): Likewise.
13503 (__libc_memmove): New prototype.
13504 (memmove): Renamed to ...
13505 (__libc_memmove): This.
13506 (memmove): New strong alias of __libc_memmove.
13507
33b4a91e
MS
135082012-08-08 Mark Salter <msalter@redhat.com>
13509
13510 * elf/elf.h
13511 (R_MN10300_TLS_GD): Define.
13512 (R_MN10300_TLS_LD): Likewise.
13513 (R_MN10300_TLS_LDO): Likewise.
13514 (R_MN10300_TLS_GOTIE): Likewise.
13515 (R_MN10300_TLS_IE): Likewise.
13516 (R_MN10300_TLS_LE): Likewise.
13517 (R_MN10300_TLS_DTPMOD): Likewise.
13518 (R_MN10300_TLS_DTPOFF): Likewise.
13519 (R_MN10300_TLS_TPOFF): Likewise.
13520 (R_MN10300_SYM_DIFF): Likewise.
13521 (R_MN10300_ALIGN): Likewise.
13522 (R_MN10300_NUM): Update.
13523
b36137f1
JM
135242012-08-08 Joseph Myers <joseph@codesourcery.com>
13525
13526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13527 Remove.
13528
cdd915fd
RM
135292012-08-08 Roland McGrath <roland@hack.frob.com>
13530
a2433aac
RM
13531 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13532
cdd915fd
RM
13533 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13534 sysdeps/unix -> sysdeps/posix move.
13535 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13536
bf9b740a
AM
135372012-08-07 Allan McRae <allan@archlinux.org>
13538
13539 [BZ #14303]
13540 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13541 (SUNOS_CPP): Likewise.
13542 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13543 not found.
13544 (open_input): Call CPP using execvp.
13545
93df14ee
JM
135462012-08-07 Joseph Myers <joseph@codesourcery.com>
13547
13548 * sysdeps/unix/sysv/linux/kernel-features.h
13549 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13550 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13551 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13552 (__ASSUME_WAITID_SYSCALL): Likewise.
13553 * sysdeps/unix/sysv/linux/dl-execstack.c
13554 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13555 code unconditional.
13556 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13557 conditional code.
13558 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13559 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13560 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13561 code.
13562 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13563 unconditional.
13564 [__ASSUME_WAITID_SYSCALL]: Likewise.
13565 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13566
d34689de
RM
135672012-08-07 Roland McGrath <roland@hack.frob.com>
13568
a281decc
RM
13569 * sysdeps/unix/closedir.c: Renamed to ...
13570 * sysdeps/posix/closedir.c: ... here.
13571 * sysdeps/unix/dirfd.c: Renamed to ...
13572 * sysdeps/posix/dirfd.c: ... here.
13573 * sysdeps/unix/dirstream.h: Renamed to ...
13574 * sysdeps/posix/dirstream.h: ... here.
13575 * sysdeps/unix/fdopendir.c: Renamed to ...
13576 * sysdeps/posix/fdopendir.c: ... here.
13577 * sysdeps/unix/opendir.c: Renamed to ...
13578 * sysdeps/posix/opendir.c: ... here.
13579 * sysdeps/unix/readdir.c: Renamed to ...
13580 * sysdeps/posix/readdir.c: ... here.
13581 * sysdeps/unix/readdir_r.c: Renamed to ...
13582 * sysdeps/posix/readdir_r.c: ... here.
13583 * sysdeps/unix/rewinddir.c: Renamed to ...
13584 * sysdeps/posix/rewinddir.c: ... here.
13585 * sysdeps/unix/seekdir.c: Renamed to ...
13586 * sysdeps/posix/seekdir.c: ... here.
13587 * sysdeps/unix/telldir.c: Renamed to ...
13588 * sysdeps/posix/telldir.c: ... here.
13589 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13590 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13591 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13592 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13593
22895b47
RM
13594 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13595 * bits/fcntl.h: ... here.
13596
707a53b6
RM
13597 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13598 not 0.
13599 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13600 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13601 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13602 (struct flock): Move l_start, l_len to the beginning.
13603 Use __pid_t for l_pid.
13604 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13605 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13606 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13607 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13608 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13609 [__USE_LARGEFILE64] (struct flock64): New type.
13610 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13611
f0bd3e25
RM
13612 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13613 * bits/dirent.h: ... here.
13614
d34689de
RM
13615 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13616 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13617
6dad2c06
JM
136182012-08-07 Joseph Myers <joseph@codesourcery.com>
13619
13620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13621 Change from 2.6.0 to 2.6.16.
13622 * sysdeps/unix/sysv/linux/configure: Regenerated.
13623 * sysdeps/unix/sysv/linux/kernel-features.h
13624 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13625 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13626 version.
13627 (__ASSUME_UTIMES): Likewise.
13628 (__ASSUME_CLONE_STOPPED): Remove.
13629 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13630 architectures, not kernel version.
13631 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13632 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13633 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13634 (__ASSUME_WAITID_SYSCALL): Likewise.
13635 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13636 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13637 * README: State 2.6.16 as minimum Linux kernel version. Do not
13638 refer to older versions.
13639
03af9520
RM
136402012-08-06 Roland McGrath <roland@hack.frob.com>
13641
8e49df1d
RM
13642 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13643 Define alphasort64 as an alias.
13644 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13645 Define versionsort64 as an alias.
13646 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13647 Define scandir64 as an alias.
13648 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13649 Define scandirat64 as an alias.
13650 * dirent/alphasort64.c (alphasort64):
13651 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13652 * dirent/versionsort64.c: Likewise.
13653 * dirent/scandir64.c: Likewise.
13654 * dirent/scandirat64.c: Likewise.
13655 * sysdeps/wordsize-64/alphasort.c: File removed.
13656 * sysdeps/wordsize-64/alphasort64.c: File removed.
13657 * sysdeps/wordsize-64/scandir.c: File removed.
13658 * sysdeps/wordsize-64/scandir64.c: File removed.
13659 * sysdeps/wordsize-64/scandirat.c: File removed.
13660 * sysdeps/wordsize-64/scandirat64.c: File removed.
13661 * sysdeps/wordsize-64/versionsort.c: File removed.
13662 * sysdeps/wordsize-64/versionsort64.c: File removed.
13663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13670 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13671
13672 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13674 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13676 [defined __arch64__ || defined __sparcv9]
13677 (__INO_T_MATCHES_INO64_T): New macro.
13678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13679 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13680 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13681 * sysdeps/unix/sysv/linux/bits/dirent.h
13682 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13683 (_DIRENT_MATCHES_DIRENT64): New macro.
13684
03af9520
RM
13685 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13686 Define lockf64 as an alias.
13687 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13688 Define fseeko64 as an alias.
13689 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13690 Define ftello64 as an alias.
13691 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13692 Define _IO_fgetpos64 and fgetpos64 as aliases.
13693 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13694 Define _IO_fsetpos64 and fsetpos64 as aliases.
13695 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13696 Conditionalize body on this.
13697 * libio/fseeko64.c: Likewise.
13698 * libio/ftello64.c: Likewise.
13699 * libio/iofgetpos64.c: Likewise.
13700 * libio/iofsetpos64.c: Likewise.
13701 * sysdeps/wordsize-64/lockf.c: File removed.
13702 * sysdeps/wordsize-64/lockf64.c: File removed.
13703 * sysdeps/wordsize-64/fseeko.c: File removed.
13704 * sysdeps/wordsize-64/fseeko64.c: File removed.
13705 * sysdeps/wordsize-64/ftello.c: File removed.
13706 * sysdeps/wordsize-64/ftello64.c: File removed.
13707 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13708 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13709 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13710 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13714 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13716 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13718 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13721
13722 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13724 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13726 [defined __arch64__ || defined __sparcv9]
13727 (__OFF_T_MATCHES_OFF64_T): New macro.
13728 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13729 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13731 (__OFF_T_MATCHES_OFF64_T): New macro.
13732
c5757acd
L
137332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13734
13735 * stdlib/secure-getenv.c (__secure_getenv): Replace
13736 GLIBC_2_16 with GLIBC_2_17.
13737
3a31811e
L
137382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13739
13740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13741 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13742
faa2bccb
DM
137432012-08-03 David S. Miller <davem@davemloft.net>
13744
13745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13746
85fe1997
JM
137472012-08-03 Joseph Myers <joseph@codesourcery.com>
13748
13749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13750 Remove.
13751 (__ASSUME_CORRECT_SI_PID): Likewise.
13752 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13753 (__ASSUME_TMPFS_NAME): Likewise.
13754 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13755 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13756 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13757 (HAVE_AUX_SECURE): Make definition unconditional.
13758 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13759 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13760
4f75b7a0
RM
137612012-08-03 Roland McGrath <roland@hack.frob.com>
13762
13763 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13764 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13765 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13766 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13767 __eloop_threshold instead of SYMLOOP_MAX.
13768
13769 * sysdeps/generic/eloop-threshold.h: New file.
13770 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13771 of MAXSYMLINKS.
13772 * elf/chroot_canon.c (chroot_canon): Likewise.
13773
7aab07e4
JM
137742012-08-03 Joseph Myers <joseph@codesourcery.com>
13775
13776 [BZ #13717]
13777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13778 Change to 2.6.0 everywhere.
13779 * sysdeps/unix/sysv/linux/configure: Regenerated.
13780 * sysdeps/unix/sysv/linux/kernel-features.h
13781 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13782 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13783 kernel versions.
13784 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13785 (__ASSUME_FUTEX_REQUEUE): Remove.
13786 (__ASSUME_STATFS64): Define unconditionally.
13787 (__ASSUME_AT_SECURE): Likewise.
13788 (__ASSUME_CORRECT_SI_PID): Likewise.
13789 (__ASSUME_TGKILL): Define without depending on kernel version for
13790 i386.
13791 (__ASSUME_UTIMES): Likewise.
13792 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13793 kernel version.
13794 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13795 (__ASSUME_TMPFS_NAME): Likewise.
13796 * README: Update reference to Linux kernel versions.
13797
b67e9372
MP
137982012-08-02 Marek Polacek <polacek@redhat.com>
13799
1f529f7d 13800 [BZ# 14150]
b67e9372
MP
13801 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13802 libc_cv_asm_type_prefix with %.
13803 * configure: Regenerated.
d2441631
RM
13804 * include/libc-symbols.h: Remove comment about
13805 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13806 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13807 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13808 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13809 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13810 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13812 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13813 * elf/tst-unique2mod1.c: Likewise.
13814 * elf/tst-unique1mod2.c: Likewise.
13815 * elf/tst-unique1mod1.c: Likewise.
13816 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13817 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13818 Replace ASM_TYPE_DIRECTIVE with .type.
13819 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13820 * sysdeps/i386/sysdep.h: Likewise.
13821 * sysdeps/x86_64/sysdep.h: Likewise.
13822 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13824 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13825 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13826 * sysdeps/powerpc/powerpc32/sysdep.h:
13827 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13828 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13829 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13830 * sysdeps/i386/fpu/e_powf.S: Likewise.
13831 * sysdeps/i386/fpu/e_expl.S: Likewise.
13832 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13833 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13834 * sysdeps/i386/fpu/e_pow.S: Likewise.
13835 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13836 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13837 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13838 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13839 * sysdeps/i386/fpu/e_log2.S: Likewise.
13840 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13841 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13842 * sysdeps/i386/fpu/e_powl.S: Likewise.
13843 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13844 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13845 * sysdeps/i386/fpu/e_logl.S: Likewise.
13846 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13847 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13848 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13849 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13850 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13851 * sysdeps/i386/fpu/e_log.S: Likewise.
13852 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13853 * sysdeps/i386/fpu/e_logf.S: Likewise.
13854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13856 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13857 * sysdeps/i386/fpu/e_log10.S: Likewise.
13858 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13859 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13860 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13861 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13862 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13864 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13865 * sysdeps/i386/i686/strtok.S: Likewise.
13866 * sysdeps/i386/i386-mcount.S: Likewise.
13867 * sysdeps/i386/strtok.S: Likewise.
13868 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13869 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13870 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13872 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13873 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13874 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13875 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13877 * sysdeps/x86_64/_mcount.S: Likewise.
13878 * sysdeps/x86_64/strtok.S: Likewise.
13879 * sysdeps/sh/_mcount.S: Likewise.
13880
2747bf9a
RM
138812012-08-01 Roland McGrath <roland@hack.frob.com>
13882
13883 * libio/iofopen.c: Include <fcntl.h>.
13884 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13885 (_IO_fopen64, fopen64): Define as aliases.
13886 * libio/iofopen64.c: Include <fcntl.h>.
13887 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13888 Conditionalize body on this.
13889 * sysdeps/wordsize-64/iofopen.c: File removed.
13890 * sysdeps/wordsize-64/iofopen64.c: File removed.
13891
3fb791b8
MP
138922012-08-01 Marek Polacek <polacek@redhat.com>
13893
13894 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13895 Use dlfcn directly instead of a variable.
13896 (binfmt-subdir): Do not define.
13897 (dlfcn): Likewise.
13898
a9f1039f
JM
138992012-08-01 Joseph Myers <joseph@codesourcery.com>
13900
23bddc06
JM
13901 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13902 Remove all definitions.
13903 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13904 <kernel-features.h>.
13905 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13906 (miss_F_GETOWN_EX): Remove all definitions.
13907 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13908 macro definition.
13909 [!__ASSUME_FCNTL64]: Remove conditional code.
13910 [__ASSUME_FCNTL64]: Make code unconditional.
13911 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13912 <kernel-features.h>.
13913 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13914 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13915 (lockf64) [__NR_fcntl64]: Make code unconditional.
13916 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13917
a9f1039f
JM
13918 * sysdeps/unix/sysv/linux/kernel-features.h
13919 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13920 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13921 Make code unconditional.
13922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13925 [__NR_vfork]: Make code unconditional.
13926 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13927 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13929 [__NR_vfork]: Make code unconditional.
13930 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13931 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13932
09c0ee5f
RM
139332012-08-01 Roland McGrath <roland@hack.frob.com>
13934
48aec5b9
RM
13935 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13936 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13937
cd97c966
RM
13938 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13939 Define mkstemp64 as an alias.
3f55550c
RM
13940 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13941 Define mkstemps64 as an alias.
cd97c966
RM
13942 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13943 Define mkostemp64 as an alias.
b8625cfc
RM
13944 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13945 Define mkostemps64 as an alias.
cd97c966
RM
13946 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13947 Conditionalize body on this.
13948 * misc/mkostemp64.c: Likewise.
b8625cfc 13949 * misc/mkostemps64.c: Likewise.
3f55550c 13950 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13951 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13952 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13953 * sysdeps/wordsize-64/mkostemp.c: File removed.
13954 * sysdeps/wordsize-64/mkstemp.c: File removed.
13955 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13958 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13959
09c0ee5f
RM
13960 [BZ #14138]
13961 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13962 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13963 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13964 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13965
13966 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13967 compat_symbol macros from <shlib-compat.h> rather than the underlying
13968 default_symbol_version and symbol_version macros, so that DEFAULT
13969 lines in shlib-versions are respected.
13970 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13971
7e66ee51
FW
139722012-08-01 Florian Weimer <fweimer@redhat.com>
13973
13974 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13975 Declare with warn_unused_result.
13976 (setgid, setregid, setegid, setresgid): Likewise.
13977 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13978 Likewise.
13979 * WUR-REPORT: Remove set*id functions.
13980
d2a54255
PT
139812012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13982
13983 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13984
7ecdb005
RM
139852012-07-31 Roland McGrath <roland@hack.frob.com>
13986
b4180a5e 13987 [BZ #10191]
789bd351
RM
13988 * include/sys/socket.h (__libc_accept, __libc_accept4):
13989 Add attribute_hidden.
13990 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13991
40ce302d
RM
13992 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13993 use of PTR_MANGLE.
13994 * inet/getnetgrent_r.c (setup): Likewise.
13995
7ecdb005
RM
13996 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13997
e2eabb2c
DM
139982012-07-31 David S. Miller <davem@davemloft.net>
13999
14000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14001
d0419dbf
JM
140022012-07-31 Joseph Myers <joseph@codesourcery.com>
14003
14004 [BZ #13629]
14005 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14006 value between 1.0 and 2.0 and smaller part has absolute value less
14007 than 1.0.
14008 * math/s_clog10.c (__clog10): Likewise.
14009 * math/s_clog10f.c (__clog10f): Likewise.
14010 * math/s_clog10l.c (__clog10l): Likewise.
14011 * math/s_clogf.c (__clogf): Likewise.
14012 * math/s_clogl.c (__clogl): Likewise.
14013 * math/libm-test.inc (clog_test): Add more tests.
14014 (clog10_test): Likewise.
14015 * sysdeps/i386/fpu/libm-test-ulps: Update.
14016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14017
2bc13872
FW
140182012-07-31 Florian Weimer <fweimer@redhat.com>
14019
14020 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14021 Exit with zero in case no suitable GID is found, and write a
14022 message to standard error.
14023
bea9b193
RM
140242012-07-30 Roland McGrath <roland@hack.frob.com>
14025
14026 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14027 rather than to 1.
14028 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14029 (MAXPATHLEN): Removed.
14030 (NOGROUP, NODEV): New macros.
14031 (setbit, clrbit, isset, isclr): New macros.
14032 (howmany, roundup, powerof2): New macros.
14033 (DEV_BSIZE): New macro.
14034
14035 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14036 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14037
14038 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14039 definition on [!__NO_LONG_DOUBLE_MATH].
14040
14041 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14042 PTR_MANGLE and PTR_DEMANGLE.
14043
14044 * socket/accept4.c (accept4): Rename to __libc_accept4.
14045 Define accept4 as a weak alias.
14046
14047 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14048 on [_DIRENT_HAVE_D_TYPE].
14049 * io/ftw.c (ftw_dir): Likewise.
14050
14051 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14052
14053 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14054
14055 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14056 Use the BSD numbers rather than the arbitrary ones we had.
14057 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14058 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14059 (SIGXCPU, SIGXFSZ): New macros.
14060 (_NSIG): Now 32.
14061
14062 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14063 initializer on [_LIBC_REENTRANT].
14064
14065 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14066 definitions inside [_POSIX_MAPPED_FILES].
14067
14068 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14069
14070 * dirent/opendir.c: Include <fcntl.h>.
14071
14072 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14073 (__libc_getspecific): Likewise.
14074 (__libc_key_create): Likewise.
14075
14076 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14077 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14078 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14079 (tmpfile64): Define as alias.
14080 * sysdeps/wordsize-64/tmpfile.c: File removed.
14081 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14083 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14084
14085 * stdio-common/vfscanf.c: Include <stdbool.h>.
14086 * nss/makedb.c: Likewise.
14087 * stdio-common/_i18n_number.h: Likewise.
14088 * argp/argp-help.c: Likewise.
14089 * posix/wordexp.c: Likewise.
14090 * sysdeps/posix/spawni.c: Likewise.
14091 * nss/nss_files/files-initgroups.c: Likewise.
14092 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14093 * nss/nss_files/files-initgroups.c: Likewise.
14094 * nss/nss_db/db-netgrp.c: Likewise.
14095 * nss/nss_db/db-initgroups.c: Likewise.
14096 * io/fchmodat.c: Include <sys/stat.h>.
14097
14098 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14099 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14100
14101 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14102 [HAVE_MMAP].
14103
14104 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14105 Add multiple inclusion protection.
14106
e5abc686
DM
141072012-07-27 David S. Miller <davem@davemloft.net>
14108
14109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14110
815e6fa3
GB
141112012-07-27 Gary Benson <gbenson@redhat.com>
14112
14113 [BZ #14298]
14114 * elf/rtld.c: Include <stap-probe.h>.
14115 (dl_main): Added static probes "init_start" and "init_complete".
14116 * elf/dl-load.c: Include <stap-probe.h>.
14117 (lose): Take new parameter "nsid".
14118 Added static probe "map_failed".
14119 (_dl_map_object_from_fd): Pass namespace id to lose.
14120 Added static probe "map_start".
14121 (open_verify): Pass namespace id to lose.
14122 * elf/dl-open.c: Include <stap-probe.h>.
14123 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14124 and "reloc_complete".
14125 * elf/dl-close.c: Include <stap-probe.h>.
14126 (_dl_close_worker): Added static probes "unmap_start" and
14127 "unmap_complete".
14128 * elf/rtld-debugger-interface.txt: New file documenting the above.
14129
9f98c16c
RM
141302012-07-26 Roland McGrath <roland@hack.frob.com>
14131
14132 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14133 rather than a string variable.
14134 * sunrpc/rpc_main.c (h_output): Likewise.
14135 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14136
f3c22df3
PT
141372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14138
14139 * inet/check_native.c: New file.
14140
3129cfc6
JM
141412012-07-26 Joseph Myers <joseph@codesourcery.com>
14142
da865e95
JM
14143 [BZ #13629]
14144 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14145 if larger part has absolute value 1.0.
14146 * math/s_clog10.c (__clog10): Likewise.
14147 * math/s_clog10f.c (__clog10f): Likewise.
14148 * math/s_clog10l.c (__clog10l): Likewise.
14149 * math/s_clogf.c (__clogf): Likewise.
14150 * math/s_clogl.c (__clogl): Likewise.
14151 * math/libm-test.inc (clog_test): Add more tests.
14152 (clog10_test): Likewise.
14153 * sysdeps/i386/fpu/libm-test-ulps: Update.
14154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14155
3129cfc6
JM
14156 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14157 (pltexit): Likewise.
14158 (La_regs): Likewise.
14159 (La_retval): Likewise.
14160 (int_retval): Likewise.
14161 Update #error for removed macros to refer only to definitions in
14162 tst-audit.h.
14163 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14164 macro.
14165 (pltexit): Likewise.
14166 (La_regs): Likewise.
14167 (La_retval): Likewise.
14168 (int_retval): Likewise.
14169 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14170 macro.
14171 (pltexit): Likewise.
14172 (La_regs): Likewise.
14173 (La_retval): Likewise.
14174 (int_retval): Likewise.
14175 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14176 macro.
14177 (pltexit): Likewise.
14178 (La_regs): Likewise.
14179 (La_retval): Likewise.
14180 (int_retval): Likewise.
14181 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14182 macro.
14183 (pltexit): Likewise.
14184 (La_regs): Likewise.
14185 (La_retval): Likewise.
14186 (int_retval): Likewise.
14187 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14188 macro.
14189 (pltexit): Likewise.
14190 (La_regs): Likewise.
14191 (La_retval): Likewise.
14192 (int_retval): Likewise.
14193 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14194 macro.
14195 (pltexit): Likewise.
14196 (La_regs): Likewise.
14197 (La_retval): Likewise.
14198 (int_retval): Likewise.
14199 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14200 macro definitions in tst-audit.h.
14201 * sysdeps/i386/tst-audit.h: New file.
14202 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14203 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14204 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14205 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14206 * sysdeps/sh/tst-audit.h: Likewise.
14207 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14208 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14209 * sysdeps/x86_64/tst-audit.h: Likewise.
14210
bfc07087
AJ
142112012-07-26 Andreas Jaeger <aj@suse.de>
14212
b1b2aaf8
AJ
14213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14214 ptrace.
14215
14216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14217 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14218 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14219 PTRACE_O_MASK.
14220 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14221 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14222 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14223
bfc07087
AJ
14224 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14225 value.
14226
14227 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14228 _sigsys.
14229 (si_call_addr, si_syscall, si_arch): Define new macro.
14230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14231 _sigsys.
14232 (si_call_addr, si_syscall, si_arch): Define new marcro.
14233 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14234 _sigsys.
14235 (si_call_addr, si_syscall, si_arch): Define new macro.
14236 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14237 _sigsys.
14238 (si_call_addr, si_syscall, si_arch): Define new macro.
14239
89b4b02f
JM
142402012-07-25 Joseph Myers <joseph@codesourcery.com>
14241
14242 [BZ #13717]
14243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14244 Change to 2.4.21 where previously 2.4.1.
14245 * sysdeps/unix/sysv/linux/configure: Regenerated.
14246 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14247 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14248 Linux kernel version.
14249 (__ASSUME_STD_AUXV): Remove.
14250 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14251 kernel version.
14252 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14253 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14254 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14255 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14256 (__ASSUME_NETLINK_SUPPORT): Likewise.
14257 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14258 (__no_netlink_support): Remove conditional definition.
14259 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14260 Remove.
14261 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14262 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14263 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14264 (if_nameindex_ioctl): Remove.
14265 (if_nameindex_netlink): Do not handle __no_netlink_support.
14266 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14267 code.
14268 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14269 Remove conditional code.
14270 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14271 code.
14272 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14273 unconditional.
14274 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14275 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14276 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14277 Remove.
14278 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14279 [!__ASSUME_STD_AUXV]: Remove conditional code.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14281 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14282 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14285 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14286 code.
14287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14291 conditional code.
14292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14294 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14295 code.
14296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14297 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14298 conditional code.
14299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14300 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14301 code unconditional.
14302 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14303 conditional code.
14304 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14305 unconditional.
14306 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14307 conditional code.
14308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14309 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14310 unconditional.
14311 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14312 conditional code.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14314 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14315 code unconditional.
14316 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14317 conditional code.
14318 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14319 unconditional.
14320 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14321 conditional code.
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14323 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14324 code unconditional.
14325 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14326 conditional code.
14327 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14328 unconditional.
14329 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14330 conditional code.
14331
842a39cd
AS
143322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14333
14334 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14335 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14336 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14337 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14338 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14339 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14341 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14342 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14343 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14344 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14345 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14346 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14347 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14348 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14349 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14350 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14351 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14352 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14354 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14355 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14357
84b3fd84
FW
143582012-07-25 Florian Weimer <fweimer@redhat.com>
14359
14360 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14361 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14362 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14363 Introduce __libc_secure_getenv.
0c7936d5
FW
14364 * stdlib/Versions (2.17): Add secure_getenv
14365 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14366 * stdlib/secure-getenv.c: Rename __secure_getenv to
14367 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14368 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14369 * stdlib/tst-secure-getenv.c: New.
14370 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14371 * manual/startup.texi (Environment Access): Document
14372 secure_getenv.
84b3fd84
FW
14373 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14374 __libc_secure_getenv.
14375 * inet/ruserpass.c (ruserpass): Likewise.
14376 * malloc/mtrace.c (mtrace): Likewise.
14377 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14378 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14379 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14380 * sysdeps/posix/tempname.c: Likewise. Evaluate
14381 HAVE_SECURE_GETENV.
14382 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14383 __secure_getenv to __libc_secure_getenv.
84b3fd84 14384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14386 Likewise.
14387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14388 Likewise.
14389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14396
56e49b71
JM
143972012-07-25 Joseph Myers <joseph@codesourcery.com>
14398
14399 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14400 (struct La_i86_retval): Likewise.
14401 (struct La_x86_64_regs): Likewise.
14402 (struct La_x86_64_retval): Likewise.
14403 (struct La_x32_regs): Likewise.
14404 (struct La_x32_retval): Likewise.
14405 (struct La_ppc32_regs): Likewise.
14406 (struct La_ppc32_retval): Likewise.
14407 (struct La_ppc64_regs): Likewise.
14408 (struct La_ppc64_retval): Likewise.
14409 (struct La_sh_regs): Likewise.
14410 (struct La_sh_retval): Likewise.
14411 (struct La_s390_32_regs): Likewise.
14412 (struct La_s390_32_retval): Likewise.
14413 (struct La_s390_64_regs): Likewise.
14414 (struct La_s390_64_retval): Likewise.
14415 (struct La_sparc32_regs): Likewise.
14416 (struct La_sparc32_retval): Likewise.
14417 (struct La_sparc64_regs): Likewise.
14418 (struct La_sparc64_retval): Likewise.
14419 (struct audit_ifaces): Remove architecture-specific pltenter and
14420 pltexit members.
14421 * sysdeps/i386/ldsodefs.h: New file.
14422 * sysdeps/powerpc/ldsodefs.h: Likewise.
14423 * sysdeps/s390/ldsodefs.h: Likewise.
14424 * sysdeps/sh/ldsodefs.h: Likewise.
14425 * sysdeps/sparc/ldsodefs.h: Likewise.
14426 * sysdeps/x86_64/ldsodefs.h: Likewise.
14427
354691b7
MP
144282012-07-25 Marek Polacek <polacek@redhat.com>
14429
14430 [BZ #6808]
14431 * math/libm-test.inc (yn_test): Add another test.
14432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14433 to ERANGE when the result is +-Inf.
14434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14435 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14436 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14437 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14438
bf9e2071
JM
144392012-07-24 Joseph Myers <joseph@codesourcery.com>
14440
14441 * conform/data/time.h-data (NULL): Use macro-constant. Require
14442 equal to 0.
14443 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14444 clock_t.
14445 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14446
57633811
TS
144472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14448
14449 * configure.in <sysdeps resolving>: Correct printing
14450 Implies_before.
14451 * configure: Regenerate.
14452
c23c33b0
TS
144532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14454
14455 * math/w_ilogb.c: Include <limits.h>.
14456 * math/w_ilogbl.c: Likewise.
14457
b5982523
JM
144582012-07-20 Joseph Myers <joseph@codesourcery.com>
14459
14460 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14461 va_copy. Document allowing for unavailable va_copy only as
14462 pre-C99 compatibility.
14463 * manual/string.texi (Copying and Concatenation): Use va_copy
14464 instead of __va_copy in concat example.
14465
ac4ea442
PT
144662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14467
14468 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14469 (__sendto): Use create_address_port. Initialize APORT and deallocate
14470 it if not null.
14471
f98eafbd
PT
14472 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14473 with O_NOLINK passed to __file_name_lookup.
14474
898c7aab
PT
14475 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14476 with O_NOLINK passed to __file_name_lookup.
14477
0ced335a
PT
14478 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14479 negative N or less than NGIDS.
14480
b3404dbd
PT
14481 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14482 type to string_t. Set ERANGE as errno and return it if NAME is not big
14483 enough. Use memcpy instead of strncpy.
14484
0f48659e
JM
144852012-07-20 Joseph Myers <joseph@codesourcery.com>
14486
14487 * elf/Makefile (check-data): Remove.
14488 (localplt.data): New vpath directive.
14489 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14490 instead of $(check-data).
14491 * scripts/data/localplt-generic.data: Move to ...
14492 * sysdeps/generic/localplt.data: ... here.
14493 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14494 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14495 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14497 ... here.
14498 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14500 ... here.
14501 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14503 ... here.
14504 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14506 ... here.
14507 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14509 ... here.
14510 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14511 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14512 ... here.
14513
d37cbdaa
AZ
145142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14515
14516 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14517 PPC32 and PPC64 files.
14518 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14519 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14520
46f85fc2
AK
145212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14522
14523 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14524 __makecontext_ret to ...
14525 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14526 ... here and call exit if uc_link is NULL. New file.
14527 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14528 __makecontext_ret.S.
14529 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14530 __makecontext_ret to ...
14531 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14532 ... here and call exit if uc_link is NULL. New file.
14533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14534 __makecontext_ret.S.
14535
08f43f9b
AK
145362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14537
14538 * elf/elf.h (R_390_IRELATIVE): New definition.
14539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14540 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14541 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14542 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14543 (elf_machine_lazy_rel): Likewise.
14544 * sysdeps/s390/dl-irel.h: New file.
14545 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14546 * sysdeps/s390/s390-64/memset.S: New asm code.
14547 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14548 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14549 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14550 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14551 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14552 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14554 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14555 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14556 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14557 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14558 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14559 * sysdeps/s390/s390-32/memset.S: New asm code.
14560 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14561
3b05db33
MP
145622012-07-17 Marek Polacek <polacek@redhat.com>
14563
14564 [BZ #14349]
14565 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14566 * sysdeps/s390/s390-64/configure.in: Likewise.
14567 * sysdeps/sparc/configure.in: Likewise.
14568 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14569 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14570 * sysdeps/i386/configure.in: Likewise.
14571 * sysdeps/x86_64/configure.in: Likewise.
14572 * sysdeps/sh/configure.in: Likewise.
14573 * sysdeps/s390/s390-32/configure: Regenerated.
14574 * sysdeps/s390/s390-64/configure: Likewise.
14575 * sysdeps/x86_64/configure: Likewise.
14576 * sysdeps/sh/configure: Likewise.
14577 * sysdeps/powerpc/powerpc64/configure: Likewise.
14578 * sysdeps/powerpc/powerpc32/configure: Likewise.
14579 * sysdeps/sparc/configure: Likwise.
14580 * sysdeps/i386/configure: Likewise.
14581
a66877c6
MP
14582 * elf/dl-open.c: Comment fixes.
14583
cfc82fd8
JM
145842012-07-17 Joseph Myers <joseph@codesourcery.com>
14585
bd29910a
JM
14586 * Makefile [CXX] (check-data): Remove.
14587 [CXX] (c++-types.data): New vpath directive.
14588 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14589 vpath. Do not allow for C++ type data being missing.
14590 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14591 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14592 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14593 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14594 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14595 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14596 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14598 ... here.
14599 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14601 ... here.
14602 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14604 ... here.
14605 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14607 ... here.
14608 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14610 ... here.
14611 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14613 ... here.
14614 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14616 ... here.
14617 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14619
cfc82fd8
JM
14620 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14621 definitions to architecture-specific files.
14622 (TLS_IE): Likewise.
14623 (TLS_LD): Likewise.
14624 (TLS_GD): Likewise.
14625 * sysdeps/i386/tls-macros.h: New file.
14626 * sysdeps/powerpc/tls-macros.h: Likewise.
14627 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14628 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14629 * sysdeps/sh/tls-macros.h: Likewise.
14630 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14631 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14632 * sysdeps/x86_64/tls-macros.h: Likewise.
14633
f7db3170
TS
146342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14635
07cbfc23
TS
14636 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14637 zero value for regular exit case.
14638
f7db3170
TS
14639 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14640 (__start_context): Preserve zero value for regular exit case.
14641
dc97c227
TS
146422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14643 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14644
14645 * manual/setjmp.texi (setcontext): Clarify normal process
14646 termination when uc_link is the null pointer.
14647 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14648 exit call.
14649
d0cd7d02
AS
146502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14651
14652 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14653 preprocessor. Test for each exception mask separately.
14654
dd318934
AJ
146552012-07-16 Andreas Jaeger <aj@suse.de>
14656
14657 * po/ru.po: Update from translation team.
14658
8048311a
JM
146592012-07-15 Joseph Myers <joseph@codesourcery.com>
14660
14661 * conform/data/string.h-data (NULL): Use macro-constant. Require
14662 equal to 0.
14663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14664 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14665 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14666 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14668
b637d46e
AJ
146692012-07-13 Andreas Jaeger <aj@suse.de>
14670
14671 * po/fr.po: Update from translation team.
14672
541428fe
MP
146732012-07-12 Marek Polacek <polacek@redhat.com>
14674
14675 [BZ #14173]
14676 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14677 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14678 loop condition.
14679
ec332e94
JM
146802012-07-12 Joseph Myers <joseph@codesourcery.com>
14681
14682 [BZ #13717]
14683 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14684 Change to 2.4.1 where previously 2.4.0.
14685 * sysdeps/unix/sysv/linux/configure: Regenerated.
14686 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14687 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14688 version.
14689 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14690 (__ASSUME_AT_CLKTCK): Remove.
14691 (__ASSUME_AT_PAGESIZE): Likewise.
14692 (__ASSUME_AT_XID): Likewise.
14693 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14694 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14695 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14696 unconditionally.
14697 (HAVE_AUX_PAGESIZE): Likewise.
14698 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14699 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14700 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14701
7b6e99be
JB
147022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14703
14704 [BZ #14307]
14705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14706 the temporary buffer used to invoke __gethostbyname2_r,
14707 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14708 host_data / struct gaih_addrtuple.
14709 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14710 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14711 header file nss/nsswitch.h.
14712 * nss/nsswitch.h (global scope): Add definition of implementation
14713 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14714 resolv/nss_dns/dns-host.c).
14715
608404eb
AJ
147162012-07-11 Andreas Jaeger <aj@suse.de>
14717
14718 * po/fr.po: Update from translation team.
14719
71220aca
AJ
14720 * po/sv.po: Update from translation team
14721 * po/fr.po: Another update from translation team.
14722
28cfe843
AZ
147232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14724
14725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14726 for subnormals or multiply small sinh result by itself.
14727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14729
6b90f981
DM
147302012-07-11 David S. Miller <davem@davemloft.net>
14731
14732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14733
c6825772
AS
147342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14735
14736 [BZ #14347]
14737 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14738 (INTERNAL_MARK): Shift it here.
14739
7b8e0d49
MP
147402012-07-10 Marek Polacek <polacek@redhat.com>
14741
14742 [BZ #14151]
14743 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14744 libc_cv_asm_global_directive with .globl.
14745 * configure: Regenerated.
14746 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14747 with .globl.
14748 * sysdeps/i386/configure: Regenerated.
14749 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14750 with .globl.
14751 * sysdeps/x86_64/configure: Regenerated.
14752 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14753 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14754 * elf/tst-unique2mod2.c: Likewise.
14755 * elf/tst-unique2mod1.c: Likewise.
14756 * elf/tst-unique1mod2.c: Likewise.
14757 * elf/tst-unique1mod1.c: Likewise.
14758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14759 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14760 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14762 * sysdeps/mach/sysdep.h: Likewise.
14763 * sysdeps/i386/sysdep.h: Likewise.
14764 * sysdeps/i386/i386-mcount.S: Likewise.
14765 * sysdeps/x86_64/_mcount.S: Likewise.
14766 * sysdeps/x86_64/sysdep.h: Likewise.
14767 * sysdeps/sh/_mcount.S: Likewise.
14768 * sysdeps/sh/sysdep.h: Likewise.
14769 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14770 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14771 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14772 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14773 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14774 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14776 * locale/localeinfo.h: Likewise.
14777 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14778 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14779
6c55cda3
RM
147802012-07-09 Roland McGrath <roland@hack.frob.com>
14781
14782 [BZ #14336]
14783 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14784 system".
14785 * manual/message.texi (The Uniforum approach): Likewise.
14786 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14787 (glibc iconv Implementation): Likewise.
14788
638a572e
JM
147892012-07-09 Joseph Myers <joseph@codesourcery.com>
14790
14791 [BZ #14337]
14792 * math/s_clog.c (__clog): Avoid scaling a value down where that
14793 could result in underflow.
14794 * math/s_clog10.c (__clog10): Likewise.
14795 * math/s_clog10f.c (__clog10f): Likewise.
14796 * math/s_clog10l.c (__clog10l): Likewise.
14797 * math/s_clogf.c (__clogf): Likewise.
14798 * math/s_clogl.c (__clogl): Likewise.
14799 * math/libm-test.inc (clog_test): Add more tests.
14800 (clog10_test): Likewise.
14801 * sysdeps/i386/fpu/libm-test-ulps: Update.
14802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14803
261f4859
AS
148042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14805
0abaf3e4
AS
14806 [BZ #14283]
14807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14808 by 7 not 8 to examine high bit of fractional part.
14809
261f4859
AS
14810 [BZ #14042]
14811 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14812 for call to __mcount_internal.
14813 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14814 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14815 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14816
f17ac40d
JM
148172012-07-06 Joseph Myers <joseph@codesourcery.com>
14818
9ad63c23
JM
14819 [BZ #14154]
14820 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14821 approximation for values within 0x1p-13f of an odd multiple of
14822 pi/4.
14823 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14824 exception. Add more tests.
14825 * sysdeps/i386/fpu/libm-test-ulps: Update.
14826
f17ac40d
JM
14827 [BZ #6778]
14828 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14829 inputs and return -1 for them. Do not check for +Inf in case not
14830 reachable for +Inf.
14831 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14832 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14834 and return -1 for them. Do not check for +Inf in case not
14835 reachable for +Inf.
14836 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14837 define.
14838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14839 and return -1 for them. Do not check for +Inf in case not
14840 reachable for +Inf.
14841 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14842 spurious underflow.
14843 * sysdeps/i386/fpu/libm-test-ulps: Update.
14844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14845
fb21f89b
MF
148462012-07-06 Mike Frysinger <vapier@gentoo.org>
14847
14848 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14849
cdfe2c5e
JM
148502012-07-05 Joseph Myers <joseph@codesourcery.com>
14851
14852 [BZ #14157]
14853 [BZ #14331]
14854 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14855 could result in spurious underflow. Scale down values above
14856 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14857 * math/s_csqrtf.c (__csqrtf): Likewise.
14858 * math/s_csqrtl.c (__csqrtl): Likewise.
14859 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14860 spurious underflow.
14861 * sysdeps/i386/fpu/libm-test-ulps: Update.
14862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14863
70d35b67
AS
148642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14865
704bc459
AS
14866 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14867 xopen-msg.sed.
14868 * catgets/xopen-msg.awk: New file.
14869 * catgets/xopen-msg.sed: Removed.
14870
70d35b67
AS
14871 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14872 po2text.sed.
14873 * intl/po2test.awk: New file.
14874 * intl/po2test.sed: Removed.
14875
ca61cf32
JM
148762012-07-04 Joseph Myers <joseph@codesourcery.com>
14877
14878 [BZ #14328]
14879 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14880 or multiply small sinh result by itself.
14881 * math/s_ctanf.c (__ctanf): Likewise.
14882 * math/s_ctanh.c (__ctanh): Likewise.
14883 * math/s_ctanhf.c (__ctanhf): Likewise.
14884 * math/s_ctanhl.c (__ctanhl): Likewise.
14885 * math/s_ctanl.c (__ctanl): Likewise.
14886 * math/libm-test.inc (ctan_test_tonearest): New function.
14887 (ctan_test_towardzero): Likewise.
14888 (ctan_test_downward): Likewise.
14889 (ctan_test_upward): Likewise.
14890 (ctanh_test_tonearest): Likewise.
14891 (ctanh_test_towardzero): Likewise.
14892 (ctanh_test_downward): Likewise.
14893 (ctanh_test_upward): Likewise.
14894 (main): Call these new functions.
14895 * sysdeps/i386/fpu/libm-test-ulps: Update.
14896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14897
ca48a46a
MF
148982012-07-03 Mike Frysinger <vapier@gentoo.org>
14899
14900 * .gitignore: Delete /ports entry.
14901
9d63d37d
AJ
149022012-07-03 Andreas Jaeger <aj@suse.de>
14903
14904 * po/bg.po: Update from translation team.
14905 * po/cs.po: Likewise.
14906 * po/de.po: Likewise.
14907 * po/hr.po: Likewise.
14908 * po/nl.pl: Likewise.
14909 * po/pl.po: Likewise.
14910 * po/vi.po: Likewise.
14911
370ca3d2
JM
149122012-07-03 Joseph Myers <joseph@codesourcery.com>
14913
95f5a9a8
JM
14914 * Makeconfig [!+link] (+link-before-libc): New variable.
14915 [!+link] (+link-after-libc): Likewise.
14916 [!+link] (+link-tests): Likewise.
14917 [!+link] (+link): Define in terms of $(+link-before-libc) and
14918 $(+link-after-libc).
14919 [!+link-static] (+link-static-before-libc): New variable.
14920 [!+link-static] (+link-static-after-libc): Likewise.
14921 [!+link-static] (+link-static-tests): Likewise.
14922 [!+link-static] (+link-static): Define in terms of
14923 $(+link-static-before-libc) and $(+link-static-after-libc).
14924 [build-shared] (link-libc-before-gnulib): New variable.
14925 [build-shared] (link-libc-tests): Likewise.
14926 [build-shared] (link-libc): Define in terms of
14927 $(link-libc-before-gnulib).
14928 [!build-shared] (link-libc-tests): New variable.
14929 (link-libc-static-tests): New variable.
14930 [!gnulib] (gnulib-arch): New variable.
14931 [!gnulib] (gnulib-tests): Likewise.
14932 [!gnulib] (static-gnulib-arch): Likewise.
14933 [!gnulib] (static-gnulib-tests): Likewise.
14934 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14935 Define with "=" instead of ":=".
14936 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14937 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14938 * Rules (binaries-all-notests): New variable.
14939 (binaries-all-tests): Likewise.
14940 (binaries-static-notests): Likewise.
14941 (binaries-static-tests): Likewise.
14942 (binaries-all): Define using $(binaries-all-notests) and
14943 $(binaries-all-tests).
14944 (binaries-static): Define using $(binaries-static-notests) and
14945 $(binaries-static-tests).
14946 (binaries-shared-tests): New variable.
14947 (binaries-shared-notests): Likewise.
14948 (binaries-shared): Remove variable.
14949 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14950 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14951 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14952 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14953 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14954 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14955 * elf/Makefile (sln-modules): New variable.
14956 (extra-objs): Add $(sln-modules:=.o).
14957 (ldconfig-modules): Add static-stubs.
14958 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14959 * elf/static-stubs.c: New file.
14960
7a845b2c
JM
14961 [BZ #14283]
14962 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14963 by 7 not 8 to examine high bit of fractional part. Use volatile
14964 variables when splitting into final array of floats if
14965 __FLT_EVAL_METHOD__ != 0.
14966 * math/libm-test.inc (cos_test): Add another test.
14967 (sin_test): Likewise.
14968 * sysdeps/i386/fpu/libm-test-ulps: Update.
14969
e2283f38
JM
14970 [BZ #14273]
14971 * math/libm-test.inc (cosh_test): Add more tests.
14972
370ca3d2
JM
14973 * version.h (RELEASE): Set to "development".
14974 (VERSION): Set to "2.16.90".
14975
ee9247c3
CD
149762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14977
14978 * NEWS: Update copyright. Remove last-updated date.
14979 Mention math library bug fixes and timezone data changes.
14980 * README: Mention GNU/Hurd, x32, and HPPA support status.
14981
4648c381
TS
149822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14983
14984 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14985
aac78a43
AJ
149862012-06-27 Andreas Jaeger <aj@suse.de>
14987
14988 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14989
ed3dbfad
AJ
149902012-06-25 Andreas Jaeger <aj@suse.de>
14991
14992 * sysdeps/s390/fpu/libm-test-ulps: Update.
14993
4d0ee855
AS
149942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14995 Thomas Schwinge <thomas@codesourcery.com>
14996
14997 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14998 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15000 fanotify_mark.
15001
af1bce34
TS
150022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15003
a9fa33ba
TS
15004 * sysdeps/mach/start.c: Remove file.
15005 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15006 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15007 * sysdeps/sh/init-first.c: Likewise.
15008
58f902b8
TS
15009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15010 registers for frame unwinding purposes, add CFI directives.
15011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15013 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15014 Likewise.
15015
1518f58b
TS
15016 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15017 __fortify_fail returning.
15018 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15019
db9b5059
TS
15020 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15021 sysdeps/sh/____longjmp_chk.S.
15022 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15023 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15024 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15025 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15026
967705fe
TS
15027 * sysdeps/sh/abort-instr.h: New file.
15028 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15029 process in case exit returns.
15030
a9def8c4
TS
15031 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15032 initialize the GOT register before use.
15033
2a649725
TS
15034 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15035 calculation of ARGC > 4.
15036
af1bce34
TS
15037 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15038 meaningful names to some local labels.
15039
d230f50a
KK
150402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15041 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15042
15043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15044 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15045 (__arch_compare_and_exchange_val_16_acq): Likewise.
15046 (__arch_compare_and_exchange_val_32_acq): Likewise.
15047 (atomic_exchange_and_add): Fix gUSA sequence.
15048 (atomic_add): Likewise.
15049 (atomic_add_negative): Likewise.
15050 (atomic_add_zero): Likewise.
15051 (atomic_bit_test_set): Likewise.
15052
0479b305
AS
150532012-06-22 Andreas Schwab <schwab@redhat.com>
15054
15055 [BZ #13579]
15056 * include/link.h (struct link_map): Add l_free_initfini.
15057 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15058 l_initfini.
15059 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15060 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15061 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15062 set.
15063
0e3933b9
CD
150642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15065
15066 * configure.in: Use AC_LANG_SOURCE.
15067 * configure: Regenerate.
15068
4248b1b1
RM
150692012-06-22 Roland McGrath <roland@hack.frob.com>
15070
15071 * configure.in (libc_cv_localstatedir): New substituted variable.
15072 * configure: Regenerated.
15073 * config.make.in (localstatedir): New variable, substituted from
15074 libc_cv_localstatedir.
15075 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15076 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15077 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15078 * sysdeps/gnu/configure: Regenerated.
15079
006dd861
JL
150802012-06-21 Jeff Law <law@redhat.com>
15081
15082 [BZ #14277]
15083 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15084 free. Simplify list management for _LIBC case.
15085
79662d42
JM
150862012-06-21 Joseph Myers <joseph@codesourcery.com>
15087
b7abb4bf
JM
15088 [BZ #14273]
15089 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15090 Clear sign bit of 64-bit integer value before comparing against
15091 overflow value.
15092
79662d42
JM
15093 * sysdeps/mach/configure: Regenerated.
15094
1f150908
L
150952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15096
15097 [BZ #14278]
15098 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15099
28363bbf
JL
151002012-06-21 Jeff Law <law@redhat.com>
15101
15102 [BZ #13882]
15103 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15104 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15106 * elf/dl-open.c (dl_open_worker): Likewise.
15107
09615db4
CD
151082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15109
15110 * scripts/list-sources.sh: Scan PORTS for translations.
15111 * po/libc.pot: Regenerated.
15112
2174c6dd
AJ
151132012-06-21 Andreas Jaeger <aj@suse.de>
15114
15115 [BZ #12194]
15116 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15117 warning.
15118 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15119 * bits/byteswap-16.h (__bswap_16): Likewise.
15120 * bits/byteswap.h (__bswap_constant_16): Likewise.
15121
3ee947b1
L
151222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15123
15124 [BZ #14117]
a2f34833
L
15125 * sysdeps/i386/fpu_control.h: Removed.
15126 * sysdeps/x86_64/fpu_control.h: Moved to ...
15127 * sysdeps/x86/fpu_control.h: Here.
15128
3ee947b1
L
15129 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15130 (_FPU_SETCW): Likewise.
15131
ed1825f8
L
151322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15133
25f1282a
L
15134 [BZ #14117]
15135 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15136 * sysdeps/x86/fpu/bits/mathinline.h: This.
15137 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15138
ed1825f8
L
15139 [BZ #14050]
15140 [BZ #14117]
15141 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15142 functions if __x86_64__ is defined.
15143
36d54b74
CLT
151442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15145
15146 * string/endian.h: Add !__ASSEMBLER__ condition for including
15147 conversion interfaces.
15148
10285c21
JM
151492012-06-15 Joseph Myers <joseph@codesourcery.com>
15150
15151 [BZ #14241]
15152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15153 of ABS(x) in calculating zero to negative powers other than odd
15154 integers.
15155 * math/libm-test.inc (pow_test): Add more tests.
15156
06c5abbd
AJ
151572012-06-15 Andreas Jaeger <aj@suse.de>
15158
15159 * manual/contrib.texi (Contributors): Update entry of Liubov
15160 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15161 Machado Filho.
15162
a3aeac40
CH
151632012-06-15 Cyril Hrubis <metan@ucw.cz>
15164
15165 * string/string.h: Add __wur to GNU version of strerror_r.
15166
49bdf4c1
L
151672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15168
15169 [BZ #14229]
15170 * string/Makefile (tests): Add tst-strtok_r.
15171 * string/tst-strtok_r.c: New file.
15172 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15173 RAX_LP/RDX_LP on SAVE_PTR.
15174
834f9b8d
RM
151752012-06-14 Roland McGrath <roland@hack.frob.com>
15176
15177 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15178
75fa1921
JM
151792012-06-14 Joseph Myers <joseph@codesourcery.com>
15180
15181 * libm_test.inc (csqrt_test): Allow more spurious underflow
15182 exceptions.
15183 (j0_test): Likewise.
15184 (j1_test): Likewise.
15185 (y0_test): Likewise.
15186 (y1_test): Likewise.
15187
771766df
CD
151882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15189
15190 * po/Makefile (libc.pot): Use UTF-8 charset.
15191
ceb9e56b
PP
151922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15193
15194 [BZ #14210]
15195 Suppress sign-conversion warning from FD_SET.
15196 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15197 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15198 not unsigned long int.
15199 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15200
ddb28975
L
152012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15202
15203 [BZ #14050]
15204 [BZ #14117]
15205 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15206 __extern_always_inline instead of __extern_inline.
15207 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15208 (__signbit): Likewise.
15209 (__signbitl): Support C++ namespace.
15210 (lrintf): New inline function.
15211 (lrint): Likewise.
15212 (llrintf): Likewise.
15213 (llrint): Likewise.
15214 (fmaxf): Likewise.
15215 (fmax): Likewise.
15216 (fminf): Likewise.
15217 (fmin): Likewise.
15218 (rint): Likewise.
15219 (rintf): Likewise.
15220 (ceil): Likewise.
15221 (ceilf): Likewise.
15222 (floor): Likewise.
15223 (floorf): Likewise.
15224 (nearbyint): Likewise.
15225 (nearbyintf): Likewise.
15226
d7b4fb26
TS
152272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15228
15229 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15230 non-default versions.
15231
eb55f5c2
RM
152322012-06-11 Roland McGrath <roland@hack.frob.com>
15233
15234 [BZ #14218]
15235 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15236
366af02c
TS
152372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15238
99ff6e5c
TS
15239 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15240 (FE_UPWARD, FE_DOWNWARD): Don't define.
15241 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15243
366af02c
TS
15244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15245 reading it.
15246 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15247 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15248
793ea851
KK
152492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15250
15251 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15254 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15255
a728a38f
L
152562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15257
15258 [BZ #14117]
c08010c7
L
15259 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15260 * sysdeps/i386/fpu/Implies: New file.
15261 * sysdeps/x86_64/fpu/Implies: Likewise.
15262 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15263 * sysdeps/x86/fpu/bits/fenv.h: This.
15264
a728a38f
L
15265 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15266 __SSE_MATH__.
15267
6e230d11
SP
152682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15269
15270 [BZ #14134]
15271 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15272 character 0xffff that matches the last element of the
15273 conversion table.
15274
1b671feb
AZ
152752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15276
15277 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15278 fmodl commit.
15279
6043738b
AZ
152802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15281
15282 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15283 values higher than 25.6283.
15284
34ae0b32
AZ
152852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15286
15287 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15288 subnormal exponent extraction and add some __builtin_expect.
15289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15290 Fix for subnormal mantissa calculation.
15291
1214ec8f
MF
152922012-06-04 Mike Frysinger <vapier@gentoo.org>
15293
15294 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15295 cpu2 is -1 and errno is not ENOSYS.
15296
f3d1f93c
L
152972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 [BZ #14117]
0e4a3cd7
L
15300 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15301 * sysdeps/x86/bits/string.h: This.
15302 * sysdeps/x86_64/bits/string.h: Removed.
15303
6704c645
L
15304 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15305 if not compiling for x86-64, but compiling for >= i486.
15306
48495318
L
15307 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15308 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15309
14adcbfc
L
15310 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15311 New macro from Linux kernel 3.4.0.
15312 (FP_XSTATE_MAGIC2): Likewise.
15313 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15314 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15315 (struct _fpx_sw_bytes): New struct.
15316 (struct _xsave_hdr): Likewise.
15317 (struct _ymmh_state): Likewise.
15318 (struct _xstate): Likewise.
15319
68e408ab
L
15320 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15321 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15322 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15323 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15324 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15325 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15326
f3d1f93c
L
15327 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15329 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15330 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15331 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15332 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15333
d9dc34cd
TMQMF
153342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15335
15336 [BZ #13743]
15337 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15338 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15339 (sysdep_headers): Include sys/platform/ppc.h.
15340 * sysdeps/powerpc/test-gettimebase.c: Test for
15341 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15342 * manual/Makefile (appendices): Include platform.texi.
15343 * manual/contrib.texi (Contributors): Update @node pointers.
15344 * manual/maint.texi (Maintenance): Likewise.
15345 (Platform): New node.
15346 * manual/platform.texi: New file. Document the new features.
15347
4af3879c
SP
153482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15349 Jakub Jelinek <jakub@redhat.com>
15350
15351 [BZ #14188]
15352 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15353 where __builtin_expect is unavailable.
15354
2fd6ff13
DM
153552012-06-03 David S. Miller <davem@davemloft.net>
15356
15357 * stdlib/longlong.h: Updated from GCC.
15358
173f7220
AS
153592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15360
15361 [BZ #14042]
15362 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15363 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15364 __mcount_internal.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15366 (GLIBC_2.16): Likewise.
15367
f34a1c6f
L
153682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15371
88a4576f
JM
153722012-06-01 Joseph Myers <joseph@codesourcery.com>
15373
ea32bcdd
JM
15374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15375 (default-abi): New variable.
15376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15378 variable.
15379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15380 Likewise.
15381 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15382 Likewise.
15383 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15384 Likewise.
15385
88a4576f
JM
15386 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15387 definition. Document in comment.
15388
402fe938
DM
153892012-06-01 David S. Miller <davem@davemloft.net>
15390
15391 * stdlib/longlong.h: Updated from GCC.
15392
3553723f
L
153932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15394
15395 [BZ #14117]
3bd872c4
L
15396 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15397 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15398 sys/debugreg.h sys/io.h here.
15399 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15400 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15401 sys/io.h.
15402 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15403 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15404 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15405 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15406 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15407 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15408
3553723f
L
15409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15410 Define only if __x86_64__ is defined.
15411
4842e4fe
JM
154122012-06-01 Joseph Myers <joseph@codesourcery.com>
15413
c5bfe3d5
JM
15414 [BZ #14048]
15415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15416 Use int64_t for variable i.
15417 * math/libm-test.inc (fmod_test): Add more tests.
15418
4842e4fe
JM
15419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15420 z computation is not scheduled after fetestexcept.
15421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15422 Use math_force_eval instead of asm to ensure calculation scheduled
15423 before exception test.
15424 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15425 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15426
efb73488
AJ
154272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15428
15429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15430 computation is not scheduled after fetestexcept.
15431
29bcce7c
L
154322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15433
15434 [BZ #14117]
15435 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15436 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15437
73a68f94
AZ
154382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15439
15440 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15441 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15442
67b6df78
L
154432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15444
edf2933a 15445 [BZ #14117]
ebc64a18
L
15446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15447 <bits/wordsize.h>.
15448 (__WCHAR_MIN): Support __WORDSIZE == 64.
15449 (__WCHAR_MAX): Likewise.
15450
edf2933a
L
15451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15452 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15453
57c6cf40
L
15454 [BZ #14183]
15455 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15456 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15457
67b6df78 15458 [BZ #14117]
8eb6281e
L
15459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15460 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15461
aac639f4
L
15462 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15463 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15464
67b6df78
L
15465 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15466 Defined to 1 if __x86_64__ isn't defined.
15467 (_STAT_VER_LINUX_OLD): New.
15468 (st_atime): Remove duplicate.
15469 (st_mtime): Likewise.
15470 (st_ctime): Likewise.
15471
1c2cfe81
DM
154722012-05-31 David S. Miller <davem@davemloft.net>
15473
15474 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15475 entries.
15476
5be8418c
AS
154772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15478
e7725326
AS
15479 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15480 gen-libm-test.pl.
15481
5be8418c
AS
15482 [BZ #14132]
15483 * elf/dl-reloc.c: Include <_itoa.h>.
15484 (_dl_reloc_bad_type): Remove use of INTUSE.
15485 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15486 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15487 * stdio-common/psiginfo.c (psiginfo): Likewise.
15488 * stdio-common/psignal.c (psignal): Likewise.
15489 * string/strsignal.c (strsignal): Likewise.
15490 * include/signal.h (_sys_siglist): Declare hidden proto.
15491 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15492 INTVARDEF with libc_hidden_data_def.
15493 * stdio-common/itoa-udigits.c: Likewise.
15494 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15495 (_itoa_lower_digits_internal): Remove declaration.
15496 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15497 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15498 (_sys_sigabbrev_internal): Remove aliases.
15499 (_sys_siglist): Define hidden alias.
15500
507352f1
MT
155012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15502
15503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15504 bits/sysctl.h.
15505
42bbb1c3
L
155062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15507
15508 [BZ #14117]
6bd784b6
L
15509 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15510 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15511
8bca20f0
L
15512 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15514 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15515 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15517 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15518
f9e890a9
L
15519 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15520 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15521 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15522
471101a1
L
15523 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15524 with __addr.
15525 (insw): Likewise.
15526 (insl): Likewise.
15527 (outsb): Likewise.
15528 (outsw): Likewise.
15529 (outsl): Likewise.
15530
6451c862
L
15531 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15532 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15533 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15534
a254b8c9
L
15535 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15536 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15538 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15539 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15540 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15541
b8dfdd92
L
15542 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15543 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15544
578cd270
L
15545 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15546 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15547
de662f5f
L
15548 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15550 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15551
25653439
L
15552 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15553 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15554 to ...
15555 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15556
6bad24a0
L
15557 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15559 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15560
42bbb1c3
L
15561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15562 for x86-64.
15563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15564
2d10d547
JM
155652012-05-31 Joseph Myers <joseph@codesourcery.com>
15566
15567 * math/math.h (M_El): Use two more decimal places.
15568 (M_LOG2El): Likewise.
15569 (M_LOG10El): Likewise.
15570 (M_LN2l): Likewise.
15571 (M_LN10l): Likewise.
15572 (M_PIl): Likewise.
15573 (M_PI_2l): Likewise.
15574 (M_PI_4l): Likewise.
15575 (M_1_PIl): Likewise.
15576 (M_2_PIl): Likewise.
15577 (M_2_SQRTPIl): Likewise.
15578 (M_SQRT2l): Likewise.
15579 (M_SQRT1_2l): Likewise.
15580
f230c29b
DM
155812012-05-31 David S. Miller <davem@davemloft.net>
15582
15583 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15584 values between float registers.
15585 * sysdeps/sparc/sparc64/memset.S: Likewise.
15586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15587
fed806c3
MF
155882012-05-31 Mike Frysinger <vapier@gentoo.org>
15589
15590 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15591 -D_FORTIFY_SOURCE=1.
15592 (CPPFLAGS-tst-longjmp_chk.c): Define.
15593 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15594 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15595 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15596 CFLAGS-tst-wchar-h.c.
15597
30917259
MP
155982012-05-31 Marek Polacek <polacek@redhat.com>
15599
15600 [BZ #14132]
15601 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15602 __endmntent_internal): Remove declaration.
15603 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15604 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15605 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15606
1c58d5dc
DM
156072012-05-30 David S. Miller <davem@davemloft.net>
15608
15609 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15610 (___Q_simulate_exceptions): Use real FP ops rather than writing
15611 into the %fsr.
15612 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15613 Likewise.
15614
7dc00e0d
L
156152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15616
15617 [BZ #14117]
0bd53985
L
15618 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15619 * sysdeps/x86/bits/xtitypes.h: This.
15620
3a257e66
L
15621 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15622 * sysdeps/x86/bits/wordsize.h: This.
15623
62f62904
L
15624 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15625 * sysdeps/x86/bits/huge_vall.h: This.
15626
404fe9d9
L
15627 * sysdeps/i386/bits/select.h: Removed.
15628 * sysdeps/x86_64/bits/select.h: Renamed to ...
15629 * sysdeps/x86/bits/select.h: This.
15630
d48d0446
L
15631 * sysdeps/i386/bits/setjmp.h: Removed.
15632 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15633 * sysdeps/x86/bits/setjmp.h: This.
15634
7dc00e0d
L
15635 * sysdeps/i386/bits/mathdef.h: Removed.
15636 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15637 * sysdeps/x86/bits/mathdef.h: This.
15638
03277f8f
AS
156392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15640
15641 [BZ #14132]
15642 * include/sys/socket.h (__connect_internal)
15643 (__libc_sa_len_internal): Remove declaration.
15644 (__connect, __libc_sa_len): Declare hidden_proto.
15645 (SA_LEN): Remove use of INTUSE.
15646 * socket/connect.c: Add libc_hidden_def.
15647 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15648 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15649 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15650 alias.
15651 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15653 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15654 of adding _internal alias.
15655
13764867
L
156562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15657
15658 [BZ #14117]
6bd97696
L
15659 * sysdeps/i386/bits/link.h: Removed.
15660 * sysdeps/i386/bits/linkmap.h: Likewise.
15661 * sysdeps/x86_64/bits/link.h: Renamed to ...
15662 * sysdeps/x86/bits/link.h: This.
15663 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15664 * sysdeps/x86/bits/linkmap.h: This.
15665
f726f0bb
L
15666 * sysdeps/i386/bits/endian.h: Removed.
15667 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15668 * sysdeps/x86/bits/endian.h: This.
15669
13764867
L
15670 * sysdeps/i386/bits/byteswap.h: Removed.
15671 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15672 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15673 * sysdeps/x86/bits/byteswap.h: This.
15674 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15675 * sysdeps/x86/bits/byteswap-16.h: This.
15676 * sysdeps/i386/Implies: Add x86.
15677 * sysdeps/x86_64/Implies: Likewise.
15678
ae251b0b
DM
156792012-05-30 David S. Miller <davem@davemloft.net>
15680
15681 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15682 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15683 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15684 (FP_TRAPPING_EXCEPTIONS): Define.
15685 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15686 (FP_TRAPPING_EXCEPTIONS): Define.
15687 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15688 subnormals only when inexact has been signalled or underflow
15689 exceptions are enabled.
15690 (_FP_PACK_CANONICAL): Likewise.
15691
d5c90867
L
156922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15693
15694 [BZ #14183]
15695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15696 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15697
63f1549e
RH
156982012-05-30 Richard Henderson <rth@twiddle.net>
15699
8d8f2279
RH
15700 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15701 with #ifndef NOT_IN_libc.
15702
63f1549e
RH
15703 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15704 marked to avoid plt entry.
15705
0ab0291b
L
157062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15707
15708 [BZ #14112]
15709 * Makeconfig (default-abi): New macro.
15710 (abi-includes): Likewise.
15711 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15712 $(abi-$(default-abi)-lib-soname) for soname if defined.
15713 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15714 abi-variants.
15715 * Makefile (installed-stubs): Likewise.
15716 * include/stubs-biarch.h: Removed.
15717 * scripts/lib-names.awk: Only handle one library at a time.
15718 * scripts/soversions.awk: Remove WORDSIZE support.
15719 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15720 entries.
15721 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15722 Removed.
15723 (syscall-list-default-condition): Likewise.
15724 (syscall-list-default-condition): Likewise.
15725 (syscall-list-includes): Likewise.
15726 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15727 syscall-list-* with abi-*. Handle undefined abi-variants.
15728 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15729 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15730 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15731 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15732 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15733 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15734 Removed.
15735 (syscall-list-32-options): Likewise.
15736 (syscall-list-32-condition): Likewise.
15737 (syscall-list-64-options): Likewise.
15738 (syscall-list-64-condition): Likewise.
15739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15740 macro.
15741 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15742 Renamed to ...
15743 (abi-*): This.
15744 (abi-64-ld-soname): New macro.
15745 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15746 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15747 Renamed to ...
15748 (abi-*): This.
15749 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15750 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15751
4da0431d
JM
157522012-05-30 Joseph Myers <joseph@codesourcery.com>
15753
3a85279c
JM
15754 * sysdeps/unix/sysv/linux/kernel-features.h
15755 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15756 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15757 include <kernel-features.h>.
15758 [!__NR_ftruncate64]: Remove conditional code.
15759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15760 [__NR_ftruncate64]: Make code unconditional.
15761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15762 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15763 include <kernel-features.h>.
15764 [!__NR_ftruncate64]: Remove conditional code.
15765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15766 [__NR_ftruncate64]: Make code unconditional.
15767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15769 include <kernel-features.h>.
15770 [!__NR_ftruncate64]: Remove conditional code.
15771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15772 [__NR_ftruncate64]: Make code unconditional.
15773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15775 include <kernel-features.h>.
15776 [!__NR_ftruncate64]: Remove conditional code.
15777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15778 [__NR_ftruncate64]: Make code unconditional.
15779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15780
4da0431d
JM
15781 * configure.in (libc_cv_fpie): Weaken to a compile test using
15782 LIBC_TRY_CC_OPTION.
15783 * configure: Regenerated.
15784
11ef492c
AK
157852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15786
15787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15791 Refreshed.
15792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15798 Refreshed.
15799
d66ef399
DM
158002012-05-27 David S. Miller <davem@davemloft.net>
15801
15802 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15803 (___Q_zero): New.
15804 (__Q_simulate_exceptions): Return void. Change to simulate
15805 exceptions by writing into the %fsr.
15806 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15807 (__Qp_handle_exceptions): Likewise.
15808 (numbers): Delete.
15809 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15810 __Qp_handle_exceptions.
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15812 __Qp_handle_exceptions.
15813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15814 as unused and give dummy FP_RND_NEAREST initializer.
15815 (FP_INHIBIT_RESULTS): Define.
15816 (___Q_simulate_exceptions): Update declaration.
15817 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15818 formatting.
15819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15820 as unused and give dummy FP_RND_NEAREST initializer.
15821 (__Qp_handle_exceptions): Update declaration.
15822 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15823 formatting.
15824
04fb54b5
TS
158252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15826
15827 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15828 the temporary FPU control word.
15829 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15830 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15831 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15832 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15833 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15834 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15835 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15837 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15838 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15840
3f99608f
KK
158412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15842
15843 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15844 fields.
15845
65a4de4e
CLT
158462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15847
15848 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15849 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15850 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15851 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15852 Likewise.
15853 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15854 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15855 Likewise.
15856
15749d40
UD
158572012-05-27 Ulrich Drepper <drepper@gmail.com>
15858
15859 * po/h.po: Update from translation team.
15860
25dbcb27
AS
158612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15862
3d3f8e55
AS
15863 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15864
25dbcb27
AS
15865 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15866 handling of denormals.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15868 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15869 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15870 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15874 Likewise.
15875
7ad47a80 158762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15877
15878 [BZ #14152]
15879 * math/libm-test.inc (fma_test): Don't always expect underflow
15880 exception.
15881
9c6ea9fa
SP
158822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15883
15884 [BZ #12416]
15885 * elf/tst-execstack.c: Include stackinfo.h.
15886 (do_test): Adjust test case to ensure that pthread_getattr_np
15887 behaviour remains the same after marking stack executable.
15888
a8239222
JM
158892012-05-25 Joseph Myers <joseph@codesourcery.com>
15890
15891 * sysdeps/unix/sysv/linux/kernel-features.h
15892 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15893 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15894 kernel-features.h.
15895 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15896 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15897 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15898 kernel-features.h.
15899 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15900 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15901
918b5606
L
159022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15903
15904 * configure.in: Define the default includes to being none.
15905 * configure: Regenerated.
15906
3a097cc7
RM
159072012-05-25 Roland McGrath <roland@hack.frob.com>
15908
8422c9a5
RM
15909 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15910 * sysdeps/x86_64/setjmp.S: Likewise.
15911 * sysdeps/i386/bsd-setjmp.S: Likewise.
15912 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15913 * sysdeps/i386/setjmp.S: Likewise.
15914 * sysdeps/i386/__longjmp.S: Likewise.
15915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15916 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15917
3a097cc7
RM
15918 * include/stap-probe.h: New file.
15919 * configure.in: Handle --enable-systemtap.
15920 * configure: Regenerated.
15921 * config.h.in (USE_STAP_PROBE): New #undef.
15922 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15923 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15924 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15925
21708942
JM
159262012-05-25 Joseph Myers <joseph@codesourcery.com>
15927
15928 [BZ #13717]
15929 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15930 to 2.4.0 where earlier.
15931 * sysdeps/unix/sysv/linux/configure: Regenerated.
15932 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15933 <kernel-features.h>.
15934 [__ASSUME_32BITUIDS]: Make code unconditional.
15935 [!__ASSUME_32BITUIDS]: Remove conditional code.
15936 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15937 <kernel-features.h>.
15938 [__ASSUME_32BITUIDS]: Make code unconditional.
15939 [!__ASSUME_32BITUIDS]: Remove conditional code.
15940 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15941 [__ASSUME_32BITUIDS]: Make code unconditional.
15942 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15943 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15944 <kernel-features.h>.
15945 [__ASSUME_32BITUIDS]: Make code unconditional.
15946 [!__ASSUME_32BITUIDS]: Remove conditional code.
15947 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15948 <kernel-features.h>.
15949 [__ASSUME_32BITUIDS]: Make code unconditional.
15950 [!__ASSUME_32BITUIDS]: Remove conditional code.
15951 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15952 <kernel-features.h>.
15953 [__ASSUME_32BITUIDS]: Make code unconditional.
15954 [!__ASSUME_32BITUIDS]: Remove conditional code.
15955 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15956 <kernel-features.h>.
15957 [__ASSUME_32BITUIDS]: Make code unconditional.
15958 [!__ASSUME_32BITUIDS]: Remove conditional code.
15959 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15960 <kernel-features.h>.
15961 [__ASSUME_32BITUIDS]: Make code unconditional.
15962 [!__ASSUME_32BITUIDS]: Remove conditional code.
15963 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15964 <kernel-features.h>.
15965 [__ASSUME_32BITUIDS]: Make code unconditional.
15966 [!__ASSUME_32BITUIDS]: Remove conditional code.
15967 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15968 <kernel-features.h>.
15969 [__ASSUME_32BITUIDS]: Make code unconditional.
15970 [!__ASSUME_32BITUIDS]: Remove conditional code.
15971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15972 <kernel-features.h>.
15973 [__ASSUME_32BITUIDS]: Make code unconditional.
15974 [!__ASSUME_32BITUIDS]: Remove conditional code.
15975 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15976 <kernel-features.h>.
15977 [__ASSUME_32BITUIDS]: Make code unconditional.
15978 [!__ASSUME_32BITUIDS]: Remove conditional code.
15979 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15980 <kernel-features.h>.
15981 [__ASSUME_32BITUIDS]: Make code unconditional.
15982 [!__ASSUME_32BITUIDS]: Remove conditional code.
15983 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15984 <kernel-features.h>.
15985 [__NR_setresgid] (__setresgid): Do not declare.
15986 [__ASSUME_32BITUIDS]: Make code unconditional.
15987 [!__ASSUME_32BITUIDS]: Remove conditional code.
15988 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15989 <kernel-features.h>.
15990 [__NR_setresuid] (__setresuid): Do not declare.
15991 [__ASSUME_32BITUIDS]: Make code unconditional.
15992 [!__ASSUME_32BITUIDS]: Remove conditional code.
15993 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.c: Do not include
16006 <kernel-features.h>.
16007 [__ASSUME_32BITUIDS]: Make code unconditional.
16008 [!__ASSUME_32BITUIDS]: Remove conditional code.
16009 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16010 <kernel-features.h>.
16011 [__ASSUME_32BITUIDS]: Make code unconditional.
16012 [!__ASSUME_32BITUIDS]: Remove conditional code.
16013 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16014 <kernel-features.h>.
16015 [__ASSUME_32BITUIDS]: Make code unconditional.
16016 [!__ASSUME_32BITUIDS]: Remove conditional code.
16017 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16018 <kernel-features.h>.
16019 [__ASSUME_32BITUIDS]: Make code unconditional.
16020 [!__ASSUME_32BITUIDS]: Remove conditional code.
16021 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16022 <kernel-features.h>.
16023 [__ASSUME_32BITUIDS]: Make code unconditional.
16024 [!__ASSUME_32BITUIDS]: Remove conditional code.
16025 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16026 <kernel-features.h>.
16027 [__ASSUME_32BITUIDS]: Make code unconditional.
16028 [!__ASSUME_32BITUIDS]: Remove conditional code.
16029 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16030 <kernel-features.h>.
16031 [__ASSUME_32BITUIDS]: Make code unconditional.
16032 [!__ASSUME_32BITUIDS]: Remove conditional code.
16033 * sysdeps/unix/sysv/linux/kernel-features.h
16034 (__ASSUME_SETRESUID_SYSCALL): Remove.
16035 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16036 (__ASSUME_32BITUIDS): Likewise.
16037 (__ASSUME_LDT_WORKS): Likewise.
16038 (__ASSUME_O_DIRECTORY): Likewise.
16039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16040 architecture but not kernel version.
16041 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16042 (__ASSUME_MMAP2_SYSCALL): Likewise.
16043 (__ASSUME_STAT64_SYSCALL): Likewise.
16044 (__ASSUME_IPC64): Likewise.
16045 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16046 <kernel-features.h>.
16047 [__ASSUME_32BITUIDS]: Make code unconditional.
16048 [!__ASSUME_32BITUIDS]: Remove conditional code.
16049 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16050 <kernel-features.h>.
16051 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16052 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16053 132096]: Remove conditional code.
16054 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16055 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16056 <kernel-features.h>.
16057 [__ASSUME_32BITUIDS]: Make code unconditional.
16058 [!__ASSUME_32BITUIDS]: Remove conditional code.
16059 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16060 <kernel-features.h>.
16061 [__ASSUME_32BITUIDS]: Make code unconditional.
16062 [!__ASSUME_32BITUIDS]: Remove conditional code.
16063 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16064 <kernel-features.h>.
16065 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16066 unconditional.
16067 (__setresgid): Do not declare.
16068 [__ASSUME_32BITUIDS]: Make code unconditional.
16069 [!__ASSUME_32BITUIDS]: Remove conditional code.
16070 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16071 <kernel-features.h>.
16072 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16073 unconditional.
16074 (__setresuid): Do not declare.
16075 [__ASSUME_32BITUIDS]: Make code unconditional.
16076 [!__ASSUME_32BITUIDS]: Remove conditional code.
16077 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/semctl.c: Do not include
16082 <kernel-features.h>.
16083 [__ASSUME_32BITUIDS]: Make code unconditional.
16084 [!__ASSUME_32BITUIDS]: Remove conditional code.
16085
a386f1cc
RH
160862012-05-25 Richard Henderson <rth@twiddle.net>
16087
16088 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16089 dl_hwcap to ifunc resolver.
16090 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16091 elf_ifunc_invoke.
16092 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16093 dl_hwcap to ifunc resolver.
16094 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16095
b6550497
JM
160962012-05-24 Joseph Myers <joseph@codesourcery.com>
16097
16098 [BZ #14153]
16099 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16100 for |x| <= 2**-26, not 2**-57.
16101 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16102 exception.
16103
b0bc23a1
JL
161042012-05-24 Jeff Law <law@redhat.com>
16105
16106 * stdio-common/Makefile (tests): Add bug25.
16107 * stdio-common/bug25.c: New test.
16108
347c92e9
L
161092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 [BZ #13576]
16112 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16113 multiple of MALLOC_ALIGNMENT in size.
16114 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16115
6bcc8b3f
JM
161162012-05-24 Joseph Myers <joseph@codesourcery.com>
16117
16118 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16119 Require >= 256.
16120 (FILENAME_MAX): Use macro-int-constant.
16121 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16122 (_IOFBF): Use macro-int-constant.
16123 (_IOLBF): Likewise.
16124 (_IONBF): Likewise.
16125 (SEEK_CUR): Likewise.
16126 (SEEK_END): Likewise.
16127 (SEEK_SET): Likewise.
16128 (TMP_MAX): Likewise.
16129 (EOF): Use macro-int-constant. Require < 0.
16130 (NULL): Use macro-constant. Require == 0.
16131 (stdin): Require type to be FILE *.
16132 (stdout): Likewise.
16133 (stderr): Likewise.
16134 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16135 macro-int-constant.
16136 (EXIT_SUCCESS): Likewise.
16137 (NULL): Use macro-constant. Require == 0.
16138 (RAND_MAX): Use macro-int-constant.
16139 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16140 [C99-based standards] (strtof): Require function.
16141 [C99-based standards] (strtold): Likewise.
16142 [C99-based standards] (strtoll): Likewise.
16143 [C99-based standards] (strtoull): Likewise.
16144 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16145 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16146 [ISO || ISO99 || ISO11] (math.h): Likewise.
16147 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16148 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16150
d18ea0c5
AS
161512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16152
16153 [BZ #14132]
56d25bb8
AS
16154 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16155 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16156 * intl/dgettext.c (DCGETTEXT): Likewise.
16157 * intl/gettext.c (DCGETTEXT): Likewise.
16158 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16159 * posix/regex_internal.h (gettext): Likewise.
16160 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16161 Remove declaration.
16162 * include/argz.h (__argz_count_internal)
16163 (__argz_stringify_internal): Remove declaration.
16164 (__argz_count, __argz_stringify): Declare hidden proto.
16165 * intl/dcgettext.c: Remove use of INTDEF.
16166 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16167 * string/argz-stringify.c: Likewise.
16168 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16169 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16170 Declare hidden proto.
d18ea0c5
AS
16171 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16172 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16173 Declare hidden proto.
16174 * include/stdio.h (__asprintf_internal): Don't declare.
16175 (__asprintf): Don't define as macro. Declare hidden proto.
16176 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16177 (__fsetlocking): Declare hidden proto.
16178 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16179 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16180 hidden proto.
16181 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16182 (_IO_setlinebuf): Remove use of INTUSE.
16183 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16184 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16185 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16186 Remove declaration.
16187 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16188 (_IO_do_flush): Remove use of INTUSE.
16189 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16190 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16191 (_IO_adjust_column, _IO_least_wmarker)
16192 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16193 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16194 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16195 (_IO_default_doallocate, _IO_wdefault_doallocate)
16196 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16197 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16198 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16199 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16200 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16201 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16202 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16203 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16204 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16205 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16206 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16207 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16208 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16209 proto.
16210 (_IO_flush_all_internal, _IO_adjust_column_internal)
16211 (_IO_default_uflow_internal, _IO_default_finish_internal)
16212 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16213 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16214 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16215 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16216 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16217 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16218 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16219 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16220 (_IO_file_close_internal, _IO_file_close_it_internal)
16221 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16222 (_IO_file_init_internal, _IO_file_attach_internal)
16223 (_IO_file_fopen_internal, _IO_file_read_internal)
16224 (_IO_file_sync_internal, _IO_file_seek_internal)
16225 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16226 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16227 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16228 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16229 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16230 (_IO_list_all_internal, _IO_link_in_internal)
16231 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16232 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16233 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16234 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16235 (_IO_do_write_internal, _IO_padn_internal)
16236 (_IO_getline_info_internal, _IO_getline_internal)
16237 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16238 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16239 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16240 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16241 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16242 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16243 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16244 with libc_hidden_ver, remove use of INTUSE.
16245 * libio/genops.c: Likewise.
16246 * libio/freopen.c: Likewise.
16247 * libio/freopen64.c: Likewise.
16248 * libio/iofclose.c: Likewise.
16249 * libio/iofdopen.c: Likewise.
16250 * libio/iofflush.c: Likewise.
16251 * libio/iofflush_u.c: Likewise.
16252 * libio/iofgets.c: Likewise.
16253 * libio/iofgets_u.c: Likewise.
16254 * libio/iofopen.c: Likewise.
16255 * libio/iofopncook.c: Likewise.
16256 * libio/iofread.c: Likewise.
16257 * libio/iofread_u.c: Likewise.
16258 * libio/ioftell.c: Likewise.
16259 * libio/iofwrite.c: Likewise.
16260 * libio/iogetline.c: Likewise.
16261 * libio/iogets.c: Likewise.
16262 * libio/iogetwline.c: Likewise.
16263 * libio/iopadn.c: Likewise.
16264 * libio/iopopen.c: Likewise.
16265 * libio/ioseekoff.c: Likewise.
16266 * libio/ioseekpos.c: Likewise.
16267 * libio/iosetbuffer.c: Likewise.
16268 * libio/iosetvbuf.c: Likewise.
16269 * libio/ioungetc.c: Likewise.
16270 * libio/ioungetwc.c: Likewise.
16271 * libio/iovdprintf.c: Likewise.
16272 * libio/iovsprintf.c: Likewise.
16273 * libio/iovsscanf.c: Likewise.
16274 * libio/memstream.c: Likewise.
16275 * libio/obprintf.c: Likewise.
16276 * libio/oldfileops.c: Likewise.
16277 * libio/oldiofclose.c: Likewise.
16278 * libio/oldiofdopen.c: Likewise.
16279 * libio/oldiofopen.c: Likewise.
16280 * libio/oldiopopen.c: Likewise.
16281 * libio/oldstdfiles.c: Likewise.
16282 * libio/putc.c: Likewise.
16283 * libio/setbuf.c: Likewise.
16284 * libio/setlinebuf.c: Likewise.
16285 * libio/stdfiles.c: Likewise.
16286 * libio/strops.c: Likewise.
16287 * libio/vasprintf.c: Likewise.
16288 * libio/vscanf.c: Likewise.
16289 * libio/vsnprintf.c: Likewise.
16290 * libio/vswprintf.c: Likewise.
16291 * libio/wfiledoalloc.c: Likewise.
16292 * libio/wfileops.c: Likewise.
16293 * libio/wgenops.c: Likewise.
16294 * libio/wmemstream.c: Likewise.
16295 * libio/wstrops.c: Likewise.
16296 * libio/__fpurge.c: Likewise.
16297 * libio/__fsetlocking.c: Likewise.
16298 * assert/assert.c: Likewise.
16299 * debug/fgets_chk.c: Likewise.
16300 * debug/fgets_u_chk.c: Likewise.
16301 * debug/fread_chk.c: Likewise.
16302 * debug/fread_u_chk.c: Likewise.
16303 * debug/gets_chk.c: Likewise.
16304 * debug/obprintf_chk.c: Likewise.
16305 * debug/vasprintf_chk.c: Likewise.
16306 * debug/vdprintf_chk.c: Likewise.
16307 * debug/vsnprintf_chk.c: Likewise.
16308 * debug/vsprintf_chk.c: Likewise.
16309 * malloc/mtrace.c: Likewise.
16310 * misc/error.c: Likewise.
16311 * misc/syslog.c: Likewise.
16312 * stdio-common/asprintf.c: Likewise.
16313 * stdio-common/fxprintf.c: Likewise.
16314 * stdio-common/getw.c: Likewise.
16315 * stdio-common/isoc99_fscanf.c: Likewise.
16316 * stdio-common/isoc99_scanf.c: Likewise.
16317 * stdio-common/isoc99_vfscanf.c: Likewise.
16318 * stdio-common/isoc99_vscanf.c: Likewise.
16319 * stdio-common/isoc99_vsscanf.c: Likewise.
16320 * stdio-common/printf-prs.c: Likewise.
16321 * stdio-common/printf_fp.c: Likewise.
16322 * stdio-common/printf_fphex.c: Likewise.
16323 * stdio-common/printf_size.c: Likewise.
16324 * stdio-common/putw.c: Likewise.
16325 * stdio-common/scanf.c: Likewise.
16326 * stdio-common/sprintf.c: Likewise.
16327 * stdio-common/tmpfile.c: Likewise.
16328 * stdio-common/vfprintf.c: Likewise.
16329 * stdio-common/vfscanf.c: Likewise.
16330 * stdlib/strfmon_l.c: Likewise.
16331 * sunrpc/openchild.c: Likewise.
16332 * sunrpc/xdr_stdio.c: Likewise.
16333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16334 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16335
d6c33fda
RM
163362012-05-24 Roland McGrath <roland@hack.frob.com>
16337
c1487492
RM
16338 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16339
16340 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16341 in the third column, to generate for the shared library an IFUNC
16342 that uses _dl_vdso_vsym.
16343 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16344 * Makeconfig (object-suffixes-noshared): New variable.
16345
16346 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16347 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16348 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16349 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16350
d6c33fda
RM
16351 [BZ #14132]
16352 * include/sys/time.h (__gettimeofday): Remove macro.
16353 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16354 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16355 Remove INTDEF.
16356 (__gettimeofday): Add libc_hidden_def.
16357 (gettimeofday): Add libc_hidden_weak.
16358 * sysdeps/mach/gettimeofday.c: Likewise.
16359 * sysdeps/posix/gettimeofday.c: Likewise.
16360 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16361 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16363 (__gettimeofday_internal): Remove strong_alias.
16364 (__gettimeofday): Add libc_hidden_def.
16365 (gettimeofday): Add libc_hidden_weak.
16366 * sysdeps/unix/syscalls.list (gettimeofday):
16367 Remove __gettimeofday_internal alias.
16368
b5a2bbe6
L
163692012-05-24 Daniel Jacobowitz <drow@false.org>
16370 H.J. Lu <hongjiu.lu@intel.com>
16371
16372 [BZ #12495]
16373 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16374 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16375 (largebin_index_32_big): New.
16376 (largebin_index): Use it for 16-byte alignment.
16377 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16378 correction with front_misalign.
16379
cfba4fda
L
163802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16381
7f907421
L
16382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16384 Likewise.
16385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16386 Likewise.
16387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16388 Likewise.
16389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16390 Likewise.
16391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16392 Likewise.
16393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16394 Likewise.
16395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16396 Likewise.
16397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16398 Likewise.
16399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16400 Likewise.
16401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16402 Likewise.
16403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16404 Likewise.
16405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16406 Likewise.
16407
cfba4fda
L
16408 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16409 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16410
80bad0cc
JM
164112012-05-24 Joseph Myers <joseph@codesourcery.com>
16412
7a25eb06
JM
16413 [BZ #10846]
16414 [BZ #14036]
16415 * math/libm-test.inc (exp_test): Add test from bug 14036.
16416 (pow_test): Add test from bug 10846.
16417
795405f9
JM
16418 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16419 and other flags.
16420 (special_function): Do not include flags in test name.
16421 (parse_args): Likewise.
16422 * sysdeps/i386/fpu/libm-test-ulps: Update.
16423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16424 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16427
80bad0cc
JM
16428 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16429 exceptions.
16430 * math/libm-test.inc ("Philosophy"): Update comment about
16431 exception testing.
16432 (UNDERFLOW_EXCEPTION): New macro.
16433 (UNDERFLOW_EXCEPTION_OK): Likewise.
16434 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16435 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16436 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16437 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16438 (INVALID_EXCEPTION_OK): Update value.
16439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16440 (OVERFLOW_EXCEPTION_OK): Likewise.
16441 (IGNORE_ZERO_INF_SIGN): Likewise.
16442 (test_exceptions): Handle underflow exceptions.
16443 (acos_test): Update for underflow exception expectations.
16444 (cexp_test): Likewise.
16445 (clog_test): Likewise.
16446 (clog10_test): Likewise.
16447 (csqrt_test): Likewise.
16448 (ctan_test): Likewise.
16449 (ctanh_test): Likewise.
16450 (exp_test): Likewise.
16451 (exp10_test): Likewise.
16452 (exp2_test): Likewise.
16453 (expm1_test): Likewise.
16454 (fma_test): Likewise.
16455 (j0_test): Likewise.
16456 (jn_test): Likewise.
16457 (nexttoward_test): Likewise.
16458 (pow_test): Likewise.
16459 (scalbn_test): Likewise.
16460 (scalbln_test): Likewise.
16461 (tan_test): Likewise.
16462 (y1_test): Likewise.
16463 * sysdeps/i386/fpu/libm-test-ulps: Update.
16464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16465
9e0e3d0b
DM
164662012-05-23 David S. Miller <davem@davemloft.net>
16467
16468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16469 (__libc_sigaction): Remove unused local variables.
16470
ccd0a08f
L
164712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16472
16473 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16474
62bdf9a6
PE
164752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16476
f8591f80
PE
16477 mktime: avoid signed integer overflow
16478 * time/mktime.c (__mktime_internal): Do not mishandle the case
16479 where diff == INT_MIN.
16480
94c7d826
PE
16481 mktime: simplify computation of average
16482 * time/mktime.c (ranged_convert): Use new time_t_avg function
16483 instead of rolling our own (probably-slower) code.
16484
ce73d683
PE
16485 mktime: do not assume signed right shift propagates sign bit
16486 * time/mktime.c (isdst_differ): New static function.
16487 (__mktime_internal): No need to normalize tm_isdst now.
16488 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16489 tm_isdst values.
16490
72a22e59
PE
16491 mktime: merge another wrapv change from gnulib
16492 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16493 from some compilers.
16494
68605433
PE
16495 mktime: remove incorrect attempt at unusual arithmetics
16496 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16497 The code didn't really work on such machines anyway.
16498 (TYPE_MINIMUM): Assume two's complement.
16499 (twos_complement_arithmetic): Verify that long_int and time_t
16500 are two's complement (or unsigned, in the latter case).
16501
03cf7fe3
PE
16502 mktime: check signed shifts on long_int and time_t, too
16503 * time/mktime.c (SHR): Check that shifts work as desired
16504 on the types long_int and time_t too, as SHR is used on
16505 such types.
16506
f04dfbc2
PE
16507 mktime: do not assume 'long' is wide enough
16508 * time/mktime.c (verify): Move decl up.
16509 (long_int): New type.
16510 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16511 to remove assumption in the code that 'long' is wide enough to
16512 store year values. This assumption is not true on x32 and on
16513 some non-glibc platforms.
16514
62bdf9a6
PE
16515 mktime: merge wrapv change from gnulib
16516 * time/mktime.c (WRAPV): New macro.
16517 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16518 (guess_time_tm, __mktime_internal): Do not assume that signed
16519 integer overflow wraps around; modern compilers generate code
16520 where this assumption is no longer valid.
16521
5e292e4f
L
165222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16523
16524 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16525 Replace "jmp L(pseudo_end)" with "ret".
16526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16527 Likewise.
16528
8caf8c87
AJ
165292012-05-23 Andreas Jaeger <aj@suse.de>
16530
16531 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16532 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16533
1a09dc56
AJ
165342012-05-23 Andreas Jaeger <aj@suse.de>
16535 Maximilian Attems <max@stro.at>
16536
16537 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16538 New macros.
16539
1c87aba0
L
165402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16541
16542 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16543 code so that pseudo_end is just ret and the stack pointer is
16544 correct also for static library in error case.
16545
40e45bd5
JM
165462012-05-23 Joseph Myers <joseph@codesourcery.com>
16547
c2670533
JM
16548 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16549 move to syscalls.list.
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16554
40e45bd5
JM
16555 * manual/install.texi (Running make install): Do not mention Linux
16556 kernel version for which pt_chown is not needed.
16557 (Linux): Do not mention problems with nscd with 2.0 kernels.
16558 * INSTALL: Regenerated.
16559
be08eda5
AJ
165602012-05-23 Andreas Jaeger <aj@suse.de>
16561
16562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16563 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16564 macro.
16565 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16567 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16568 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16569 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16570 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16573 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16575 * sysdeps/unix/sysv/linux/bits/in.h
16576 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16577
a6a056bb
RM
165782012-05-22 Roland McGrath <roland@hack.frob.com>
16579
16580 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16581 (PREPARE_VERSION): Just use assert instead, it will be elided
16582 under [NDEBUG] anyway.
16583
c9009328
L
165842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16585
16586 * sysdeps/unix/sysv/linux/Makefile: Include
16587 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16588 (sysdep_routines): Remove sysctl.
c9009328
L
16589 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16590 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16592 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16593 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16594
73338355
AJ
165952012-05-22 Andreas Jaeger <aj@suse.de>
16596
16597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16598 that pseudo_end is just ret and the stack pointer is correct also
16599 for static library in error case.
16600
d44638b0
PP
166012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16602
16603 [BZ #14122]
16604 * nss/nsswitch.c (defconfig_entries): New variable.
16605 (__nss_database_lookup): Don't leak defconfig entries.
16606 (nss_parse_service_list): Don't leak on error paths.
16607 (free_database_entries): New function.
16608 (free_defconfig): New function.
16609 (free_mem): Move common code to free_database_entries.
16610
31a39bd8
L
166112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16612
da0331a8
L
16613 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16614 Add arch_prctl.
16615 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16616
31a39bd8
L
16617 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16618 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16620 New macro.
16621 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16622 (INTERNAL_SYSCALL_TYPES): Likewise.
16623 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16624 (LOAD_REGS_TYPES_[1-6]): Likewise.
16625 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16626 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16627
45470df3
AZ
166282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16629
16630 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16631 copysignl for GLIBC_2_0.
16632 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16633 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16635 logbl for GLIBC_2_0.
16636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16638
98a61bcb
L
166392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16640
a4f6e481
L
16641 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16643
f63d5db6
L
16644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16645 Use "neg %eax".
16646
98a61bcb
L
16647 * time/mktime.c: Update copyright years.
16648
95770f14
PE
166492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16650
6226efbd
PE
16651 mktime: merge comment-quoting-style change from gnulib
16652 * time/mktime.c: Quote 'like this' in comments.
16653 The GNU coding standards suggest that we no longer quote `like this',
16654 as "`" and "'" are typically rendered asymmetrically nowadays.
16655 The typical gnulib style is to quote 'like this' when quoting
16656 code, and "like this" when quoting English.
16657
b99e4f78
PE
16658 * time/mktime.c (compile-command): Add "-I.".
16659
643e01e6
PE
16660 mktime: merge mktime-internal.h change from gnulib
16661 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16662
2554247d
PE
16663 mktime: merge time_r change from gnulib
16664 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16665
826dd0ab
PE
16666 mktime: merge DEBUG change from gnulib
16667 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16668 case system <time.h> has a #define.
16669
bd83aabe
PE
16670 mktime: merge <sys/types.h> change from gnulib
16671 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16672 since <time.t> is now guaranteed to define time_t.
16673
95770f14
PE
16674 mktime: merge HAVE_CONFIG_H change from gnulib
16675 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16676
5e1a27a9
L
166772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16678
0e44a77e
L
16679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16680 Use "neg %eax".
16681
5e1a27a9
L
16682 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16683 __rlim_t cast.
16684 (struct rusage): Use anonymous union to pad each field to
16685 __syscall_slong_t.
16686
46259bec
DM
166872012-05-21 David S. Miller <davem@davemloft.net>
16688
16689 * Makefules (o-iterator): Remove .s cases.
16690 (compile-command.s): Delete.
16691 (COMPILE.s): Delete.
16692 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16693
59f0c22e
JM
166942012-05-21 Joseph Myers <joseph@codesourcery.com>
16695
16696 * configure.in (libc_cv_predef_stack_protector): Only consider
16697 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16698 * configure: Regenerated.
16699
20c07380
L
167002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16701
bbb3154b
L
16702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16703 New macro. Use R*LP on int and pointer.
16704 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16705 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16706 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16707 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16708
20c07380
L
16709 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16710 [__WORDSIZE_TIME64_COMPAT32] instead of
16711 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16712 (struct utmp): Likewise.
16713 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16714 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16715 Renamed to ...
16716 (__WORDSIZE_TIME64_COMPAT32): This.
16717 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16718 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16719 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16720 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16722 (__WORDSIZE_TIME64_COMPAT32): New macro.
16723
d8d1017e
AJ
167242012-05-21 Andreas Jaeger <aj@suse.de>
16725
16726 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16727 only if [SHARED]. Add prototype for __wcschr_ia32.
16728
6c7fb145
RM
167292012-05-21 Roland McGrath <roland@hack.frob.com>
16730
16731 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16732 of %rbp unmolested in the jmp_buf while mangling the low bits.
16733 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16734 unmolested high bits of %rbp while demangling the low bits.
16735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16736
66274218
AJ
167372012-05-21 Andreas Jaeger <aj@suse.de>
16738
07c58f8f
AJ
16739 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16740 * sunrpc/svc_simple.c: Use it for registerrpc.
16741 * sunrpc/xcrypt.c: Use it for passwd2des.
16742
66274218
AJ
16743 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16744
61f65140
L
167452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16746
16747 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16748 Don't define if [__SYSCALL_WORDSIZE != 32].
16749 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16750 New macro.
16751
5fefb436
AJ
167522012-05-21 Bruno Haible <bruno@clisp.org>
16753 Andreas Jaeger <aj@suse.de>
16754
16755 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16756 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16757 inptr and inend for must_buffer_ch.
16758 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16759 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16760 * stdio-common/Makefile (tests): Remove bug15.
16761 (bug15-ENV): Remove macro.
16762 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16763 anymore.
16764
d8e272ab
AJ
167652012-05-19 Andreas Jaeger <aj@suse.de>
16766 Roland McGrath <roland@hack.frob.com>
16767
16768 * manual/contrib.texi: Completely rewritten. It contains now an
16769 alphabetical list of contributors and their contributions.
16770
4a56a162
RH
167712012-05-21 Richard Henderson <rth@twiddle.net>
16772
16773 * misc/getauxval.c (__getauxval): Use unsigned long int.
16774 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16775 (getauxval): Use unsigned long int.
16776
d024d23c
L
167772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16778
16779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16780
cbc00a03
RM
167812012-05-21 Roland McGrath <roland@hack.frob.com>
16782
16783 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16784 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16785 __alignof__ (long double).
16786
478143fa
AZ
167872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788
16789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16790
c7683a6d
RH
167912012-05-20 Richard Henderson <rth@twiddle.net>
16792
16793 * misc/getauxval.c: New file.
16794 * misc/sys/auxv.h: New file.
16795 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16796 (routines): Add getauxval.
16797 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16798 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16799 * elf/dl-sysdep.c (_dl_auxv): Remove.
16800 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16801 * elf/dl-support.c (_dl_auxv): New variable.
16802 (_dl_aux_init): Initialize it.
16803 * manual/startup.texi (Auxiliary Vector): New node.
16804 * sysdeps/generic/bits/hwcap.h: New file.
16805 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16806 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16807 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16808 * sysdeps/sparc/sysdep.h: ... here. Include it.
16809 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16812 Update.
c7683a6d
RH
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16816 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16821
a6f1845d
AZ
168222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16823
16824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16825
cbcbe830
DM
168262012-05-19 David S. Miller <davem@davemloft.net>
16827
16828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16829
e0b16cc2
JM
168302012-05-19 Joseph Myers <joseph@codesourcery.com>
16831
16832 [BZ #14123]
16833 * math/s_ccosh.c: Include <float.h>
16834 (__ccosh): Avoid internal overflow calculating sinh and cosh
16835 values before multiplying by sin and cos values.
16836 * math/s_ccoshf.c: Likewise.
16837 * math/s_ccoshl.c: Likewise.
16838 * math/s_csin.c: Likewise.
16839 * math/s_csinf.c: Likewise.
16840 * math/s_csinl.c: Likewise.
16841 * math/s_csinh.c: Likewise.
16842 * math/s_csinhf.c: Likewise.
16843 * math/s_csinhl.c: Likewise.
16844 * math/libm-test.inc (ccos_test): Add more tests.
16845 (ccosh_test): Likewise.
16846 (csin_test): Likewise.
16847 (csinh_test): Likewise.
16848 * sysdeps/i386/fpu/libm-test-ulps: Update.
16849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16850
6ad13e08
L
168512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16852
f66f0ce8
L
16853 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16854 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16855
6ad13e08
L
16856 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16857
b1d072a7
JM
168582012-05-19 Joseph Myers <joseph@codesourcery.com>
16859
16860 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16861 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16862 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16863 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16864 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16865 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16866 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16867 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16868 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16869 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16870 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16871 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16872 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16873 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16874 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16875 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16876 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16877 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16878 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16879 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16880 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16881 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16882 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16883 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16884 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16885 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16886 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16887 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16888 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16889 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16890 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16891
9eae47cb
AJ
168922012-05-18 Andreas Jaeger <aj@suse.de>
16893
16894 * csu/.gitignore: Delete.
16895
bb07f69f
L
168962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16897
16898 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16899 (timex): Use __syscall_slong_t.
16900
e6bdb741
AJ
169012012-05-18 Andreas Jaeger <aj@suse.de>
16902 Carlos O'Donell <carlos_odonell@mentor.com>
16903
16904 * manual/install.texi (Configuring and compiling): Update
16905 description about files modified in the source directory.
d6c33fda 16906 * INSTALL: Regenerated.
e6bdb741 16907
1b74487e
L
169082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16909
16910 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16911 value. Use "or" to set return value to -1.
16912 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16913 negate return value.
16914
a88b64b9
TMQMF
169152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16916
16917 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16918 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16919 failure if the compiler has Graphite support disabled.
16920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16921 Likewise.
16922 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16923 CFLAGS-memmove.c): Likewise.
16924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16925 Likewise.
16926
3707636e
L
169272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16928
610b8622
L
16929 * sysdeps/x86_64/x32/_itoa.h: New file.
16930
7cd195df
L
16931 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16932 getdents system call only if kernel and user dirents have the
16933 same d_ino and d_off.
16934
94b07d20
L
16935 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16936 LLONG_MAX != LONG_MAX.
16937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16938 (_fitoa_word): Likewise.
16939
18298070
L
16940 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16941 years.
16942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16945
553c7ea4
L
16946 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16947 include <bits/wordsize.h>. Check __x86_64__ instead of
16948 __WORDSIZE.
16949 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16950 if __x86_64__ is defined. Use anonymous union on fpstate.
16951
3707636e
L
16952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16953 anonymous union.
16954
b53ef01a
AS
169552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16956
37fb1dc0
AS
16957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16958 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16959 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16960 Refer to _rtld_local_ro instead of _rtld_global_ro.
16961 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16962 Likewise.
16963 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16964 Likewise.
16965 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16966 Likewise.
16967 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16968 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16969 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16970
b53ef01a
AS
16971 * sysdeps/powerpc/powerpc32/dl-machine.c
16972 (__elf_machine_runtime_setup) [PROF]: Don't reference
16973 _dl_prof_resolve.
16974
7a185db2
AJ
169752012-05-18 Andreas Jaeger <aj@suse.de>
16976
16977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16978 function only available for GCCs before 3.4 since GCC 3.4
16979 introduced a builtin.
16980 (lrint): Likewise.
16981 (llrintf): Likewise.
16982 (llrint): Likewise.
16983 (fmaxf): Likewise.
16984 (fmax): Likewise.
16985 (fminf): Likewise.
16986 (fmin): Likewise.
16987 (rint): Likewise.
16988 (rintf): Likewise.
16989 (nearbyint): Likewise.
16990 (nearbyintf): Likewise.
16991 (ceil): Likewise.
16992 (ceilf): Likewise.
16993 (floor): Likewise.
16994 (floorf): Likewise.
16995
3e5aef87
L
169962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16997
428bd707
L
16998 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16999 on both fields and cast pointer to __syscall_ulong_t.
17000
3e5aef87
L
17001 * bits/types.h (__fsword_t): New type.
17002 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17003 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17005 (__FSWORD_T_TYPE): Likewise.
17006 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17007 (__FSWORD_T_TYPE): Likewise.
17008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17009 (__FSWORD_T_TYPE): Likewise.
17010 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17011 (__FSWORD_T_TYPE): Likewise.
17012 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17013 __SWORD_TYPE with __fsword_t.
17014 (statfs64): Likewise.
17015
1ba7c3dc
DM
170162012-05-17 David S. Miller <davem@davemloft.net>
17017
17018 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17019
59910343
AJ
170202012-05-17 Andreas Jaeger <aj@suse.de>
17021
17022 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17023 warning.
17024
2e4c1e9e
L
170252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17026
17027 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17028
de7f5ce7
AJ
170292012-05-17 Andreas Jaeger <aj@suse.de>
17030
17031 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17032 when it is used.
17033
286abc3d
CM
170342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17035
17036 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17037
477cc68e
L
170382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17039
17040 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17041 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17042
1a0994f5
CD
170432012-05-17 Andreas Jaeger <aj@suse.de>
17044 Carlos O'Donell <carlos_odonell@mentor.com>
17045
17046 [BZ #14059]
17047 * sysdeps/x86_64/multiarch/init-arch.h
17048 (bit_YMM_Usable): Rename to...
17049 (bit_AVX_Usable): ... this.
17050 (bit_FMA4_Usable): New macro.
17051 (bit_XMM_state): New macro.
17052 (bit_YMM_state): New macro.
17053 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17054 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17055 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17056 (CPUID_OSXSAVE): New macro.
17057 (CPUID_AVX): New macro.
17058 (CPUID_FMA4): New macro.
17059 (index_YMM_Usable): Rename to...
17060 (index_AVX_Usable): ... this.
17061 (HAS_AVX): Use HAS_ARCH_FEATURE.
17062 (HAS_FMA4): Likewise.
17063 (HAS_YMM_USABLE): Remove.
17064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17065 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17066 are present.
17067 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17068 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17069 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17070 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17071 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17072
0af797de
CM
170732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17074
17075 * math/libm-test.c: Support platforms without multiple rounding modes.
17076 * math/bug-nextafter.c: Support platforms without FP exceptions.
17077 * math/bug-nexttoward.c: Likewise.
17078 * math/test-fenv.c: Likewise.
17079 * math/test-misc.c: Likewise.
17080 * stdlib/bug-getcontext.c: Likewise.
17081
e39745ff
AJ
170822012-05-17 Andreas Jaeger <aj@suse.de>
17083
17084 * manual/examples/search.c (critter_cmp): Change signature to
17085 avoid warnings.
17086 * manual/string.texi (Collation Functions): Likewise.
17087
48970aba
L
170882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17089
17090 * bits/types.h: Fold copyright years.
17091 * bits/typesizes.h: Likewise.
17092 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17093 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17096 * time/time.h: Likewise.
17097
bedee953
PP
170982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17099
17100 [BZ #208]
17101 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17102 in instead of returning them. Return void.
17103 (__libc_mallinfo): Accumulate over all arenas.
17104 (__malloc_stats): Adjust for change in int_mallinfo interface.
17105
61653dfb
RM
171062012-05-16 Roland McGrath <roland@hack.frob.com>
17107
30b99d79
RM
17108 [BZ #10375]
17109 * configure.in (NM): Add AC_CHECK_TOOL for it.
17110 (libc_extra_cflags): New substituted variable.
17111 Check for -fstack-protector being used implicitly.
17112 * configure: Regenerated.
17113 * config.make.in (config-extra-cflags): New variable,
17114 gets @libc_extra_cflags@.
17115 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17116
61653dfb
RM
17117 [BZ #10375]
17118 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17119 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17120 * configure: Regenerated.
17121 * config.make.in (CPPUNDEFS): New substituted variable.
17122 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17123 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17124 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17125
661768bb
L
171262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17127
17128 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17129 (mq_attr): Use __syscall_slong_t.
17130
d4261567
L
171312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17132
17133 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17134 Check __x86_64__ instead of __WORDSIZE.
17135 (_STAT_VER_LINUX): Likewise.
17136 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17137 __syscall_ulong_t and __syscall_slong_t.
17138 (stat64): Likewise.
17139
cf3ff365
L
171402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17141
17142 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17143
76cf3e4d
L
171442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17145
17146 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17147
a637753a
L
171482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17149
17150 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17151 __syscall_ulong_t.
17152
d5e05119
L
17153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17154 include <bits/wordsize.h>. Check __x86_64__ instead of
17155 __WORDSIZE.
17156 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17157 defined.
17158 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17159
f62ee380
L
17160 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17161 include <bits/wordsize.h>. Check __x86_64__ instead of
17162 __WORDSIZE.
17163 (user_regs_struct): Use "__extension__ unsigned long long"
17164 instead of "unsigned long" if __x86_64__ is defined.
17165 (user): Likewise. Pad after pointer field if __ILP32__ is
17166 defined.
17167
4e124ced
JM
171682012-05-16 Joseph Myers <joseph@codesourcery.com>
17169
6a3951a0
JM
17170 * configure.in (makeinfo): Require version 4.5 or later. Allow
17171 versions 5 to 9.
17172 * configure: Regenerated.
17173 * manual/install.texi (texinfo): Increase version requirement to
17174 4.5 or later.
17175 * INSTALL: Regenerated.
17176
4e124ced
JM
17177 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17178
953ca31a
L
171792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17180
17181 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17182
617aca05
L
17183 * sysdeps/x86_64/x32/ffs.c: New file.
17184
5762f7ae
L
17185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17186 __syscall_ulong_t.
17187 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17188 defined. Use __syscall_ulong_t.
17189 (shminfo): Use __syscall_ulong_t.
17190 (shm_info): Likewise.
17191
a26b6856
L
17192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17193 __syscall_ulong_t.
17194
cb2b9ef7
L
17195 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17196 <bits/wordsize.h>.
17197 (msgqnum_t): Use __syscall_ulong_t.
17198 (msglen_t): Likewise.
17199 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17200 __syscall_ulong_t.
17201
34683bb0
L
17202 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17204
84a68786
L
17205 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17206
48baa5f1
L
17207 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17208 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17209
180be88b
L
17210 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17211 __syscall_slong_t.
17212
5e90c8ad
L
17213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17214 include <bits/wordsize.h>. Check __x86_64__ instead of
17215 __WORDSIZE.
17216
23dfb58b
L
17217 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17218 "unsigned long long int" if __x86_64__ is defined.
17219 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17220
ce5d54b0
L
17221 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17222 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17223 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17224
13dc9eac
L
17225 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17226 <stdint.h>.
17227 (GET_PC): Cast to uintptr_t first.
17228 (GET_FRAME): Likewise.
17229 (GET_STACK): Likewise.
17230
a7895d15
L
17231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17232 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17239 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17241 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17243 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17249 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17253 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17260
656416c9
AS
172612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17262
5bd66283
AS
17263 * Makerules (+depfiles): Also collect depfiles from .oS in
17264 $(extra-objs).
17265 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17266 .oS, $(libnldbl-routines)).
17267
656416c9
AS
17268 * Makerules (native-compile-mkdep-flags): Define.
17269 * sunrpc/Makefile (extra-objs): Add $(addprefix
17270 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17271 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17272 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17273 calling $(make-target-directory).
17274
a46f2169
L
172752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17276
17277 * bits/types.h (__snseconds_t): Removed.
17278 * time/time.h (struct timespec): Replace __snseconds_t with
17279 __syscall_slong_t.
17280 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17281 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17282 Likewise.
17283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17284 (__SNSECONDS_T_TYPE): Likewise.
17285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17286 (__SNSECONDS_T_TYPE): Likewise.
17287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17288 (__SNSECONDS_T_TYPE): Likewise.
17289
6af6528b
L
172902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17291
17292 * sysdeps/mach/hurd/bits/typesizes.h
17293 (__SYSCALL_SLONG_TYPE): New macro.
17294 (__SYSCALL_ULONG_TYPE): Likewise.
17295
de986b56
L
172962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 * bits/types.h (__syscall_slong_t): New type.
17299 (__syscall_ulong_t): Likewise.
17300
17301 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17302 (__SYSCALL_ULONG_TYPE): Likewise.
17303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17304 (__SYSCALL_SLONG_TYPE): Likewise.
17305 (__SYSCALL_ULONG_TYPE): Likewise.
17306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17307 (__SYSCALL_SLONG_TYPE): Likewise.
17308 (__SYSCALL_ULONG_TYPE): Likewise.
17309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17310 (__SYSCALL_SLONG_TYPE): Likewise.
17311 (__SYSCALL_ULONG_TYPE): Likewise.
17312
85736dc7
L
173132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17316 Add sigaltstack-offsets.sym.
17317 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17318 <sigaltstack-offsets.h>.
17319 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17320 longjmp_msg pointer.
17321 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17322 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17323 signal stack.
17324 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17325
cc03b296
JM
173262012-05-15 Joseph Myers <joseph@codesourcery.com>
17327
a9538892
JM
17328 * elf/stackguard-macros.h: Remove file.
17329 * sysdeps/generic/stackguard-macros.h: New file.
17330 * sysdeps/i386/stackguard-macros.h: Likewise.
17331 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17332 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17333 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17334 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17335 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17336 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17337 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17338 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17339 <elf/stackguard-macros.h>.
17340
cc03b296
JM
17341 [BZ #14109]
17342 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17343 __aligned__ in attribute.
17344 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17345 (gregset_t): Likewise.
17346
93171016
L
173472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17348
17349 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17350 * sysdeps/x86_64/64/Implies-after: Here. New file.
17351 * sysdeps/x86_64/x32/Implies-after: New file.
17352
d86813a0
L
173532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17354
17355 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17356 and access return value for _dl_profile_fixup. Use R10_LP to
17357 load frame size.
17358
2953ec75
L
173592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17360
17361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17362
3b550e9e
L
173632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17364
17365 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17366 * sysdeps/x86_64/x32/sysdep.h: New file.
17367
eda41706
L
173682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17369
17370 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17371 * sysdeps/x86_64/setjmp.S: Likewise.
17372
9ea01d93
AZ
173732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17374
17375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17377 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17378 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17379 remove unused global constant.
17380
02a91938
CM
173812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17382
17383 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17384 include of <not-cancel.h>.
17385
6540185f
RM
173862012-05-15 Roland McGrath <roland@hack.frob.com>
17387
17388 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17389
509072a0
AJ
173902012-05-15 Jeff Law <law@redhat.com>
17391 Andreas Jaeger <aj@suse.de>
17392
17393 [BZ #13594]
17394 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17395 out from...
17396 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17397 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17398 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17399 code changing __hst_map_handle.map.
17400
ba75122d
RM
174012012-05-15 Roland McGrath <roland@hack.frob.com>
17402
17403 * configure.in (sysnames): Look for Implies-before and Implies-after
17404 files.
17405 * configure: Regenerated.
17406
890d8bd8
L
174072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17408
17409 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17410 8-byte data alignment with LP_SIZE alignment.
17411
f6ee6623
L
174122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17413
17414 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17415 into R10_LP.
17416
ea2626f6
L
174172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17418
17419 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17420
085f715e
L
174212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17422
17423 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17424 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17426 Likewise.
17427 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17428
be8498fc
L
174292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17430
17431 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17432 (stackinfo_sub_sp): Likewise.
17433
70bc83b9
L
174342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17437 RAX_LP.
17438
9bc0b730
L
174392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17440
17441 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17442 into R*_LP.
17443
6d2850e7
L
174442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17447 sizes into R*_LP.
17448
3cb84561
L
174492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17452
54e2ed81
L
174532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17454
17455 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17456 into R11_LP and load __x86_64_shared_cache_size_half into
17457 R8_LP.
17458
8a17f349
L
174592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17462 R8_LP.
17463
777b1eea
AZ
174642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17465
17466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17467 logb for POWER7.
17468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17469 logbf for POWER7.
17470 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17471 logbl for POWER7.
17472 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17473 powerpc32/power7/fpu/s_logb.c via #include.
17474 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17475 powerpc32/power7/fpu/s_logbf.c via #include.
17476 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17477 powerpc32/power7/fpu/s_logbl.c via #include.
17478
d20d4ac2
JM
174792012-05-15 Joseph Myers <joseph@codesourcery.com>
17480
17481 * README.libm: Remove file.
17482
6cdef1ab
L
174832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17484
17485 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17486 count for x32. Use R*_LP and omit operand-size suffix.
17487
0b254d8f
L
174882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17491 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17492 * sysdeps/x86_64/x32/shlib-versions: New file.
17493
ceb809dc
RM
174942012-05-14 Roland McGrath <roland@hack.frob.com>
17495
17496 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17497 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17498 Use _dl_fatal_printf instead.
17499
37f1abd4
JM
175002012-05-14 Joseph Myers <joseph@codesourcery.com>
17501
17502 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17503 set if not set by the user. Do not allow for being unset.
17504 * sysdeps/unix/sysv/linux/configure: Regenerated.
17505
11de3a33
L
175062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17507
17508 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17509 the `q' suffix from lea and replace .quad with ASM_ADDR.
17510
e02f153a
L
175112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17512
17513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17514 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17515 instead of $17.
17516 (PTR_DEMANGLE): Likewise.
17517
520ae0fd
L
175182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17519
17520 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17521 (LP_OP): Likewise.
17522 (ASM_ADDR): Likewise.
17523 (RAX_LP): Likewise.
17524 (RBP_LP): Likewise.
17525 (RBX_LP): Likewise.
17526 (RCX_LP): Likewise.
17527 (RDI_LP): Likewise.
17528 (RSI_LP): Likewise.
17529 (RSP_LP): Likewise.
17530 (R8_LP): Likewise.
17531 (R9_LP): Likewise.
17532 (R10_LP): Likewise.
17533 (R10_LP): Likewise.
17534 (R11_LP): Likewise.
17535 (R12_LP): Likewise.
17536 (R13_LP): Likewise.
17537 (R14_LP): Likewise.
17538 (R15_LP): Likewise.
17539
b985be81
L
175402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17541
17542 * sysdeps/x86_64/x32/dl-machine.h: New file.
17543
6a4888ff
AJ
175442012-05-14 Andreas Jaeger <aj@suse.de>
17545
17546 * manual/Makefile (subdir): Remove export of subdir.
17547 (all): Remove target.
17548 (.PHONY): Remove all from list.
17549 (mkinstalldirs): Remove.
17550 (.PHONY): Remove installdirs from list.
17551 ($(inst_infodir)/libc.info): Use make-target-directory.
17552 (installdirs): Remove.
17553 (subdir_%): Remove.
17554 (glibc-targets): Remove.
17555 (lib): Remove.
17556 (stubs): Remove.
17557 ($(objpfx)stubs ../po/manual.pot): Remove.
17558 ($(objpfx)stamp%): Remove.
17559 (make-target-directory): Remove.
17560 (subdir_install): Remove.
17561 (routines): Remove.
17562 (aux): Remove.
17563 (sources): Remove.
17564 (objects): Remove.
17565 (headers): Remove.
17566
17567 [BZ #13750]
17568 * manual/.gitignore: Remove, it's not needed anymore.
17569 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17570 all files in it.
17571 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17572 directory.
17573 (texis): Renamed to $(objpfx)texis.
17574 (texis-path): New, contains path to generated files.
17575 (chapters.%): Use texis-path for complete path, add extra argument
17576 libc-texinfo.sh.
17577 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17578 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17579 (summary,texi, stamp-summary): Use complete path of
17580 files. Generate files in build dir.
17581 (dir-add.texi): Build in build dir.
17582 (libm-err.texi,stamp-libm-err): Likewise.
17583 (version.texi, stamp-version): Likewise.
17584 (.%c.texi): Likewise.
17585 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17586 (mostlyclean): Remove target.
17587 (realclean): Remove target.
17588 (generated): Add new variable with contents from mostlyclean and
17589 realclean, remove entries duplicated in common-mostlyclean, add
17590 stamp-libm-err and stamp-version.
17591 (generated-dirs): Add libc directory.
17592 ($(inst_infodir)/libc.info): Install files from build dir.
17593
17594 * manual/install.texi (Configuring and compiling): Adjust since
17595 the info files are not part of the tar ball anymore.
17596
7ac77294
AJ
175972012-05-14 Andreas Jaeger <aj@suse.de>
17598
17599 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17600 variable.
17601
ffb7875d
JM
176022012-05-14 Joseph Myers <joseph@codesourcery.com>
17603
17604 [BZ #13717]
17605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17606 to 2.2.0 where earlier.
17607 * sysdeps/unix/sysv/linux/configure: Regenerated.
17608 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17609 Remove conditional code.
17610 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17611 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17612 Remove conditional code.
17613 [!__NR_lchown]: Likewise.
17614 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17615 [__NR_lchown]: Likewise.
17616 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17617 comment referencing __ASSUME_LCHOWN_SYSCALL.
17618 * sysdeps/unix/sysv/linux/i386/sigaction.c
17619 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17620 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17621 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17622 Remove conditional code.
17623 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17624 (__protocol_available): Remove #if 0 code.
17625 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17626 conditional code.
17627 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17628 * sysdeps/unix/sysv/linux/kernel-features.h
17629 (__ASSUME_GETCWD_SYSCALL): Don't define.
17630 (__ASSUME_REALTIME_SIGNALS): Likewise.
17631 (__ASSUME_PREAD_SYSCALL): Likewise.
17632 (__ASSUME_PWRITE_SYSCALL): Likewise.
17633 (__ASSUME_POLL_SYSCALL): Likewise.
17634 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17635 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17636 non-SPARC.
17637 (__ASSUME_SIOCGIFNAME): Don't define.
17638 (__ASSUME_MSG_NOSIGNAL): Likewise.
17639 (__ASSUME_SENDFILE): Define unconditionally.
17640 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17641 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17642 conditional code.
17643 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17644 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17645 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17646 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17647 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17648 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17649 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17663 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17666 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17669 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17670 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17672 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17673 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17674 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17675 Remove conditional code.
17676 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17677 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17678 Remove conditional code.
17679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17680 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17681 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17682 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17683 Remove conditional code.
17684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17685 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17686 Remove conditional code.
17687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17688 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17689 Remove conditional code.
17690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17691 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17692 Remove conditional code.
17693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17694 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17695 Remove conditional code.
17696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17697 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17700 * sysdeps/unix/sysv/linux/sigaction.c
17701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17703 * sysdeps/unix/sysv/linux/sigpending.c
17704 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17705 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17706 * sysdeps/unix/sysv/linux/sigprocmask.c
17707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17709 * sysdeps/unix/sysv/linux/sigsuspend.c
17710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17713 (__libc_missing_rt_sigs): Remove.
17714 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17715 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17716 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17717 Remove conditional code.
17718 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17719 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17720 return 1.
17721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17722 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17724 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17725
1bfb7291
AJ
177262012-05-14 Andreas Jaeger <aj@suse.de>
17727
caae5a81
AJ
17728 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17729 it's not used in glibc.
17730 (__coshm1): Likewise.
17731 (__acosh1p): Likewise.
17732 (__sgn): Likewise.
17733
1bfb7291
AJ
17734 * manual/string.texi (Copying and Concatenation): Add missing
17735 variable in concat example.
17736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17737
c044d724
L
177382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17739
144c5467 17740 [BZ #14103]
c044d724
L
17741 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17742 __builtin_clzl with __builtin_clzll.
17743
2523c62b
L
177442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 [BZ #14104]
17747 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17748 libc_freeres_ptr.
17749
d7bb4c42
LD
177502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17751
17752 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17753 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17754 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17755 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17756
9dc4e1fb
MF
177572012-05-14 Mike Frysinger <vapier@gentoo.org>
17758
17759 * NEWS: Update ia64 info.
17760
c7df0112
AS
177612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17762
17763 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17764 used as bcopy.
17765
dc70356c
TS
177662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17767
17768 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17769 * sysdeps/unix/syscalls.list (dup3): Likewise.
17770 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17771 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17772
9fb1a21f
L
177732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17774
17775 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17776 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17777
4822a2a5
L
177782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17779
17780 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17781 thread pointer.
17782 (TLS_IE): Use mov/add instead of movq/addq to load thread
17783 pointer.
17784 (TLS_GD_PREFIX): New.
17785 (TLS_GD): Use it.
17786
842b81d6
DM
177872012-05-11 David S. Miller <davem@davemloft.net>
17788
17789 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17790 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17791 (_FPU_SETCW): Likewise.
17792
1cf463cd
L
177932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17796 is 32-byte aligned.
17797
60cc4a18
AS
177982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17799
17800 [BZ #11837]
17801 * iconvdata/gb18030.c: Update tables.
17802 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17803 characters specially.
17804 (BODY for TO_LOOP): Add encoding of missing ranges.
17805
febb44a4
TS
178062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17807
17808 [BZ #13673]
17809 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17810 * sysdeps/mach/hurd/dup3.c: Likewise.
17811 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17812 * sysdeps/powerpc/memmove.c:: Likewise.
17813
0a10fb9e
L
178142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17815
17816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17817 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17818
df8a552f
L
178192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17820
17821 * elf/elf.h (R_X86_64_RELATIVE64): New.
17822 (R_X86_64_NUM): Updated.
17823 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17824 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17825 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17826 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17827 tst-quad1pie tst-quad2pie
17828 (modules-names): Add tst-quadmod1 tst-quadmod2.
17829 ($(objpfx)tst-quad1): New dependency.
17830 ($(objpfx)tst-quad2): Likewise.
17831 ($(objpfx)tst-quad1pie): Likewise.
17832 ($(objpfx)tst-quad2pie): Likewise.
17833 * sysdeps/x86_64/tst-quad1.c: New file.
17834 * sysdeps/x86_64/tst-quad1pie.c: New file.
17835 * sysdeps/x86_64/tst-quad2.c: Likewise.
17836 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17837 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17838 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17839 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17840 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17841
f34d6f84
ST
178422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17843
f42d41d1
ST
17844 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17845 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17846 * streams/stropts.h (t_scalar_t): Define type.
17847
3c3571fc
ST
17848 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17849 (_PATH_PRESERVE): Set to "/var/lib".
17850 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17851
61f06bd3
ST
17852 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17853 instead of int.
17854
918d4d71
ST
17855 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17856 if __dir_mkfile succeeded.
17857
f34d6f84
ST
17858 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17859 checking for _hurd_dtablesize. Unlock it right after having
17860 finished _hurd_dtable allocation.
17861
10589b4a
TS
178622012-05-10 Thomas Schwinge <thomas@schwinge.name>
17863
674cdbc7
TS
17864 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17865 * sysdeps/mach/hurd/configure: Regenerated.
17866 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17867 special-casing to...
17868 * sysdeps/gnu/configure.in: ... this new file.
17869 * sysdeps/unix/sysv/linux/configure: Regenerated.
17870 * sysdeps/gnu/configure: New generated file.
17871
8e41b99f
TS
17872 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17873 for Linux: use nsec instead of usec, as well as:
17874 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17875 members of type struct timespec.
17876 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17877 New macros.
17878 (struct stat64): Likewise.
17879 (_STATBUF_ST_NSEC): New macro.
17880 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17881
10589b4a
TS
17882 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17883 __strtoul_internal rather than strtoul.
17884
63643c85
PT
178852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17886
17887 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17888 and reject them.
17889
3faebe6a
ST
178902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17891
17892 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17893 which preserves existing values.
17894 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17895
c6474b07
PT
178962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17897
17898 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17899 TIMEOUT values. Return EINVAL for NFDS values either negative or
17900 greater than FD_SETSIZE.
17901
1043890b
ST
179022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17903
17904 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17905 allocated, call __vm_protect to finish enabling the existing space, and
17906 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17907 allocate the remainder.
17908
37ed8b9b
PT
179092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17910
17911 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17912 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17913
db653660
ST
179142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17915
37ed8b9b
PT
17916 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17917 sysdeps/mach/hurd/readlink.c.
b29d4053 17918
db653660
ST
17919 * posix/tst-sysconf.c (posix_options): Only use
17920 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17921 _POSIX_SYNCHRONIZED_IO when they are defined
17922 * sysdeps/mach/hurd/bits/posix_opt.h:
17923 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17924 (_XOPEN_REALTIME): Undefine macro.
17925 (_XOPEN_REALTIME_THREADS): Undefine macro.
17926 (_XOPEN_SHM): Undefine macro.
17927 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17928 macro to -1.
17929 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17930 macro to -1.
17931 (_POSIX_ASYNC_IO): Undefine macro.
17932 (_POSIX_PRIORITIZED_IO): Undefine macro.
17933 (_POSIX_SPIN_LOCKS): Define macro to -1.
17934
ee16e894
ST
17935 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17936 SA_NODEFER, SA_RESETHAND.
17937 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17938 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17939 F_DUPFD_CLOEXEC.
17940
6103ae3b
TS
179412012-05-10 Thomas Schwinge <thomas@schwinge.name>
17942
17943 * elf/Makefile (pldd-modules): Define unconditionally.
17944
80b4e5f3
TS
179452012-05-10 Thomas Schwinge <thomas@schwinge.name>
17946
17947 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17948
edadcbd6
ST
179492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17950
17951 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17952 Return ENOENT when name is empty.
17953 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17954
80694780
TS
179552012-05-10 Thomas Schwinge <thomas@schwinge.name>
17956
1792c087
TS
17957 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17958
80694780
TS
17959 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17960
6b645f0d
ST
179612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17962
80694780
TS
17963 Fix mlock in all cases except non-readable pages.
17964 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17965 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17966
6b645f0d
ST
17967 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17968 (__mkdir): When path is `/', just fail with EEXIST.
17969 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17970
e468f8a3
TS
179712012-05-10 Thomas Schwinge <thomas@schwinge.name>
17972
17973 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17974 <sys/uio.h> (for writev).
17975 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17976 and <sys/param.h> (for MIN).
17977
a4186cff
PT
179782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17979
17980 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17981 REQUESTED_TIME. Properly set the remaining time and return EINTR
17982 if interrupted.
17983
510bbf14
TS
179842012-05-10 Thomas Schwinge <thomas@schwinge.name>
17985
17986 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17987 Depend on against $(link-rpcuserlibs).
17988
5d5722e8
ST
179892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17990
a4186cff
PT
17991 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17992 (__libc_stack_end): Do not use attribute_relro.
17993 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17994 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17995 to libthread-provided value.
a4186cff
PT
17996 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17997 attribute_relro.
5d5722e8 17998
37233df9
TS
179992012-05-10 Thomas Schwinge <thomas@schwinge.name>
18000
be971a2b
TS
18001 [BZ #3748]
18002 * bits/libc-lock.h (__libc_once_get): New macro.
18003 * sysdeps/mach/bits/libc-lock.h: Likewise.
18004 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18006 instead of using implementation details.
18007
37233df9
TS
18008 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18009 * libio/freopen.c: Likewise.
18010 * libio/freopen64.c: Likewise.
18011 * misc/syslog.c: Likewise.
18012 * nscd/connections.c: Likewise.
18013 * nscd/netgroupcache.c: Likewise.
18014 * sysdeps/posix/getcwd.c: Likewise.
18015
38de94a5
RM
180162012-05-10 Roland McGrath <roland@hack.frob.com>
18017
18018 * math/w_ilogbf.c: Add #include <limits.h>.
18019
67530489
ST
180202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18021
a4186cff 18022 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18023 path instead of returning without unlocking.
18024
67530489
ST
18025 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18026 immediate-write ioctls.
18027 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18028
5aa3a74a
TS
180292012-05-10 Thomas Schwinge <thomas@schwinge.name>
18030
18bad2ae
TS
18031 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18032 __builtin_frame_address instead of making assumptions about the
18033 location of the return address relative to DATA. Force early load of
18034 the return address.
18035 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18036 __builtin_frame_address.
18037
5aa3a74a
TS
18038 dup3 for GNU Hurd.
18039 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18040 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18041 implement dup3 and do some further code clean-ups.
18042 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18043 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18044
ecd0de9a
ST
180452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18046
cd9fa985
ST
18047 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18048
a4186cff
PT
18049 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18050 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18051 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18052 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18053 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18054 d->port.lock.
802ca5a5 18055
a4186cff
PT
18056 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18057 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18058 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18059
bcf55240
TS
180602012-05-10 Thomas Schwinge <thomas@schwinge.name>
18061
6960eb42
TS
18062 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18063 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18064 definitions.
18065
eb43375f
TS
18066 accept4 for GNU Hurd.
18067 * include/sys/socket.h (__libc_accept4): New prototype.
18068 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18069 to implement __libc_accept4.
18070 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18071 __libc_accept4.
18072 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18073
bcf55240
TS
18074 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18075 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18076 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18077 signal-defines.sym.
18078
6178c55b
ST
180792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18080
a4186cff 18081 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18082
6f080c2f
TS
180832012-05-10 Thomas Schwinge <thomas@schwinge.name>
18084
18085 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18086 assertion on O_CLOEXEC flag.
18087 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18088 * hurd/intern-fd.c: Likewise.
18089 * hurd/port2fd.c: Likewise.
18090
bcfe3a54
ST
180912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18092
18093 [BZ #3906]
18094 * bits/in.h (IPV6_PKTINFO): Define new macro.
18095 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18096
89c9aa49
AZ
180972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18098
18099 [BZ #13954]
18100 [BZ #13955]
18101 [BZ #13956]
18102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18104 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18107 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18108 * math/libm-test.inc (logb_test) : Additional logb tests.
18109
021db4be
AJ
181102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18111 Andreas Jaeger <aj@suse.de>
18112
18113 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18114 * configure: Regenerated.
18115 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18116 * config.make.in (link-obsolete-rpc): New substituted variable.
18117 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18118 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18119 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18120 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18121 so that libc.a contains the symbols.
18122 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18123 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18124 * sunrpc/auth_none.c: Likewise.
18125 * sunrpc/auth_unix.c: Likewise.
18126 * sunrpc/authdes_prot.c: Likewise.
18127 * sunrpc/authuxprot.c: Likewise.
18128 * sunrpc/clnt_gen.c: Likewise.
18129 * sunrpc/clnt_perr.c: Likewise.
18130 * sunrpc/clnt_raw.c: Likewise.
18131 * sunrpc/clnt_simp.c: Likewise.
18132 * sunrpc/clnt_tcp.c: Likewise.
18133 * sunrpc/clnt_udp.c: Likewise.
18134 * sunrpc/clnt_unix.c: Likewise.
18135 * sunrpc/des_crypt.c: Likewise.
18136 * sunrpc/des_soft.c: Likewise.
18137 * sunrpc/get_myaddr.c: Likewise.
18138 * sunrpc/key_call.c: Likewise.
18139 * sunrpc/key_prot.c: Likewise.
18140 * sunrpc/netname.c: Likewise.
18141 * sunrpc/pm_getmaps.c: Likewise.
18142 * sunrpc/pm_getport.c: Likewise.
18143 * sunrpc/pmap_clnt.c: Likewise.
18144 * sunrpc/pmap_prot.c: Likewise.
18145 * sunrpc/pmap_prot2.c: Likewise.
18146 * sunrpc/pmap_rmt.c: Likewise.
18147 * sunrpc/publickey.c: Likewise.
18148 * sunrpc/rpc_cmsg.c: Likewise.
18149 * sunrpc/rpc_common.c: Likewise.
18150 * sunrpc/rpc_dtable.c: Likewise.
18151 * sunrpc/rpc_prot.c: Likewise.
18152 * sunrpc/rpc_thread.c: Likewise.
18153 * sunrpc/rtime.c: Likewise.
18154 * sunrpc/svc.c: Likewise.
18155 * sunrpc/svc_auth.c: Likewise.
18156 * sunrpc/svc_raw.c: Likewise.
18157 * sunrpc/svc_run.c: Likewise.
18158 * sunrpc/svc_tcp.c: Likewise.
18159 * sunrpc/svc_udp.c: Likewise.
18160 * sunrpc/svc_unix.c: Likewise.
18161 * sunrpc/svcauth_des.c: Likewise.
18162 * sunrpc/xcrypt.c: Likewise.
18163 * sunrpc/xdr.c: Likewise.
18164 * sunrpc/xdr_array.c: Likewise.
18165 * sunrpc/xdr_float.c: Likewise.
18166 * sunrpc/xdr_intXX_t.c: Likewise.
18167 * sunrpc/xdr_mem.c: Likewise.
18168 * sunrpc/xdr_rec.c: Likewise.
18169 * sunrpc/xdr_ref.c: Likewise.
18170 * sunrpc/xdr_sizeof.c: Likewise.
18171 * sunrpc/xdr_stdio.c: Likewise.
18172
b5c086a2
RM
181732012-05-10 Roland McGrath <roland@hack.frob.com>
18174
18175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18176 change. Update copyright years.
18177
6d74dd09
JM
181782012-05-10 Joseph Myers <joseph@codesourcery.com>
18179
18180 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18181
28e72501
MK
181822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18183 Joseph Myers <joseph@codesourcery.com>
18184 Paul Pluzhnikov <ppluzhnikov@google.com>
18185
18186 [BZ #14012]
18187 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18188 requiring rpcgen.
18189 [cross-compiling] (extra-libs): Likewise.
18190 [cross-compiling] (extra-libs-others): Likewise.
18191 [cross-compiling] (librpcsvc-routines): Likewise.
18192 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18193 [cross-compiling] (omit-deps): Likewise.
18194 (sunrpc-CPPFLAGS): New variable.
18195 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18196 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18197 (cross-rpcgen-objs): New variable.
18198 (extra-objs): Append $(cross-rpcgen-objs).
18199 ($(cross-rpcgen-objs)): New rule.
18200 ($(objpfx)cross-rpcgen): Likewise.
18201 (rpcgen-cmd): Define to use $(built-program-file). Expand
18202 comment.
18203 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18204 ($(objpfx)x%.stmp): Likewise.
18205 * sunrpc/proto.h [IS_IN_build] (_): Define.
18206 [IS_IN_build] (_libc_intl_domainname): Likewise.
18207
c8c59454
L
182082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18209
18210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18211 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18212 and R_X86_64_TPOFF64.
18213
6f27cd16
JM
182142012-05-10 Joseph Myers <joseph@codesourcery.com>
18215
18216 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18217 sysdeps/unix/sysv/syscalls.list.
18218 (stime): Likewise.
18219 (utime): Likewise.
18220 * sysdeps/unix/sysv/syscalls.list: Remove file.
18221
02467e1c
PE
182222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18223
18224 [BZ #3440]
18225 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18226 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18227 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18228 (__LC_IDENTIFICATION): Make these macros useful in #if
18229 expressions, as required by C99.
18230
da392631
AS
182312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18232
18233 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18234 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18235 after this.
18236
8115f29b
L
182372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18238
18239 * stdlib/longlong.h: Updated from GCC.
18240
bdd74070
AJ
182412012-05-09 Andreas Jaeger <aj@suse.de>
18242
edfe0dbe
AJ
18243 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18244 default is first entry.
18245 (run_mode): Set type.
18246 (main): Remove informal message about syslog.
18247 (options): Fix typo.
18248
bcfe3a54
ST
18249 [BZ #14053]
18250 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18251 to asm.
bcfe3a54
ST
18252 (lrint): Likewise.
18253 (llrintf): Likewise.
18254 (llrint): Likewise.
18255 (rint): Likewise.
18256 (rintf): Likewise.
18257 (nearbyint): Likewise.
18258 (nearbyintf): Likewise.
bdd74070 18259
91d8d69e
AJ
182602012-05-09 Andreas Jaeger <aj@suse.de>
18261 Pedro Alves <palves@redhat.com>
18262
18263 * nscd/nscd.c (run_mode): Use enum.
18264 (main): Cleanup coding style issue.
18265
bb90b80b
AJ
182662012-05-09 Alexandre Oliva <aoliva@redhat.com>
18267 Andreas Jaeger <aj@suse.de>
18268
bcfe3a54
ST
18269 * nscd/nscd.c (go_background): Replaced with...
18270 (run_mode): ... this.
bb90b80b 18271 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18272 (options): Add -F --foreground.
18273 (main): Implement it.
18274 (parse_opt): Parse it.
bb90b80b 18275
1a4b75a1
AJ
182762012-05-09 Andreas Jaeger <aj@suse.de>
18277
18278 [BZ #14083]
18279 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18280 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18281 -Wconversion warning.
18282 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18283 Likewise.
18284
b1cc2472
JM
182852012-05-09 Joseph Myers <joseph@codesourcery.com>
18286
18287 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18288 == 0.
18289 (LC_ALL): Use macro-int-constant.
18290 (LC_COLLATE): Likewise.
18291 (LC_CTYPE): Likewise.
18292 (LC_MESSAGES): Likewise.
18293 (LC_MONETARY): Likewise.
18294 (LC_NUMERIC): Likewise.
18295 (LC_TIME): Likewise.
18296 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18297 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18298 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18299 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18300 Specify type.
18301 [C99-based standards] (float_t): Expect type.
18302 [C99-based standards] (double_t): Expect type.
18303 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18304 type.
18305 [C99-based standards] (HUGE_VALL): Likewise.
18306 [C99-based standards] (INFINITY): Likewise.
18307 [C99-based standards] (NAN): Likewise.
18308 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18309 [C99-based standards] (FP_NAN): Likewise.
18310 [C99-based standards] (FP_NORMAL): Likewise.
18311 [C99-based standards] (FP_SUBNORMAL): Likewise.
18312 [C99-based standards] (FP_ZERO): Likewise.
18313 [C99-based standards] (FP_FAST_FMA): Use
18314 optional-macro-int-constant. Specify type. Require == 1.
18315 [C99-based standards] (FP_FAST_FMAF): Likewise.
18316 [C99-based standards] (FP_FAST_FMAL): Likewise.
18317 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18318 [C99-based standards] (FP_ILOGBNAN): Likewise.
18319 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18320 Specify type.
18321 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18322 [C99-based standards] (math_errhandling): Specify type.
18323 [ISO99 || ISO11] (signgam): Do not allow.
18324 [non-C99-based standards] (copysignf): Do not allow.
18325 [non-C99-based standards] (exp2f): Likewise.
18326 [non-C99-based standards] (log2f): Likewise.
18327 [non-C99-based standards] (modff): Allow.
18328 [non-C99-based standards] (erff): Do not allow.
18329 [non-C99-based standards] (erfcf): Likewise.
18330 [non-C99-based standards] (gammaf): Likewise.
18331 [non-C99-based standards] (hypotf): Likewise.
18332 [non-C99-based standards] (j0f): Likewise.
18333 [non-C99-based standards] (j1f): Likewise.
18334 [non-C99-based standards] (jnf): Likewise.
18335 [non-C99-based standards] (lgammaf): Likewise.
18336 [non-C99-based standards] (tgammaf): Likewise.
18337 [non-C99-based standards] (y0f): Likewise.
18338 [non-C99-based standards] (y1f): Likewise.
18339 [non-C99-based standards] (ynf): Likewise.
18340 [non-C99-based standards] (isnanf): Likewise.
18341 [non-C99-based standards] (acoshf): Likewise.
18342 [non-C99-based standards] (asinhf): Likewise.
18343 [non-C99-based standards] (atanhf): Likewise.
18344 [non-C99-based standards] (cbrtf): Likewise.
18345 [non-C99-based standards] (expm1f): Likewise.
18346 [non-C99-based standards] (ilogbf): Likewise.
18347 [non-C99-based standards] (log1pf): Likewise.
18348 [non-C99-based standards] (logbf): Likewise.
18349 [non-C99-based standards] (nextafterf): Likewise.
18350 [non-C99-based standards] (remainderf): Likewise.
18351 [non-C99-based standards] (rintf): Likewise.
18352 [non-C99-based standards] (scalbf): Likewise.
18353 [non-C99-based standards] (copysignl): Likewise.
18354 [non-C99-based standards] (exp2l): Likewise.
18355 [non-C99-based standards] (log2l): Likewise.
18356 [non-C99-based standards] (modfl): Allow.
18357 [non-C99-based standards] (erfl): Do not allow.
18358 [non-C99-based standards] (erfcl): Likewise.
18359 [non-C99-based standards] (gammal): Likewise.
18360 [non-C99-based standards] (hypotl): Likewise.
18361 [non-C99-based standards] (j0l): Likewise.
18362 [non-C99-based standards] (j1l): Likewise.
18363 [non-C99-based standards] (jnl): Likewise.
18364 [non-C99-based standards] (lgammal): Likewise.
18365 [non-C99-based standards] (tgammal): Likewise.
18366 [non-C99-based standards] (y0l): Likewise.
18367 [non-C99-based standards] (y1l): Likewise.
18368 [non-C99-based standards] (ynl): Likewise.
18369 [non-C99-based standards] (isnanl): Likewise.
18370 [non-C99-based standards] (acoshl): Likewise.
18371 [non-C99-based standards] (asinhl): Likewise.
18372 [non-C99-based standards] (atanhl): Likewise.
18373 [non-C99-based standards] (cbrtl): Likewise.
18374 [non-C99-based standards] (expm1l): Likewise.
18375 [non-C99-based standards] (ilogbl): Likewise.
18376 [non-C99-based standards] (log1pl): Likewise.
18377 [non-C99-based standards] (logbl): Likewise.
18378 [non-C99-based standards] (nextafterl): Likewise.
18379 [non-C99-based standards] (remainderl): Likewise.
18380 [non-C99-based standards] (rintl): Likewise.
18381 [non-C99-based standards] (scalbl): Likewise.
18382 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18383 [non-C99-based standards] (FP_*): Do not allow.
18384 [C99-based standards] (FP_*): Change to
18385 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18386 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18387 allow.
18388 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18389 (SIG_ERR): Likewise.
18390 [X/Open-based standards] (SIG_HOLD): Likewise.
18391 (SIG_IGN): Likewise.
18392 (SIGABRT): Use macro-int-constant. Specify type. Require
18393 positive value.
18394 (SIGFPE): Likewise.
18395 (SIGILL): Likewise.
18396 (SIGINT): Likewise.
18397 (SIGSEGV): Likewise.
18398 (SIGTER): Likewise.
18399 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18400 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18401 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18402 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18403 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18404 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18405 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18406 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18407 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18408 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18409 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18410 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18411 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18412 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18413 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18414 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18415 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18416 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18417 [X/Open-based standards] (SIGTRAP): Likewise.
18418 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18419 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18420 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18421 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18422 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18423 allow.
18424
b9f1922d
IW
184252012-05-08 Ian Wienand <ianw@vmware.com>
18426
18427 [BZ #14080]
18428 * time/tzset.c (__tzset_parse_tz): Update default rules for
18429 daylight time changes in the Energy Policy Act of 2005.
18430
1db86e88
AJ
184312012-05-09 Andreas Jaeger <aj@suse.de>
18432
18433 [BZ #13983]
18434 * elf/ldconfig.c (parse_conf): Change string to make clear that
18435 ldconfig only issued a warning if ld.so.conf does not exist.
18436
dee4a4e3
DM
184372012-05-08 David S. Miller <davem@davemloft.net>
18438
ee0db190
DM
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18440 movxtod instead of popping the value on the stack.
18441
dee4a4e3
DM
18442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18443
6a43ec98
CD
184442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18445
18446 * config.h.in: Add HAVE_ARM_PCS_VFP.
18447
05c2c961
RMG
184482012-05-08 Roland Mc Grath <roland@hack.frob.com>
18449
bcfe3a54
ST
18450 [BZ #13979]
18451 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18452 checking but the checks are disabled for any reason.
05c2c961 18453
4b30f61a
L
184542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18455
18456 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18457 and ELF64_R_TYPE with ELFW(R_TYPE).
18458
eee2bc67
JM
184592012-05-08 Joseph Myers <joseph@codesourcery.com>
18460
7ea5391a
JM
18461 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18462 (ulimit): Likewise.
18463
eee2bc67
JM
18464 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18465 (settimeofday): Likewise.
18466
abb66a67
MF
184672012-05-08 Mike Frysinger <vapier@gentoo.org>
18468
18469 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18470 a struct th_u2 inside the union, and move tu_block/tu_code into
18471 a new th_u3 union of tu_block/tu_code inside of that. Move
18472 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18473 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18474 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18475 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18476 (th_stuff): Change to th_u1.tu_stuff.
18477 (th_data): Define.
18478 (th_msg): Change to th_u1.th_u2.tu_data.
18479
7f18b530
DM
184802012-05-07 David S. Miller <davem@davemloft.net>
18481
05760585
DM
18482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18483
7f18b530
DM
18484 [BZ #14074]
18485 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18486 (SETUP_PIC_REG): Use it.
18487 (SETUP_PIC_REG_LEAF): Use it.
18488
495fd99f
JM
184892012-05-07 Joseph Myers <joseph@codesourcery.com>
18490
18491 [BZ #13885]
18492 [BZ #13923]
18493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18494 USE_AS_EXPM1L.
18495 (EXPL_FINITE): Likewise.
18496 (FLDLOG): Likewise.
18497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18498 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18499 e_expl.S.
18500 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18501 USE_AS_EXPM1L.
18502 (EXPL_FINITE): Likewise.
18503 (FLDLOG): Likewise.
18504 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18505 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18506 e_expl.S.
18507 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18508 test of -max_value argument for long double.
18509 * sysdeps/i386/fpu/libm-test-ulps: Update.
18510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18511
6693d694
DM
185122012-05-06 David S. Miller <davem@davemloft.net>
18513
18514 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18515 quad soft-float symbols whose references which are compiler
18516 generated.
18517 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18518
6c23e11c
JM
185192012-05-06 Joseph Myers <joseph@codesourcery.com>
18520
d8b82cad
JM
18521 [BZ #13884]
18522 [BZ #13914]
18523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18524 USE_AS_EXP10L.
18525 (EXPL_FINITE): Likewise.
18526 (FLDLOG): Likewise.
18527 (c0): Likewise.
18528 (c1): Likewise.
18529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18530 Adjust comments for base varying.
18531 (__expl_finite): Change alias to EXPL_FINITE.
18532 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18533 e_expl.S.
18534 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18535 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18536 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18537 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18538 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18539 USE_AS_EXP10L.
18540 (EXPL_FINITE): Likewise.
18541 (FLDLOG): Likewise.
18542 (c0): Likewise.
18543 (c1): Likewise.
18544 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18545 Adjust comments for base varying.
18546 (__expl_finite): Change alias to EXPL_FINITE.
18547 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18548 tests for bugs.
18549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18550
6c23e11c
JM
18551 [BZ #14064]
18552 * math/libm-test.inc (check_float_internal): Correct ulp
18553 calculation for subnormal expected results.
18554
29ba805c
AJ
185552012-05-06 Andreas Jaeger <aj@suse.de>
18556
18557 * Makeconfig (+math-flags): New, set to -frounding-math.
18558 (+cflags): Add +math-flags so that all of glibc gets compiled with
18559 it.
18560
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18562
7b17aeda
JM
185632012-05-05 Joseph Myers <joseph@codesourcery.com>
18564
5779f134
JM
18565 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18566 Disable one test.
18567
41498f4d
JM
18568 [BZ #13787]
18569 [BZ #13922]
18570 [BZ #14036]
18571 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18572 (__ieee754_expl): Allow for and saturate large arguments.
18573 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18574 (u_threshold): Likewise.
18575 (__exp): Call __ieee754_exp before checking for overflow and
18576 underflow.
18577 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18578 (u_threshold): Likewise.
18579 (__expf): Call __ieee754_expf before checking for overflow and
18580 underflow.
18581 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18582 (u_threshold): Likewise.
18583 (__expl): Call __ieee754_expl before checking for overflow and
18584 underflow.
18585 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18586 (__ieee754_expl): Allow for and saturate large arguments.
18587 * math/libm-test.inc (exp_test): Add another test. Do not allow
18588 missing overflow exception on overflow.
18589 (expm1_test): Do not allow missing overflow exception on overflow.
18590
6698b8bf
JM
18591 * sysdeps/i386/fpu/e_expl.c: Move to ...
18592 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18593 rather than using inline asm.
18594 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18595 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18596 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18597
7b17aeda
JM
18598 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18599 (nice): Likewise.
18600 (poll): Likewise.
18601 (signal): Likewise.
18602 (time): Likewise.
18603 (times): Likewise.
18604
f7c85819
JM
186052012-05-04 Joseph Myers <joseph@codesourcery.com>
18606
18607 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18608 sysdeps/unix/common/syscalls.list.
18609 (fchmod): Likewise.
18610 (fchown): Likewise.
18611 (ftruncate): Likewise.
18612 (getrusage): Likewise.
18613 (gettimeofday): Likewise.
18614 (setpgid): Likewise.
18615 (setregid): Likewise.
18616 (setreuid): Likewise.
18617 (sigaction): Likewise.
18618 (truncate): Likewise.
18619 (vhangup): Likewise.
18620 * sysdeps/unix/common/syscalls.list: Remove file.
18621 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18622 * sysdeps/unix/sysv/linux/Implies: Likewise.
18623
336270d0
L
186242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18629 Moved to ...
18630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18631 Here.
18632 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18633 to ...
18634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18635 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18636 to ...
18637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18638 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18639 to ...
18640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18641 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18642 to ...
18643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18644 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18645 to ...
18646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18648 to ...
18649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18650 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18651 to ...
18652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18653 Here.
18654 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18655 to ...
18656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18657 Here.
18658 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18659 to ...
18660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18662 Moved to ...
18663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18664 Here.
18665 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18666 to ...
18667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18668
d128e450
JM
186692012-05-04 Joseph Myers <joseph@codesourcery.com>
18670
fa8ee516
JM
18671 * sysdeps/unix/common/bits/dirent.h: Remove file.
18672 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18673
d128e450
JM
18674 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18675 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18676 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18677 * sysdeps/unix/bsd/isatty.c: Likewise.
18678 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18679 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18680 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18681
ff8faaf0 186822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18683
62881be4 18684 [BZ #13563]
31dc8730
AZ
18685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18686 long double comparison inaccuracies.
18687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18689
6fef930c
AS
186902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18691
18692 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18693 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18694
8f203e6c
JM
186952012-05-04 Joseph Myers <joseph@codesourcery.com>
18696
18697 [BZ #14049]
18698 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18699 nonzero digits before rounding a hex value.
18700 * stdlib/tst-strtod.c (tests): Add another test.
18701
5197d9c2
AK
187022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18703
18704 * sysdeps/s390/fpu/libm-test-ulps: Update.
18705
f0c1dedf
AJ
187062012-05-03 Andreas Jaeger <aj@suse.de>
18707
18708 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18709 does not get optimized out.
18710 (malloc_opt_barrier): New.
18711
a65ef2ae 187122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18713 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18714
2b942cb7 18715 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18716 intermediate file deletion.
2b942cb7 18717 (generated): Add .symlist files.
a65ef2ae 18718
54b71e02
JM
187192012-05-03 Joseph Myers <joseph@codesourcery.com>
18720
18721 [BZ #13775]
18722 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18723 Redirect under this condition.
18724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18725 [__USE_GNU] (__dprintf_chk): Not under this condition.
18726 [__USE_GNU] (__vdprintf_chk): Likewise.
18727 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18728 under this condition.
18729 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18730 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18731 [__USE_XOPEN2K8] (vdprintf): Likewise.
18732 [__USE_GNU] (__dprintf_chk): Not under this condition.
18733 [__USE_GNU] (__vdprintf_chk): Likewise.
18734 [__USE_GNU] (dprintf): Likewise.
18735 [__USE_GNU] (vdprintf): Likewise.
18736
d3dfcc41
RM
187372012-05-03 Roland McGrath <roland@hack.frob.com>
18738
18739 * elf/Makefile (common-generated): Set this instead of generated for
18740 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18741 $(all-built-dso)-derived lists.
18742
7ac30cc5
AJ
187432012-05-03 Andreas Jaeger <aj@suse.de>
18744
0c51e550
AJ
18745 * sysdeps/i386/fpu/libm-test-ulps: Update.
18746
7ac30cc5
AJ
18747 * FAQ: Removed.
18748 * FAQ.in: Likewise.
18749 * scripts/gen-FAQ.pl: Likewise.
18750 * manual/install.texi (Installation): Point to online location of
18751 FAQ.
18752 * Makefile (files-for-dist): Remove FAQ.
18753 (FAQ): Remove.
18754
d4c2917f
AM
187552012-05-02 Allan McRae <allan@archlinux.org>
18756
18757 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18758 (LDFLAGS-reldepmod5.so): Likewise.
18759 (LDFLAGS-reldep6mod1.so): Likewise.
18760 (LDFLAGS-reldep6mod4.so): Likewise.
18761 (LDFLAGS-reldep8mod3.so): Likewise.
18762 (LDFLAGS-unload4mod1.so): Likewise.
18763 (LDFLAGS-unload4mod2.so): Likewise.
18764 (LDFLAGS-tst-initorder): Likewise.
18765 (LDFLAGS-tst-initordera2.so): Likewise.
18766 (LDFLAGS-tst-initordera3.so): Likewise.
18767 (LDFLAGS-tst-initordera4.so): Likewise.
18768 (LDFLAGS-tst-initorderb2.so): Likewise.
18769 (LDFLAGS-noload): Likewise.
18770 (LDFLAGS-next): Likewise.
18771 (LDFLAGS-order2mod1.so): Likewise.
18772 (LDFLAGS-order2mod2.so): Likewise.
18773 (LDFLAGS-tst-initorder2): Likewise.
18774 (LDFLAGS-tst-initorder2a.so): Likewise.
18775 (LDFLAGS-tst-initorder2b.so): Likewise.
18776 (LDFLAGS-tst-initorder2c.so): Likewise.
18777 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18778
d77f993f
DM
187792012-05-02 David S. Miller <davem@davemloft.net>
18780
18781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18782
171a70b4
PP
187832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18784
18785 [BZ #14055]
18786 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18787
0be196ad
AJ
187882012-05-02 Andreas Jaeger <aj@suse.de>
18789
18790 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18791 since we manipulate rounding mode.
18792 (CPPFLAGS-test-idouble.c): Likewise.
18793 (CPPFLAGS-test-ifloat.c): Likewise.
18794 (CFLAGS-test-ldouble.c): Likewise.
18795 (CFLAGS-test-double.c): Likewise.
18796 (CFLAGS-test-float.c): Likewise.
18797 (CFLAGS-test-misc.c): Likewise.
18798 (CFLAGS-test-test-fenv.c): Likewise.
18799
4f9d04aa
AZ
188002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18801
2b942cb7
RM
18802 [BZ #2550]
18803 [BZ #2570]
18804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18805 comparisons to determine direction to adjust input.
4f9d04aa 18806
82a79e7d
RM
188072012-05-01 Roland McGrath <roland@hack.frob.com>
18808
f5a01ca9
RM
18809 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18810 output to the target.
18811
90fe4186
RM
18812 * scripts/localplt.awk: New file.
18813 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18814 (check-localplt-CFLAGS): Variable removed.
18815 ($(all-built-dso:=.jmprel)): New static pattern rule.
18816 (generated): Add those targets.
18817 (localplt-built-dso): New variable.
18818 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18819
18820 * elf/check-localplt.c: File removed.
18821
82397ed6
RM
18822 * scripts/check-execstack.awk: New file.
18823 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18824 (check-execstack-CFLAGS): Variable removed.
18825 ($(objpfx)check-execstack.h): Target removed.
18826 ($(objpfx)execstack-default): New target.
18827 (generated): Add that instead of check-execstack.h.
18828 ($(all-built-dso:=.phdr)): New static pattern rule.
18829 (generated): Add those targets.
18830 * elf/check-execstack.c: File removed.
18831
82a79e7d
RM
18832 * scripts/check-textrel.awk: New file.
18833 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18834 (check-textrel-CFLAGS): Variable removed.
18835 (all-built-dso): Use := to define.o
18836 ($(all-built-dso:=.dyn)): New static pattern rule.
18837 (generated): Add those targets.
18838 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18839 * config.make.in (READELF): New substituted variable.
18840 * elf/check-textrel.c: File removed.
18841
62fde54f 188422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18843
615605c9
JM
18844 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18845 allow.
18846 * conform/data/ctype.h-data [C99-based standards] (isblank):
18847 Expect function.
18848 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18849 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18851 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18852 Specify type. Require positive value.
18853 (EILSEQ): Likewise.
18854 (ERANGE): Likewise.
18855 [ISO || POSIX] (EILSEQ): Do not expect.
18856 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18857 Specify type. Require positive value.
18858 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18859 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18860 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18861 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18862 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18863 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18864 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18865 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18866 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18867 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18868 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18869 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18870 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18871 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18872 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18873 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18874 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18875 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18876 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18877 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18878 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18879 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18880 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18913 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18914 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18915 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18916 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18917 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18932 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18933 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18934 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18935 Require >= 2.
18936 (FLT_ROUNDS): Expect as macro, not constant.
18937 (FLT_MANT_DIG): Use macro-int-constant.
18938 (DBL_MANT_DIG): Likewise.
18939 (LDBL_MANT_DIG): Likewise.
18940 (FLT_DIG): Likewise.
18941 (DBL_DIG): Likewise.
18942 (LDBL_DIG): Likewise.
18943 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18944 (DBL_MIN_EXP): Likewise.
18945 (LDBL_MIN_EXP): Likewise.
18946 (FLT_MAX_EXP): Use macro-int-constant.
18947 (DBL_MAX_EXP): Likewise.
18948 (LDBL_MAX_EXP): Likewise.
18949 (FLT_MAX_10_EXP): Likewise.
18950 (DBL_MAX_10_EXP): Likewise.
18951 (LDBL_MAX_10_EXP): Likewise.
18952 (FLT_MAX): Use macro-constant.
18953 (DBL_MAX): Likewise.
18954 (LDBL_MAX): Likewise.
18955 (FLT_EPSILON): Use macro-constant. Give upper bound.
18956 (DBL_EPSILON): Likewise.
18957 (LDBL_EPSILON): Likewise.
18958 (FLT_MIN): Likewise.
18959 (DBL_MIN): Likewise.
18960 (LDBL_MIN): Likewise.
18961 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18962 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18963 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18964 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18965 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18966 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18967 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18968 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18969 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18970 [ISO11] (FLT_TRUE_MIN): Likewise.
18971 [ISO11] (LDBL_TRUE_MIN): Likewise.
18972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18973 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18974 (SCHAR_MIN): Use macro-int-constant. Specify type.
18975 (SCHAR_MAX): Likewise.
18976 (UCHAR_MAX): Likewise.
18977 (CHAR_MIN): Likewise.
18978 (CHAR_MAX): Likewise.
18979 (MB_LEN_MAX): Use macro-int-constant.
18980 (SHRT_MIN): Use macro-int-constant. Specify type.
18981 (SHRT_MAX): Likewise.
18982 (USHRT_MAX): Likewise.
18983 (INT_MAX): Likewise.
18984 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18985 bound negative.
18986 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18987 bound with "U".
18988 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18989 bound with "L".
18990 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18991 bound negative. Suffix upper bound with "L".
18992 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18993 bound with "UL".
18994 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18995 Specify type.
18996 [C99-based standards] (LLONG_MAX): Likewise.
18997 [C99-based standards] (ULLONG_MAX): Likewise.
18998 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18999 == 0.
19000 [ISO11] (max_align_t): Require type.
19001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19002
c9140a62
JM
19003 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19004 from $CFLAGS, without defining away __attribute__ calls.
19005 (checknamespace): Use $CFLAGS_namespace.
19006
9af0bf29
JM
19007 * conform/conformtest.pl (@keywords): Only include C99 keywords
19008 for standards based on C99 or C11.
19009
343222a2
JM
19010 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19011 Disable tests.
19012 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19013 UNIX98]: Likewise.
19014
661f8cf0
JM
19015 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19016 usability of symbols in #if.
19017
ee74b9cb
JM
19018 * conform/conformtest.pl: If macro or constant types start
19019 "promoted:", expect the symbol to be of the following type
19020 promoted by the integer promotions.
62fde54f 19021
aafc49b3
JM
19022 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19023 in one place. Also handle "macro-constant".
19024
fefdf574
JM
19025 * conform/conformtest.pl: Only accept expected macro values with
19026 "==". Parse all "macro" lines in one place.
19027 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19028
f2d922fe
JM
19029 * conform/conformtest.pl: Handle braced types on "constant" lines
19030 instead of handling "typed-constant".
19031 * conform/data/signal.h-data: Use "constant" instead of
19032 "typed-constant".
19033
d22956c9
JM
19034 * conform/conformtest.pl: Handle "optional-" at start of lines in
19035 one place rather than duplicating several cases. Handle each
19036 format of "macro" line with initial "optional-".
19037
028e2e38
JM
19038 * conform/conformtest.pl: Only accept expected constant or
19039 optional-constant values with "==". Parse all "constant" lines in
19040 one place. Parse all "optional-constant" lines in one place.
19041 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19042 * conform/data/fmtmsg.h-data: Likewise.
19043 * conform/data/netinet/in.h-data: Likewise.
19044 * conform/data/tar.h-data: Likewise.
19045 * conform/data/limits.h-data: Use "==" form on "constant" and
19046 "optional-constant" lines.
19047
1b8f2850
JM
19048 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19049 Use -std=c99 for XOPEN2K.
19050 (@knownproblems): Remove.
19051 (newtoken): Don't check %isknown.
19052
a05a144b
JM
19053 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19054 Do not expect macro.
19055 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19056 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19057 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19058 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19067 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19068 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19070 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19071 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19072 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19073 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19085 [XPG3] (acosh): Likewise.
19086 [XPG3] (asinh): Likewise.
19087 [XPG3] (atanh): Likewise.
19088 [XPG3] (cbrt): Likewise.
19089 [XPG3] (expm1): Likewise.
19090 [XPG3] (ilogb): Likewise.
19091 [XPG3] (log1p): Likewise.
19092 [XPG3] (logb): Likewise.
19093 [XPG3] (nextafter): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19096 [XPG3] (remainder): Likewise.
19097 [XPG3] (rint): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19105 [UNIX98 || XOPEN2K] (scalb): Expect.
19106 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19107 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19119 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19243
73c5ebe3
JM
19244 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19245 _XOPEN_SOURCE_EXTENDED for XPG4.
19246
39c33b6c
JM
19247 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19248
62fde54f
JM
19249 * Makeconfig (localtime): Remove variable.
19250 (inst_localtime-file): Likewise.
19251
0741d64c
AS
192522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19253
19254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19255 Update.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19257 Update.
19258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19259 Update.
19260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19261 Update.
19262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19263 Update.
19264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19265 Update.
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19267 Update.
19268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19269 Update.
19270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19271 Update.
19272
7cb029ee
JM
192732012-05-01 Joseph Myers <joseph@codesourcery.com>
19274
19275 [BZ #2550]
19276 [BZ #2570]
19277 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19278 comparisons to determine direction to adjust input.
19279 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19280 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19282 Likewise.
19283 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19284 Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19286 Likewise.
19287 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19288 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19289 Likewise.
19290 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19291 Likewise.
19292 * math/libm-test.inc (nexttoward_test): Add more tests.
19293
412bd966
AS
192942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19295
19296 [BZ #14040]
19297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19298 in version GLIBC_2.1, not GLIBC_2.0.
19299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19300 Likewise.
19301
9568c0c2
JM
193022012-04-30 Joseph Myers <joseph@codesourcery.com>
19303
adfbc8ac
JM
19304 [BZ #13942]
19305 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19306 (1 - x) * (1 + x).
19307 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19308 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19309 * math/libm-test.inc (acos_test): Add more tests.
19310 (asin_test): Likewise.
19311 * sysdeps/i386/fpu/libm-test-ulps: Update.
19312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19313
5ba3cc69
JM
19314 [BZ #14034]
19315 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19316 of square root.
19317 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19319 * math/libm-test.inc (acos_test_tonearest): New function.
19320 (acos_test_towardzero): Likewise.
19321 (acos_test_downward): Likewise.
19322 (acos_test_upward): Likewise.
19323 (asin_test_tonearest): Likewise.
19324 (asin_test_towardzero): Likewise.
19325 (asin_test_downward): Likewise.
19326 (asin_test_upward): Likewise.
19327 (main): Call the new functions.
19328 * sysdeps/i386/fpu/libm-test-ulps: Update.
19329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19330
9568c0c2
JM
19331 [BZ #13884]
19332 [BZ #13924]
19333 * math/e_exp10.c: Include <float.h>.
19334 (__ieee754_exp10): Handle underflow here rather than multiplying
19335 large negative argument by M_LN10.
19336 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19337 of __ieee754_expf.
19338 * math/e_exp10l.c: Include <float.h>.
19339 (__ieee754_exp10l): Handle underflow here rather than multiplying
19340 large negative argument by M_LN10l.
19341 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19342 spurious overflow exception on underflow.
19343
5ac3ea17
MP
193442012-04-29 Marek Polacek <polacek@redhat.com>
19345
19346 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19347 (__fortify_function): New macro.
19348 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19349 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19350 __extern_always_inline.
19351 * libio/bits/stdio2.h: Likewise.
19352 * libio/bits/stdio.h: Likewise.
19353 * string/string.h: Likewise.
19354 * string/bits/string3.h: Likewise.
19355 * include/stdio.h: Likewise.
19356 * stdlib/bits/stdlib.h: Likewise.
19357 * stdlib/stdlib.h: Likewise.
19358 * rt/bits/mqueue2.h: Likewise.
19359 * rt/mqueue.h: Likewise.
19360 * posix/bits/unistd.h: Likewise.
19361 * posix/unistd.h: Likewise.
19362 * io/bits/poll2.h: Likewise.
19363 * io/bits/fcntl2.h: Likewise.
19364 * io/fcntl.h: Likewise.
19365 * io/sys/poll.h: Likewise.
19366 * misc/bits/syslog.h: Likewise.
19367 * misc/bits/syslog-ldbl.h: Likewise.
19368 * misc/sys/syslog.h: Likewise.
19369 * socket/bits/socket2.h: Likewise.
19370 * socket/sys/socket.h: Likewise.
19371 * debug/tst-chk1.c: Likewise.
19372 * wcsmbs/bits/wchar2.h: Likewise.
19373 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19374 * wcsmbs/wchar.h: Likewise.
19375
ecf0ebfb
AJ
193762012-04-29 Andreas Jaeger <aj@suse.de>
19377
19378 * Makerules (tests): Remove enable-check-abi protection.
19379 (check-abi-warn): Remove.
19380 (check-abi-%): Remove check-abi-warn usage.
19381
19382 * configure.in: Remove check-abi configure option.
19383 * configure: Regenerated.
19384 * config.make.in (enable-check-abi): Remove.
19385
6d5c57fa
AS
193862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19387
24c5d07e 19388 [BZ #14033]
ded5180a
AS
19389 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19390 double functions to double *_finite functions.
19391
7e0d315d
AS
19392 [BZ #13941]
19393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19394 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19395 LDBL_MIN_EXP.
19396 * stdio-common/Makefile (tests): Add tst-sprintf3.
19397 * stdio-common/tst-sprintf3.c: New file.
19398
6d5c57fa
AS
19399 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19400 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19401
0749ff8b
JM
194022012-04-28 Joseph Myers <joseph@codesourcery.com>
19403
19404 * conform/conformtest.pl: Remove duplicate typed-constant
19405 handling.
19406
8dbd5d7b
DM
194072012-04-28 David S. Miller <davem@davemloft.net>
19408
19409 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19410 (check-abi-%): Remove AWK script prerequisite and explicit
19411 abilist directory.
19412 (check-abi): Rewrite to just diff the symlist with the abilist.
19413 (config-tls, config-abi-config): Delete, no longer used.
19414 (update-abi-%): Remove AWK script and explicit abilist directory.
19415 (update-abi): Rewrite to simply compare and conditionally copy the
19416 symlist and the sysdep abilist file. Remove update-abi-config
19417 checks.
19418 * abilist/ld.abilist: Remove.
19419 * abilist/libBrokenLocale.abilist: Remove.
19420 * abilist/libanl.abilist: Remove.
19421 * abilist/libcrypt.abilist: Remove.
19422 * abilist/libdl.abilist: Remove.
19423 * abilist/librt.abilist: Remove.
19424 * abilist/libthread_db.abilist: Remove.
19425 * abilist/libutil.abilist: Remove.
19426 * scripts/extract-abilist.awk: Remove.
19427 * scripts/merge-abilist.awk: Remove.
19428 * sysdeps/generic/libcidn.abilist: New file.
19429 * sysdeps/generic/libnss_compat.abilist: New file.
19430 * sysdeps/generic/libnss_db.abilist: New file.
19431 * sysdeps/generic/libnss_dns.abilist: New file.
19432 * sysdeps/generic/libnss_files.abilist: New file.
19433 * sysdeps/generic/libnss_hesiod.abilist: New file.
19434 * sysdeps/generic/libnss_nis.abilist: New file.
19435 * sysdeps/generic/libnss_nisplus.abilist: New file.
19436 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19437 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19438 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19439 file.
19440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19441 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19442 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19443 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19444 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19445 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19446 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19447 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19448 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19449 file.
19450 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19451 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19452 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19453 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19454 file.
19455 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19457 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19458 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19459 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19460 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19461 file.
19462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19463 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19464 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19465 file.
19466 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19468 New file.
19469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19470 New file.
19471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19472 New file.
19473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19474 New file.
19475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19476 New file.
19477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19478 New file.
19479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19480 New file.
19481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19482 New file.
19483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19484 New file.
19485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19486 New file.
19487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19488 New file.
19489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19490 New file.
19491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19492 New file.
19493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19494 file.
19495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19496 New file.
19497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19498 New file.
19499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19500 file.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19502 New file.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19504 New file.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19506 file.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19508 New file.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19510 New file.
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19512 New file.
19513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19514 New file.
19515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19516 New file.
19517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19518 New file.
19519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19521 file.
19522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19523 New file.
19524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19525 file.
19526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19527 file.
19528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19529 file.
19530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19531 file.
19532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19533 file.
19534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19535 New file.
19536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19537 file.
19538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19539 file.
19540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19541 New file.
19542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19543 file.
19544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19546 file.
19547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19548 New file.
19549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19550 file.
19551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19552 file.
19553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19554 file.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19556 file.
19557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19558 file.
19559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19560 New file.
19561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19562 file.
19563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19564 file.
19565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19566 New file.
19567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19568 file.
19569 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19570 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19571 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19572 file.
19573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19574 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19575 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19576 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19577 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19578 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19579 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19580 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19582 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19585 file.
19586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19587 New file.
19588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19589 file.
19590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19591 file.
19592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19593 file.
19594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19595 file.
19596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19597 file.
19598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19599 New file.
19600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19601 New file.
19602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19603 file.
19604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19605 New file.
19606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19607 file.
19608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19610 file.
19611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19612 New file.
19613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19614 file.
19615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19616 file.
19617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19618 file.
19619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19620 file.
19621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19622 file.
19623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19624 New file.
19625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19626 New file.
19627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19628 file.
19629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19630 New file.
19631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19632 file.
19633
41d73a1b
JM
196342012-04-28 Joseph Myers <joseph@codesourcery.com>
19635
19636 * conform/conformtest.pl: Fix typo in handling typed-constant from
19637 allow-header.
19638
28aeeda4
JM
196392012-04-27 Joseph Myers <joseph@codesourcery.com>
19640
adae8f5e
JM
19641 * README: Cut down references to pre-2.6 Linux kernels and
19642 Linuxthreads. Update lists of configurations in libc and ports
19643 and sort alphabetically. Say "or newer" with Linux kernel version
19644 requirements.
19645
28aeeda4
JM
19646 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19647
a462cb63
RA
196482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19649
19650 [BZ #887]
19651 * math/libm-test.inc (logb_test_downward): New test to expose
19652 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19653 rounding mode.
19654
6ad3493e
JM
196552012-04-27 Joseph Myers <joseph@codesourcery.com>
19656
19657 [BZ #14027]
19658 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19659 to be done.
19660 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19661 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19662
2ce4f015
JM
196632012-04-26 Joseph Myers <joseph@codesourcery.com>
19664
5aeb141a
JM
19665 * sysdeps/unix/i386/brk.S: Remove file.
19666 * sysdeps/unix/i386/dl-brk.S: Likewise.
19667 * sysdeps/unix/i386/pipe.S: Likewise.
19668 * sysdeps/unix/i386/sigreturn.S: Likewise.
19669 * sysdeps/unix/i386/syscall.S: Likewise.
19670 * sysdeps/unix/i386/vfork.S: Likewise.
19671 * sysdeps/unix/i386/wait.S: Likewise.
19672
7143acae
JM
19673 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19674 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19675
2ce4f015
JM
19676 * configure.in (arm*-none*): Do not allow without
19677 --enable-hacker-mode.
19678 (netbsd*): Remove case setting base_os.
19679 (386bsd*): Likewise.
19680 (freebsd*): Likewise.
19681 (bsdi*): Likewise.
19682 (osf*): Likewise.
19683 (sunos*): Likewise.
19684 (ultrix*): Likewise.
19685 (newsos*): Likewise.
19686 (dynix*): Likewise.
19687 (*bsd*): Likewise.
19688 (sysv*): Likewise.
19689 (isc*): Likewise.
19690 (esix*): Likewise.
19691 (sco*): Likewise.
19692 (minix*): Likewise.
19693 (irix4*): Likewise.
19694 (irix6*): Likewise.
19695 (solaris[2-9]*): Likewise.
19696 (none): Likewise.
19697 * configure: Regenerated.
19698
0ac229c8
AZ
196992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19700
19701 [BZ #11521]
19702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19703 overflow or cancellation in calculating denominator.
19704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19706 down expression to avoid unexpected rounding in newer GCCs.
19707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19708
33f244f4
DM
197092012-04-26 David S. Miller <davem@davemloft.net>
19710
19711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19712 long-double compat symbols.
19713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19726
cfa1f3e8
DM
197272012-04-25 David S. Miller <davem@davemloft.net>
19728
19729 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19730 HWCAP_* values only after the memory barriers have been defined.
19731 (atomic_full_barrier): Define.
19732 (atomic_read_barrier): Define.
19733 (atomic_write_barrier): Define.
19734
6e236b92
SP
197352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19736
19737 * shlib-versions: Add libgcc_s version information.
19738 * sysdeps/generic/libgcc_s.h: Remove.
19739 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19740 libgcc_s.h.
19741 * sysdeps/gnu/unwind-resume.c: Likewise.
19742 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19743
aab39a09
DM
197442012-04-25 David S. Miller <davem@davemloft.net>
19745
19746 * sysdeps/unix/sparc/brk.S: Delete.
19747 * sysdeps/unix/sparc/dl-brk.S: Delete.
19748 * sysdeps/unix/sparc/pipe.S: Delete.
19749 * sysdeps/unix/sparc/sysdep.S: Delete.
19750 * sysdeps/unix/sparc/sysdep.h: Delete.
19751 * sysdeps/unix/sparc/vfork.S: Delete.
19752 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19753 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19755 ret_ERRVAL, r0, r1, MOVE): Define.
19756 (JUMPTARGET): Remove.
19757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19758 sysdeps/unix/sparc/sysdep.h
19759 (ENTRY, END): Remove.
19760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19761
a3cc4f48
JM
197622012-04-25 Joseph Myers <joseph@codesourcery.com>
19763
2ed8cda2
JM
19764 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19765 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19766 -DIS_IN_build.
19767
35d76d59
JM
19768 * timezone/README: Update upstream location and email address for
19769 tzcode and tzdata.
19770 * timezone/zdump.c: Update from tzcode 2012b.
19771 * timezone/zic.c: Likewise.
19772
a3cc4f48
JM
19773 * configure.in (libc_cv_as_needed): Remove test.
19774 * configure: Regenerated.
19775 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19776 conditional definition.
19777 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19778 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19779 * config.make.in (have-as-needed): Remove variable.
19780
ceab42c3
SP
197812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19782 Paul Pluzhnikov <ppluzhnikov@google.com>
19783
19784 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19785 strings correctly.
19786
3ce2865f
CLT
197872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19788
19789 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19790 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19791 * sysdeps/sh/strlen.S: Likewise.
19792
f37e0d68
JM
197932012-04-24 Joseph Myers <joseph@codesourcery.com>
19794
ae186e9a
JM
19795 * sysdeps/unix/fork.S: Remove file.
19796 * sysdeps/unix/i386/fork.S: Likewise.
19797 * sysdeps/unix/sparc/fork.S: Likewise.
19798
b96914af
JM
19799 * sysdeps/unix/system.c: Remove file.
19800 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19801
f37e0d68
JM
19802 * sysdeps/unix/getegid.S: Remove file.
19803 * sysdeps/unix/geteuid.S: Likewise.
19804
87ef29ca
RM
198052012-04-24 Roland McGrath <roland@hack.frob.com>
19806
83bcd236
RM
19807 * scripts/check-localplt.awk: New file.
19808 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19809 of diff.
19810 * scripts/data/localplt-generic.data: Add a comment.
19811
87ef29ca
RM
19812 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19813 NODE when __dir_mkfile failed.
19814 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19815 Reported by Ludovic Courtès <ludo@gnu.org>.
19816
e5a6e567
AJ
198172012-04-24 Andreas Jaeger <aj@suse.de>
19818
19819 * Makerules (common-clean): Also remove gen-as-const-headers
19820 files.
19821
c1820385
JM
198222012-04-24 Joseph Myers <joseph@codesourcery.com>
19823
19824 * Makerules (native-compile): Do not change working directory for
19825 build. Use $(OUTPUT_OPTION) in command.
19826 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19827
94e02fc4
AZ
198282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19829
19830 [BZ #13886]
19831 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19832 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19833 * math/libm-test.inc (floor_test): Add more tests.
19834 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19835
3a533ca3
JM
198362012-04-24 Joseph Myers <joseph@codesourcery.com>
19837
940ab4b3
JM
19838 * sysdeps/unix/getdents.c: Remove file.
19839 * sysdeps/unix/sysv/getdents.c: Likewise.
19840 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19841
90e037bd
JM
19842 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19843 sysdeps/unix/mman/syscalls.list.
19844 (mmap): Likewise.
19845 (mprotect): Likewise.
19846 (msync): Likewise.
19847 (munmap): Likewise.
19848 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19849 * sysdeps/unix/mman/syscalls.list: Remove.
19850 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19851
3a533ca3
JM
19852 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19853 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19854 * configure: Regenerated.
19855 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19856 $(libgcc_s_suffix).
19857 * config.make.in (libgcc_s_suffix): Remove variable.
19858
1ad743de
JM
198592012-04-23 Joseph Myers <joseph@codesourcery.com>
19860
4ad451e2
JM
19861 * sysdeps/unix/sysv/gethostname.c: Move to ...
19862 * sysdeps/posix/gethostname.c: ... here.
19863
5e37ce39
JM
19864 * sysdeps/unix/execve.S: Remove file.
19865
1ad743de
JM
19866 * sysdeps/unix/_exit.S: Remove file.
19867
4e681b5b
AJ
198682012-04-23 Andreas Jaeger <aj@suse.de>
19869
19870 [BZ #13739]
19871 * manual/Makefile: Remove make dist support, there's no
19872 need for a stand-alone documentation tar ball.
19873 (TEXI2DVI): Define always, it's not in Makeconfig.
19874 (dist): Removed.
19875 (tar-it): Removed.
19876 (edition): Removed.
19877 (glibc-doc-$(edition).tar): Removed
19878 (%.Z): Removed.
19879 (%.gz): Removed.
19880 (%.uu): Removed.
19881 (ETAGS): Remove, it's in Makeconfig.
19882 (move-if-change): Remove, it's in Makeconfig.
19883
38686a03 198842012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19885
19886 [BZ #13970]
19887 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19888 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19889 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19890 (strtod_l, strtof_l, strtold_l): Remove __wur.
19891 It is not necessarily an error to ignore strtol's return value.
19892 One can reliably look at the stored endptr to decide whether
19893 the number had valid syntax.
19894
7c0616fa
AJ
198952012-04-21 Andreas Jaeger <aj@suse.de>
19896
803cb6b7 19897 [BZ #13739]
7c0616fa
AJ
19898 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19899
b0fe253f
JM
199002012-04-21 Joseph Myers <joseph@codesourcery.com>
19901
19902 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19903 * sysdeps/unix/sysv/Versions: Remove file.
19904
8280f22d
MT
199052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19906
19907 [BZ #13927]
19908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19909
75ce411f 199102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19911
19912 [BZ #7064]
19913 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19914 version from __vm86.
19915
097d59fa
JM
199162012-04-20 Joseph Myers <joseph@codesourcery.com>
19917
a90f3bcb
JM
19918 * sysdeps/unix/common/lxstat.c: Remove file.
19919 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19920
edc7ea78
JM
19921 * sysdeps/unix/sysv/Makefile: Remove file.
19922
cb78c221
JM
19923 * sysdeps/unix/sysv/direct.h: Remove file.
19924
efa6a45f
JM
19925 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19926 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19927 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19928 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19929 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19930 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19931 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19932
9c9f2d0c
JM
19933 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19934
4541c83b
JM
19935 * sysdeps/unix/xmknod.c: Remove file.
19936 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19937
f5d153a0
JM
19938 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19939
aa746595
JM
19940 * sysdeps/unix/sysv/i386/time.S: Remove file.
19941
cce5905e
JM
19942 * sysdeps/unix/fxstat.c: Remove file.
19943 * sysdeps/unix/xstat.c: Likewise.
19944 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19945
37fa3841
JM
19946 * sysdeps/unix/sysv/sigaction.c: Remove file.
19947
ff1962a3
JM
19948 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19949 (sysdep_headers): Remove variable.
19950 [termio.h not in sysdep_headers] (generated): Likewise.
19951 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19952 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19953 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19954 * sysdeps/unix/sysv/tcflow.c: Likewise.
19955 * sysdeps/unix/sysv/tcflush.c: Likewise.
19956 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19957 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19958 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19959 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19960 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19961
e7740d31
JM
19962 * sysdeps/unix/siglist.c: Remove file.
19963
ee06f18b
JM
19964 * sysdeps/unix/getppid.S: Remove file.
19965
097d59fa
JM
19966 * sysdeps/unix/mkdir.c: Remove file.
19967 * sysdeps/unix/rmdir.c: Likewise.
19968
ff3d51ec
AS
199692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19970
19971 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19972 ERR_MAX value.
19973 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19974 errlist-compat value.
19975
50f81fd7
DM
199762012-04-18 David S. Miller <davem@davemloft.net>
19977
19978 * sysdeps/generic/memcopy.h (reg_char): Delete.
19979 * debug/strcat_chk.c: Use char, not reg_char.
19980 * debug/strcpy_chk.c: Likewise.
19981 * debug/strncat_chk.c: Likewise.
19982 * debug/strncpy_chk.c: Likewise.
19983 * string/memchr.c: Likewise.
19984 * string/memrchr.c: Likewise.
19985 * string/rawmemchr.c: Likewise.
19986 * string/strcat.c: Likewise.
19987 * string/strchr.c: Likewise.
19988 * string/strchrnul.c: Likewise.
19989 * string/strcmp.c: Likewise.
19990 * string/strcpy.c: Likewise.
19991 * string/strncat.c: Likewise.
19992 * string/strncmp.c: Likewise.
19993 * string/strncpy.c: Likewise.
19994
8ff41c46
WS
199952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19996
19997 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19998 __builtin_memcopy is called when src and dest ranges are known to not
19999 overlap.
20000
6b652f46
WS
200012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20002
20003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20004 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20005 fwd_align_merge macro call.
20006 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20007 bwd_align_merge macro call.
20008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20009
b282631e
WS
200102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20011
20012 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20013 bwd_align_merge macros.
20014 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20015 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20017
95aa737c
DM
200182012-04-18 David S. Miller <davem@davemloft.net>
20019
20020 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20021
7a99a614
AJ
200222012-04-18 Andreas Jaeger <aj@suse.de>
20023
20024 [BZ# 6794]
20025 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20026 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20028
20029 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20030 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20032
20033 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20034 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20035 Adjust for changed ldbl-128 files.
20036
20037 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20038 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20040
e5270c23
DM
200412012-04-17 David S. Miller <davem@davemloft.net>
20042
20043 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20044
fb5e92c9
AS
200452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20046
20047 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20048 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20049 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20050 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20051 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20052 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20053
76da7265
AZ
200542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20055
20056 [BZ #6794]
20057 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20058 * math/libm-test.inc: Add ilogb errno and exception tests.
20059 * math/w_ilogb.c: New file: ilogb wrapper.
20060 * math/w_ilogbf.c: New file: ilogbf wrapper.
20061 * math/w_ilogbl.c: New file: ilogbl wrapper.
20062 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20063 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20064 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20065 exception being thrown with 0.0 as argument.
20066 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20067 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20068 exception being thrown with 0.0 as argument.
20069 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20070 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20071 exception being thrown with 0.0 as argument.
20072 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20073 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20074 exception being thrown with 0.0 as argument.
20075 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20076 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20077 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20078 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20079 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20081 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20082 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20083 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20084
0396e69d
PB
200852012-04-17 Petr Baudis <pasky@ucw.cz>
20086
20087 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20088 with altivec.
20089
750b5926
MP
200902012-04-16 Marek Polacek <polacek@redhat.com>
20091
20092 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20093
751728a1
MP
200942012-04-16 Marek Polacek <polacek@redhat.com>
20095
20096 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20097 operands of fdivp instruction.
20098
34a27407
L
200992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20100
20101 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20102 * elf/tst-auditmod3b.c: Likewise.
20103 * elf/tst-auditmod4b.c: Likewise.
20104 * elf/tst-auditmod5b.c: Likewise.
20105 * elf/tst-auditmod6b.c: Likewise.
20106 * elf/tst-auditmod6c.c: Likewise.
20107 * elf/tst-auditmod7b.c: Likewise.
20108 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20109 * sysdeps/x86_64/preconfigure.in: Likewise.
20110 * sysdeps/x86_64/preconfigure: Regenerated.
20111
7e73e17d
L
201122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20113
20114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20115 __ILP32__.
20116
c7a6ab72
AB
201172012-04-13 Antoine Balestrat <merkil33@gmail.com>
20118
20119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20120 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20121
a9e8e0e0
CL
201222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20123
20124 [BZ #13973]
20125 * locale/iso-639.def: Fix gl language name. Spotted by
20126 Yaron Shahrabani.
20127
ec98af7d
RM
201282012-04-12 Roland McGrath <roland@hack.frob.com>
20129
20130 [BZ #2074]
20131 * libio/libio.h (__io_write_fn): Update comment.
20132
247c3ede
PB
201332012-04-12 Petr Baudis <pasky@ucw.cz>
20134
20135 [BZ #2074]
20136 * stdio.texi (Hook Functions): The user provided writer function
20137 is not allowed to return -1.
20138
55939d6d
DM
201392012-04-11 David S. Miller <davem@davemloft.net>
20140
20141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20142
90020f5a
MF
201432012-04-11 Mike Frysinger <vapier@gentoo.org>
20144
20145 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20146 Add a leading slash to rtkaio.
20147
288f9098
JM
201482012-04-11 Jim Meyering <meyering@redhat.com>
20149
90020f5a
MF
20150 [BZ #11959]
20151 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20152 It is not necessarily an error to ignore fwrite's return
20153 value. One can reliably use ferror to test for errors after
20154 the fact.
288f9098 20155
4be2b570
L
201562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20157
20158 * bits/types.h (__snseconds_t): New type.
20159 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20160
20161 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20163 (__SNSECONDS_T_TYPE): Likewise.
20164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20165 (__SNSECONDS_T_TYPE): Likewise.
20166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20167 (__SNSECONDS_T_TYPE): Likewise.
20168
288f9098 201692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20170
20171 [BZ #2636]
20172 * manual/time.texi (Processor Time): Return type of times is
20173 elapsed real time since an arbitrary point in the past.
20174 (CPU Time): Move CLK_TCK from here...
20175 (Processor Time): ...to here. Correct description.
20176 * manual/conf.texi (Constants for Sysconf): Correct description of
20177 _SC_CLK_TCK.
20178
d7dd4413
DM
201792012-04-10 David S. Miller <davem@davemloft.net>
20180
20181 [BZ #13967]
20182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20183 where the is a gap between DT_REL(A) and DT_JMPREL.
20184
b46068fc
L
201852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20186
20187 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20190
73d65cc3
SP
201912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20192
20193 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20194 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20195 (dl_main): Handle --inhibit-cache.
20196 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20197 _dl_inhibit_cache.
20198 * elf/dl-load.c (_dl_map_object): Use it.
20199 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20200
bcc8d661
JM
202012012-04-09 Joseph Myers <joseph@codesourcery.com>
20202
8f9a2fae
JM
20203 [BZ #13872]
20204 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20205 (__ieee754_powl): Saturate large exponents rather than testing for
20206 overflow of y*log2(x).
20207 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20208 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20209 exceptions.
20210
bcc8d661
JM
20211 [BZ #11521]
20212 * math/s_ctan.c: Include <float.h>.
20213 (__ctan): Avoid internal overflow or cancellation in calculating
20214 denominator.
20215 * math/s_ctanf.c: Likewise.
20216 * math/s_ctanl.c: Likewise.
20217 * math/s_ctanh.c: Likewise.
20218 * math/s_ctanhf.c: Likewise.
20219 * math/s_ctanhl.c: Likewise.
20220 * math/libm-test.inc (ctan_test): Add more tests.
20221 (ctanh_test): Likewise.
20222 * sysdeps/i386/fpu/libm-test-ulps: Update.
20223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20224
823fbbb4
AJ
202252012-04-09 Andreas Jaeger <aj@suse.de>
20226
03879793
AJ
20227 [BZ #6894]
20228 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20229 is an optional BSD extension.
20230
823fbbb4
AJ
20231 [BZ #10254]
20232 * manual/stdio.texi (Opening Streams): Document additional fopen
20233 parameters.
20234
8de131cb
RM
202352012-04-09 Roland McGrath <roland@hack.frob.com>
20236
20237 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20238 %eax without telling the compiler.
20239
c0ed9d7d
CD
202402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20241
20242 [BZ # 13963]
20243 * manual/install.texi: Use sourceware.org.
20244
c483f6b4
JM
202452012-04-09 Joseph Myers <joseph@codesourcery.com>
20246
d7dd9453
JM
20247 [BZ #13873]
20248 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20249 (__ieee754_pow): Generate overflow and underflow using huge*huge
20250 and tiny*tiny rather than just returning constant infinity or zero
20251 for large exponents.
20252 * math/libm-test.inc (pow_test): Require overflow exceptions for
20253 applicable cases of large exponents.
20254
c483f6b4
JM
20255 [BZ #706]
20256 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20257 (__ieee754_pow): Use iterative multiplication algorithm only for
20258 integer exponents with absolute value below 1024. Check for odd
20259 integer exponents when using algorithm for real exponents.
20260 * math/libm-test.inc (pow_test): Add more tests.
20261 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20262
d2de7579
JM
202632012-04-08 Joseph Myers <joseph@codesourcery.com>
20264
20265 [BZ #13705]
20266 * math/libm-test.inc (exp_test): Do not allow overflow exception
20267 on underflow test.
20268
f77f1232
AJ
202692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20270
20271 [BZ #13705]
20272 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20273 instead of __kernel_standard_f.
20274
3884932b
MF
202752012-04-08 Mike Frysinger <vapier@gentoo.org>
20276
20277 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20278 * sysdeps/x86_64/memset_chk.S: Likewise.
20279
54472e9c
AJ
202802012-04-08 Andreas Jaeger <aj@suse.de>
20281
6ab0fbfc
AJ
20282 [BZ #10153]
20283 * manual/startup.texi (Environment Access): Describe return value
20284 for putenv and setenv.
20285
61efba8c
AJ
20286 [BZ #6895]
20287 * manual/filesys.texi (Directory Entries): Add description for
20288 DT_LNK.
20289
95c3f29a
AJ
20290 [BZ #6890]
20291 * manual/filesys.texi (Directory Entries): Clarify that it's file
20292 system not operating system in the description of DT_UNKNOWN.
20293
54472e9c
AJ
20294 [BZ #6578]
20295 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20296
624254b1
SC
202972012-04-08 Stephen Compall <s11@member.fsf.org>
20298
20299 [BZ #6649]
20300 * manual/llio.texi (Opening and Closing Files): Add cross
20301 reference to explain mode argument.
20302
1e4920e0
MF
203032012-04-07 Mike Frysinger <vapier@gentoo.org>
20304
20305 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20306 * sysdeps/x86_64/memset_chk.S: Likewise.
20307
5ed848f3
DM
203082012-04-07 David S. Miller <davem@davemloft.net>
20309
20310 * elf/elf.h (R_SPARC_WDISP10): Define.
20311 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20312 R_SPARC_SIZE32.
20313 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20314 R_SPARC_SIZE64 and R_SPARC_H34.
20315
96154cd8
CD
203162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20317
20318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20319 conditions and remove no longer applicable assertion.
20320
9904dc47
L
203212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20322
20323 * bits/byteswap.h: Include <features.h>.
20324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20326
f8887d0a
L
203272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20328
20329 * bits/byteswap.h (__bswap_16): Removed.
20330 Include <bits/byteswap-16.h> to get __bswap_16.
20331 * sysdeps/i386/bits/byteswap.h: Likewise.
20332 * sysdeps/s390/bits/byteswap.h: Likewise.
20333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20334 * bits/byteswap-16.h: New file.
20335 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20336 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20337 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20338 * string/Makefile (headers): Add bits/byteswap-16.h.
20339
62470f60
PP
203402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20341
20342 [BZ #13895]
20343 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20344 extra indirection.
20345 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20346 * nss/tst-nss-static.c: New.
20347
4dad7bab
RM
203482012-04-06 Robert Millan <rmh@gnu.org>
20349
20350 [BZ #6486]
20351 * manual/llio.texi (File Position Primitive): lseek
20352 refers to WHENCE when it really means OFFSET.
20353
e9142a17
AJ
203542012-04-06 Andreas Jaeger <aj@suse.de>
20355
2c040eff
AJ
20356 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20357 strncmp declarations.
20358
e9142a17
AJ
20359 * abilist/libc.abilist: Add __poll and __ppoll.
20360
ff9f1c5f
DM
203612012-04-05 David S. Miller <davem@davemloft.net>
20362
dcd2ae90
DM
20363 * scripts/check-local-headers.sh: Accept a host triplet in the
20364 path matched by the exclude regexp.
20365
993eb054
DM
20366 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20367 definition.
20368 * sysdeps/powerpc/powerpc32/dl-machine.h
20369 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20370 * sysdeps/s390/s390-32/dl-machine.h
20371 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20372 * sysdeps/sparc/sparc32/dl-machine.h
20373 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20374 * sysdeps/sparc/sparc64/dl-machine.h
20375 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20376
ff9f1c5f
DM
20377 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20378 lazy binding.
48e2e132 20379 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20380 undefined symbol errors.
20381
48e2e132 20382 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20383 DT_NEEDED entries.
20384
e80d6f94
MM
203852012-04-05 Michael Matz <matz@suse.de>
20386
20387 [BZ #13592]
20388 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20389
349fa79f
AJ
203902012-04-05 Andreas Jaeger <aj@suse.de>
20391
20392 [BZ #13908]
20393 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20394 comment.
20395
f402708f
KK
203962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20397
20398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20399 which ROUND is no valid rounding mode.
20400
2ecccfc9
KK
204012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20402
20403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20404 read again.
20405 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20406
8a53f50f
KK
204072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20408
20409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20410 an exception using FPU order intentionally.
20411
204122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20413
20414 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20415 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20416 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20417 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20418
d653abb7
SJ
204192012-04-05 Simon Josefsson <simon@josefsson.org>
20420
20421 [BZ #12340]
20422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20423 EINVAL when BUFLEN is too smal.
20424
c3b1bf7d
TS
204252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20426
20427 [BZ #13553]
20428 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20429 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20430
b1aa60f3
AJ
204312012-04-03 Andreas Jaeger <aj@suse.de>
20432
c3b1bf7d 20433 [BZ #13938]
67f60a26
AJ
20434 * manual/setjmp.texi (System V contexts): Fix sentence.
20435
b1aa60f3
AJ
20436 [BZ #13926]
20437 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20438 New macro for this case.
20439 [!__GNUC__] (__bswap_64): New inline function for this case.
20440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20441 * bits/byteswap.h: Likewise.
20442 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20443 ull, guard with __GLIBC_HAVE_LONG_LONG.
20444
20445 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20446 __GLIBC_HAVE_LONG_LONG.
20447
20448 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20449 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20450
39c59c35
TMQMF
204512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20452
20453 [BZ #13691]
20454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20455 inptr and inend, rather than using last_ch.
20456
135ffda8
DM
204572012-04-02 David S. Miller <davem@davemloft.net>
20458
20459 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20460 * stdio-common/printf-parse.h (read_int): Change return type to
20461 'int', return -1 on INT_MAX overflow.
20462 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20463 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20464 overflows INT_MAX. Check for overflow of in-format-string precision
20465 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20466 SIZE_MAX not INT_MAX for integer overflow test.
20467 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20468 skip the construct in the format string but do not record anything.
20469 * stdio-common/bug22.c: Adjust to test both width/prevision
20470 INT_MAX overflow as well as total length INT_MAX overflow. Check
20471 explicitly for proper errno values.
20472
228c019e
TS
204732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20474
302cadd3
TS
20475 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20476 CHAR_MAX.
20477 * string/test-strcmp.c [! WIDE]: Likewise.
20478 * time/tst-mktime2.c: Likewise for INT_MAX.
20479 * string/test-string.h: #include <sys/param.h> for MIN.
20480
228c019e
TS
20481 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20482 * sysdeps/i386/init-first.c (init): Likewise.
20483 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20484 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20485 * sysdeps/sh/init-first.c (init): Likewise.
20486
cfa633f5
UD
204872012-04-01 Ulrich Drepper <drepper@gmail.com>
20488
20489 * po/ru.po: Update from translation team.
d1635ef8 20490 * po/vi.po: Likewise.
cfa633f5 20491
6cd0a5ea
SP
204922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20493
20494 * resolv/nss_dns/dns-host.c: Merge copyright years.
20495
4b43400f
LD
204962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20497
20498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20499 Optimize memcpy with prefetch if
20500 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20501 src, dst pointers have unequal 16 byte alignments.
20502
48c41d04
SP
205032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20504
20505 [BZ #13928]
20506 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20507 from a CNAME entry and return the minimum ttl for the query.
20508 (gaih_getanswer_slice): Likewise.
20509
b8dc394d
JL
205102012-03-30 Jeff Law <law@redhat.com>
20511
20512 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20513 due to long keys.
20514 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20515 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20516
2f5a5ed0
JL
20517 * resolv/nss_dns/dns-host.c: Update copyright year.
20518
1d39e359
UD
205192012-03-30 Ulrich Drepper <drepper@gmail.com>
20520
c030f70c 20521 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20522 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20523
1d39e359
UD
20524 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20525 comments for sendmmsg.
20526
205272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20528
20529 [BZ #13691]
20530 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20531 with only 1 character between 0x0041 and 0x01b0.
20532 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20533 * wcsmbs/tst-mbsnrtowcs.c: New file.
20534
20fde227
DM
205352012-03-29 David S. Miller <davem@davemloft.net>
20536
20537 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20538 small copies by hand.
20539
984a4237
JL
205402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20541
20542 [BZ #13761]
20543 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20544 _nss_compat_initgroups_dyn): Fall back to malloc/free
20545 for large group memberships.
20546
18c9d62b
DM
205472012-03-28 David S. Miller <davem@davemloft.net>
20548
88d85d4f
DM
20549 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20550 that branches into memcpy.
20551 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20554 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20556 bits.
20557 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20558 implementation too.
20559 * sysdeps/sparc/mempcpy.S: New file.
20560
e5aa83e1
DM
20561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20562 the IFUNC routine in the libc case.
20563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20564
88570753
DM
20565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20566 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20567 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20568 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20569 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20570 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20571 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20572 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20573
249d7567
DM
20574 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20575 loop to 256 bytes instead of 64 bytes and fix test signedness.
20576
18c9d62b
DM
20577 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20578 * sysdeps/sparc/sparc32/Makefile: rather than here...
20579 * sysdeps/sparc/sparc64/Makefile: and here.
20580
05f3d1f6
UD
205812012-03-28 Ulrich Drepper <drepper@gmail.com>
20582
20583 * malloc/mallocbug.c: Avoid warnings about unused variables.
20584
86ae07a8
JL
205852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20586
20587 [BZ #13760]
20588 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20589 in the right place. Discard and retry query if response is
20590 larger than input buffer size.
20591
41bf21a1
JM
205922012-03-28 Joseph Myers <joseph@codesourcery.com>
20593
d6270972
JM
20594 [BZ #369]
20595 [BZ #2678]
20596 [BZ #3866]
20597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20598 x for large integer exponent.
20599 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20600 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20601 sign of result as needed afterwards.
20602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20603 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20604 result for underflowing pow the same as for overflow.
20605 (__kernel_standard_l): Handle powl overflow and underflow here
20606 rather than calling __kernel_standard.
20607 * math/libm-test.inc (pow_test): Add more tests.
20608
414fca03 20609 [BZ #3868]
41bf21a1
JM
20610 [BZ #13879]
20611 [BZ #13910]
20612 [BZ #13911]
20613 [BZ #13912]
20614 [BZ #13913]
20615 [BZ #13915]
20616 [BZ #13916]
20617 [BZ #13917]
20618 [BZ #13918]
20619 [BZ #13919]
20620 [BZ #13920]
20621 [BZ #13921]
20622 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20623 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20624 (__kernel_standard_l): New function.
20625 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20626 __kernel_standard.
20627 * math/w_acosl.c (__acosl): Likewise.
20628 * math/w_asinl.c (__asinl): Likewise.
20629 * math/w_atan2l.c (__atan2l): Likewise.
20630 * math/w_atanhl.c (__atanhl): Likewise.
20631 * math/w_coshl.c (__coshl): Likewise.
20632 * math/w_exp10l.c (__exp10l): Likewise.
20633 * math/w_exp2l.c (__exp2l): Likewise.
20634 * math/w_fmodl.c (__fmodl): Likewise.
20635 * math/w_hypotl.c (__hypotl): Likewise.
20636 * math/w_j0l.c (__j0l, __y0l): Likewise.
20637 * math/w_j1l.c (__j1l, __y1l): Likewise.
20638 * math/w_jnl.c (__jnl, __ynl): Likewise.
20639 * math/w_lgammal.c (__lgammal): Likewise.
20640 * math/w_log10l.c (__log10l): Likewise.
20641 * math/w_log2l.c (__log2l): Likewise.
20642 * math/w_logl.c (__logl): Likewise.
20643 * math/w_powl.c (__powl): Likewise.
20644 * math/w_remainderl.c (__remainderl): Likewise.
20645 * math/w_scalbl.c (sysv_scalbl): Likewise.
20646 * math/w_sinhl.c (__sinhl): Likewise.
20647 * math/w_sqrtl.c (__sqrtl): Likewise.
20648 * math/w_tgammal.c (__tgammal): Likewise.
20649 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20650 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20651 * math/libm-test.inc (acos_test): Add more tests.
20652 (acosh_test): Likewise.
20653 (asin_test): Likewise.
20654 (atanh_test): Likewise.
20655 (exp_test): Likewise.
20656 (exp10_test): Likewise.
20657 (exp2_test): Likewise.
20658 (expm1_test): Likewise.
20659 (lgamma_test): Likewise.
20660 (log_test): Likewise.
20661 (log10_test): Likewise.
20662 (log1p_test): Likewise.
20663 (log2_test): Likewise.
20664 (pow_test): Do not allow some spurious overflow exceptions.
20665 (sqrt_test): Add more tests.
20666 (tgamma_test): Likewise.
20667 (y0_test): Likewise.
20668 (y1_test): Likewise.
20669 (yn_test): Likewise.
20670
dd62fda6
AB
206712012-03-27 Anton Blanchard <anton@samba.org>
20672
20673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20674 MAP_HUGETLB.
20675 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20676 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20678
1e3cdfda
AJ
206792012-03-27 David S. Miller <davem@davemloft.net>
20680
b855ab85
DM
20681 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20682
1e3cdfda
AJ
20683 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20684 have-as-vis3 check.
20685
206862012-03-27 Andreas Jaeger <aj@suse.de>
20687
20688 * sysdeps/x86_64/elf/configure.in: Moved to ...
20689 * sysdeps/x86_64/configure.in: ... here.
20690 * sysdeps/x86_64/elf/start.S: Moved to ...
20691 * sysdeps/x86_64/start.S: ... here.
20692 * sysdeps/x86_64/elf/configure: Delete.
20693
20694 * sysdeps/x86_64/configure.in: Merge contents from
20695 sysdeps/i386/configure.in (without i686 check).
20696
20697 * sysdeps/i386/elf/Versions: Merge into ...
20698 * sysdeps/i386/Versions: ... this.
20699 * sysdeps/i386/elf/Versions: Delete file.
20700 * sysdeps/i386/elf/start.S: Moved to ...
20701 * sysdeps/i386/start.S: ...here.
20702 * sysdeps/i386/elf/configure.in: Merge into...
20703 * sysdeps/i386/configure.in: ...here.
20704 * sysdeps/i386/elf/configure.in: Delete file.
20705 * sysdeps/i386/elf/configure: Delete file.
20706
20707 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20708 * debug/backtracesyms.c: ... here.
20709 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20710 * debug/backtracesymsfd.c: ... here.
20711 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20712 * sysdeps/generic/ifunc-sel.h: ... here.
20713
20714 * sysdeps/unix/i386/start.c: Delete file.
20715 * sysdeps/unix/sparc/start.c: Delete file.
20716 * sysdeps/unix/start.c: Delete file.
20717
20718 * sysdeps/sh/elf/configure.in: Moved to ...
20719 * sysdeps/sh/configure.in: ... here.
20720 * sysdeps/sh/elf/start.S: Moved to ...
20721 * sysdeps/sh/start.S: ... here.
20722 * sysdeps/sh/elf/configure: Delete file.
20723
20724 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20725 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20726 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20727 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20728 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20729 * sysdeps/powerpc/powerpc64/start.S: here.
20730 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20731 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20732 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20733 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20734 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20735
20736 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20737 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20738 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20739 * sysdeps/powerpc/powerpc32/start.S: ... here.
20740 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20741 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20742 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20743
20744 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20745 * sysdeps/powerpc/ifunc-sel.h: ... here.
20746 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20747 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20748
20749 * sysdeps/sparc/elf/configure.in: Moved to ...
20750 * sysdeps/sparc/configure.in: ... here.
20751 * sysdeps/sparc/elf/configure: Delete file.
20752 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20753 * sysdeps/sparc/sparc32/start.S: ... here.
20754 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20755 * sysdeps/sparc/sparc64/start.S: ... here.
20756 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20757 * sysdeps/sparc/sparc32/Makefile: ... this.
20758 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20759 * sysdeps/sparc/sparc64/Makefile: ... this.
20760
20761 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20762 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20763 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20764 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20765 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20766 * sysdeps/s390/s390-32/setjmp.S: ... here.
20767 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20768 * sysdeps/s390/s390-32/configure.in: ... here.
20769 * sysdeps/s390/s390-32/elf/configure: Delete file.
20770 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20771 * sysdeps/s390/s390-32/start.S: ... here.
20772
20773 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20774 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20775 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20776 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20777 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20778 * sysdeps/s390/s390-64/setjmp.S: ... here.
20779 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20780 * sysdeps/s390/s390-64/configure.in: ... here
20781 * sysdeps/s390/s390-64/elf/configure: Delete file.
20782 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20783 * sysdeps/s390/s390-64/start.S: ... here.
20784 * sysdeps/s390/s390-64/elf/configure: Delete.
20785
20786 * configure.in: Remove support for elf directories in sysdeps.
20787
20788 * configure: Regenerated.
20789 * sysdeps/i386/configure: Regenerated.
20790 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20791 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20792 * sysdeps/s390/s390-32/configure: Regenerated.
20793 * sysdeps/s390/s390-64/configure: Regenerated.
20794 * sysdeps/sh/configure: Regenerated.
20795 * sysdeps/sparc/configure: Regenerated.
20796 * sysdeps/x86_64/configure: Regenerated.
20797
a3f61311
AS
207982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20799
c876e002
AS
20800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20801
a3f61311
AS
20802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20803 denormal result into account.
20804
ac4c54f0
RM
208052012-03-25 Roland McGrath <roland@hack.frob.com>
20806
20807 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20808 Reported by Allan McRae <allan@archlinux.org>.
20809
6a9b9c02
JL
208102012-03-23 Jeff Law <law@redhat.com>
20811
20812 * nss/getnssent.c (__nss_getent): Fix typo.
20813
4c42a0c1
DM
208142012-03-23 David S. Miller <davem@davemloft.net>
20815
20816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20817
1532c7ac
L
208182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20821 to pad to uint64_t for each field.
20822 (dl_tls_index): Replace unsigned long with uint64_t.
20823
3ff42526
PP
208242012-03-23 Daniel Jacobowitz <dmj@google.com>
20825 Paul Pluzhnikov <ppluzhnikov@google.com>
20826
20827 [BZ #6528]
20828 * grp/Makefile (otherlibs): Don't set it.
20829 * inet/Makefile (otherlibs): Likewise.
20830 * login/Makefile (otherlibs): Likewise.
20831 * nscd/Makefile (otherlibs): Likewise.
20832 * posix/Makefile (otherlibs): Likewise.
20833 * pwd/Makefile (otherlibs): Likewise.
20834 * rt/Makefile (otherlibs): Likewise.
20835 * sunrpc/Makefile (otherlibs): Likewise.
20836 * nss/Makefile (otherlibs): Likewise.
20837 Add libnss_files to routines and static-only-routines.
20838 ($(objpfx)getent): Remove rule.
20839 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20840 static-only-routines.
20841
7c69cd14
JM
208422012-03-22 Joseph Myers <joseph@codesourcery.com>
20843
20844 [BZ #13892]
20845 * math/s_cexp.c: Include <float.h>.
20846 (__cexp): Handle exp result overflowing not necessarily
20847 overflowing both real and imaginary parts of result.
20848 * math/s_cexpf.c: Likewise.
20849 * math/s_cexpl.c: Likewise.
20850 * math/libm-test.inc (cexp_test): Add more tests.
20851 * sysdeps/i386/fpu/libm-test-ulps: Update.
20852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20853
81b035fe
L
208542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20855
20856 * include/link.h (ELFW): New macro.
20857 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20858 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20859
1da7940c
L
208602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20861
20862 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20863 with uint64_t.
20864
b749dbb9
L
208652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20866
20867 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20868 declaration.
20869 (struct La_x32_retval): Likewise.
20870
2ff87f3f
L
208712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20872
20873 * sysdeps/x86_64/preconfigure.in: New file.
20874 * sysdeps/x86_64/preconfigure: New generated file.
20875
c0df8e69
JM
208762012-03-22 Joseph Myers <joseph@codesourcery.com>
20877
48e44791
JM
20878 [BZ #13824]
20879 * math/e_exp2l.c: Include <float.h>.
20880 (__ieee754_exp2l): Handle overflow and underflow cases
20881 separately. Only pass fractional part of argument to
20882 __ieee754_expl.
20883 * math/libm-test.inc (exp2_test): Add more tests.
20884
c0df8e69
JM
20885 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20886 negating x to take absolute value.
20887 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20888 Likewise.
20889 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20890 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20891 Likewise.
20892 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20893 computing low part if x was negated.
20894 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20895
c8e43ba7
L
208962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20897
20898 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20899 la_x32_gnu_pltexit.
20900 (pltexit): Cast int_retval to ptrdiff_t.
20901 * elf/tst-auditmod3b.c: Likewise.
20902 * elf/tst-auditmod4b.c: Likewise.
20903 * elf/tst-auditmod5b.c: Likewise.
20904 * elf/tst-auditmod6b.c: Likewise.
20905 * elf/tst-auditmod6c.c: Likewise.
20906 * elf/tst-auditmod7b.c: Likewise.
20907
20908 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20909 and x32_gnu_pltexit.
20910
20911 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20912 __ELF_NATIVE_CLASS.
20913 (La_x32_regs): New macro.
20914 (La_x32_retval): Likewise.
20915 (la_x32_gnu_pltenter): New function prototype.
20916 (la_x32_gnu_pltexit): Likewise.
20917
7998fa78
AS
209182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20919
dcb33988
AS
20920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20921 exponent.
20922
233fc563
AS
20923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20924
7998fa78
AS
20925 * configure.in (libc_cv_cc_nofma): Check for option to disable
20926 generation of FMA instructions.
20927 * configure: Regenerate.
20928 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20929 * sysdeps/ieee754/dbl-64/Makefile: New file.
20930 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20931 Remove brandred-fma4.
20932 (CFLAGS-brandred-fma4.c): Remove.
20933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20934 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20935 define.
20936 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20937 define.
20938
8e95c99a
L
209392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20940
20941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20942 LLONG_MAX != LONG_MAX.
20943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20944 (_fitoa_word): Likewise.
20945 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20946 LLONG_MAX != LONG_MAX.
20947 * stdio-common/_itowa.h: Include <_itoa.h>.
20948 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20949 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20950 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20951 only if not defined.
20952 (_ITOA_WORD_TYPE): Likewise.
20953 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20954 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20955
6f4db457
DM
209562012-03-21 David S. Miller <davem@davemloft.net>
20957
20958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20959
7785fe5a
L
209602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20963 of x86_64 when setting libc_cv_slibdir, libdir and
20964 libc_cv_localedir.
20965 * sysdeps/unix/sysv/linux/configure: Regenerated.
20966
4535cd55
JM
209672012-03-21 Joseph Myers <joseph@codesourcery.com>
20968
20969 * manual/lang.texi (Old Varargs): Remove section.
20970 (How Variadic): Update menu.
20971 (va_start): Do not mention varargs.h.
20972
17228132
TS
209732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20974 Joseph Myers <joseph@codesourcery.com>
20975
20976 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20977 link test.
20978 * configure: Regenerated.
20979
8149f976
TS
209802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20981
05f3d1f6
UD
20982 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20983 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20984 conformtest.pl
8149f976 20985
1a4ac776
JM
209862012-03-21 Joseph Myers <joseph@codesourcery.com>
20987
be22ce65
JM
20988 * NOTES: Remove.
20989 * Makefile (files-for-dist): Remove NOTES.
20990 (NOTES): Remove rule.
20991 * README: Don't refer to NOTES.
20992 * manual/creature.texi: Don't include macros.texi.
20993 * manual/intro.texi (creature.texi): Remove comment referring to
20994 NOTES.
20995
40b601fb
JM
20996 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20997 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20998 * configure: Regenerated.
20999 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21000 LIBC_TRY_CC_OPTION.
21001 (libc_cv_as_i686): Likewise.
21002 (libc_cv_cc_avx): Likewise.
21003 (libc_cv_cc_sse2avx): Likewise.
21004 (libc_cv_cc_fma4): Likewise.
21005 (libc_cv_cc_novzeroupper): Likewise.
21006 * sysdeps/i386/configure: Regenerated.
21007
1a4ac776
JM
21008 [BZ #13883]
21009 * sysdeps/i386/fpu/s_cexp.S: Remove.
21010 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21011 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21012 * math/libm-test.inc (cexp_test): Add more tests.
21013 * sysdeps/i386/fpu/libm-test-ulps: Update.
21014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21015
a458e7fe
AM
210162012-03-21 Allan McRae <allan@archlinux.org>
21017
21018 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21019
0cb7efc5
JM
210202012-03-21 Joseph Myers <joseph@codesourcery.com>
21021
21022 [BZ #13871]
21023 * math/w_exp2.c: Do not include <float.h>.
21024 (o_threshold, u_threshold): Remove.
21025 (__exp2): Calculate result before checking finiteness and calling
21026 __kernel_standard.
21027 * math/w_exp2f.c: Likewise.
21028 * math/w_exp2l.c: Likewise.
21029 * math/libm-test.inc (exp2_test): Require overflow exception for
21030 1e6 input.
2460d3aa
JM
21031
21032 [BZ #3866]
21033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21034 range of signed 64-bit integers before using fistpll. Remove
21035 checks for whether integers fit in mantissa bits.
21036 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21037 the range of signed 32-bit integers before using fistpl. Remove
21038 checks for whether integers fit in mantissa bits.
21039 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21040 (__ieee754_powl): Test for y outside the range of signed 64-bit
21041 integers before using fistpll. Reduce 64-bit values to 63-bit
21042 ones as needed.
21043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21044 divide-by-zero is raised for zero to large negative powers.
21045 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21046 (__ieee754_powl): Test for y outside the range of signed 64-bit
21047 integers before using fistpll. Reduce 64-bit values to 63-bit
21048 ones as needed.
21049 * math/libm-test.inc (pow_test): Add more tests.
21050
eb96ffb0
L
210512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21052
21053 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21054 <stdio-common/_itoa.h>.
21055 * debug/segfault.c: Likewise.
21056 * elf/dl-cache.c: Likewise.
21057 * elf/dl-minimal.c: Likewise.
21058 * elf/dl-misc.c: Likewise.
21059 * elf/dl-sysdep.c: Likewise.
21060 * elf/dl-version.c: Likewise.
21061 * elf/rtld.c: Likewise.
21062 * hurd/hurdsock.c: Likewise.
21063 * hurd/lookup-retry.c: Likewise.
21064 * malloc/malloc.c: Likewise.
21065 * malloc/mtrace.c: Likewise.
21066 * nscd/nscd_getgr_r.c: Likewise.
21067 * nscd/nscd_getpw_r.c: Likewise.
21068 * nscd/nscd_getserv_r.c: Likewise.
21069 * posix/getopt_init.c: Likewise.
21070 * posix/wordexp.c: Likewise.
21071 * stdio-common/_itoa.c: Likewise.
21072 * stdio-common/printf_fphex.c: Likewise.
21073 * stdio-common/vfprintf.c: Likewise.
21074 * string/_strerror.c: Likewise.
21075 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21076 * sysdeps/i386/i686/hp-timing.h: Likewise.
21077 * sysdeps/mach/_strerror.c: Likewise.
21078 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21079 * sysdeps/mach/hurd/sethostid.c: Likewise.
21080 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21081 * sysdeps/mach/xpg-strerror.c: Likewise.
21082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21084 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21085 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21086 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21087 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21090 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21091 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21092 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21093 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21094 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21095 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21096 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21097 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21098 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21099 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21100 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21101 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21102 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21103
21104 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21105
21106 * stdio-common/_itoa.h: Moved to ...
21107 * sysdeps/generic/_itoa.h: Here.
21108
21109 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21110
21111 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21112 instead of "_itoa.h" and "_itowa.h".
21113 * stdio-common/vfprintf.: Likewise.
21114
d1af992d
L
211152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21116
21117 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21118 <bits/wordsize.h>.
21119 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21120 (__signbit): Likwise.
21121 (llrintf): Likwise.
21122 (llrint): Likwise.
21123
114883e0
L
211242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21125
21126 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21127 __WORDSIZE != 64.
21128
c135cc1b
JM
211292012-03-20 Joseph Myers <joseph@codesourcery.com>
21130
21131 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21132 OVERFLOW_EXCEPTION_OK.
21133 * math/libm-test.inc ("Philosophy"): Update comment about
21134 exception testing.
21135 (OVERFLOW_EXCEPTION): Define.
21136 (OVERFLOW_EXCEPTION_OK): Likewise.
21137 (INVALID_EXCEPTION_OK): Renumber.
21138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21139 (IGNORE_ZERO_INF_SIGN): Likewise.
21140 (test_exceptions): Handle FE_OVERFLOW.
21141 (exp10_test): Expect overflow exceptions.
21142 (exp2_test): Likewise.
21143 (expm1_test): Likewise.
21144 (nextafter_test): Likewise.
21145 (pow_test): Likewise.
21146 (scalbn_test): Likewise.
21147 (scalbln_test): Likewise.
21148
95443d88
L
211492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 * sysdeps/x86_64/bits/atomic.h
21152 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21153 64bit integer.
21154 (atomic_exchange_acq): Likewise.
21155 (__arch_exchange_and_add_body): Likewise.
21156 (__arch_add_body): Likewise.
21157 (atomic_add_negative): Likewise.
21158 (atomic_add_zero): Likewise.
21159
490df6c4
L
211602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21161
c2722551 21162 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21163 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21164
5e52b189
L
211652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21166
21167 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21168 Check __x86_64__ instead of __WORDSIZE.
21169
a9879d4c
L
211702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21171
21172 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21173
5df98260
DM
211742012-03-19 David S. Miller <davem@davemloft.net>
21175
e1497744
DM
21176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21177
5df98260
DM
21178 * sysdeps/sparc/fpu/fenv_private.h: New file.
21179 * sysdeps/sparc/fpu/math_private.h: Use it.
21180 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21181 Remove.
21182 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21183 (libc_feholdexcept_setroundl): Remove.
21184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21185 Remove.
21186 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21187 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21188
b4c35121
L
211892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21190
21191 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21192 int64_t instead of long int.
21193 (INSERT_WORDS64): Likwise.
21194
56965fd7
L
211952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21196
21197 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21198 _Unwind_GetCFA return to _Unwind_Ptr first.
21199
83d1aec8
JM
212002012-03-19 Joseph Myers <joseph@codesourcery.com>
21201
1897ad44
JM
21202 [BZ #13629]
21203 * math/s_clog.c: Include <float.h>.
21204 (__clog): Scale large or subnormal inputs.
21205 * math/s_clogf.c: Likewise.
21206 * math/s_clogl.c: Likewise.
21207 * math/s_clog10.c: Include <float.h>.
21208 (M_LOG10_2): Define.
21209 (__clog10): Scale large or subnormal inputs.
21210 * math/s_clog10f.c: Likewise.
21211 * math/s_clog10l.c: Likewise.
21212 * math/libm-test.inc (clog_test): Add more tests.
21213 (clog10_test): Likewise.
21214 * sysdeps/i386/fpu/libm-test-ulps: Update.
21215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21216
7726d6a9
JM
21217 [BZ #11451]
21218 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21219 x and y.
21220 * math/libm-test.inc (atan2_test): Add another test.
21221
83d1aec8
JM
21222 * Makerules (common-objdir-compile): Remove.
21223 * sysdeps/unix/Makefile (config-generated): Do not add
21224 $(unix-generated) to variable.
21225 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21226 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21227 Remove rule.
21228 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21229 Likewise.
21230 [generic bits/local_lim.h] (before-compile): Do not append to
21231 variable.
21232 [generic bits/local_lim.h] (common-generated): Likewise.
21233 [generic sys/param.h] (before-compile): Do not append to variable.
21234 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21235 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21237 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21238 include.
21239 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21240 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21241 [generic sys/param.h] ($(addprefix
21242 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21243 [generic sys/param.h] (common-generated): Do not append to
21244 variable.
21245 [generic sys/param.h] (sysdep_headers): Likewise.
21246 [generic bits/errno.h] (before-compile): Do not append to
21247 variable.
21248 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21249 rule.
21250 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21251 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21252 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21253 [generic bits/errno.h] (common-generated): Do not append to
21254 variable.
21255 [generic bits/ioctls.h] (before-compile): Do not append to
21256 variable.
21257 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21258 rule.
21259 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21260 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21261 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21262 rule.
21263 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21264 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21265 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21266 [generic bits/ioctls.h] (common-generated): Do not append to
21267 variable.
21268 [generic sys/syscall.h] (syscall.h): Remove variable.
21269 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21270 rule.
21271 [generic sys/syscall.h] (before-compile): Do not append to
21272 variable.
21273 [generic sys/syscall.h] (common-generated): Likewise.
21274 * sysdeps/unix/errnos-tmpl.c: Remove file.
21275 * sysdeps/unix/errnos.awk: Likewise.
21276 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21277 * sysdeps/unix/ioctls.awk: Likewise.
21278 * sysdeps/unix/mk-local_lim.c: Likewise.
21279 * sysdeps/unix/snarf-ioctls: Likewise.
21280
4851a949
RH
212812012-03-19 Richard Henderson <rth@twiddle.net>
21282
bd37f2ee
RH
21283 * sysdeps/i386/fpu/fenv_private.h: New file.
21284 * sysdeps/i386/fpu/math_private.h: Use it.
21285 (math_opt_barrier, math_force_eval): Remove.
21286 (libc_feholdexcept_setround_53bit): Remove.
21287 (libc_feupdateenv_53bit): Remove.
21288 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21289 (math_opt_barrier, math_force_eval): Remove.
21290 (libc_feholdexcept): Remove.
21291 (libc_feholdexcept_setround): Remove.
21292 (libc_fetestexcept, libc_fesetenv): Remove.
21293 (libc_feupdateenv_test): Remove.
21294 (libc_feupdateenv, libc_feholdsetround): Remove.
21295 (libc_feresetround): Remove.
21296
d0adc922
RH
21297 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21298 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21299
0fe0f1f8
RH
21300 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21301 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21302 (libc_feupdateenv_testl): New.
21303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21304 (libc_feupdateenv_testf): New.
21305 (libc_feupdateenv): Use libc_feupdateenv_test.
21306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21308
eb92c487
RH
21309 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21310 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21311 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21312 (libc_feresetround_noex): New.
21313 (libc_feresetround_noexf): New.
21314 (libc_feresetround_noexl): New.
21315 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21316 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21317 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21318 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21319 SET_RESTORE_ROUND.
21320 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21321 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21322 (__cos): Likewise.
21323 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21325 SET_RESTORE_ROUND_NOEX.
21326 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21327 SET_RESTORE_ROUND_NOEXF.
21328 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21329 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21330 (libc_feholdsetroundf): New.
21331 (libc_feresetround, libc_feresetroundf): New.
21332
7d2e8012
RH
21333 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21334 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21335 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21336
b4dabbb4
RH
21337 * sysdeps/generic/math_private.h: Include <fenv.h>.
21338 (default_libc_feholdexcept): New.
21339 (default_libc_feholdexcept_setround): New.
21340 (default_libc_fesetenv, default_libc_feupdateenv): New.
21341 (libc_feholdexcept): Only define if undefined.
21342 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21343 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21344 (libc_feholdexcept_setroundl): Likewise.
21345 (libc_feholdexcept_setround_53bit): Likewise.
21346 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21347 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21348 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21349 (libc_feupdateenv_53bit): Likewise.
21350 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21351 (libc_feholdexcept): Convert from macro to inline function.
21352 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21353 (libc_fesetenv, libc_feupdateenv): Likewise.
21354
4851a949
RH
21355 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21356 not previously defined.
21357 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21358 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21359 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21360 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21361 * sysdeps/ieee754/flt-32/math_private.h: New file.
21362 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21363 math_private.h below SET_FLOAT_WORD.
21364 (__isnan, __isinf_ns, __finite): Remove.
21365 (__isnanf, __isinf_nsf, __finitef): Remove.
21366
e79d442e
AS
213672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21368
21369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21370
90b80344
DM
213712012-03-17 David S. Miller <davem@davemloft.net>
21372
21373 [BZ #6471]
21374 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21375 for 2.16.
21376
edc21804
DM
213772012-03-16 David S. Miller <davem@davemloft.net>
21378
77e927af
DM
21379 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21380 warnings.
21381
374976dd
DM
21382 [BZ #6471]
21383 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21384 properly.
21385 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21386 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21387 sysdep_routines when subdir is sysvipc.
21388 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21389 __getshmlba helper.
21390
edc21804
DM
21391 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21392
473c3ef3
L
213932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21396 [__LP64__].
21397
eb0f39b6
L
213982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21401 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21402 (__lround): Renamed to ...
21403 (__llround): This. Replace long int with long long int.
21404 Define lround functions as aliases of llround functions.
21405 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21406
6b6cd74b
L
214072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21408
21409 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21410 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21411 adresses to uintptr_t. Replace "long int" and "unsigned long
21412 int" with "greg_t" on va_arg.
21413
f1a77b01
L
214142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21417 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21418
21419 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21420 Move e_machine check before EI_CLASS check. Handle x32
21421 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21422 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21423 SKIP_EM_IA_64 and include
21424 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21425
21426 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21427 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21428 (add_system_dir): New macro.
21429
21430 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21431 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21432
11b90b9f
JM
214332012-03-16 Joseph Myers <joseph@codesourcery.com>
21434
c36e1d23
JM
21435 [BZ #2551]
21436 [BZ #2552]
21437 [BZ #2553]
21438 [BZ #2554]
21439 [BZ #2562]
21440 [BZ #2563]
21441 [BZ #2565]
21442 [BZ #2566]
21443 [BZ #2576]
21444 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21445 (y0): Likewise.
21446 * math/w_j0f.c (j0f): Likewise.
21447 (y0f): Likewise.
21448 * math/w_j0l.c (__j0l): Likewise.
21449 (__y0l): Likewise.
21450 * math/w_j1.c (j1): Likewise.
21451 (y1): Likewise.
21452 * math/w_j1f.c (j1f): Likewise.
21453 (y1f): Likewise.
21454 * math/w_j1l.c (__j1l): Likewise.
21455 (__y1l): Likewise.
21456 * math/w_jn.c (jn): Likewise.
21457 (yn): Likewise.
21458 * math/w_jnf.c (jnf): Likewise.
21459 (ynf): Likewise.
21460 * math/w_jnl.c (__jnl): Likewise.
21461 (__ynl): Likewise.
21462 * math/libm-test.inc (j0_test): Add more tests.
21463 (j1_test): Likewise.
21464 (jn_test): Likewise. Add trailing semicolon to existing test.
21465 (y0_test): Likewise.
21466 (y1_test): Likewise.
21467 * sysdeps/i386/fpu/libm-test-ulps: Update.
21468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21469
11b90b9f
JM
21470 [BZ #13851]
21471 [BZ #13854]
21472 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21473 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21474 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21475 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21476 (__tanl): Set errno for infinite argument.
21477 * sysdeps/i386/fpu/mptan.c: Remove.
21478 * sysdeps/i386/fpu/s_tan.S: Likewise.
21479 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21480 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21481 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21482 * math/libm-test.inc (tan_test): Add more tests and enable more
21483 tests for double and long double.
21484 * sysdeps/i386/fpu/libm-test-ulps: Update.
21485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21486
6a1bd2a1
JK
214872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21488
21489 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21490 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21491
10a803e0
RM
214922012-03-16 Roland McGrath <roland@hack.frob.com>
21493
21494 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21495 * configure.in: Use it for both main tree and add-ons.
21496 * configure: Regenerated.
21497
f196c7f7
L
214982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21499
21500 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21501
8848d99d
JM
215022012-03-16 Joseph Myers <joseph@codesourcery.com>
21503
96cbe7f4
JM
21504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21505 in comment.
21506
8848d99d
JM
21507 [BZ #13851]
21508 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21509 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21511 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21513 infinite argument.
21514 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21516 != 0 for prec == 2.
21517 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21518 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21519 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21520 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21521 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21522 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21523 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21524 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21525 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21526 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21527 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21528 * math/libm-test.inc (cos_test): Add more tests and enable more
21529 tests for long double.
21530 (sin_test): Likewise.
21531 (sincos_test): Likewise.
21532 * sysdeps/i386/fpu/libm-test-ulps: Update.
21533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21534
dd7f4703
DM
215352012-03-16 David S. Miller <davem@davemloft.net>
21536
21537 * sysdeps/sparc/fpu/math_private.h: New file.
21538
006f1daa
DM
215392012-03-15 David S. Miller <davem@davemloft.net>
21540
c0c83bc8
DM
21541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21542 file.
e6a62e18 21543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21545 file.
e6a62e18
DM
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21552 sysdep routines.
21553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21554
88cb87d9
DM
21555 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21556 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21557
006f1daa 21558 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21560 sparc-ifunc.h
006f1daa 21561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21563 Likewise.
21564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21565 Likewise.
006f1daa
DM
21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21570 Likewise.
006f1daa
DM
21571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21576 Likewise.
21577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21578 Likewise.
006f1daa
DM
21579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21603
11e0098e
AS
216042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21605
21606 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21607 scaling.
21608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21609
e85b09d0
AJ
216102012-03-15 Andreas Jaeger <aj@suse.de>
21611
21612 [BZ #13852]
21613 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21614 ieee754/flt-32 implementation for sin, cos and sincos.
21615 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21616 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21617 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21618 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21619 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21620 ieee754/flt-32 implementation for tan.
21621
21622 * math/libm-test.inc (cos_test): Enable some large input tests for
21623 float as well
21624 (sin_test): Likewise.
21625 (sincos_test): Likewise.
21626 (tan_test): Add tests for large input.
21627
21628 * sysdeps/i386/fpu/libm-test-ulps: Update.
21629
81c64153
AJ
216302012-03-15 Andreas Jaeger <aj@suse.de>
21631
21632 [BZ #13658]
21633 * math/libm-test.inc (cos_test): Add more test cases.
21634 (sin_test): Likewise.
21635 (sincos_test): Likewise.
21636
7bbfa5c6
AJ
216372012-03-15 Andreas Jaeger <aj@suse.de>
21638
21639 [BZ #13837]
21640 * math/libm-test.inc (cos_test): Add a test case for large input
21641 value.
21642 (sin_test): Likewise.
21643 (sincos_test): Likewise.
21644
216452012-03-15 Andreas Jaeger <aj@suse.de>,
21646 Joseph Myers <joseph@codesourcery.com>
21647
21648 [BZ #13658]
0671f479 21649 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21650 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21651 * sysdeps/i386/fpu/branred.c: Likewise.
21652 * sysdeps/i386/fpu/dosincos.c: Likewise.
21653 * sysdeps/i386/fpu/mpa.c: Likewise.
21654 * sysdeps/i386/fpu/s_cos.S: Likewise.
21655 * sysdeps/i386/fpu/s_sin.S: Likewise.
21656 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21657 * sysdeps/i386/fpu/sincos32.c: Likewise.
21658
21659 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21660 Define.
21661 (libc_feupdateenv_53bit): Define.
21662 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21663 Define.
21664 (libc_feupdateenv_53bit): Define.
21665
21666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21667 53 bit (without extend i386 double precision).
21668
21669 * math/libm-test.inc (sincos_test): Add tests for large input.
21670 (sin): Likewise.
21671 (cos): Likewise.
21672
21673 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21674
9cad04ea
AS
216752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21676
21677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21678
f7062b9a
DM
216792012-03-15 David S. Miller <davem@davemloft.net>
21680
21681 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21682 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21683 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21684 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21697 file.
f7062b9a 21698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21700 file.
f7062b9a 21701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21703 file.
f7062b9a 21704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21706 file.
f7062b9a
DM
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21709 fmin/fmax sysdep routines.
21710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21711
7bd951ff
DM
217122012-03-14 David S. Miller <davem@davemloft.net>
21713
559398ab
DM
21714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21741 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21743 routines.
21744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21745 file.
559398ab 21746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21748 file.
559398ab 21749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21751 file.
559398ab 21752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21754 file.
559398ab 21755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21757 file.
559398ab 21758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21760 file.
21761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21762 file.
21763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21764 file.
21765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21766 file.
21767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21768 New file.
21769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21770 file.
21771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21772 file.
559398ab 21773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21775 file.
559398ab 21776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21778 file.
559398ab 21779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21781 file.
559398ab 21782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21784 VIS3 routines.
559398ab
DM
21785
21786 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21787 New file.
21788
5a1c1e32
DM
21789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21790
eae47a36
DM
21791 * sysdeps/sparc/configure.in: New file.
21792 * sysdeps/sparc/configure: Generate.
21793 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21794 * configure: Regenerate.
21795 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21796 * config.make.in (have-as-vis3): New.
21797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21798 available use -Av9d instead of -Av9a.
21799 * sysdeps/sparc/sparc64/Makefile: Likewise.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21802 New file.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21804 file.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21806 New file.
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21808 file.
eae47a36
DM
21809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21814
c0c83bc8
DM
21815 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21816 fzeros/fnegs to load 0x80000000 into a float register instead of
21817 using the stack.
7bd951ff
DM
21818 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21819
bd951ccb
JM
218202012-03-14 Joseph Myers <joseph@codesourcery.com>
21821
21822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21823 bits/syscall.h.
21824 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21825 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21826 ($(inst_includedir)/bits/syscall.h): Remove rule.
21827 ($(objpfx)bits/syscall.d): Include instead of
21828 $(objpfx)syscall-list.d.
21829 (generated): Change syscall-list.h and syscall-list.d to
21830 bits/syscall.h and bits/syscall.d.
21831
bb4e6db2
RM
218322012-03-14 Roland McGrath <roland@hack.frob.com>
21833
21834 [BZ #13846]
21835 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21836
aa4a2ae1
JM
218372012-03-14 Joseph Myers <joseph@codesourcery.com>
21838
e456826d
JM
21839 [BZ #13841]
21840 * math/s_csqrt.c: Include <float.h>.
21841 (__csqrt): Scale large or subnormal inputs.
21842 * math/s_csqrtf.c: Likewise.
21843 * math/s_csqrtl.c: Likewise.
21844 * math/libm-test.inc (csqrt_test): Add more tests.
21845 * sysdeps/i386/fpu/libm-test-ulps: Update.
21846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21847
aa4a2ae1
JM
21848 [BZ #13840]
21849 * math/libm-test.inc (hypot_test): Add more tests.
21850
7c10fd35
DM
218512012-03-13 David S. Miller <davem@davemloft.net>
21852
21853 [BZ #13840]
21854 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21855 double-precision for the calculation instead of scaling.
21856
f453b98b
JM
218572012-03-13 Joseph Myers <joseph@codesourcery.com>
21858
21859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21860 manipulate bits before adding and subtracting TWO52[sx].
21861 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21862 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21863 Likewise.
21864 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21865
09a3453f
DM
218662012-03-13 David S. Miller <davem@davemloft.net>
21867
8e59da90
DM
21868 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21869 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21871 rtld-global-offsets.h
21872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21873
2a8ab7f2
DM
21874 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21875 large parameters.
21876
10f62770
DM
21877 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21878
5f0bdb18
DM
21879 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21880 'err' in the ifdef scope in which it is actually used.
21881
09a3453f
DM
21882 * nss/nss_db/db-init.c: Include string.h
21883
b4b2eb5e
DM
218842012-03-12 David S. Miller <davem@davemloft.net>
21885
98bb2f1c
DM
21886 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21887 masking out of the most significant byte of random value used.
21888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21889 Fix coding style in previous change.
21890
b4b2eb5e
DM
21891 * sysdeps/unix/sysv/linux/kernel-features.h
21892 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21893 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21894 expression.
21895 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21896 later.
21897
6e226b09
DM
218982012-03-11 David S. Miller <davem@davemloft.net>
21899
a1bcbd40
DM
21900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21901 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21903 for 'resultvar' otherwise things get truncated on 64-bit.
21904
cb9d6174
DM
21905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21906 Fix masking out of the most significant byte of random value used.
21907
6e226b09
DM
21908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21909
058c132d
AS
219102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21911
21912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21913
2d2cd515
DM
219142012-03-09 David S. Miller <davem@davemloft.net>
21915
21916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21917 variables with appropriate CPP guards.
21918 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21919 frame pointer, not the stack pointer. Correct layout comments. Fix test
21920 on resulting framesize and the management of the outregs buffer for pltexit.
21921 Preserve floating point return values across _dl_call_pltexit call.
21922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21923 framesize and the management of the outregs buffer for pltexit.
21924 Preserve floating point return values across _dl_call_pltexit
21925 call.
21926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21927 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21928 (print_exit): Fix format string for return register value.
21929
9a07f9d0
JM
219302012-03-10 Joseph Myers <joseph@codesourcery.com>
21931
21932 * sunrpc/Makefile (others): Add rpcgen.
21933 ($(objpfx)rpcgen): Remove special build rule and dependency on
21934 libc.
21935 * sunrpc/rpcgen.c: New file.
21936
547b5e30
PE
219372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21938
c524201a
PE
21939 [BZ #13673]
21940 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21941 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21942 * sysdeps/i386/crti.S: Likewise.
21943 * sysdeps/i386/crtn.S: Likewise.
21944 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21945 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21946 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21947 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21948 * sysdeps/sh/crti.S: Likewise.
21949 * sysdeps/sh/crtn.S: Likewise.
21950 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21951
7b6235f2
PE
21952 [BZ #13673]
21953 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21954 with URL.
21955 * locale/programs/locfile-kw.gperf: Likewise.
21956 * locale/programs/charmap-kw.h: Regenerated.
21957 * locale/programs/locfile-kw.h: Likewise.
21958
547b5e30
PE
21959 [BZ #13673]
21960 * intl/plural.y: Replace FSF snail mail address with URL.
21961 * intl/plural.c: Regenerated.
21962
5f0a5dae
RH
219632012-03-09 Richard Henderson <rth@twiddle.net>
21964
21965 * include/math_private.h: Remove file.
21966 * math/math_private.h: Move file ...
21967 * sysdeps/generic/math_private.h: ... here.
21968
b8c03620
RH
21969 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21970 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21971 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21972
4e234f5d 21973 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21974 and <math_private.h>.
21975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22059 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22067 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22070 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22071 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22072 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22073 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22075 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22076 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22077 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22078 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22083 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22084 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22085 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22086 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22087 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22088 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22089 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22091 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22092 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22093 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22094 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22095 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22097 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22098 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22101 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22102 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22106 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22107 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22108 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22109 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22110 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22111 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22112 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22114 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22116 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22118 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22119 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22120 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22124 * sysdeps/ieee754/k_standard.c: Likewise.
22125 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22244 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22252 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22257 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22285 * sysdeps/ieee754/s_lib_version.c: Likewise.
22286 * sysdeps/ieee754/s_matherr.c: Likewise.
22287 * sysdeps/ieee754/s_signgam.c: Likewise.
22288 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22289 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22290 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22291 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22292 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22294 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22295 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22296 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22297 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22298 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22299 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22300 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22301 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22302 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22305 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22306 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22309
1991fa03
JM
223102012-03-09 Joseph Myers <joseph@codesourcery.com>
22311
22312 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22313 * sunrpc/rpc_main.c: Likewise.
22314 * sunrpc/rpc_svcout.c: Likewise.
22315
60d6f5a6
DM
223162012-03-09 David S. Miller <davem@davemloft.net>
22317
22318 * include/math_private.h: New file.
22319
4962050e
JM
223202012-03-09 Joseph Myers <joseph@codesourcery.com>
22321
02a6f887
JM
22322 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22323 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22324 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22325 from <bits/socket_type.h>.
22326 (enum __socket_type): Don't define here.
22327 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22329 bits/socket_type.h.
22330
c6e013c1
JM
22331 [BZ #13566]
22332 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22333 checking __USE_GNU.
22334
4962050e
JM
22335 * Makerules ($(inst_includedir)/%.h): New rule.
22336 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22337 (install-others): Remove variable setting.
22338 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22339
38842f45
RH
223402012-03-08 Richard Henderson <rth@twiddle.net>
22341
67bb6da6
RH
22342 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22343 from macro to inline function; merge with the
22344 !__LIBC_INTERNAL_MATH_INLINES version.
22345 (__ieee754_sqrtf): Likewise.
22346
15194b4b
RH
22347 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22348 to inline function.
22349 (__rintf, __floor, __floorf): Likewise.
22350
64e21ede
RH
22351 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22352 macro to inline function.
22353 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22354
38842f45
RH
22355 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22356 not <math/math_private.h>.
22357
c64bf5fe
DM
223582012-03-08 David S. Miller <davem@davemloft.net>
22359
22360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22361 copyright year.
22362 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22363
82d86f28
TS
223642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22365
22366 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22367 normalization.
22368 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22369 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22370
aea5d727
UD
223712012-03-08 Ulrich Drepper <drepper@gmail.com>
22372
22373 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22374 be defined individually, they must be defined as a block. Define
22375 S for printing a string instead of hidint the different by using a
22376 macro for adding the 'l'.
22377 * stdio-common/tst-fphex-wide.c: Adjust.
22378
70bca0a3
MP
223792012-03-07 Marek Polacek <polacek@redhat.com>
22380
22381 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22382
65b81130
MP
223832012-03-08 Marek Polacek <polacek@redhat.com>
22384
22385 [BZ #13806]
22386 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22387 * stdio-common/tst-fphex.c: Define a few macros to make the
22388 test reusable. Use them.
22389 * stdio-common/tst-fphex-wide.c: New file.
22390
07037eeb
JM
223912012-03-08 Joseph Myers <joseph@codesourcery.com>
22392
a7a93d50
JM
22393 [BZ #6911]
22394 * manual/macros.texi (gnusystems): New macro.
22395 (nongnusystems): Likewise.
22396 (gnulinuxhurdsystems): Likewise.
22397 (gnuhurdsystems): Likewise..
22398 (gnulinuxsystems): Likewise.
22399 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22400 variants of the GNU system, not "GNU system".
22401 * manual/conf.texi: Likewise.
22402 * manual/errno.texi: Likewise. Update example of errno macro
22403 expansion.
22404 * manual/filesys.texi: Likewise.
22405 (getumask): Document as specific to GNU/Hurd.
22406 * manual/install.texi: Likewise. Reword some references to
22407 GNU/Linux.
22408 * manual/intro.texi: Likewise.
22409 * manual/io.texi: Likewise.
22410 (File Name Portability): Detail which constraints are inapplicable
22411 to all GNU systems and which are only inapplicable to GNU/Hurd.
22412 * manual/job.texi: Likewise.
22413 * manual/llio.texi: Likewise.
22414 (O_NOCTTY): Document as present on GNU/Linux.
22415 * manual/maint.texi: Likewise.
22416 * manual/memory.texi: Likewise.
22417 * manual/pattern.texi: Likewise.
22418 * manual/pipe.texi: Likewise.
22419 * manual/process.texi: Likewise.
22420 * manual/resource.texi: Likewise.
22421 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22422 child on GNU/Hurd.
22423 * manual/setjmp.texi: Likewise.
22424 * manual/signal.texi: Likewise.
22425 * manual/startup.texi: Likewise.
22426 * manual/stdio.texi: Likewise.
22427 * manual/terminal.texi: Likewise.
22428 (ONLCR): Document as POSIX.
22429 (OXTABS): Document availability on GNU/Linux as XTABS.
22430 (ONOEOT): Document availability separately from other bits.
22431 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22432 * manual/time.texi: Likewise.
22433 * manual/users.texi: Likewise.
22434 * INSTALL: Regenerated.
22435 * sysdeps/gnu/errlist.c: Regenerated.
22436
07037eeb
JM
22437 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22438 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22439 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22440 puts.
22441 * configure: Regenerated.
22442
d1d3431a
JM
224432012-03-07 Joseph Myers <joseph@codesourcery.com>
22444
af6a1e37
JM
22445 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22446 default includes instead of AC_HEADER_CHECK.
22447 * sysdeps/i386/configure: Regenerated.
22448
d1d3431a
JM
22449 [BZ #10716]
22450 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22451 * math/s_cacoshf.c (__cacoshf): Likewise.
22452 * math/s_cacoshl.c (__cacoshl): Likewise.
22453 * math/s_casinh.c (__casinh): Set signs of result from argument.
22454 * math/s_casinhf.c (__casinhf): Likewise.
22455 * math/s_casinhl.c (__casinhl): Likewise.
22456 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22457 (casinh_test): Add more tests.
22458 * sysdeps/i386/fpu/libm-test-ulps: Update.
22459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22460
482ff4da
UD
224612012-03-07 Ulrich Drepper <drepper@gmail.com>
22462
872fda05
UD
22463 * po/zh_TW.po: Update from translation team.
22464
a4300c7a
UD
22465 * login/Makefile (distribute): Remove variable.
22466 * catgets/Makefile: Likewise.
22467 * mach/Makefile: Likewise.
22468 * malloc/Makefile: Likewise.
22469 * misc/Makefile: Likewise.
22470 * iconv/Makefile: Likewise.
22471 * nscd/Makefile: Likewise.
22472 * hurd/Makefile: Likewise.
22473 * manual/Makefile: Likewise.
22474 * locale/Makefile: Likewise.
22475 * intl/Makefile: Likewise.
22476 * conform/Makefile: Likewise.
22477 * nss/Makefile: Likewise.
22478 * time/Makefile: Likewise.
22479 * soft-fp/Makefile: Likewise.
22480 * dirent/Makefile: Likewise.
22481 * gmon/Makefile: Likewise.
22482 * po/Makefile: Likewise.
22483 * rt/Makefile: Likewise.
22484 * socket/Makefile: Likewise.
22485 * math/Makefile: Likewise.
22486 * signal/Makefile: Likewise.
22487 * debug/Makefile: Likewise.
22488 * elf/Makefile: Likewise.
22489 * timezone/Makefile: Likewise.
22490 * stdlib/Makefile: Likewise.
22491 * iconvdata/Makefile: Likewise.
22492 * sunrpc/Makefile: Likewise.
22493 * io/Makefile: Likewise.
22494 * argp/Makefile: Likewise.
22495 * inet/Makefile: Likewise.
22496 * hesiod/Makefile: Likewise.
22497 * grp/Makefile: Likewise.
22498 * csu/Makefile: Likewise.
22499 * wctype/Makefile: Likewise.
22500 * crypt/Makefile: Likewise.
22501 * libio/Makefile: Likewise.
22502 * string/Makefile: Likewise.
22503 * nis/Makefile: Likewise.
22504 * resolv/Makefile: Likewise.
22505 * stdio-common/Makefile: Likewise.
22506 * wcsmbs/Makefile: Likewise.
22507 * dlfcn/Makefile: Likewise.
22508 * posix/Makefile: Likewise.
22509
3b7c4e74 22510 [BZ #6959]
482ff4da
UD
22511 * timezone/Makefile: Don't install timezone files, just the programs
22512 and scripts.
22513
f72ed77d
UD
225142012-03-06 Ulrich Drepper <drepper@gmail.com>
22515
a000466f
UD
22516 * nss/databases.def: Add missing gshadow entry.
22517
f72ed77d
UD
22518 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22519
a53b7a4e
MP
225202012-03-06 Marek Polacek <polacek@redhat.com>
22521
22522 [BZ #13726]
22523 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22524 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22525 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22526 * stdio-common/tst-long-dbl-fphex.c: New file.
22527
e9258400
DM
225282012-03-06 David S. Miller <davem@davemloft.net>
22529
22530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22531 (set_obp_int): New function.
22532 (get_obp_int): New function.
22533 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22535 Avoid unused variable warnings on 'val' and use builtin_expect.
22536 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22537 __builtin_expect.
e9258400
DM
22538 (INLINE_CLONE_SYSCALL): Likewise.
22539
3bd2c723
DM
225402012-03-05 David S. Miller <davem@davemloft.net>
22541
22542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22543
bbb78d03
AS
225442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22545
884c5db4
AS
22546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22547
bbb78d03
AS
22548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22549 only for |x| >= 40.
22550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22551
1c9f702a 225522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22553
22554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22555 Replace gettimeofday with __vdso_gettimeofday.
22556
7be16f82
RM
22557 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22558 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22559 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22560
22561 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22562 time with __vdso_time.
22563
ed58a00f
JM
225642012-03-05 Joseph Myers <joseph@codesourcery.com>
22565
22566 * manual/lang.texi (size_t): Note types to which size_t may be
22567 equivalent with the GNU C Library, but do not describe when
22568 differences between them are significant.
22569
30ee4ced
AJ
225702012-03-05 Andreas Jaeger <aj@suse.de>
22571
22572 * sysdeps/i386/fpu/libm-test-ulps: Update.
22573
b7cd39e8
JM
225742012-03-05 Joseph Myers <joseph@codesourcery.com>
22575
22576 [BZ #3976]
22577 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22578 (__ieee754_pow): Save and restore rounding mode and use
22579 round-to-nearest for main computations.
22580 * math/libm-test.inc (pow_test_tonearest): New function.
22581 (pow_test_towardzero): Likewise.
22582 (pow_test_downward): Likewise.
22583 (pow_test_upward): Likewise.
22584 (main): Call the new functions.
22585 * sysdeps/i386/fpu/libm-test-ulps: Update.
22586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22587
22588 [BZ #3976]
22589 * math/libm-test.inc (cosh_test_tonearest): New function.
22590 (cosh_test_towardzero): Likewise.
22591 (cosh_test_downward): Likewise.
22592 (cosh_test_upward): Likewise.
22593 (sinh_test_tonearest): Likewise.
22594 (sinh_test_towardzero): Likewise.
22595 (sinh_test_downward): Likewise.
22596 (sinh_test_upward): Likewise.
22597 (main): Call the new functions.
22598 * sysdeps/i386/fpu/libm-test-ulps: Update.
22599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22600
6c6a98c9
TV
226012012-03-05 Tom de Vries <tom@codesourcery.com>
22602
22603 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22604 default stack guard is set in last bytes.
22605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22606
21bb2d2e 226072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22608
21bb2d2e 22609 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22610
21bb2d2e
AJ
22611 [BZ #13656]
22612 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22613 possibly allocate from heap instead of stack.
22614 * stdio-common/bug-vfprintf-nargs.c: New file.
22615 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22616
c6922934
AS
226172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22618
22619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22620
bc957d53
MP
226212012-03-03 Marek Polacek <polacek@redhat.com>
22622
22623 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22624 * math/math_private.h: Likewise.
22625 * stdlib/tst-strtod.c: Likewise.
22626 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22627 * sysdeps/x86_64/bits/atomic.h: Likewise.
22628
6358490d
DM
226292012-03-02 David S. Miller <davem@davemloft.net>
22630
22631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22635 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22636 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22637 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22638 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22639
01ae168d
RM
226402012-03-02 Roland McGrath <roland@hack.frob.com>
22641
d9a17c07
RM
22642 [BZ #13792]
22643 * manual/examples/README: New file, says the example source files
22644 can be used under GPL>=2.
22645 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22646 line containing just "*/".
22647 * manual/examples/add.c: Add copyright header (GPL>=2).
22648 * manual/examples/argp-ex1.c: Likewise.
22649 * manual/examples/argp-ex2.c: Likewise.
22650 * manual/examples/argp-ex3.c: Likewise.
22651 * manual/examples/argp-ex4.c: Likewise.
22652 * manual/examples/atexit.c: Likewise.
22653 * manual/examples/db.c: Likewise.
22654 * manual/examples/dir.c: Likewise.
22655 * manual/examples/dir2.c: Likewise.
22656 * manual/examples/execinfo.c: Likewise.
22657 * manual/examples/filecli.c: Likewise.
22658 * manual/examples/filesrv.c: Likewise.
22659 * manual/examples/fmtmsgexpl.c: Likewise.
22660 * manual/examples/genpass.c: Likewise.
22661 * manual/examples/inetcli.c: Likewise.
22662 * manual/examples/inetsrv.c: Likewise.
22663 * manual/examples/isockad.c: Likewise.
22664 * manual/examples/longopt.c: Likewise.
22665 * manual/examples/memopen.c: Likewise.
22666 * manual/examples/memstrm.c: Likewise.
22667 * manual/examples/mkfsock.c: Likewise.
22668 * manual/examples/mkisock.c: Likewise.
22669 * manual/examples/mygetpass.c: Likewise.
22670 * manual/examples/pipe.c: Likewise.
22671 * manual/examples/popen.c: Likewise.
22672 * manual/examples/rprintf.c: Likewise.
22673 * manual/examples/search.c: Likewise.
22674 * manual/examples/select.c: Likewise.
22675 * manual/examples/setjmp.c: Likewise.
22676 * manual/examples/sigh1.c: Likewise.
22677 * manual/examples/sigusr.c: Likewise.
22678 * manual/examples/stpcpy.c: Likewise.
22679 * manual/examples/strdupa.c: Likewise.
22680 * manual/examples/strftim.c: Likewise.
22681 * manual/examples/strncat.c: Likewise.
22682 * manual/examples/subopt.c: Likewise.
22683 * manual/examples/swapcontext.c: Likewise.
22684 * manual/examples/termios.c: Likewise.
22685 * manual/examples/testopt.c: Likewise.
22686 * manual/examples/testpass.c: Likewise.
22687 * manual/examples/timeval_subtract.c: Likewise.
22688
01ae168d
RM
22689 [BZ #13792]
22690 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22691 function to ...
22692 * manual/timeval_subtract.c.texi: ... here, new file.
22693
49efa33d
DM
226942012-03-02 David S. Miller <davem@davemloft.net>
22695
22696 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22697
28afd92d
JM
226982012-03-02 Joseph Myers <joseph@codesourcery.com>
22699
804360ed
JM
22700 [BZ #3976]
22701 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22702 (__sin): Save and restore rounding mode and use round-to-nearest
22703 for all computations.
22704 (__cos): Save and restore rounding mode and use round-to-nearest
22705 for all computations.
22706 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22707 <fenv.h>.
22708 (tan): Save and restore rounding mode and use round-to-nearest for
22709 all computations.
22710 * math/libm-test.inc (cos_test_tonearest): New function.
22711 (cos_test_towardzero): Likewise.
22712 (cos_test_downward): Likewise.
22713 (cos_test_upward): Likewise.
22714 (sin_test_tonearest): Likewise.
22715 (sin_test_towardzero): Likewise.
22716 (sin_test_downward): Likewise.
22717 (sin_test_upward): Likewise.
22718 (tan_test_tonearest): Likewise.
22719 (tan_test_towardzero): Likewise.
22720 (tan_test_downward): Likewise.
22721 (tan_test_upward): Likewise.
22722 (main): Call the new functions.
22723 * sysdeps/i386/fpu/libm-test-ulps: Update.
22724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22725
a6d06d7b
JM
22726 [BZ #10135]
22727 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22728 small n, then large n, before computing and testing k+n.
22729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22731 Likewise.
22732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22733 Likewise.
22734 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22735 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22738 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22740 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22742 * math/libm-test.inc (scalbn_test): Add more tests.
22743 (scalbln_test): Likewise.
22744
07e12bb3
JM
22745 * manual/filesys.texi (mode_t): Describe constraints on size and
22746 signedness, not exact equivalence to a particular type.
22747 (ino_t): Likewise.
22748 (ino64_t): Likewise.
22749 (dev_t): Likewise.
22750 (nlink_t): Likewise.
22751 (blkcnt_t): Likewise.
22752 (blkcnt64_t): Likewise.
22753 * manual/llio.texi (off_t): Likewise.
22754
28afd92d
JM
22755 [BZ #3976]
22756 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22757 (__ieee754_exp): Save and restore rounding mode and use
22758 round-to-nearest for all computations.
22759 * math/libm-test.inc (exp_test_tonearest): New function.
22760 (exp_test_towardzero): Likewise.
22761 (exp_test_downward): Likewise.
22762 (exp_test_upward): Likewise.
22763 (main): Call the new functions.
22764 * sysdeps/i386/fpu/libm-test-ulps: Update.
22765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766
b1eeb65d
CD
227672012-03-01 Chris Demetriou <cgd@google.com>
22768
22769 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22770 have predictable order.
22771
53362a4b
DM
227722012-03-01 David S. Miller <davem@davemloft.net>
22773
3c969083
DM
22774 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22775
759707de
DM
22776 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22777 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22778 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22779 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22780
dfdb8ff2
DM
22781 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22782 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22783 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22785 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22786 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22787 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22788 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22789 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22790
ead89f96
DM
22791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22792
7f66bd07
DM
22793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22794 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22795 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22796
53362a4b
DM
22797 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22799 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22800 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22801 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22802 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22805 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22806 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22807 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22808 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22809 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22810 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22813 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22814 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22815 * sysdeps/sparc/elf/configure: Regenerated.
22816
7b1902cb
JM
228172012-03-01 Joseph Myers <joseph@codesourcery.com>
22818
bec039bc
JM
22819 * configure.in (AS, LD): Require binutils 2.20 or later.
22820 * configure: Regenerated.
22821 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22822 as required minimum version.
22823 * INSTALL: Regenerated.
22824
7b1902cb
JM
22825 [BZ #2541]
22826 [BZ #4108]
22827 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22828 before squaring exponent.
22829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22830 bottom long double and 27 bits of top long double before squaring
22831 exponent.
22832 * math/libm-test.inc (erfc_test): Add more tests.
22833 * sysdeps/i386/fpu/libm-test-ulps: Update.
22834 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22836
f775c276
KT
228372012-03-01 Kai Tietz <ktietz@redhat.com>
22838
22839 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22840 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22841 containing bit-fields.
22842 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22843 * soft-fp/single.h (_FP_UNION_S): Likewise.
22844 * soft-fp/double.h (_FP_UNION_D): Likewise.
22845
5b8a4d4a
JM
228462012-02-29 Joseph Myers <joseph@codesourcery.com>
22847
0bab47b6
JM
22848 [BZ #13786]
22849 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22850 not include ../strcmp.S.
22851 [USE_AS_STRNCASECMP_L]: Likewise.
22852 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22853 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22854 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22855 (__strncasecmp_l_ia32): Define as alias to
22856 __strncasecmp_l_nonascii.
22857
0fcad3e2
JM
22858 [BZ #5794]
22859 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22860 * sysdeps/i386/fpu/libm-test-ulps: Update.
22861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22862
5b8a4d4a
JM
22863 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22865
8fdceb2e
JL
228662012-02-29 Jeff Law <law@redhat.com>
22867
22868 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22869 out of bounds read.
22870
1f393a11
MP
228712012-02-29 Marek Polacek <polacek@redhat.com>
22872
22873 [BZ #13706]
22874 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22875 * elf/Makefile: Add rules to run tst-unused-dep.out.
22876
8847f037
DM
228772012-02-28 David S. Miller <davem@davemloft.net>
22878
22879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22883 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22884 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22885
169d7f11
JM
228862012-02-29 Joseph Myers <joseph@codesourcery.com>
22887
22888 * math/libm-test.inc (llround_test): Move one test from
22889 lround_test. Use TEST_f_L in moved test.
22890 (lround_test): Move misplaced test to llround_test. Add testcase
22891 from bug 2561.
22892
39adf059
UD
228932012-02-28 Ulrich Drepper <drepper@gmail.com>
22894
22895 * sysdeps/x86_64/fpu/e_expf.S: New file.
22896 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22897
71b5d1c5
SB
228982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22899
22900 [BZ #13637]
22901 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22902 of remain_len that may cause incomplete multi-byte character and
22903 false match.
22904 * posix/bug-regex33.c: New file.
22905 * posix/Makefile (tests): Add bug-regex33.
22906
1f77f049
JM
229072012-02-28 Joseph Myers <joseph@codesourcery.com>
22908
22909 * manual/macros.texi: New file.
22910 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22911 * manual/libc.texinfo: Include macros.texi.
22912 * manual/creatute.texi: Likewise.
22913 * manual/install.texi: Likewise.
22914 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22915 @glibcadj{} in references to the GNU C Library.
22916 * manual/charset.texi: Likewise.
22917 * manual/conf.texi: Likewise.
22918 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22919 when not using those macros.
22920 * manual/creature.texi: Likewise.
22921 * manual/crypt.texi: Likewise.
22922 * manual/errno.texi: Likewise.
22923 * manual/filesys.texi: Likewise.
22924 * manual/header.texi: Likewise.
22925 * manual/install.texi: Likewise.
22926 * manual/intro.texi: Likewise.
22927 * manual/io.texi: Likewise.
22928 * manual/job.texi: Likewise.
22929 * manual/lang.texi: Likewise.
22930 * manual/libc.texiinfo: Likewise.
22931 * manual/llio.texi: Likewise.
22932 * manual/locale.texi: Likewise.
22933 * manual/maint.texi: Likewise.
22934 * manual/math.texi: Likewise.
22935 * manual/memory.texi: Likewise.
22936 * manual/message.texi: Likewise.
22937 * manual/nss.texi: Likewise.
22938 * manual/pattern.texi: Likewise.
22939 * manual/process.texi: Likewise.
22940 * manual/resource.texi: Likewise.
22941 * manual/search.texi: Likewise.
22942 * manual/setjmp.texi: Likewise.
22943 * manual/signal.texi: Likewise.
22944 * manual/socket.texi: Likewise.
22945 * manual/startup.texi: Likewise.
22946 * manual/stdio.texi: Likewise.
22947 * manual/string.texi: Likewise.
22948 * manual/sysinfo.texi: Likewise.
22949 * manual/syslog.texi: Likewise.
22950 * manual/terminal.texi: Likewise.
22951 * manual/time.texi: Likewise.
22952 * manual/users.texi: Likewise.
22953 * INSTALL: Regenerated.
22954 * NOTES: Regenerated.
d40c5d54 22955 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22956
450bf206
AS
229572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22958
22959 * include/dirent.h: Include <dirstream.h> before
22960 <dirent/dirent.h>.
22961
741a235b
DM
229622012-02-28 David S. Miller <davem@davemloft.net>
22963
22964 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22965 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22966 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22967 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22968
d6b5aa58
DM
229692012-02-27 David S. Miller <davem@davemloft.net>
22970
1aff59a3
DM
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22973 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22974 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22975
d6b5aa58
DM
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22977 frame pointer instead of stack pointer relative arg slot.
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22981
433f48bf
CD
229822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22983
22984 [BZ #3992]
22985 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22986
d674b76d
DM
229872012-02-27 David S. Miller <davem@davemloft.net>
22988
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22993 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22994 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22995 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22996 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22997
0e7727f7
JM
229982012-02-27 Joseph Myers <joseph@codesourcery.com>
22999
23000 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23001 later. Allow versions 5-9.
43be4ca2 23002 * configure: Regenerated.
0e7727f7
JM
23003 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23004 required minimum version and 4.6 as recommended version. Do not
23005 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23006 * INSTALL: Regenerated.
0e7727f7 23007
a78bc654
DM
230082012-02-27 David S. Miller <davem@davemloft.net>
23009
428d5830
DM
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23016 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23017 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23018
a78bc654
DM
23019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23020 manipulate bits before adding and subtracting TWO112[sx].
23021 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23022
4579f81c
RM
230232012-02-27 Roland McGrath <roland@hack.frob.com>
23024
36c8acb4
RM
23025 [BZ #13775]
23026 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23027 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23028 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23029 being in POSIX, because they are in 1003.1-2008.
23030
84ad622b
RM
23031 * rt/tst-aio.c: Include <fcntl.h>.
23032 * rt/tst-aio7.c: Likewise.
23033 * rt/tst-aio64.c: Likewise.
23034
4579f81c
RM
23035 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23036
abd923db
JM
230372012-02-27 Joseph Myers <joseph@codesourcery.com>
23038
23039 * manual/install.texi (--with-headers): Describe headers as
23040 interface headers, not private headers.
23041 (Specific advice for GNU/Linux systems): Describe use of headers
23042 from "make headers_install", not private headers from older
23043 kernels.
43be4ca2 23044 * INSTALL: Regenerated.
abd923db
JM
23045 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23046 Change to 2.6.19.
23047 * sysdeps/unix/sysv/linux/configure: Regenerated.
23048
6664049b
JM
23049 * manual/llio.texi (fclean): Remove documentation.
23050
bb8b6697
JM
23051 * manual/Makefile (libc-texi-generated): New variable. Include
23052 version.texi.
23053 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23054 $(libc-texi-generated), not duplicated list of files.
23055 (version.texi, stamp-version): New rules.
23056 (realclean): Remove $(libc-texi-generated), not individual files
23057 from that list. Do not remove dir-add.texinfo.
23058 * manual/libc.texinfo: Comment out uses of edition numbers and
23059 references to printed manual. Remove last-updated dates.
23060 (EDITION): Comment out.
23061 (ISBN): Likewise.
23062 (VERSION, UPDATED): Remove.
23063 (version.texi): Include.
23064
12e5c3b9
AS
230652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23066
23067 * sysdeps/posix/spawni.c: Include <signal.h>.
23068 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23069 * sysdeps/pthread/aio_fsync.c: Likewise.
23070
4efeffc1 230712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23072
ba63ba08
UD
23073 * conform/Makefile (tests): Run only when not cross-compiling and
23074 when fast-check is not defined.
23075
d94a4670
UD
23076 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23077 * conform/data/limits.h-data: Fixes for POSIX2008.
23078 * conform/run-conformtest.sh: Run all tests.
23079 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23080 headers.
23081 * include/bits/dlfcn.h: Likewise.
23082 * include/langinfo.h: Likewise.
23083 * include/monetary.h: Likewise.
23084 * include/sys/poll.h: Likewise.
23085
23086 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23087 for __USE_GNU.
23088 * posix/spawn.h: Define __need_sigset_t.
23089 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23090 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23091 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23092 to get sigevent_t only.
23093 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23094 only for __USE_GNU.
23095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23096 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23097 process_vm_writev only for __USE_GNU.
23098 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23099
23100 * conform/Makefile: For now ignore errors from run-conformtest.
23101 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23102 POSIX to avoid namespace pollution. Don't prepend headers.
23103 * conform/data/aio.h-data: Fixes for POSIX testing.
23104 * conform/data/fcntl.h-data: Likewise.
23105 * conform/data/glob.h-data: Likewise.
23106 * conform/data/grp.h-data: Likewise.
23107 * conform/data/pthread.h-data: Likewise.
23108 * conform/data/pwd.h-data: Likewise.
23109 * conform/data/signal.h-data: Likewise.
23110 * conform/data/spawn.h-data: Likewise.
23111 * conform/data/stdio.h-data: Likewise.
23112 * conform/data/stdlib.h-data: Likewise.
23113 * conform/data/stropts.h-data: Likewise.
23114 * conform/data/sys/mman.h-data: Likewise.
23115 * conform/data/sys/stat.h-data: Likewise.
23116 * conform/data/sys/types.h-data: Likewise.
23117 * conform/data/sys/wait.h-data: Likewise.
23118 * conform/data/time.h-data: Likewise.
23119 * conform/data/unistd.h-data: Likewise.
23120 * conform/data/utime.h-data: Likewise.
23121
23122 * io/sys/stat.h: fchmod was always in POSIX.
23123 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23124 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23125 * rt/aio.h: Define __need_timespec before including <time.h>.
23126 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23127 struct. Add forward declaration of pthread_attr_t and use it in
23128 sigevent.
23129 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23131 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23132 always remove CLK_TCK definition.
23133
c20105c3
AS
231342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23135
23136 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23137
7a270350
UD
231382012-02-25 Ulrich Drepper <drepper@gmail.com>
23139
31341567
UD
23140 * conform/run-conformtest.sh: New file.
23141 * conform/Makefile: Run run-conformtest for tests.
23142 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23143 support.
23144
23145 * conform/data/uchar.h-data: New file.
23146 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23147 * conform/data/arpa/inet.h-data: Likewise.
23148 * conform/data/assert.h-data: Likewise.
23149 * conform/data/complex.h-data: Likewise.
23150 * conform/data/cpio.h-data: Likewise.
23151 * conform/data/ctype.h-data: Likewise.
23152 * conform/data/dirent.h-data: Likewise.
23153 * conform/data/dlfcn.h-data: Likewise.
23154 * conform/data/errno.h-data: Likewise.
23155 * conform/data/fcntl.h-data: Likewise.
23156 * conform/data/float.h-data: Likewise.
23157 * conform/data/fmtmsg.h-data: Likewise.
23158 * conform/data/fnmatch.h-data: Likewise.
23159 * conform/data/ftw.h-data: Likewise.
23160 * conform/data/glob.h-data: Likewise.
23161 * conform/data/grp.h-data: Likewise.
23162 * conform/data/iconv.h-data: Likewise.
23163 * conform/data/inttypes.h-data: Likewise.
23164 * conform/data/langinfo.h-data: Likewise.
23165 * conform/data/libgen.h-data: Likewise.
23166 * conform/data/limits.h-data: Likewise.
23167 * conform/data/locale.h-data: Likewise.
23168 * conform/data/math.h-data: Likewise.
23169 * conform/data/monetary.h-data: Likewise.
23170 * conform/data/mqueue.h-data: Likewise.
23171 * conform/data/ndbm.h-data: Likewise.
23172 * conform/data/net/if.h-data: Likewise.
23173 * conform/data/netdb.h-data: Likewise.
23174 * conform/data/netinet/in.h-data: Likewise.
23175 * conform/data/nl_types.h-data: Likewise.
23176 * conform/data/poll.h-data: Likewise.
23177 * conform/data/pthread.h-data: Likewise.
23178 * conform/data/pwd.h-data: Likewise.
23179 * conform/data/regex.h-data: Likewise.
23180 * conform/data/sched.h-data: Likewise.
23181 * conform/data/search.h-data: Likewise.
23182 * conform/data/semaphore.h-data: Likewise.
23183 * conform/data/setjmp.h-data: Likewise.
23184 * conform/data/signal.h-data: Likewise.
23185 * conform/data/spawn.h-data: Likewise.
23186 * conform/data/stdarg.h-data: Likewise.
23187 * conform/data/stdio.h-data: Likewise.
23188 * conform/data/stdlib.h-data: Likewise.
23189 * conform/data/string.h-data: Likewise.
23190 * conform/data/strings.h-data: Likewise.
23191 * conform/data/stropts.h-data: Likewise.
23192 * conform/data/sys/ipc.h-data: Likewise.
23193 * conform/data/sys/mman.h-data: Likewise.
23194 * conform/data/sys/msg.h-data: Likewise.
23195 * conform/data/sys/resource.h-data: Likewise.
23196 * conform/data/sys/select.h-data: Likewise.
23197 * conform/data/sys/sem.h-data: Likewise.
23198 * conform/data/sys/shm.h-data: Likewise.
23199 * conform/data/sys/socket.h-data: Likewise.
23200 * conform/data/sys/stat.h-data: Likewise.
23201 * conform/data/sys/statvfs.h-data: Likewise.
23202 * conform/data/sys/time.h-data: Likewise.
23203 * conform/data/sys/timeb.h-data: Likewise.
23204 * conform/data/sys/times.h-data: Likewise.
23205 * conform/data/sys/types.h-data: Likewise.
23206 * conform/data/sys/uio.h-data: Likewise.
23207 * conform/data/sys/un.h-data: Likewise.
23208 * conform/data/sys/utsname.h-data: Likewise.
23209 * conform/data/sys/wait.h-data: Likewise.
23210 * conform/data/syslog.h-data: Likewise.
23211 * conform/data/tar.h-data: Likewise.
23212 * conform/data/termios.h-data: Likewise.
23213 * conform/data/utime.h-data: Likewise.
23214 * conform/data/utmpx.h-data: Likewise.
23215 * conform/data/varargs.h-data: Likewise.
23216 * conform/data/wchar.h-data: Likewise.
23217 * conform/data/wctype.h-data: Likewise.
23218 * conform/data/wordexp.h-data: Likewise.
23219
23220 * include/stropts.h: New file.
23221 * include/uchar.h: New file.
23222 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23223 * include/assert.h: Likewise.
23224 * include/ctype.h: Likewise.
23225 * include/dirent.h: Likewise.
23226 * include/dlfcn.h: Likewise.
23227 * include/fcntl.h: Likewise.
23228 * include/fnmatch.h: Likewise.
23229 * include/glob.h: Likewise.
23230 * include/grp.h: Likewise.
23231 * include/libio.h: Likewise.
23232 * include/locale.h: Likewise.
23233 * include/math.h: Likewise.
23234 * include/net/if.h: Likewise.
23235 * include/netdb.h: Likewise.
23236 * include/netinet/in.h: Likewise.
23237 * include/pthread.h: Likewise.
23238 * include/pwd.h: Likewise.
23239 * include/regex.h: Likewise.
23240 * include/sched.h: Likewise.
23241 * include/search.h: Likewise.
23242 * include/setjmp.h: Likewise.
23243 * include/signal.h: Likewise.
23244 * include/stdio.h: Likewise.
23245 * include/stdlib.h: Likewise.
23246 * include/string.h: Likewise.
23247 * include/sys/cdefs.h: Likewise.
23248 * include/sys/mman.h: Likewise.
23249 * include/sys/msg.h: Likewise.
23250 * include/sys/resource.h: Likewise.
23251 * include/sys/select.h: Likewise.
23252 * include/sys/socket.h: Likewise.
23253 * include/sys/stat.h: Likewise.
23254 * include/sys/statvfs.h: Likewise.
23255 * include/sys/time.h: Likewise.
23256 * include/sys/times.h: Likewise.
23257 * include/sys/uio.h: Likewise.
23258 * include/sys/utsname.h: Likewise.
23259 * include/sys/wait.h: Likewise.
23260 * include/termios.h: Likewise.
23261 * include/time.h: Likewise.
23262 * include/ulimit.h: Likewise.
23263 * include/unistd.h: Likewise.
23264 * include/utime.h: Likewise.
23265 * include/wchar.h: Likewise.
23266 * include/wctype.h: Likewise.
23267 * include/wordexp.h: Likewise.
23268
23269 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23270
7a270350
UD
23271 * time/time.h: TIME_UTC must be a macro.
23272 Make timespec_get available for ISO C11 only as well.
23273
7724defc
UD
232742012-02-24 Ulrich Drepper <drepper@gmail.com>
23275
23276 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23277 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23278
6b1d1d46
JM
232792012-02-24 Joseph Myers <joseph@codesourcery.com>
23280
23281 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23282
0f8bbd69
JM
232832012-02-24 Joseph Myers <joseph@codesourcery.com>
23284
23285 * manual/texinfo.tex: Update to version 2012-01-19.16.
23286
66ab80bc
JM
232872012-02-24 Joseph Myers <joseph@codesourcery.com>
23288
23289 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23290
74981cc5
RM
232912012-02-24 Roland McGrath <roland@hack.frob.com>
23292
ee968201
RM
23293 [BZ #13738]
23294 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23295 * manual/fdl-1.3.texi: New file.
23296 * manual/fdl-1.1.texi: File removed.
23297
74981cc5
RM
23298 [BZ #13738]
23299 * manual/libc.texinfo (FDL_VERSION): New @set.
23300 Use it for mention of FDL in cover text.
23301 (Documentation License): Use it in @include file name.
23302
7bb764bc
JM
233032012-02-22 Joseph Myers <joseph@codesourcery.com>
23304 Roland McGrath <roland@hack.frob.com>
23305
23306 [BZ #5461]
23307 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23308 not LONG_LONG_MAX and LONG_LONG_MIN.
23309 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23310 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23311 name.
23312 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23313
6cbeae47
JM
233142012-02-22 Joseph Myers <joseph@codesourcery.com>
23315
23316 [BZ #2547]
23317 [BZ #11365]
23318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23319 manipulate bits before adding and subtracting TWO23[sx].
23320 * math/libm-test.inc (nearbyint_test): Add more tests.
23321
fe45ce09
JM
233222012-02-22 Joseph Myers <joseph@codesourcery.com>
23323
23324 [BZ #2548]
23325 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23326 bits before adding and subtracting TWO23[sx].
23327 * math/libm-test.inc (rint_test): Add more tests.
23328 (rint_test_tonearest): Likewise.
23329 (rint_test_towardzero): Likewise.
23330 (rint_test_downward): Likewise.
23331 (rint_test_upward: Likewise.
23332
ff3b3d82
JM
233332012-02-22 Joseph Myers <joseph@codesourcery.com>
23334
23335 [BZ #10110]
23336 * include/stdc-predef.h: New file. Extracted from features.h.
23337 * include/features.h: Include stdc-predef.h.
23338 * Makefile (headers): Add stdc-predef.h.
23339 * CONFORMANCE (Compiler limitations): Update.
23340
ef0aab35
JM
233412012-02-22 Joseph Myers <joseph@codesourcery.com>
23342
23343 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23344
58639409
DM
233452012-02-21 David S. Miller <davem@davemloft.net>
23346
23347 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23348 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23349
c0e70b25
DM
233502012-02-20 David S. Miller <davem@davemloft.net>
23351
23352 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23353 using a normal save/restore sequence, rather than allocating a
23354 dummy stack frame just to store a frame pointer and restore.
23355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23356
fb06851d
JM
233572012-02-21 Joseph Myers <joseph@codesourcery.com>
23358
23359 * manual/install.texi: Fix stray word in line-wrapped comment.
23360
7a8b71c3
DM
233612012-02-20 David S. Miller <davem@davemloft.net>
23362
d510c123
DM
23363 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23364 both binutils and gcc support GOTDATA.
23365
0722d7c2
DM
23366 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23367 "rd %pc" in the PIC register setup sequences.
23368
3d2b3019
DM
23369 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23370 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23372 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23375 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23378 (SYSCALL_ERROR_HANDLER): Likewise.
23379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23381 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23382 (SYSCALL_ERROR_HANDLER): Likewise.
23383
c80098a9
DM
23384 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23385 (HAVE_GCC_GOTDATA): New.
23386 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23387 relocation support in both binutils and gcc.
23388 * sysdeps/sparc/elf/configure: Regenerate.
23389
3a2545a0
DM
23390 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23391 * sysdeps/sparc/sparc32/elf/configure: Delete.
23392 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23393 * sysdeps/sparc/sparc64/elf/configure: Delete.
23394 * sysdeps/sparc/elf/configure.in: New file.
23395 * sysdeps/sparc/elf/configure: Generate.
23396
7a8b71c3
DM
23397 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23398 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23399 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23400 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23401 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23402
f1e86fca
JM
234032012-02-21 Joseph Myers <joseph@codesourcery.com>
23404
23405 * manual/install.texi: Do not mention specific glibc version
23406 numbers.
23407 * manual/libc.texinfo (VERSION, UPDATED): Update.
23408 (@copying): Use @copyright{} and range of years.
23409
0e7dfaef
JM
234102012-02-21 Joseph Myers <joseph@codesourcery.com>
23411
23412 [BZ #13695]
23413 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23414 [crti.S not in sysdirs] (generated): Do not append.
23415 [crti.S not in sysdirs] (omit-deps): Likewise.
23416 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23417 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23418 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23419 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23420 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23421 Likewise.
23422 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23423 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23424 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23425 * csu/defs.awk: Remove file.
23426 * sysdeps/generic/initfini.c: Likewise.
23427 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23428 variable.
23429 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23430 Likewise.
23431
599af3ca
JM
234322012-02-20 Joseph Myers <joseph@codesourcery.com>
23433
23434 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23437 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23438 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23439 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23440 <bits/epoll.h>.
23441 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23442 (__EPOLL_PACKED): Define to empty if not defined by
23443 <bits/epoll.h>.
23444 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23446 bits/epoll.h.
23447
0e499750
JM
234482012-02-20 Joseph Myers <joseph@codesourcery.com>
23449
23450 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23451 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23452 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23453 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23454 <bits/timerfd.h>.
23455 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23457 bits/timerfd.h.
23458
5ad91f6e
JM
234592012-02-20 Joseph Myers <joseph@codesourcery.com>
23460
23461 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23462 in C locale.
23463 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23464 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23467
06b99b02
AJ
234682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23469
23470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23471 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23472
7638c0fd
AS
234732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23474
23475 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23476 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23477 defined.
23478 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23479 Likewise.
23480 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23481 entry for 2.16.
23482
92221550
AJ
234832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23484
23485 * math/w_acos.c: Use non-signaling floating-point comparisons.
23486 * math/w_acosf.c: Likewise.
23487 * math/w_acosh.c: Likewise.
23488 * math/w_acoshf.c: Likewise.
23489 * math/w_acoshl.c: Likewise.
23490 * math/w_acosl.c: Likewise.
23491 * math/w_asin.c: Likewise.
23492 * math/w_asinf.c: Likewise.
23493 * math/w_asinl.c: Likewise.
23494 * math/w_atanh.c: Likewise.
23495 * math/w_atanhf.c: Likewise.
23496 * math/w_atanhl.c: Likewise.
23497 * math/w_exp2.c: Likewise.
23498 * math/w_exp2f.c: Likewise.
23499 * math/w_exp2l.c: Likewise.
23500 * math/w_j0.c: Likewise.
23501 * math/w_j0f.c: Likewise.
23502 * math/w_j0l.c: Likewise.
23503 * math/w_j1.c: Likewise.
23504 * math/w_j1f.c: Likewise.
23505 * math/w_j1l.c: Likewise.
23506 * math/w_jn.c: Likewise.
23507 * math/w_jnf.c: Likewise.
23508 * math/w_log.c: Likewise.
23509 * math/w_log10.c: Likewise.
23510 * math/w_log10f.c: Likewise.
23511 * math/w_log10l.c: Likewise.
23512 * math/w_log2.c: Likewise.
23513 * math/w_log2f.c: Likewise.
23514 * math/w_log2l.c: Likewise.
23515 * math/w_logf.c: Likewise.
23516 * math/w_logl.c: Likewise.
23517 * math/w_sqrt.c: Likewise.
23518 * math/w_sqrtf.c: Likewise.
23519 * math/w_sqrtl.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23522 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23525
ebaf36eb
JM
235262012-02-19 Joseph Myers <joseph@codesourcery.com>
23527
23528 [BZ #9739]
23529 * manual/string.texi (strnlen): Use correct parameter name in
23530 equivalent expression.
23531
71c254a6
JM
235322012-02-19 Joseph Myers <joseph@codesourcery.com>
23533
23534 [BZ #11174]
23535 * manual/users.texi (seteuid): Consistently use neweuid for
23536 argument name.
23537
16d2c631
JM
235382012-02-19 Joseph Myers <joseph@codesourcery.com>
23539
23540 [BZ #13704]
23541 * manual/nss.texi (Services in the NSS configuration): Correct
23542 list of services in example configuration file.
23543
cd837b09
NB
235442012-02-19 Nick Bowler <nbowler@draconx.ca>
23545
23546 [BZ #11322]
23547 * manual/arith.texi: Remove statements about negative zero
23548 behaving identically to zero.
23549
02c4bbad
JM
235502012-02-18 Joseph Myers <joseph@codesourcery.com>
23551
23552 [BZ #5993]
23553 * manual/install.texi: Do not document upgrading from libc5.
23554
366842e7
JM
235552012-02-18 Joseph Myers <joseph@codesourcery.com>
23556
23557 [BZ #4596]
23558 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23559
dd54084d
DM
235602012-02-18 David S. Miller <davem@davemloft.net>
23561
23562 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23563 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23564 %o7 across the call.
23565 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23566 instead.
23567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23568 SETUP_PIC_REG_LEAF.
23569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23570 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23571 * sysdeps/sparc/crtn.S: Likewise.
23572
2bcc53a3
UD
235732012-02-17 Ulrich Drepper <drepper@gmail.com>
23574
23575 * aout/Makefile: Remove.
23576
09c093b5
RK
235772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23578
23579 [BZ #13058]
23580 * manual/examples/argp-ex1.c (main): Format definition in GNU
23581 style.
23582 * manual/examples/argp-ex2.c (main): Likewise.
23583 * manual/examples/argp-ex3.c (main): Likewise.
23584 * manual/examples/argp-ex4.c (main): Likewise.
23585 * manual/examples/longopt.c (main): Use new-style prototype
23586 definition.
23587 * manual/examples/strncat.c (main): Specify return type and use
23588 (void) for arguments.
23589 * manual/examples/subopt.c (main): Use char **argv argument.
23590
2ee633a2
JM
235912012-02-17 Joseph Myers <joseph@codesourcery.com>
23592
23593 [BZ #5077]
23594 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23595 rounding modes.
23596
0520adde
FB
235972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23598
23599 [BZ #6907]
23600 * manual/string.texi (strchr): Change when strchrnul is
23601 recommended.
23602
3f4081cd
DGM
236032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23604
23605 [BZ #174]
23606 * manual/locale.texi (setlocale): Document LOCPATH.
23607
d1b10e78
JM
236082012-02-17 Joseph Myers <joseph@codesourcery.com>
23609
23610 [BZ #10210]
23611 * manual/process.texi (execle): Move @dots{} before last argument.
23612
79c6869c
PB
236132012-02-17 Paul Bolle <pebolle@tiscali.nl>
23614
23615 [BZ #12047]
23616 * manual/charset.texi (Generic Charset Conversion): Fix typo
23617 (LC_TYPE -> LC_CTYPE).
23618
cc6e48bc
NB
236192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23620
23621 [BZ #5805]
23622 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23623 (scalbnf): Likewise.
23624 (scalbnl): Likewise.
23625 (scalbln): Likewise.
23626 (scalblnf): Likewise.
23627 (scalblnl): Likewise.
23628 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23629 (vwarnx): Likewise.
23630 (verr): Likewise.
23631 (verrx): Likewise.
23632 * manual/filesys.texi (telldir): Use braces around return type.
23633 * manual/llio.texi (mmap): Add space after comma.
23634 (mmap64): Likewise.
23635 * manual/math.texi (jn): Use @var{} on parameter names.
23636 (jnf): Likewise.
23637 (jnl): Likewise.
23638 (yn): Likewise.
23639 (ynf): Likewise.
23640 (ynl): Likewise.
23641 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23642 line.
23643 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23644 "...".
23645 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23646 (sched_get_priority_max): Likewise.
23647 * manual/signal.texi (sigvec): Add space after comma.
23648 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23649 names.
23650 (if_indextoname): Likewise.
23651 (if_freenameindex): Likewise.
23652 (sendto): Use ',' instead of '.' in prototype.
23653 * manual/startup.texi (syscall): Use @dots{} instead of literal
23654 "...".
23655 * manual/stdio.texi (__fpending): Separate initial words of
23656 paragraph from @deftypefun line.
23657 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23658 "...".
23659 (vsyslog): Use @var{} on parameter names.
23660 * manual/terminal.texi (stty): Use @var{} on parameter names.
23661 * manual/users.texi (getutmp): Use @var{} on parameter names.
23662 (getutmpx): Likewise.
23663
5b23062f
JM
236642012-02-17 Joseph Myers <joseph@codesourcery.com>
23665
23666 [BZ #6884]
23667 * manual/stdio.texi (fopen): Fix typos in description of
23668 ",ccs=STRING".
23669
8dee4833
AJ
236702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23671
23672 [BZ #4026]
23673 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23674 get clock_id definition.
23675
9078ce93
TS
236762012-02-17 Thomas Schwinge <thomas@schwinge.name>
23677
23678 [BZ #4822]
23679 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23680 (madvise): Cast every argument to void on its own.
23681
3835c55f
JM
236822012-02-17 Joseph Myers <joseph@codesourcery.com>
23683
23684 [BZ #9902]
23685 * manual/startup.texi (Exit Status): Fix typo.
23686
35c47e37
JM
236872012-02-17 Joseph Myers <joseph@codesourcery.com>
23688
23689 [BZ #10140]
23690 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23691 * manual/examples/argp-ex2.c: Likewise.
23692 * manual/examples/argp-ex3.c: Likewise.
23693
e3b69ca7
RH
236942012-02-16 Richard Henderson <rth@redhat.com>
23695
23696 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23697 * sysdeps/s390/s390-32/initfini.c: Remove.
23698 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23699 * sysdeps/s390/s390-64/initfini.c: Remove.
23700
df83af67
KK
237012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23702
23703 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23704 compiler output for sysdeps/generic/initfini.c.
23705 * sysdeps/sh/elf/initfini.c: Remove file.
23706
f63f3380
DM
237072012-02-16 David S. Miller <davem@davemloft.net>
23708
fb59b3a4
DM
23709 [BZ #11494]
23710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23711
f63f3380
DM
23712 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23713 * sysdeps/sparc/crti.S: New file.
23714 * sysdeps/sparc/crtn.S: New file.
23715 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23716 * sysdeps/sparc/sparc64/Makefile: Likewise.
23717
df6a4a4a
MF
237182012-02-15 Mike Frysinger <vapier@gentoo.org>
23719
6dd8f3dc 23720 [BZ #3335]
df6a4a4a
MF
23721 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23722
1cac7236
RM
237232012-02-15 Roland McGrath <roland@hack.frob.com>
23724
d2c736f8
RM
23725 [BZ #4822]
23726 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23727
1cac7236
RM
23728 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23729 (write, read, close): Likewise.
23730 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23731
8e475601
JM
237322012-02-15 Joseph Myers <joseph@codesourcery.com>
23733
23734 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23735 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23736 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23737 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23738 <bits/signalfd.h>.
23739 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23741 bits/signalfd.h.
23742
ed656b40
MP
237432012-02-14 Marek Polacek <polacek@redhat.com>
23744
23745 * sysdeps/x86_64/crti.S: New file.
23746 * sysdeps/x86_64/crtn.S: New file.
23747 * sysdeps/x86_64/elf/initfini.c: Remove file.
23748
2a979d3a
JM
237492012-02-13 Joseph Myers <joseph@codesourcery.com>
23750
23751 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23752 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23753 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23754 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23755 <bits/inotify.h>.
23756 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23758 bits/inotify.h.
23759
2a418ac3
JM
237602012-02-13 Joseph Myers <joseph@codesourcery.com>
23761
23762 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23763 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23764 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23765 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23766 <bits/eventfd.h>.
23767 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23769 bits/eventfd.h.
23770
fb779be7
TS
237712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23772
e19e83c5
RM
23773 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23774 __feraiseexcept instead of feraiseexcept.
7c35ffed 23775
fb779be7
TS
23776 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23777 nanosleep invocations.
23778 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23779 strings, and add error checking for a nanosleep invocations.
23780
59ba27a6
PE
237812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23782
23783 Replace FSF snail mail address with URLs, as per GNU coding standards.
23784 Most of the snail mail addresses were wrong anyway, and omitting
23785 them makes the source code easier to maintain. Almost all of the
23786 changes are to license notices and to locale LC_IDENTIFICATION
23787 addresses, except for this one:
23788 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23789 not its snail mail address.
23790
57b957eb
RH
237912012-02-09 Richard Henderson <rth@twiddle.net>
23792
af850b1c
RH
23793 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23794 of kernel-features.h.
23795
57b957eb
RH
23796 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23797
6b73181a
MP
237982012-02-08 Marek Polacek <polacek@redhat.com>
23799
23800 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23801 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23802 * sysdeps/gnu/_G_config.h: Likewise.
23803 * sysdeps/generic/_G_config.h: Likewise.
23804
26ecc33a
AS
238052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23806
6c6dbc63
AS
23807 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23808 tests.
23809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23810
e216c012
AS
23811 * sysdeps/powerpc/powerpc32/crti.S: New file.
23812 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23813 * sysdeps/powerpc/powerpc64/crti.S: New file.
23814 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23815
26ecc33a
AS
23816 * Makeconfig (have-initfini): Don't set.
23817 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23818 * configure.in (nopic_initfini): Don't substitute.
23819 * config.h.in (HAVE_INITFINI): Don't #undef.
23820 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23821 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23822
3add8e13
JM
238232012-02-08 Joseph Myers <joseph@codesourcery.com>
23824
23825 Support crti.S and crtn.S provided directly by architectures.
23826 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23827 [crti.S in sysdirs] (omit-deps): Likewise.
23828 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23829 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23830 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23831 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23832 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23833 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23834 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23835 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23836 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23837 compiler output for sysdeps/generic/initfini.c.
23838 * sysdeps/i386/elf/Makefile: Remove file.
23839 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23840
a22f12b4
MP
238412012-02-07 Marek Polacek <polacek@redhat.com>
23842
23843 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23844 * sysdeps/gnu/_G_config.h: Likewise.
23845 * sysdeps/mach/hurd/_G_config.h: Likewise.
23846
148cf100
MP
238472012-02-07 Marek Polacek <polacek@redhat.com>
23848
23849 * math/Makefile (tests): Add tst-CMPLX2.
23850 * math/tst-CMPLX2.c: New file.
23851
cfdc0dd7
AS
238522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23853
84ba42c4
AS
23854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23855
cfdc0dd7
AS
23856 * math/libm-test.inc (jn_test): Add missing L suffix.
23857
622c86f4
MP
238582012-02-06 Marek Polacek <polacek@redhat.com>
23859
23860 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23861 * sysdeps/i386/fpu/e_powf.S: Likewise.
23862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23865 * sysdeps/i386/fpu/e_pow.S: Likewise.
23866 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23868 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23869 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23870 * sysdeps/i386/fpu/e_log2.S: Likewise.
23871 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23872 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23873 * sysdeps/i386/fpu/e_powl.S: Likewise.
23874 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23876 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23877 * sysdeps/i386/fpu/e_logl.S: Likewise.
23878 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23879 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23884 * sysdeps/i386/fpu/e_log.S: Likewise.
23885 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23886 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23887 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23888 * sysdeps/i386/fpu/e_logf.S: Likewise.
23889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23891 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23892 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23893 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23894 * sysdeps/i386/fpu/e_log10.S: Likewise.
23895 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23897 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23898 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23899 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23900 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23901 * sysdeps/i386/asm-syntax.h: Likewise.
23902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23905 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23906 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23908 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23909 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23911 * sysdeps/powerpc/sysdep.h: Likewise.
23912 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23913 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23914
d4a54ac6
JM
239152012-02-06 Joseph Myers <joseph@codesourcery.com>
23916
23917 [BZ #411]
23918 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23919
314054ea
JM
239202012-02-06 Joseph Myers <joseph@codesourcery.com>
23921
23922 * sysdeps/i386/sysdep.h: Include <features.h>.
23923 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23924 version.
23925
d8e0ca50
JM
239262012-02-05 Joseph Myers <joseph@codesourcery.com>
23927
23928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23929 Define.
23930 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23931 LOAD_PIC_REG_STR.
23932
b1da7dd9
JM
239332012-02-03 Joseph Myers <joseph@codesourcery.com>
23934
23935 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23936 (SETUP_PIC_REG): Use GET_PC_THUNK.
23937 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23938 macro.
23939
9a1d9254
JM
239402012-02-03 Joseph Myers <joseph@codesourcery.com>
23941
23942 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23943 for non-PIC compilation.
23944 (SETUP_PIC_REG): Add .p2align directive.
23945 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23946 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23950 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23951 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23953 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23954 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23955 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23956 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23957 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23958 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23959 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23960 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23961 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23962 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23963 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23964 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23965 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23966 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23967 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23968 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23971 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23972 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23973 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23974 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23975 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23976 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23977 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23980 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23986
65dc3b75
JM
239872012-02-03 Joseph Myers <joseph@codesourcery.com>
23988
23989 * math/tst-CMPLX.c: Include <stdio.h>.
23990
d55bf177
JM
239912012-01-31 Joseph Myers <joseph@codesourcery.com>
23992
23993 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23994 float.
23995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23996 * sysdeps/sparc/bits/mathdef.h: Likewise.
23997
69db4f8f
MP
239982012-01-31 Marek Polacek <polacek@redhat.com>
23999
24000 * libio/libio.h: Don't define _PARAMS.
24001 * locale/programs/config.h: Don't define PARAMS.
24002 * stdlib/strtol_l.c: Likewise.
24003 (__strtol_l): Remove PARAMS from the prototype.
24004
41b81892
UD
240052012-01-31 Ulrich Drepper <drepper@gmail.com>
24006
3b49edc0
UD
24007 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24008 names. Just use the correct names. Remove unnecessary wrapper
24009 functions.
24010 * malloc/arena.c: Likewise.
24011 * malloc/hooks.c: Likewise.
24012
41b81892
UD
24013 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24014 ARENA_TEST says not to. Simplify test for creation of a new arena.
24015 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24016
27a25b6e
UD
240172012-01-30 Ulrich Drepper <drepper@gmail.com>
24018
24019 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24020 into tail calls.
24021 (update_get_addr): New function.
24022 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24023 GET_ADDR_MODULE parameter.
24024
c8a89e7d
JM
240252012-01-30 Joseph Myers <joseph@codesourcery.com>
24026
24027 * crypt/cert.c: Remove __STDC__ conditionals.
24028 * crypt/crypt-entry.c: Likewise.
24029 * crypt/crypt_util.c: Likewise.
24030 * libio/filedoalloc.c: Likewise.
24031 * libio/fileops.c: Likewise.
24032 * libio/genops.c: Likewise.
24033 * libio/iofclose.c: Likewise.
24034 * libio/iofdopen.c: Likewise.
24035 * libio/iofopen.c: Likewise.
24036 * libio/iofopen64.c: Likewise.
24037 * libio/iogetdelim.c: Likewise.
24038 * libio/iopopen.c: Likewise.
24039 * libio/obprintf.c: Likewise.
24040 * libio/oldfileops.c: Likewise.
24041 * libio/oldiofclose.c: Likewise.
24042 * libio/oldiofdopen.c: Likewise.
24043 * libio/oldiofopen.c: Likewise.
24044 * libio/oldiopopen.c: Likewise.
24045 * libio/wfiledoalloc.c: Likewise.
24046 * libio/wgenops.c: Likewise.
24047 * locale/programs/xmalloc.c: Likewise.
24048 * misc/syslog.c: Likewise.
24049 * stdio-common/xbug.c: Likewise.
24050 * string/memchr.c: Likewise.
24051 * string/memcmp.c: Likewise.
24052 * string/memrchr.c: Likewise.
24053 * string/rawmemchr.c: Likewise.
24054 * sysdeps/posix/getcwd.c: Likewise.
24055 * time/strftime_l.c: Likewise.
24056
3b100462
JM
240572012-01-30 Joseph Myers <joseph@codesourcery.com>
24058
24059 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24060 * config.make.in (config-cflags-sse2avx): Define.
24061 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24062 Fix typo.
24063
607998af
CM
240642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24065
24066 * scripts/config.guess: Update from upstream config git repository.
24067 * scripts/config.sub: Likewise.
24068
3601428f
CM
240692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24070
3ac8b282
CM
24071 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24072 (EM_NUM): Update.
24073 (R_TILEPRO_*, R_TILEGX_*): New macros.
24074
e034841e
CM
24075 * scripts/firstversions.awk: Fix bug in version range handling.
24076
540d7568
CM
24077 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24078
3601428f
CM
24079 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24080
463de862
CM
24081 * include/sys/epoll.h: New file.
24082 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24083 libc_hidden_def.
24084
73139a76
UD
240852012-01-28 Ulrich Drepper <drepper@gmail.com>
24086
96bc5b45
UD
24087 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24088 Avoid unnecessary __WORDSIZE == 64 test.
24089 (fmaxf): Use VEX format if possible.
24090 (fmax): Likewise.
24091 (fminf): Likewise.
24092 (fmin): Likewise.
24093
56f6f6a2
UD
24094 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24095 * math/math_private.h: Remove libc_fegetround* and
24096 libc_fesetround*.
24097 * sysdeps/i386/configure.in: Check for -msse2avx.
24098 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24099 also if SSE2AVX is defined.
24100 Remove libc_fegetround* and libc_fesetround*.
24101 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24102 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24103 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24104 of HAS_YMM_USABLE.
24105 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24106 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24107 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24108 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24109 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24110
73139a76
UD
24111 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24112
d73f93a4
AZ
241132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24114
24115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24116 size is not set.
24117 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24118
6ee65ed6
UD
241192012-01-27 Ulrich Drepper <drepper@gmail.com>
24120
24121 [BZ #13618]
24122 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24123 relocation.
24124 * Makeconfig (libm): Define.
24125 * elf/Makefile: Add rules to build and run tst-relsort1.
24126 * elf/tst-relsort1.c: New file.
24127 * elf/tst-relsort1mod1.c: New file.
24128 * elf/tst-relsort1mod2.c: New file.
24129
8db21882
JM
241302012-01-27 Joseph Myers <joseph@codesourcery.com>
24131
24132 * math/s_ldexp.c: Remove __STDC__ conditionals.
24133 * math/s_ldexpf.c: Likewise.
24134 * math/s_ldexpl.c: Likewise.
24135 * math/s_nextafter.c: Likewise.
24136 * math/s_nexttowardf.c: Likewise.
24137 * math/s_significand.c: Likewise.
24138 * math/s_significandf.c: Likewise.
24139 * math/s_significandl.c: Likewise.
24140 * math/w_jnl.c: Likewise.
24141 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24142 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24143 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24144 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24145 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24162 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24163 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24165 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24166 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24171 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24172 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24173 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24174 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24175 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24176 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24177 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24178 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24179 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24180 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24181 * sysdeps/ieee754/k_standard.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24256 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24257 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24261 * sysdeps/ieee754/s_matherr.c: Likewise.
24262 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24263 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24266
965a54a4
JM
242672012-01-26 Joseph Myers <joseph@codesourcery.com>
24268
24269 * crypt/md5.h: Remove __STDC__ conditionals.
24270 * libio/libioP.h: Likewise.
24271 * locale/programs/config.h: Likewise.
24272 * sysdeps/generic/sysdep.h: Likewise.
24273 * sysdeps/i386/asm-syntax.h: Likewise.
24274 * sysdeps/s390/asm-syntax.h: Likewise.
24275 * sysdeps/unix/sysdep.h: Likewise.
24276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24278
7071ad79
JM
242792012-01-26 Joseph Myers <joseph@codesourcery.com>
24280
24281 * libio/libio.h: Remove __STDC__ conditionals.
24282 * malloc/obstack.h: Likewise.
24283 * math/complex.h: Likewise.
24284 * math/math.h: Likewise.
24285 * sysdeps/generic/_G_config.h: Likewise.
24286 * sysdeps/gnu/_G_config.h: Likewise.
24287 * sysdeps/mach/hurd/_G_config.h: Likewise.
24288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24289 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24290 * sysdeps/sparc/bits/mathdef.h: Likewise.
24291
afc5ed09
UD
242922012-01-26 Ulrich Drepper <drepper@gmail.com>
24293
24294 [BZ #13583]
24295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24296 Clean up HAS_* macros.
afc5ed09 24297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24298 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24299 possible.
24300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24301 HAS_AVX.
24302 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24303 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24304 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24307
bdb6de1d
JM
243082012-01-25 Joseph Myers <joseph@codesourcery.com>
24309
24310 * elf/tst-unique3.cc (gets): Remove declaration.
24311 * elf/tst-unique3lib.cc (gets): Likewise.
24312 * elf/tst-unique3lib2.cc (gets): Likewise.
24313 * elf/tst-unique4.cc (gets): Likewise.
24314
b15549e6
UD
243152012-01-24 Ulrich Drepper <drepper@gmail.com>
24316
24317 * include/stdio.h: Add C++ protection. Add gets declarations and
24318 definitions.
24319 * debug/tst-chk1.c: Don't declare gets here.
24320 * stdio-common/tst-gets.c: Likewise.
24321
a037381f
JM
243222012-01-24 Joseph Myers <joseph@codesourcery.com>
24323
24324 * posix/glob: Remove directory.
24325
f1d4aa75
JM
243262012-01-24 Joseph Myers <joseph@codesourcery.com>
24327
24328 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24329
81c0c964
PT
243302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24331
24332 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24333 of the non-standard EPFNOSUPPORT.
24334
0ea698ae
ST
243352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24336
24337 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24338 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24339 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24340
d220b117
UD
243412012-01-21 Ulrich Drepper <drepper@gmail.com>
24342
24343 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24344
3e1aa84e
UD
243452012-01-20 Ulrich Drepper <drepper@gmail.com>
24346
24347 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24348 transient errors.
24349 * nscd/grpcache.c (cache_addgr): Likewise.
24350 * nscd/hstcache.c (cache_addhst): Likewise.
24351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24352 * nscd/pwdcache.c (cache_addpw): Likewise.
24353 * nscd/servicescache.c (cache_addserv): Likewise.
24354
400aa020
UD
243552012-01-16 Ulrich Drepper <drepper@gmail.com>
24356
d77e7869
UD
24357 * malloc/malloc.c: Various cleanups.
24358 * malloc/hooks.c: Likewise.
24359
400aa020
UD
24360 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24361 * stdlib/bug-fmtmsg1.c: New file.
24362
24363 * stdlib/fmtmsg.c (init): Add missing unlock.
24364 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24365
e0a309cf
MP
243662012-01-12 Marek Polacek <polacek@redhat.com>
24367
24368 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24369 and _GNU_SOURCE.
24370
929d11c7
WS
243712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24372
24373 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24374 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24375 macro to ensure uniqueness of label name.
24376 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24377 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24378
41d0e869
UD
243792012-01-11 Ulrich Drepper <drepper@gmail.com>
24380
0cc5ed3b
UD
24381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24382
41d0e869
UD
24383 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24384 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24385 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24387
a47a831a
UD
243882012-01-10 Ulrich Drepper <drepper@gmail.com>
24389
daa891c0
UD
24390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24391
24392 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24393 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24394 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24395
e58ef0f2
UD
24396 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24397
a47a831a 24398 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24399 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24400 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24402
24403 * math/bits/math-finite.h: Add ldexp support.
24404
a0bfc9c7
MP
244052012-01-10 Marek Polacek <polacek@redhat.com>
24406
24407 * locale/programs/localedef.h (show_archive_content): Add noreturn
24408 attribute.
24409
d6e97a1d
UD
244102012-01-09 Ulrich Drepper <drepper@gmail.com>
24411
24412 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24413
d5835c26
UD
244142012-01-08 Ulrich Drepper <drepper@gmail.com>
24415
e5f484c6
UD
24416 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24417
d5835c26
UD
24418 * io/Makefile (headers): Add bits/poll2.h.
24419
d1f741e9
WS
244202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24421
24422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24423 typo #include statement.
24424
ec09c1c4
UD
244252012-01-08 Ulrich Drepper <drepper@gmail.com>
24426
24427 * include/sys/cdefs.h: Define __attribute_alloc_size.
24428 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24429 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24430 * elf/pldd.c: Likewise.
24431 * iconv/iconv_charmap.c: Likewise.
24432 * iconv/iconvconfig.c: Likewise.
24433 * iconv/strtab.c: Likewise.
24434 * locale/programs/locale.c: Likewise.
24435 * locale/programs/localedef.h: Likewise.
24436 * locale/programs/simple-hash.c: Likewise.
24437 * nscd/nscd.h: Likewise.
24438 * nss/makedb.c: Likewise.
24439 * sysdeps/generic/ldconfig.h: Likewise.
24440 * locale/programs/localedef.c: Remove xmalloc prototype.
24441 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24442
20b38e03
PP
244432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24444
24445 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24446 appropriate.
24447
a0da5fe1
UD
244482012-01-08 Ulrich Drepper <drepper@gmail.com>
24449
1d5a644a 24450 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24451 * math/tst-CMPLX.c: New file.
1d5a644a 24452
8784a6db
UD
24453 * math/complex.h (CMPLXL): Fix typo.
24454
d9a216c0
UD
24455 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24456 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24457 GLIBC_2.16.
24458 * debug/tst-chk1.c: Add poll and ppoll tests.
24459 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24460 * include/sys/poll.h: Add hidden proto for ppoll.
24461 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24462 * sysdeps/mach/hurd/ppoll.c: Likewise.
24463 * io/ppoll.c: Likewise.
24464 * debug/poll_chk.c: New file.
24465 * debug/ppoll_chk.c: New file.
24466 * include/bits/poll2.h: New file.
24467 * io/bits/poll2.h: New file.
24468
ac097f5c
UD
24469 [BZ #1350]
24470 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24471
2119dcfa
UD
24472 * configure.in: static is always set to yes. Remove.
24473 * config.make.in: Don't set build-static.
24474 * Makeconfig: Remove use of build-static.
24475 * dlfcn/Makefile: Likewise.
24476 * elf/Makefile: Likewise.
24477 * math/Makefile: Likewise.
24478 * misc/Makefile: Likewise.
24479 * nptl/Makefile: Likewise.
24480 * sysdeps/mach/hurd/Makefile: Likewise.
24481
121766a9
UD
24482 * configure.in: PWD_P is not used anymore.
24483 * config.make.in: Remove PWD_P entry.
24484
51a1d39c 24485 * configure.in: Remove last remnants of RANLIB.
8720d066 24486 No need to check for signed size_t anymore.
215f4bdc
UD
24487 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24488 and IA-64.
3857022a 24489 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24490 * aclocal.m4: Likewise.
24491
d3ed7225
UD
24492 * wcsmbs/mbrtoc16.c: Implement using towc function.
24493 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24494 * wcsmbs/wcsmbsload.c: Likewise.
24495 * iconv/gconv_simple.c: Likewise.
24496 * iconv/gconv_int.h: Likewise.
24497 * iconv/gconv_builtin.h: Likewise.
24498 * iconv/iconv_prog.c: Remove CHAR16 handling.
24499
24500 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24501
24502 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24503
a0da5fe1
UD
24504 * configure.in: Remove --with-elf and --enable-bounded options.
24505 Dont set base_machine for ia64. More non-ELF conditions removed.
24506 Remove testing and setting of leading underscore information.
24507 * config.make.in (build-bounded): Set to no.
24508 * config.h.in: Remove NO_UNDERSCORES entry.
24509 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24510 them.
24511 * csu/start.c: Remove !NO_UNDERSCORE code.
24512 * locale/localeinfo.h: Likewise.
24513 * sysdeps/generic/machine-gmon.h: Likewise.
24514 * sysdeps/generic/sysdep.h: Likewise.
24515 * sysdeps/i386/sysdep.h: Likewise.
24516 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24517 * sysdeps/mach/sysdep.h: Likewise.
24518 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24520 * sysdeps/sh/sysdep.h: Likewise.
24521 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24522 * sysdeps/unix/i386/sysdep.S: Likewise.
24523 * sysdeps/unix/sparc/start.c: Likewise.
24524 * sysdeps/unix/sparc/sysdep.S: Likewise.
24525 * sysdeps/unix/sparc/sysdep.h: Likewise.
24526 * sysdeps/unix/start.c: Likewise.
24527 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24528 * sysdeps/x86_64/sysdep.h: Likewise.
24529
df78418a
UD
245302012-01-07 Ulrich Drepper <drepper@gmail.com>
24531
a784e502
UD
24532 [BZ #13553]
24533 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24534 for non-gcc.
24535 * argp/argp-fmtstream.h: Use const instead __const.
24536 * argp/argp.h: Likewise.
24537 * assert/assert.h: Likewise.
24538 * bits/fenv.h: Likewise.
24539 * bits/sched.h: Likewise.
24540 * bits/sigset.h: Likewise.
24541 * bits/sigthread.h: Likewise.
24542 * catgets/nl_types.h: Likewise.
24543 * conform/data/pthread.h-data: Likewise.
24544 * crypt/crypt-private.h: Likewise.
24545 * crypt/crypt.h: Likewise.
24546 * crypt/crypt_util.c: Likewise.
24547 * ctype/ctype.h: Likewise.
24548 * debug/execinfo.h: Likewise.
24549 * debug/mbsnrtowcs_chk.c: Likewise.
24550 * debug/mbsrtowcs_chk.c: Likewise.
24551 * debug/wcsnrtombs_chk.c: Likewise.
24552 * debug/wcsrtombs_chk.c: Likewise.
24553 * debug/wcstombs_chk.c: Likewise.
24554 * dirent/dirent.h: Likewise.
24555 * dlfcn/dlfcn.h: Likewise.
24556 * elf/neededtest4.c: Likewise.
24557 * grp/grp.h: Likewise.
24558 * gshadow/gshadow.h: Likewise.
24559 * iconv/gconv.h: Likewise.
24560 * iconv/gconv_int.h: Likewise.
24561 * iconv/gconv_simple.c: Likewise.
24562 * iconv/iconv.h: Likewise.
24563 * iconv/loop.c: Likewise.
24564 * iconv/skeleton.c: Likewise.
24565 * include/aio.h: Likewise.
24566 * include/aliases.h: Likewise.
24567 * include/argz.h: Likewise.
24568 * include/arpa/inet.h: Likewise.
24569 * include/assert.h: Likewise.
24570 * include/dirent.h: Likewise.
24571 * include/dlfcn.h: Likewise.
24572 * include/execinfo.h: Likewise.
24573 * include/fcntl.h: Likewise.
24574 * include/fenv.h: Likewise.
24575 * include/glob.h: Likewise.
24576 * include/grp.h: Likewise.
24577 * include/libintl.h: Likewise.
24578 * include/mntent.h: Likewise.
24579 * include/netdb.h: Likewise.
24580 * include/pwd.h: Likewise.
24581 * include/rpc/netdb.h: Likewise.
24582 * include/sched.h: Likewise.
24583 * include/search.h: Likewise.
24584 * include/shadow.h: Likewise.
24585 * include/signal.h: Likewise.
24586 * include/stdio.h: Likewise.
24587 * include/stdlib.h: Likewise.
24588 * include/string.h: Likewise.
24589 * include/sys/socket.h: Likewise.
24590 * include/sys/stat.h: Likewise.
24591 * include/sys/statfs.h: Likewise.
24592 * include/sys/statvfs.h: Likewise.
24593 * include/sys/syslog.h: Likewise.
24594 * include/sys/time.h: Likewise.
24595 * include/sys/uio.h: Likewise.
24596 * include/time.h: Likewise.
24597 * include/unistd.h: Likewise.
24598 * include/utmp.h: Likewise.
24599 * include/wchar.h: Likewise.
24600 * include/wctype.h: Likewise.
24601 * inet/aliases.h: Likewise.
24602 * inet/arpa/inet.h: Likewise.
24603 * inet/netinet/ether.h: Likewise.
24604 * inet/netinet/in.h: Likewise.
24605 * intl/libintl.h: Likewise.
24606 * io/bits/fcntl2.h: Likewise.
24607 * io/fcntl.h: Likewise.
24608 * io/ftw.h: Likewise.
24609 * io/sys/poll.h: Likewise.
24610 * io/sys/stat.h: Likewise.
24611 * io/sys/statfs.h: Likewise.
24612 * io/sys/statvfs.h: Likewise.
24613 * io/utime.h: Likewise.
24614 * libio/bits/stdio.h: Likewise.
24615 * libio/bits/stdio2.h: Likewise.
24616 * libio/libio.h: Likewise.
24617 * libio/libioP.h: Likewise.
24618 * libio/stdio.h: Likewise.
24619 * locale/lc-ctype.c: Likewise.
24620 * locale/locale.h: Likewise.
24621 * login/utmp.h: Likewise.
24622 * malloc/arena.c: Likewise.
24623 * malloc/malloc.c: Likewise.
24624 * malloc/malloc.h: Likewise.
24625 * malloc/mcheck.c: Likewise.
24626 * malloc/mtrace.c: Likewise.
24627 * math/bits/mathcalls.h: Likewise.
24628 * math/fenv.h: Likewise.
24629 * math/math_private.h: Likewise.
24630 * misc/bits/error.h: Likewise.
24631 * misc/bits/syslog.h: Likewise.
24632 * misc/err.h: Likewise.
24633 * misc/error.h: Likewise.
24634 * misc/fstab.h: Likewise.
24635 * misc/mntent.h: Likewise.
24636 * misc/regexp.h: Likewise.
24637 * misc/search.h: Likewise.
24638 * misc/sgtty.h: Likewise.
24639 * misc/sys/mman.h: Likewise.
24640 * misc/sys/syslog.h: Likewise.
24641 * misc/sys/uio.h: Likewise.
24642 * misc/sys/xattr.h: Likewise.
24643 * misc/ttyent.h: Likewise.
24644 * nis/rpcsvc/ypclnt.h: Likewise.
24645 * nss/nss.h: Likewise.
24646 * posix/bits/unistd.h: Likewise.
24647 * posix/fnmatch.h: Likewise.
24648 * posix/glob.h: Likewise.
24649 * posix/sched.h: Likewise.
24650 * posix/spawn.h: Likewise.
24651 * posix/sys/wait.h: Likewise.
24652 * posix/unistd.h: Likewise.
24653 * posix/wordexp.h: Likewise.
24654 * pwd/pwd.h: Likewise.
24655 * resolv/netdb.h: Likewise.
24656 * resource/sys/resource.h: Likewise.
24657 * rt/aio.h: Likewise.
24658 * rt/bits/mqueue2.h: Likewise.
24659 * rt/mqueue.h: Likewise.
24660 * shadow/shadow.h: Likewise.
24661 * signal/signal.h: Likewise.
24662 * socket/send.c: Likewise.
24663 * socket/sendto.c: Likewise.
24664 * socket/sys/socket.h: Likewise.
24665 * stdio-common/printf.h: Likewise.
24666 * stdlib/bits/stdlib.h: Likewise.
24667 * stdlib/fmtmsg.h: Likewise.
24668 * stdlib/monetary.h: Likewise.
24669 * stdlib/stdlib.h: Likewise.
24670 * stdlib/ucontext.h: Likewise.
24671 * streams/stropts.h: Likewise.
24672 * string/argz.h: Likewise.
24673 * string/bits/string2.h: Likewise.
24674 * string/string.h: Likewise.
24675 * string/strings.h: Likewise.
24676 * sunrpc/rpc/auth.h: Likewise.
24677 * sunrpc/rpc/auth_des.h: Likewise.
24678 * sunrpc/rpc/clnt.h: Likewise.
24679 * sunrpc/rpc/netdb.h: Likewise.
24680 * sunrpc/rpc/pmap_clnt.h: Likewise.
24681 * sunrpc/rpc/xdr.h: Likewise.
24682 * sysdeps/generic/inttypes.h: Likewise.
24683 * sysdeps/generic/net/if.h: Likewise.
24684 * sysdeps/generic/sys/swap.h: Likewise.
24685 * sysdeps/gnu/net/if.h: Likewise.
24686 * sysdeps/gnu/utmpx.h: Likewise.
24687 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24688 * sysdeps/i386/i486/bits/string.h: Likewise.
24689 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24690 * sysdeps/s390/bits/string.h: Likewise.
24691 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24692 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24693 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24694 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24695 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24696 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24697 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24698 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24699 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24700 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24701 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24702 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24703 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24704 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24705 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24706 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24707 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24709 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24710 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24711 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24712 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24713 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24714 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24715 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24716 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24717 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24718 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24719 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24720 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24721 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24722 * sysvipc/sys/ipc.h: Likewise.
24723 * sysvipc/sys/msg.h: Likewise.
24724 * sysvipc/sys/sem.h: Likewise.
24725 * sysvipc/sys/shm.h: Likewise.
24726 * termios/termios.h: Likewise.
24727 * time/sys/time.h: Likewise.
24728 * time/time.h: Likewise.
24729 * wcsmbs/bits/wchar2.h: Likewise.
24730 * wcsmbs/uchar.h: Likewise.
24731 * wcsmbs/wchar.h: Likewise.
24732 * wctype/wctype.h: Likewise.
24733
0269750c
UD
24734 [BZ #13551]
24735 * Makeconfig: Remove all but ELF support including AIX support.
24736 * Makerules: Likewise.
24737 * config.h.in: Likewise.
24738 * config.make.in: Likewise.
24739 * configure: Likewise.
24740 * configure.in: Likewise.
24741 * csu/Makefile: Likewise.
24742 * csu/version.c: Likewise.
24743 * debug/Makefile: Likewise.
24744 * dlfcn/Makefile: Likewise.
24745 * elf/Makefile: Likewise.
24746 * extra-lib.mk: Likewise.
24747 * iconv/Makefile: Likewise.
24748 * include/libc-symbols.h: Likewise.
24749 * include/shlib-compat.h: Likewise.
24750 * resolv/Makefile: Likewise.
24751 * resolv/res_libc.c: Likewise.
24752 * rt/Makefile: Likewise.
24753 * sysdeps/i386/asm-syntax.h: Likewise.
24754 * sysdeps/i386/sysdep.h: Likewise.
24755 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24756 * sysdeps/mach/sysdep.h: Likewise.
24757 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24758 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24759 * sysdeps/s390/asm-syntax.h: Likewise.
24760 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24761 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24762 * sysdeps/sh/sysdep.h: Likewise.
24763 * sysdeps/unix/sparc/sysdep.h: Likewise.
24764 * sysdeps/wordsize-32/divdi3.c: Likewise.
24765 * sysdeps/x86_64/sysdep.h: Likewise.
24766
00bbd29b
UD
24767 * argp/Versions: Remove _argp_unlock_xxx.
24768
24769 [BZ #13559]
24770 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24771 * abilist/libBrokenLocale.abilist: Likewise.
24772 * abilist/libanl.abilist: Likewise.
24773 * abilist/libc.abilist: Likewise.
24774 * abilist/libcrypt.abilist: Likewise.
24775 * abilist/libdl.abilist: Likewise.
24776 * abilist/libm.abilist: Likewise.
24777 * abilist/libnsl.abilist: Likewise.
24778 * abilist/libpthread.abilist: Likewise.
24779 * abilist/libresolv.abilist: Likewise.
24780 * abilist/librt.abilist: Likewise.
24781 * abilist/libthread_db.abilist: Likewise.
24782 * abilist/libutil.abilist: Likewise.
24783 * abilist/libnss_db.abilist: New file.
24784
24785 * scripts/abilist.awk: Add support for indirect functions.
24786
a2693a0e
UD
24787 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24788
3f05895f
UD
24789 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24790
ecb6fb48
UD
24791 * shlib-versions: Remove entries for ports architectures.
24792
664f8cb9
UD
24793 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24794 files in ports.
24795 * elf/stackguard-macros.h: Remove support for IA-64.
24796 * elf/tst-auditmod1.c: Likewise.
24797 * sysdeps/generic/ldsodefs.h: Likewise.
24798
7ae81d88
UD
24799 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24800 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24801 configure files.
24802
bdeba135
UD
24803 [BZ #13552]
24804 * configure.in: Remove --enable-omitfp support.
24805 * FAQ.in: Adjust.
24806 * config.make.in: Likewise.
24807 * Makeconfig: Likewise.
24808 * manual/install.texi: Likewise.
24809
d75a0a62
UD
24810 In case anyone cares, the IA-64 architecture could move to ports.
24811 * sysdeps/ia64/*: Removed.
24812 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24813 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24814
dcc9756b
UD
24815 [BZ #13555]
24816 * configure.in: Remove entries for unsupported architectures.
24817
d3761ebc 24818 [BZ #13533]
9954432e
UD
24819 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24820 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24821 routines.
24822 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24823 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24824 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24825 fall back to using wcrtomb.
24826 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24827 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24828 renaming.
24829 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24830 * wcsmbs/tst-c16c32-1.c: New file.
24831
24832 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24833 local variable.
24834
c3a87236
UD
24835 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24836
28926a1b
UD
24837 * elf/tst-unique3.cc: Add explicit declaration of gets.
24838 * elf/tst-unique3lib.cc: Likewise.
24839 * elf/tst-unique3lib2.cc: Likewise.
24840 * elf/tst-unique4.cc: Likewise.
24841
df78418a
UD
24842 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24843
8ecd6b2a
JM
248442012-01-06 Joseph Myers <joseph@codesourcery.com>
24845
24846 [BZ #13566]
24847 * assert/assert.h (static_assert): Don't define for C++.
24848 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24849 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24850
9f115170
UD
248512012-01-03 Ulrich Drepper <drepper@gmail.com>
24852
5e0d0300
UD
24853 * iconv/loop.c (single loop): Fix assertion in storing of
24854 remaining bytes.
24855
9f115170
UD
24856 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24857
81fb02b0
UD
248582012-01-01 Ulrich Drepper <drepper@gmail.com>
24859
24860 * posix/getconf.c: Update copyright year.
24861 * nss/getent.c: Likewise.
a316c1f6 24862 * nss/makedb.c: Likewise.
81fb02b0
UD
24863 * iconv/iconvconfig.c: Likewise.
24864 * iconv/iconv_prog.c: Likewise.
24865 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24866 * elf/pldd.c: Likewise.
24867 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24868 * catgets/gencat.c: Likewise.
24869 * csu/version.c: Likewise.
24870 * elf/ldd.bash.in: Likewise.
24871 * elf/sprof.c (print_version): Likewise.
24872 * locale/programs/locale.c: Likewise.
24873 * locale/programs/localedef.c: Likewise.
a316c1f6 24874 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24875 * nscd/nscd.c (print_version): Likewise.
24876 * debug/xtrace.sh: Likewise.
24877 * malloc/memusage.sh: Likewise.
24878 * malloc/mtrace.pl: Likewise.
24879 * debug/catchsegv.sh: Likewise.
24880
2ba92745
JJ
248812011-12-30 Jakub Jelinek <jakub@redhat.com>
24882
24883 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24884 pure attribute.
24885
dadebdae
UD
248862011-12-24 Ulrich Drepper <drepper@gmail.com>
24887
d3761ebc 24888 [BZ #13533]
db6af3eb
UD
24889 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24890 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24891 transformations.
24892 * iconv/gconv_int.h: Likewise.
24893 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24894 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24895 from libc for GLIBC_2.16.
24896 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24897 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24898 * wcsmbs/uchar.h: Really define mbstate_t.
24899 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24900 * wcsmbs/c16rtomb.c: New file.
24901 * wcsmbs/mbrtoc16.c: New file.
24902 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24903 for C/POSIX locale.
24904 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24905 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24906
dadebdae
UD
24907 * wcsmbs/wchar.h: Add missing __restrict.
24908
67371b56
UD
249092011-12-23 Ulrich Drepper <drepper@gmail.com>
24910
74033a25
UD
24911 [BZ #13532]
24912 * time/Makefile (routines): Add timespec_get.
24913 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24914 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24915 timespec for ISO C11.
24916 * time/timespec_get.c: New file.
24917 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24918 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24919
380d7e87
UD
24920 [BZ #13531]
24921 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24922 * stdlib/stdlib.h: Declare aligned_alloc.
24923 * Versions.def: Add GLIBC_2.16 for libc.
24924 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24925
4e9e7a35
UD
24926 [BZ 13527]
24927 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24928 ISO C11.
24929
380d7e87 24930 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24931 code.
24932
03a71829
UD
24933 [BZ #13528]
24934 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24935
839e283e
UD
24936 [BZ #13529]
24937 * assert/assert.h (static_assert): Define.
24938
ce5294e2 24939 * version.h: Update for 2.16 development version.
90fa7312 24940
8d44e150 24941 [BZ #13526]
d7809905
UD
24942 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24943 _ISOC11_SOURCE.
24944
c0da14cd
UD
24945 * version.h (RELEASE): Bump for 2.15 release.
24946 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24947
530a3249
MP
24948 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24949 Patch by Marek Polacek <mpolacek@redhat.com>.
24950
67371b56
UD
24951 * bits/byteswap.h: Protect long long constants with __extension__.
24952 * sysdeps/i386/bits/byteswap.h: Likewise.
24953 * sysdeps/ia64/bits/byteswap.h: Likewise.
24954 * sysdeps/s390/bits/byteswap.h: Likewise.
24955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24956
15db4de1
LD
249572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24958
24959 [BZ #13540]
bbe315ea
LD
24960 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24961 destination buffer.
15db4de1
LD
24962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24963
2b2596b1
MP
249642011-12-23 Marek Polacek <polacek@redhat.com>
24965
24966 * elf/dl-addr.c (determine_info): Add inline keyword.
24967 * elf/tst-auditmod4b.c (check_avx): Likewise.
24968 * elf/tst-auditmod6b.c (check_avx): Likewise.
24969 * elf/tst-auditmod6c.c (check_avx): Likewise.
24970 * elf/tst-auditmod7b.c (check_avx): Likewise.
24971
70c6c246
UD
249722011-12-23 Ulrich Drepper <drepper@gmail.com>
24973
24974 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24975 !__SSE_MATH__.
24976
c044cf14
LD
249772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24978
15db4de1 24979 [BZ #13540]
c044cf14
LD
24980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24981 processing for last bytes.
24982
6b13d9d9
BH
249832011-08-06 Bruno Haible <bruno@clisp.org>
24984
d455f537
BH
24985 [BZ #13061]
24986 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24987 U+0385, not to U+1FEE.
24988
6b13d9d9
BH
24989 [BZ #13062]
24990 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24991 entry for U+00A5 U+0301.
24992
db910efd
UD
249932011-12-22 Ulrich Drepper <drepper@gmail.com>
24994
27deeafc
UD
24995 [BZ #13166]
24996 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24997 buffer for the output is too small.
24998
aed9d171
UD
24999 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25000 optimization.
25001
db910efd
UD
25002 [BZ #13185]
25003 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25004 SSE flags if possible.
25005
2bd779ae
LD
250062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25007
e7f9dac3 25008 [BZ #13540]
2bd779ae
LD
25009 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25010 processing for last bytes.
25011
154bfc16
JM
250122011-12-22 Joseph Myers <joseph@codesourcery.com>
25013
25014 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25015 (syscall-list-default-options, syscall-list-default-condition)
25016 (syscall-list-includes): Define.
25017 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25018 list of ABIs and options and #if conditions for each ABI. Do not
25019 handle common syscalls between ABIs specially.
25020 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25021 Remove.
25022 (syscall-list-variants, syscall-list-32bit-options)
25023 (syscall-list-32bit-condition, syscall-list-64bit-options)
25024 (syscall-list-64bit-condition): Define.
25025 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25026 (syscall-list-variants, syscall-list-32bit-options)
25027 (syscall-list-32bit-condition, syscall-list-64bit-options)
25028 (syscall-list-64bit-condition): Define.
25029 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25030 Remove.
25031 (syscall-list-variants, syscall-list-32bit-options)
25032 (syscall-list-32bit-condition, syscall-list-64bit-options)
25033 (syscall-list-64bit-condition): Define.
25034 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25035 Remove.
25036 (syscall-list-variants, syscall-list-32bit-options)
25037 (syscall-list-32bit-condition, syscall-list-64bit-options)
25038 (syscall-list-64bit-condition): Define.
25039
21eaf3a5
UD
250402011-12-22 Ulrich Drepper <drepper@gmail.com>
25041
16c6f992
UD
25042 * locale/iso-639.def: Add brx entry.
25043
41043168
UD
25044 [BZ #13328]
25045 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25046 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25047
21eaf3a5
UD
25048 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25049 __feraiseexcept_renamed.
25050
e3a851a2
UD
250512011-12-21 Ulrich Drepper <drepper@gmail.com>
25052
4920765e
UD
25053 [BZ #13538]
25054 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25055 EPOLLET with unsigned values.
25056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25058
e3a851a2
UD
25059 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25060 to large cancellation.
25061 * math/s_cacoshf.c: Likewise.
25062 * math/s_cacoshl.c: Likewise.
25063
b27e24b8
RK
250642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25065
25066 [BZ #13305]
aebefeee 25067 [BZ #12786]
b27e24b8
RK
25068 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25069 * math/s_cacoshf.c: Likewise.
25070 * math/s_cacoshl.c: Likewise.
25071
ee190f67
UD
250722011-12-21 Ulrich Drepper <drepper@gmail.com>
25073
25074 [BZ #13439]
25075 * iconv/gconv.h: Define __GCONV_SWAP.
25076 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25077 * iconvdata/utf-16.c: Likewise.
25078 * iconvdata/utf-32.c: Likewise.
25079
707f25df
AS
250802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25081
25082 [BZ #13524]
25083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25084 numerator after shifting it by one limb.
25085
d2daaa1e
RÁE
250862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25087
25088 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25089 under [__USE_EXTERN_INLINES].
25090
a4647e72
UD
250912011-12-17 Ulrich Drepper <drepper@gmail.com>
25092
25093 [BZ #13446]
25094 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25095
f0b264f1
AZ
250962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25097
25098 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25099 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25100 optimized code.
25101 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25102 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25103 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25104 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25105 for strncasecmp/strncasecmp_l compilation.
25106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25107 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25108
8ef4f244
MP
251092011-12-08 Marek Polacek <mpolacek@redhat.com>
25110
25111 [BZ #13484]
25112 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25113 of __asm__.
25114
97ac2654
UD
251152011-12-17 Ulrich Drepper <drepper@gmail.com>
25116
25117 [BZ #13506]
25118 * time/tzfile.c (__tzfile_read): Check values from file header.
25119
91d2a845
WS
251202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25121
25122 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25123 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25124 * powerpc/powerpc32/dl-start.S: Likewise.
25125 * powerpc/powerpc32/elf/start.S: Likewise.
25126 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25127 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25128 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25129 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25130 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25131 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25132 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25133 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25134 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25135 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25136 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25137 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25138 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25139 * powerpc/powerpc32/memset.S: Likewise.
25140 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25141 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25142 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25143 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25144 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25145 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25146 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25147 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25148 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25149 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25150 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25151 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25152 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25153
a1267ba1
AZ
251542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25155
25156 * math/libm-test.inc: Added more nearbyint tests.
25157 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25161
ad8ac1bd
RL
251622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25163
25164 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25165 FD_CLOEXEC.
25166
1d3e4b61
UD
251672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25168
25169 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25170 Add wcscpy-ssse3 wcscpy-c.
25171 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25172 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25173 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25174 * sysdeps/x86_64/wcschr.S: New file.
25175 * sysdeps/x86_64/wcsrchr.S: New file.
25176 * string/test-strcmp.c: Remove checking of wcscmp function for
25177 wrong alignments.
25178 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25179 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25180 wcsrchr-sse2 wcsrchr-c.
25181 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25182 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25183 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25184 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25185 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25186 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25187 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25188 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25189 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25190 * wcsmbc/wcschr.c (WCSCHR): New macro.
25191
5b330a2d
UD
251922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25193
25194 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25195 * wcsmbs/test-wcsrchr.c: New file.
25196 * string/test-strrchr.c: Add wcsrchr support.
25197 (WIDE): New macro.
25198 * wcsmbs/test-wcscpy.c: New file.
25199 * string/test-strcpy.c: Add wcscpy support.
25200 (WIDE): New macro.
26428b7c 25201
f039c043
UD
252022011-12-10 Ulrich Drepper <drepper@gmail.com>
25203
25204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25205 the inner loop.
25206
850fb039
AS
252072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25208
25209 [BZ #13472]
25210 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25211
4efbd5cb
UD
252122011-12-04 Ulrich Drepper <drepper@gmail.com>
25213
52ff5dd0 25214 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25215 Minor optimizations.
52ff5dd0 25216
4efbd5cb
UD
25217 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25218 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25219 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25220
8a426e12
UD
252212011-12-03 Ulrich Drepper <drepper@gmail.com>
25222
aff2453d
UD
25223 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25224 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25225 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25226 for gcc to avoid warnings.
25227 * inet/Makefile (tests): Add tst-checks.
25228 * inet/tst-checks.c: New file.
25229
25230 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25231 warning.
25232
25233 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25234 __wmemcmp_sse2.
25235
25236 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25237 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25238
8a426e12
UD
25239 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25240
9bea3473
UD
252412011-12-02 Ulrich Drepper <drepper@gmail.com>
25242
3a965496
UD
25243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25244 problem.
25245
9bea3473
UD
25246 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25247
f101631b
UD
252482011-11-29 Joseph Myers <joseph@codesourcery.com>
25249
25250 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25251 conditional on GCC version.
25252 (__arch_compare_and_exchange_val_8_acq)
25253 (__arch_compare_and_exchange_val_16_acq)
25254 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25255 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25256 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25257
a98275aa
UD
252582011-12-02 Joseph Myers <joseph@codesourcery.com>
25259
25260 * sysdeps/sh/backtrace.c: New file.
25261
d4cc29a2
AS
252622011-12-02 Andreas Schwab <schwab@redhat.com>
25263
25264 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25265 parenthesis.
25266
6257af2d
AS
252672011-12-01 Andreas Schwab <schwab@redhat.com>
25268
25269 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25270 falling back to utime.
25271
b5f44c1a
AS
252722011-11-30 Andreas Schwab <schwab@redhat.com>
25273
25274 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25275 expectations for float.
25276
f3a6cc0a
AS
252772011-11-29 Andreas Schwab <schwab@redhat.com>
25278
25279 * locale/weight.h (findidx): Add parameter len.
25280 * locale/weightwc.h (findidx): Likewise.
25281 * posix/fnmatch_loop.c (FCT): Adjust caller.
25282 * posix/regcomp.c (build_equiv_class): Likewise.
25283 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25284 * posix/regexec.c (check_node_accept_bytes): Likewise.
25285 * string/strcoll_l.c (STRCOLL): Likewise.
25286 * string/strxfrm_l.c (STRXFRM): Likewise.
25287
9d65ea3a
UD
252882011-11-17 Ulrich Drepper <drepper@gmail.com>
25289
25290 * Makefile.in: Remove CVSOPT handling.
25291 * configure.in: Remove use of AC_REVISION.
25292 * iconvdata/Makefile (distribute): No need to filter out CVS.
25293 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25294 handling.
25295
5583a086
AS
252962011-11-16 Andreas Schwab <schwab@redhat.com>
25297
25298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25299 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25300 [USE_AS_STRNCASECMP_L]: Likewise.
25301 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25302 NO_TLS_DIRECT_SEG_REFS.
25303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25304 Fix argument offsets for non-PIC.
25305 [USE_AS_STRNCASECMP_L]: Likewise.
25306 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25307 NO_TLS_DIRECT_SEG_REFS.
25308
d62a8200
UD
253092011-11-15 Ulrich Drepper <drepper@gmail.com>
25310
9d65ea3a 25311 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25312 O_CLOEXEC.
25313 * locale/loadlocale.c (_nl_load_locale): Likewise.
25314
09f93bd3
AS
253152011-11-15 Andreas Schwab <schwab@redhat.com>
25316
446514f9
AS
25317 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25318 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25319 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25320 (SYSCALL_GETTIME): Set errno on error.
25321
09f93bd3
AS
25322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25323 count references to noai6ai_cached.
25324
312be3f9
UD
253252011-11-15 Ulrich Drepper <drepper@gmail.com>
25326
25327 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25328
25329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25330 FD_CLOEXEC for /proc/self/maps.
25331
25332 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25333 FD_CLOEXEC for /proc/meminfo.
25334
25335 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25336 gai.conf.
25337
25338 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25339 FD_CLOEXEC for given file.
25340
25341 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25342
25343 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25344 FD_CLOEXEC for /etc/hosts.
25345 (_gethtent): Likewise.
25346
25347 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25348
25349 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25350 cancellation and set FD_CLOEXEC for /etc/netgroup.
25351
25352 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25353 reading /etc/publickey.
25354
25355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25356 allow cancellation when reading /etc/group.
25357
25358 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25359 cancellation.
25360 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25361
25362 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25363 when using data file.
25364
25365 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25366
25367 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25368 (write_nis_obj): Use "c" and "e" in fopen.
25369
25370 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25371
25372 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25373
25374 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25375
25376 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25377
25378 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25379 locale.alias.
25380
25381 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25382
25383 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25384
25385 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25386
25387 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25388 file parsing and set FD_CLOEXEC.
25389
82af0fa8
UD
253902011-11-14 Ulrich Drepper <drepper@gmail.com>
25391
25392 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25393
a5fb313c
AS
253942011-11-14 Andreas Schwab <schwab@redhat.com>
25395
25396 * malloc/arena.c (arena_get2): Don't call reused_arena when
25397 _int_new_arena failed.
25398
6abf3465
UD
253992011-11-14 Ulrich Drepper <drepper@gmail.com>
25400
25401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25402 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25404 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25407 to compile strcasecmp and strncasecmp.
25408 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25409 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25410
25411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25412
76e3966e
UD
254132011-11-13 Ulrich Drepper <drepper@gmail.com>
25414
25415 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25416 locale-defines.sym to gen-as-const-headers.
25417 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25418 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25420 to compile strcasecmp and strncasecmp.
25421 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25422 strcasecmp_l and strncasecmp_l.
25423 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25424 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25425 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25426 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25427 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25428 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25429 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25430 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25431 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25432 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25433 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25434
ab26144e
UD
254352011-11-12 Ulrich Drepper <drepper@gmail.com>
25436
7edb22ef
UD
25437 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25438 result of SYSDEP_GETTIME_CPU to retval.
25439 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25440 parameter list to macro. Remove trailing semicolon. Adjust users.
25441
9694fc44
UD
25442 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25443 variable.
25444
8ad89ef8
UD
25445 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25446 mantissa words.
25447 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25448
0c822ef9
UD
25449 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25450 from unused variable.
25451
874e0564
UD
25452 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25453 DWARF definitions.
25454 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25455 for assembling.
25456
3a2edc79
UD
25457 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25458 over namespaces.
25459
f3c2577f
UD
25460 * sunrpc/rpc_prot.c (rejected): Fix case value.
25461
294ce126
UD
25462 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25463 unsigned long long int to avoid warnings in shift.
25464
5e2b63c6
UD
25465 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25466 of use of trans.
25467 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25468 variable tmp.
25469
e7f4b08e
UD
25470 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25471 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25473
ab26144e
UD
25474 * nis/nis_table.c (nis_list): Use variable of correct type for
25475 result of __follow_path call.
25476
8a6d5255
AZ
254772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25478
25479 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25480 of math functions ceil, trunc, floor, round, and sqrt, when
25481 avaliable on the platform.
25482 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25483 name clash.
25484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25485 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25486 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25487
aaddc98c
MP
254882011-10-30 Marek Polacek <mpolacek@redhat.com>
25489
25490 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25492
95b7042b
RM
254932011-11-11 Roland McGrath <roland@hack.frob.com>
25494
25495 * include/unistd.h: Fix __readlink return type.
25496 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25497
57769839
UD
254982011-11-11 Ulrich Drepper <drepper@gmail.com>
25499
25500 * stdlib/ucontext.h: Undo last change for makecontext.
25501
edc5984d
AS
255022011-11-11 Andreas Schwab <schwab@redhat.com>
25503
98591e58
AS
25504 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25505
edc5984d
AS
25506 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25507 * setjmp/setjmp.h: Mark functions as non-leaf.
25508 * setjmp/bits/setjmp2.h: Likewise.
25509 * stdlib/ucontext.h: Likewise.
25510
77cdc054
AS
255112011-11-10 Andreas Schwab <schwab@redhat.com>
25512
25513 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25514 (reused_arena): Don't check arena limit.
25515 (arena_get2): Atomically check arena limit.
25516
fe72eebd
UD
255172011-11-08 Ulrich Drepper <drepper@gmail.com>
25518
5f078c32
UD
25519 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25520 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25521
fe72eebd
UD
25522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25523 instructions.
25524
ae1bc2fa
AS
255252011-11-07 Andreas Schwab <schwab@redhat.com>
25526
7583a88d
AS
25527 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25528 handler when locking.
25529
ae1bc2fa
AS
25530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25531 Fix size of allocated buffer.
25532
10fb0bfa
AS
255332011-11-04 Andreas Schwab <schwab@redhat.com>
25534
998832a4
AS
25535 [BZ #10103]
25536 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25537 declarations for long double functions.
25538 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25539
10fb0bfa
AS
25540 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25541
3d7ba52b
AS
255422011-11-03 Andreas Schwab <schwab@redhat.com>
25543
a9ae54a1
AS
25544 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25545 installed.
25546
3d7ba52b
AS
25547 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25548 is disabled.
25549
bc8db248
ST
255502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25551
25552 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25553
45b96dd6
AS
255542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25555
647776f6
AS
25556 * include/alloca.h (stackinfo_alloca_round): Define.
25557 (extend_alloca): Use it.
25558 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25559 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25560 here.
25561
d91a8b93
AS
25562 * scripts/check-local-headers.sh: Ignore libaudit.h.
25563
45b96dd6
AS
25564 * nscd/Makefile (extra-objs): Make recursively expanded.
25565
432d41ce
UD
255662011-11-01 Ulrich Drepper <drepper@gmail.com>
25567
34372fc6
UD
25568 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25569 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25570
fadb59f8
UD
25571 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25572 * posix/tst-rfc3484-2.c: Likewise.
25573 * posix/tst-rfc3484-3.c: Likewise.
25574
78239589
UD
25575 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25576 process_vm_writev.
25577 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25578 process_vm_writev.
25579 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25580 process_vm_writev from libc using GLIBC_2.15 version.
25581
432d41ce
UD
25582 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25583
02f9c6cf
PP
255842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25585
25586 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25587 stack usage.
25588
3a2c0242
UD
255892011-10-31 Ulrich Drepper <drepper@gmail.com>
25590
f4ec4833
UD
25591 [BZ #13367]
25592 * nss/getent.c (initgroups_keys): Show error message in case no group
25593 names are given.
25594
3a2c0242
UD
25595 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25596 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25597 __bump_nl_timestamp.
25598 * nscd/connections (nscd_init): When host database is served open
25599 netlink socket and request notification about configuration changes.
25600 (main_loop_poll): Track netlink file descriptor and bump timestamp
25601 in case data becomes available.
25602 (main_loop_epoll): Likewise.
25603 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25604 (database_pers_head): Add extra_data fileds.
25605 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25607 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25608 Adjust caller.
25609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25610 in6ai data, call __free_in6ai.
25611 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25612 Add -DHAVE_NETLINK.
25613 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25614 interface information. Reuse previous data if netlink timestamp
25615 is not changed.
25616 (__bump_nl_timestamp): New function.
25617 (__free_in6ai): New function.
25618
636064eb
UD
256192011-10-30 Ulrich Drepper <drepper@gmail.com>
25620
25621 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25622 close_not_cancel_no_status here.
25623 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25624
9beb2334
UD
256252011-10-29 Ulrich Drepper <drepper@gmail.com>
25626
6ef76f3b
UD
25627 [BZ #13276]
25628 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25629 return value.
25630
0ffc4f3e 25631 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25632 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25633 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25634
cb95113e
UD
256352011-07-03 Andreas Jaeger <aj@suse.de>
25636
25637 [BZ #10709]
25638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25639 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25640 * math/libm-test.inc (sin_test): Add test case.
25641
a1b560ff
UD
256422011-10-29 Ulrich Drepper <drepper@gmail.com>
25643
c9aaface
UD
25644 [BZ #13337]
25645 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25647
d272e7f1
UD
25648 * elf/chroot_canon.c (chroot_canon): Cleanups.
25649
1bc33071
UD
25650 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25651
1760874d
TJ
25652 [BZ #13335]
25653 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25655
51d91b18
UD
25656 * string/test-strchr.c: Make usable for strchrnul testing.
25657 * string/test-strchrnul.c: New file.
25658 * string/Makefile (strop-tests): Add strchrnul.
25659
a1b560ff 25660 * po/it.po: Update from translation team.
b611fb81 25661 * po/es.po: Likewise.
a1b560ff 25662
a5b81e1f
UD
256632011-10-28 Ulrich Drepper <drepper@gmail.com>
25664
fd52bc6d
UD
25665 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25666 the three constants needed as parameters. Drop the others.
25667 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25668 __m128i_strloadu_tolower.
52e4b9eb
UD
25669 Create and initialize variable zero and use it in all the places
25670 where _mm_setzero_si128 was used.
fd52bc6d 25671
a5b81e1f
UD
25672 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25673 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25674 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25675 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25676 anymore.
25677 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25678 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25679 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25680 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25681 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25682 __mpranred, __mptan.
25683 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25684 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25685 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25686 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25687 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25688 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25690 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25691 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25692
b4343346
AS
256932011-10-28 Andreas Schwab <schwab@redhat.com>
25694
0c92d8a8
AS
25695 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25696 redefine if SHARED.
25697 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25698
b4343346
AS
25699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25700 wide char related routines to wcsmbs subdir.
25701
3871f58f
AS
257022011-10-27 Andreas Schwab <schwab@redhat.com>
25703
25704 [BZ #13344]
25705 * misc/sys/cdefs.h (__THROWNL): Define.
25706 * posix/unistd.h: Use __THREADNL instead of __THREAD
25707 for memory synchronization functions.
25708
94d44d9f
RM
257092011-10-26 Roland McGrath <roland@hack.frob.com>
25710
21b64b15 25711 [BZ #13349]
94d44d9f
RM
25712 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25713 doesn't exist.
25714 * manual/stdio.texi (Obstack Streams): Node removed.
25715
f6ce9294
AS
257162011-10-26 Andreas Schwab <schwab@redhat.com>
25717
80479147
AS
25718 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25719 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25721
f6ce9294
AS
25722 * math/math_private.h (math_force_eval): Allow non-addressable
25723 arguments.
25724 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25725
618280a1
UD
257262011-10-25 Ulrich Drepper <drepper@gmail.com>
25727
e0016b11
UD
25728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25729 file is not needed.
25730
25731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25732 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25734 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25735 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25736 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25737 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25738 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25739 Add AVX variants.
25740 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25741 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25742 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25743 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25744 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25745 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25746 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25748 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25749 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25750 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25751 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25752 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25753 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25754 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25755 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25757 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25758 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25759
25760 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25761 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25762
618280a1
UD
25763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25764 place. Use VEX encoding when compiling for AVX.
25765
37822576
AS
257662011-10-25 Andreas Schwab <schwab@redhat.com>
25767
1f1e1947
AS
25768 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25770
37822576
AS
25771 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25772
31ea014d
UD
257732011-10-25 Ulrich Drepper <drepper@gmail.com>
25774
d7826aa1 25775 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25776 useless if() expression.
d7826aa1
UD
25777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25778 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25781 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25782 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25785 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25786 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25790 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25791 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25793 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25796
31ea014d
UD
25797 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25798
16437fec
AS
257992011-10-25 Andreas Schwab <schwab@redhat.com>
25800
25801 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25802 condition.
25803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25804
31d3cc00
UD
258052011-10-25 Ulrich Drepper <drepper@gmail.com>
25806
25807 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25808 .text section. Avoid duplicate constants.
25809 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25821 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25829 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25831 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25832 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25833 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25834 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25835 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25836 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25837 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25839 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25840 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25842 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25843 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25844 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25845 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25846 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25847 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25848 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25851 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25852 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25853 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25854
58985aa9
UD
258552011-10-24 Ulrich Drepper <drepper@gmail.com>
25856
202c9deb
UD
25857 * sysdeps/x86_64/dla.h: Move to ...
25858 * sysdeps/x86_64/fpu/dla.h: ...here.
25859 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25860 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25861
af968f62
UD
25862 * config.make.in: Add have-mfma4 entry.
25863 * configure.in: Substitute libc_cv_cc_fma4.
25864 * math/Makefile (dbl-only-routines): Add sincostab.
25865 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25866 Use __sincostab not sincos.
25867 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25868 name is a macro.
25869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25872 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25873 using __copysign.
25874 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25875 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25876 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25877 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25878 and __inv.
25879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25880 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25881 __copysign.
25882 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25883 define aliases when function name is a macro.
25884 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25885 sysdeps/ieee754/dbl-64/sincos.tbl.
25886 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25887 fma4-enabled routines.
25888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25892 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25893 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25897 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25898 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25899 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25900 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25901 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25902 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25903 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25904 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25905 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25906 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25907 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25908 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25909 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25913 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25914 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25918
58985aa9
UD
25919 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25920 rename.
25921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25929
a201fbcf
AS
259302011-10-24 Andreas Schwab <schwab@redhat.com>
25931
25932 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25933
fc2ee42a
LD
259342011-10-23 Ulrich Drepper <drepper@gmail.com>
25935
bb3129bd
UD
25936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25937
0275fff8
UD
25938 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25939 prediction.
25940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25941
2fa2ae85
UD
25942 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25943 Remove unused variable magic_bits.
25944 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25945
fc2ee42a
LD
25946 * string/strnlen.c: Define and use STRNLEN macro.
25947 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25948 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25950 * wcsmbs/wcslen.c: Define and use WCSLEN.
25951 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25952 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25953 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25954 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25955 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25956 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25957 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25958
ce7dd29f
LD
259592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25960
25961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25962 strnlen-sse2-no-bsf.
25963 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25965 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25966 Add strnlen support.
25967 (USE_AS_STRNLEN): New macro.
25968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25969 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25970 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25971 * sysdeps/x86_64/wcslen.S: New file.
25972
979c70a3
MZ
259732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25974
25975 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25976 XMM-moves are used for copying on small sizes.
25977
2d09f82f
LD
259782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25979
25980 * wcsmbs/Makefile (strop-tests): Add wcschr.
25981 * wcsmbs/test-wcschr.c: New file.
25982 * string/test-strchr.c: Update.
25983 Add wcschr support.
25984 (WIDE): New macro.
25985
619fccca
LD
259862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25987
2d09f82f 25988 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25989 * wcsmbs/test-wcslen.c: New file.
25990 * string/test-strlen.c: Update.
25991 Add wcslen support.
25992 (WIDE): New macro.
25993
09f699ea
UD
259942011-10-23 Ulrich Drepper <drepper@gmail.com>
25995
25996 * po/it.po: Update from translation team.
25997
95584d3b
LD
259982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25999
26000 * sysdeps/x86_64/wcscmp.S: Update.
26001 Fix wrong comparison semantics.
26002 wcscmp shall use signed comparison not unsigned.
26003 Don't use substraction to avoid overflow bug.
26004 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26005 * wcsmbc/wcscmp.c: Likewise.
26006 * string/test-strcmp.c: Likewise.
26007 Add new tests to check cases with negative values.
26008
c8b3296b
UD
260092011-10-23 Ulrich Drepper <drepper@gmail.com>
26010
26011 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26012 * sysdeps/x86_64/dla.h: ...here. New file.
26013 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26018 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26019 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26020 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26022
246ad57a
AS
260232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26024
26025 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26026 __ynl_finite aliases.
26027
a1a87169
UD
260282011-10-22 Ulrich Drepper <drepper@gmail.com>
26029
0d355eb7
UD
26030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26031
a1a87169
UD
26032 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26033 define DLA_FMA.
26034 [DLA_FMA] (EMULV): Use DLA_FMA.
26035 [DLA_FMA] (MUL12): Use EMULV.
26036 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26037 that are not needed.
26038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26045
ee2aafe0
AS
260462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26047
26048 * math/s_nan.c: Undef __nan.
26049 * math/s_nanf.c: Undef __nanf.
26050 * math/s_nanl.c: Undef __nanl.
26051 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26052 "math_private.h".
26053
bc62c2fb
UD
260542011-10-22 Ulrich Drepper <drepper@gmail.com>
26055
77425c63
UD
26056 * math/s_catan.c: Add branch predictions.
26057 * math/s_catanf.c: Likewise.
26058 * math/s_catanh.c: Likewise.
26059 * math/s_catanhf.c: Likewise.
26060 * math/s_catanhl.c: Likewise.
26061 * math/s_catanl.c: Likewise.
26062 * math/s_cexp.c: Likewise.
26063 * math/s_cexpf.c: Likewise.
26064 * math/s_cexpl.c: Likewise.
26065 * math/s_clog.c: Likewise.
26066 * math/s_clog10.c: Likewise.
26067 * math/s_clog10f.c: Likewise.
26068 * math/s_clog10l.c: Likewise.
26069 * math/s_clogf.c: Likewise.
26070 * math/s_clogl.c: Likewise.
26071 * math/s_csqrt.c: Likewise.
26072 * math/s_csqrtf.c: Likewise.
26073 * math/s_csqrtl.c: Likewise.
26074 * math/s_ctanf.c: Likewise.
26075 * math/s_ctanh.c: Likewise.
26076 * math/s_ctanhf.c: Likewise.
26077 * math/s_ctanhl.c: Likewise.
26078 * math/s_ctanl.c: Likewise.
26079
bc62c2fb
UD
26080 * math/math_private.h: Define __nan, __nanf, __nanl.
26081 * math/s_cacosh.c: Include <math_private.h>.
26082 * math/s_cacoshl.c: Likewise.
26083 * math/s_casinh.c: Likewise.
26084 * math/s_casinhf.c: Likewise.
26085 * math/s_casinhl.c: Likewise.
26086 * math/s_ccos.c: Rely entire on ccosh.
26087 * math/s_ccosf.c: Rely entire on ccoshf.
26088 * math/s_ccosl.c: Rely entirely on ccoshl.
26089 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26090 Remove tests for FE_INVALID.
26091 * math/s_ccoshf.c: Likewise.
26092 * math/s_ccoshl.c: Likewise.
26093 * math/s_csin.c: Likewise.
26094 * math/s_csinf.c: Likewise.
26095 * math/s_csinh.c Likewise.
26096 * math/s_csinhf.c: Likewise.
26097 * math/s_csinhl.c: Likewise.
26098 * math/s_csinl.c: Likewise.
26099 * math/s_ctan.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26101 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26102 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26103
8ec250a4
UD
261042011-10-21 Ulrich Drepper <drepper@gmail.com>
26105
c196fed8
UD
26106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26107 compilation problems.
26108
8ec250a4
UD
26109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26110 __builtin_expect.
26111
8d4f46c6
UD
261122011-10-20 Ulrich Drepper <drepper@gmail.com>
26113
ed72b654
UD
26114 * sysdeps/i386/configure.in: Test for -mfma4 option.
26115 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26116 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26117 COMMON_CPUID_INDEX_80000001.
26118 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26119 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26120 use it if FMA3 is not supported.
26121 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26122
8d4f46c6
UD
26123 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26124 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26125
d45c60c2
AS
261262011-10-20 Andreas Schwab <schwab@redhat.com>
26127
26128 [BZ #12892]
26129 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26130 it would create a cycle with a link time dependency.
26131
d9a4d2ab
UD
261322011-10-19 Ulrich Drepper <drepper@gmail.com>
26133
855d1560
UD
26134 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26135 instruction.
26136 * string/Makefile (strop-tests): Add rawmemchr.
26137 * string/test-rawmemchr.c: New file.
26138
d9a4d2ab
UD
26139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26141 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26142 when compiling str{,n}casecmp and when AVX is available. Hook up
26143 new optimized code in initializers.
26144
8f3b1ffe
AS
261452011-10-19 Andreas Schwab <schwab@redhat.com>
26146
26147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26148 __feraiseexcept instead of feraiseexcept.
26149
d38f1dba
UD
261502011-10-18 Ulrich Drepper <drepper@gmail.com>
26151
d9a8d0ab
UD
26152 * math/math_private.h: Define defaults for libc_fetestexcept and
26153 libc_feupdateenv.
26154 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26155 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26159 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26160 libc_fetestexcept and libc_feupdateenv.
26161
4855e3dd
UD
26162 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26163 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26164 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26165 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26166 libc_feholdexcept_setround.
26167
581d30e3
UD
26168 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26169 Add s_nearbyint-c and s_nearbyintf-c.
26170 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26171 nearbyintf inlines.
26172 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26176
d38f1dba
UD
26177 * math/math_private.h: Define defaults for libc_fegetround,
26178 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26179 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26180 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26181 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26182 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26183 standard functions.
26184 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26185 Remove comments and hacks for old compiler versions.
26186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26187 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26188 libc_feholdexceptl.
26189
caa6c9d8
AS
261902011-10-18 Andreas Schwab <schwab@redhat.com>
26191
26192 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26193 (__feraiseexcept_renamed): Add __NTH.
26194 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26195 namespace violations.
26196
97c066e6
UD
261972011-10-17 Ulrich Drepper <drepper@gmail.com>
26198
99ce7b04
UD
26199 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26200
1004d182
UD
26201 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26202
228a984d
UD
26203 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26204 recently added interfaces.
26205 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26206
c8553a6a
UD
26207 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26208 about macro parameter expansion.
26209
ed22dcf6
UD
26210 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26211 __NO_MATH_INLINES is defined. Cleanups.
26212
26213 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26214 and __floorf is target has SSE4.1.
26215 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26216 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26217 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26218 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26219
b171c137
UD
26220 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26221 name.
26222 (floorf): Likewise.
26223
97c066e6
UD
26224 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26225
629f62ef
AS
262262011-10-17 Andreas Schwab <schwab@redhat.com>
26227
49a43d80
AS
26228 * misc/sys/cdefs.h: Fix last change.
26229
629f62ef
AS
26230 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26231 database lookup.
26232
e453f6cd
UD
262332011-10-16 Ulrich Drepper <drepper@gmail.com>
26234
aa78043a
UD
26235 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26236
ad0f5cad
UD
26237 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26238 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26243 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26244 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26245 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26246 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26247 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26248 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26249 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26250 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26251 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26252 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26254 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26255 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26256 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26257 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26258 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26259
26260 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26261 ceil, ceilf, floor, floorf.
26262
26263 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26264 Perform IRELATIVE relocations last.
26265
e453f6cd
UD
26266 * elf/do-rel.h: Add another parameter nrelative, replacing the
26267 local variable with the same name. Change name of the function
26268 to end in Rel or Rela (uppercase).
26269 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26270 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26271 elf_dynamic_do_##reloc function.
26272
fd5bdc09
UD
262732011-10-15 Ulrich Drepper <drepper@gmail.com>
26274
79b195b5
UD
26275 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26276 is sufficient, at least on modern CPUs.
26277
d4a28569
UD
26278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26279
b61099b5
UD
26280 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26282
bcf01e6d
UD
26283 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26284 __expl_finite.
26285 * math/bits/math-finite.h: Add entries for exp.
26286 * math/e_expl.c: Add __*_finite alias.
26287 * sysdeps/i386/fpu/e_exp.S: Likewise.
26288 * sysdeps/i386/fpu/e_expf.S: Likewise.
26289 * sysdeps/i386/fpu/e_expl.c: Likewise.
26290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26291 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26294 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26295 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26296 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26297
ba1a0d59
UD
26298 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26299 is sufficient, at least on modern CPUs.
26300
fd5bdc09
UD
26301 * ctype/ctype-info.c (__ctype_init): Define.
26302 * include/ctype.h (__ctype_init): Declare.
26303 (__ctype_b_loc): The variable is always initialized.
26304 (__ctype_toupper_loc): Likewise.
26305 (__ctype_tolower_loc): Likewise.
26306 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26307 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26308
7872cfb0
AS
263092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26310
b468825a
AS
26311 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26312
7872cfb0
AS
26313 * configure.in: Also look in $cxxmachine/include for C++ system
26314 headers.
26315
be13f7bf
LD
263162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26317
26318 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26319 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26320 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26321 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26323 (USE_AS_WMEMCMP): New macro.
26324 Fixing indents.
26325 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26326 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26327 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26328 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26329 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26330 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26331 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26332 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26333 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26334 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26336 (USE_AS_WMEMCMP): New macro.
26337 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26338 * sysdeps/string/test-memcmp.c: Update.
26339 Fix simple_wmemcmp.
26340 Add new tests.
26341 * wcsmbs/wmemcmp.c: Update.
26342 (WMEMCMP): New macro.
26343 Fix overflow bug.
26344
556a2007
AJ
263452011-10-12 Andreas Jaeger <aj@suse.de>
26346
26347 [BZ #13268]
26348 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26349
538faaa7
UD
263502011-10-15 Ulrich Drepper <drepper@gmail.com>
26351
ab6737ff
UD
26352 * libio/iofwide.c (do_length): Avoid warning.
26353
538faaa7
UD
26354 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26355
396a21b1
UD
263562011-10-14 Ulrich Drepper <drepper@gmail.com>
26357
cdf2901f
UD
26358 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26359
38ad40ce
UD
26360 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26361 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26362 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26363 * sysdeps/i386/i686/fpu/e_log.S: New file.
26364 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26365 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26366
396a21b1
UD
26367 * ctype/ctype.h: Add support for inlined isXXX functions when
26368 compiling C++ code.
26369
6b1f68c9
AS
263702011-10-14 Andreas Schwab <schwab@redhat.com>
26371
349290c0
AS
26372 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26373
6b1f68c9
AS
26374 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26375
f2282d42
RM
263762011-10-13 Roland McGrath <roland@hack.frob.com>
26377
26378 [BZ #13291]
26379 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26380
5298ffa8
AS
263812011-10-13 Andreas Schwab <schwab@redhat.com>
26382
714fad23
AS
26383 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26384 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26385 feraiseexcept.
26386
81dcc7fb
AS
26387 * sysdeps/x86_64/memrchr.S: Check for zero size.
26388
5298ffa8
AS
26389 * string/stratcliff.c: Add memrchr tests.
26390
951fbcec
LD
263912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26392
26393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26394 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26395 rawmemchr-sse2 rawmemchr-sse2-bsf.
26396 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26397 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26398 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26399 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26400 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26401 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26402 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26403 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26404 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26406 * string/memrchr.c (MEMRCHR): New macro.
26407
0ac5ae23
UD
264082011-10-12 Ulrich Drepper <drepper@gmail.com>
26409
26410 Add integration with gcc's -ffinite-math-only and optimize wrapper
26411 functions in libm.
26412 * Versions.def: Define GLIBC_2.15 version for libm.
26413 * math/Makefile (headers): Add bits/math-finite.h.
26414 * math/bits/math-finite.h: New file.
26415 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26416 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26417 * math/e_acoshl.c: Add __*_finite alias.
26418 * math/e_acosl.c: Likewise.
26419 * math/e_asinl.c: Likewise.
26420 * math/e_atan2l.c: Likewise.
26421 * math/e_atanhl.c: Likewise.
26422 * math/e_coshl.c: Likewise.
26423 * math/e_exp10.c: Likewise.
26424 * math/e_exp10f.c: Likewise.
26425 * math/e_exp10l.c: Likewise.
26426 * math/e_exp2l.c: Likewise.
26427 * math/e_fmodl.c: Likewise.
26428 * math/e_gammal_r.c: Likewise.
26429 * math/e_hypotl.c: Likewise.
26430 * math/e_j0l.c: Likewise.
26431 * math/e_j1l.c: Likewise.
26432 * math/e_jnl.c: Likewise.
26433 * math/e_lgammal_r.c: Likewise.
26434 * math/e_log10l.c: Likewise.
26435 * math/e_log2l.c: Likewise.
26436 * math/e_logl.c: Likewise.
26437 * math/e_powl.c: Likewise.
26438 * math/e_sinhl.c: Likewise.
26439 * math/e_sqrtl.c: Likewise.
26440 * math/e_scalb.c: Completely rewritten and optimized.
26441 * math/e_scalbf.c: Likewise.
26442 * math/e_scalbl.c: Likewise.
26443 * math/w_acos.c: Likewise.
26444 * math/w_acosf.c: Likewise.
26445 * math/w_acosl.c: Likewise.
26446 * math/w_acosh.c: Likewise.
26447 * math/w_acoshf.c: Likewise.
26448 * math/w_acoshl.c: Likewise.
26449 * math/w_asin.c: Likewise.
26450 * math/w_asinf.c: Likewise.
26451 * math/w_asinl.c: Likewise.
26452 * math/w_atan2.c: Likewise.
26453 * math/w_atan2f.c: Likewise.
26454 * math/w_atan2l.c: Likewise.
26455 * math/w_atanh.c: Likewise.
26456 * math/w_atanhf.c: Likewise.
26457 * math/w_atanhl.c: Likewise.
26458 * math/w_exp10.c: Likewise.
26459 * math/w_exp10f.c: Likewise.
26460 * math/w_exp10l.c: Likewise.
26461 * math/w_fmod.c: Likewise.
26462 * math/w_fmodf.c: Likewise.
26463 * math/w_fmodl.c: Likewise.
26464 * math/w_j0.c: Likewise.
26465 * math/w_j0f.c: Likewise.
26466 * math/w_j0l.c: Likewise.
26467 * math/w_j1.c: Likewise.
26468 * math/w_j1f.c: Likewise.
26469 * math/w_j1l.c: Likewise.
26470 * math/w_jn.c: Likewise.
26471 * math/w_jnf.c: Likewise.
26472 * math/w_log.c: Likewise.
26473 * math/w_logf.c: Likewise.
26474 * math/w_logl.c: Likewise.
26475 * math/w_log10.c: Likewise.
26476 * math/w_log10f.c: Likewise.
26477 * math/w_log10l.c: Likewise.
26478 * math/w_log2.c: Likewise.
26479 * math/w_log2f.c: Likewise.
26480 * math/w_log2l.c: Likewise.
26481 * math/w_pow.c: Likewise.
26482 * math/w_powf.c: Likewise.
26483 * math/w_powl.c: Likewise.
26484 * math/w_remainder.c: Likewise.
26485 * math/w_remainderf.c: Likewise.
26486 * math/w_remainderl.c: Likewise.
26487 * math/w_scalb.c: Likewise.
26488 * math/w_scalbf.c: Likewise.
26489 * math/w_scalbl.c: Likewise.
26490 * math/w_sqrt.c: Likewise.
26491 * math/w_sqrtf.c: Likewise.
26492 * math/w_sqrtl.c: Likewise.
26493 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26494 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26495 used.
26496 * math/math_private.h: Declare __kernel_standard_f.
26497 * math/w_cosh.c: Remove cruft and optimize a bit.
26498 * math/w_coshf.c: Likewise.
26499 * math/w_coshl.c: Likewise.
26500 * math/w_exp2.c: Likewise.
26501 * math/w_exp2f.c: Likewise.
26502 * math/w_exp2l.c: Likewise.
26503 * math/w_hypot.c: Likewise.
26504 * math/w_hypotf.c: Likewise.
26505 * math/w_hypotl.c: Likewise.
26506 * math/w_lgamma.c: Likewise.
26507 * math/w_lgamma_r.c: Likewise.
26508 * math/w_lgammaf.c: Likewise.
26509 * math/w_lgammaf_r.c: Likewise.
26510 * math/w_lgammal.c: Likewise.
26511 * math/w_lgammal_r.c: Likewise.
26512 * math/w_sinh.c: Likewise.
26513 * math/w_sinhf.c: Likewise.
26514 * math/w_sinhl.c: Likewise.
26515 * math/w_tgamma.c: Likewise.
26516 * math/w_tgammaf.c: Likewise.
26517 * math/w_tgammal.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26519 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26520 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26521 Minor optimizations. Pretty printing. Remove cruft.
26522 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26523 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26524 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26525 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26526 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26527 * sysdeps/i386/fpu/e_asin.S: Likewise.
26528 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26529 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26530 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26531 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26533 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26534 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26535 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26536 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26537 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26538 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26539 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26540 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26541 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26542 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26543 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26544 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26545 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26546 * sysdeps/i386/fpu/e_log.S: Likewise.
26547 * sysdeps/i386/fpu/e_log10.S: Likewise.
26548 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26549 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26550 * sysdeps/i386/fpu/e_log2.S: Likewise.
26551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26552 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26553 * sysdeps/i386/fpu/e_logf.S: Likewise.
26554 * sysdeps/i386/fpu/e_logl.S: Likewise.
26555 * sysdeps/i386/fpu/e_pow.S: Likewise.
26556 * sysdeps/i386/fpu/e_powf.S: Likewise.
26557 * sysdeps/i386/fpu/e_powl.S: Likewise.
26558 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26559 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26560 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26561 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26562 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26563 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26564 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26565 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26566 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26584 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26585 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26588 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26589 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26590 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26591 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26592 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26593 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26594 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26595 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26605 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26606 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26607 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26608 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26647 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26652 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26653 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26655 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26660 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26661 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26662 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26663 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26664 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26665 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26666 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26667 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26668 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26669 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26670 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26671 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26672 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26673 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26674 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26675 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26676 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26677 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26678 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26679 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26680 (__isnanf): Likewise.
26681 (__isinf_ns): Likewise.
26682 (__isinf_nsf): Likewise.
26683 (__finite): Likewise.
26684 (__finitef): Likewise.
26685 (__ieee754_sqrt): Define as macro.
26686 (__ieee754_sqrtf): Define as macro.
26687 (__ieee754_sqrtl): Define as macro.
26688 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26689 inlined copy.
26690 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26691 __FINITE_MATH_ONLY__ consistent.
26692 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26693
12cc2fcd
AS
266942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26695
a843a204
AS
26696 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26697 of rawmemchr.
26698
12cc2fcd
AS
26699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26700
c853acd5
UD
267012011-10-09 Ulrich Drepper <drepper@gmail.com>
26702
26703 * po/ja.po: Update from translation team.
26704
c658d255
RM
267052011-10-08 Roland McGrath <roland@hack.frob.com>
26706
110946e4
RM
26707 * locale/programs/locarchive.c (prepare_address_space): New function.
26708 (create_archive, enlarge_archive, open_archive): Use it.
26709
50604220
RM
26710 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26711 inside [SHARED], where it is used.
26712
c658d255
RM
26713 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26714
26715 * nss/getent.c (netgroup_keys): Remove unused variable.
26716 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26717
6a621eb7
UD
267182011-10-08 Ulrich Drepper <drepper@gmail.com>
26719
7edb55ce
UD
26720 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26721 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26723 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26724 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26725 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26726 * math/Makefile (libm-calls): Add s_isinf_ns.
26727 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26728 * math/multc3.c: Likewise.
26729 * math/s_casin.c: Likewise.
26730 * math/s_casinf.c: Likewise.
26731 * math/s_casinl.c: Likewise.
26732 * math/s_ccos.c: Likewise.
26733 * math/s_ccosf.c: Likewise.
26734 * math/s_ccosl.c: Likewise.
26735 * math/s_ctan.c: Likewise.
26736 * math/s_ctanf.c: Likewise.
26737 * math/s_ctanh.c: Likewise.
26738 * math/s_ctanhf.c: Likewise.
26739 * math/s_ctanhl.c: Likewise.
26740 * math/s_ctanl.c: Likewise.
26741 * math/w_fmod.c: Likewise.
26742 * math/w_fmodf.c: Likewise.
26743 * math/w_fmodl.c: Likewise.
26744 * math/w_remainder.c: Likewise.
26745 * math/w_remainderf.c: Likewise.
26746 * math/w_remainderl.c: Likewise.
26747 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26748 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26749 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26751 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26752 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26753 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26754 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26755
187da0ae
UD
26756 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26757 of the number.
26758 * stdio-common/printf_fphex.c: Likewise.
26759 * stdio-common/printf_size.c: Likewise.
26760
9277c064
UD
26761 * math/e_exp10.c: Include math_private.h using <...> not "...".
26762 * math/e_exp10f.c: Likewise.
26763 * math/e_exp10l.c: Likewise.
26764 * math/e_exp2l.c: Likewise.
26765 * math/e_j0l.c: Likewise.
26766 * math/e_j1l.c: Likewise.
26767 * math/e_jnl.c: Likewise.
26768 * math/e_lgammal_r.c: Likewise.
26769 * math/e_rem_pio2l.c: Likewise.
26770 * math/e_scalb.c: Likewise.
26771 * math/e_scalbf.c: Likewise.
26772 * math/e_scalbl.c: Likewise.
26773 * math/k_cosl.c: Likewise.
26774 * math/k_sinl.c: Likewise.
26775 * math/k_tanl.c: Likewise.
26776 * math/s_cacoshf.c: Likewise.
26777 * math/s_catan.c: Likewise.
26778 * math/s_catanf.c: Likewise.
26779 * math/s_catanh.c: Likewise.
26780 * math/s_catanhf.c: Likewise.
26781 * math/s_catanhl.c: Likewise.
26782 * math/s_catanl.c: Likewise.
26783 * math/s_ccosh.c: Likewise.
26784 * math/s_ccoshf.c: Likewise.
26785 * math/s_ccoshl.c: Likewise.
26786 * math/s_cexp.c: Likewise.
26787 * math/s_cexpf.c: Likewise.
26788 * math/s_cexpl.c: Likewise.
26789 * math/s_clog.c: Likewise.
26790 * math/s_clog10.c: Likewise.
26791 * math/s_clog10f.c: Likewise.
26792 * math/s_clog10l.c: Likewise.
26793 * math/s_clogf.c: Likewise.
26794 * math/s_clogl.c: Likewise.
26795 * math/s_csin.c: Likewise.
26796 * math/s_csinf.c: Likewise.
26797 * math/s_csinh.c: Likewise.
26798 * math/s_csinhf.c: Likewise.
26799 * math/s_csinhl.c: Likewise.
26800 * math/s_csinl.c: Likewise.
26801 * math/s_csqrt.c: Likewise.
26802 * math/s_csqrtf.c: Likewise.
26803 * math/s_csqrtl.c: Likewise.
26804 * math/s_ctan.c: Likewise.
26805 * math/s_ctanf.c: Likewise.
26806 * math/s_ctanh.c: Likewise.
26807 * math/s_ctanhf.c: Likewise.
26808 * math/s_ctanhl.c: Likewise.
26809 * math/s_ctanl.c: Likewise.
26810 * math/s_ldexp.c: Likewise.
26811 * math/s_ldexpf.c: Likewise.
26812 * math/s_ldexpl.c: Likewise.
26813 * math/s_significand.c: Likewise.
26814 * math/s_significandf.c: Likewise.
26815 * math/s_significandl.c: Likewise.
26816 * math/w_acos.c: Likewise.
26817 * math/w_acosf.c: Likewise.
26818 * math/w_acosh.c: Likewise.
26819 * math/w_acoshf.c: Likewise.
26820 * math/w_acoshl.c: Likewise.
26821 * math/w_acosl.c: Likewise.
26822 * math/w_asin.c: Likewise.
26823 * math/w_asinf.c: Likewise.
26824 * math/w_asinl.c: Likewise.
26825 * math/w_atan2.c: Likewise.
26826 * math/w_atan2f.c: Likewise.
26827 * math/w_atan2l.c: Likewise.
26828 * math/w_atanh.c: Likewise.
26829 * math/w_atanhf.c: Likewise.
26830 * math/w_atanhl.c: Likewise.
26831 * math/w_cosh.c: Likewise.
26832 * math/w_coshf.c: Likewise.
26833 * math/w_coshl.c: Likewise.
26834 * math/w_dremf.c: Likewise.
26835 * math/w_exp10.c: Likewise.
26836 * math/w_exp10f.c: Likewise.
26837 * math/w_exp10l.c: Likewise.
26838 * math/w_exp2.c: Likewise.
26839 * math/w_exp2f.c: Likewise.
26840 * math/w_fmod.c: Likewise.
26841 * math/w_fmodf.c: Likewise.
26842 * math/w_fmodl.c: Likewise.
26843 * math/w_hypot.c: Likewise.
26844 * math/w_hypotf.c: Likewise.
26845 * math/w_hypotl.c: Likewise.
26846 * math/w_j0.c: Likewise.
26847 * math/w_j0f.c: Likewise.
26848 * math/w_j0l.c: Likewise.
26849 * math/w_j1.c: Likewise.
26850 * math/w_j1f.c: Likewise.
26851 * math/w_j1l.c: Likewise.
26852 * math/w_jn.c: Likewise.
26853 * math/w_jnf.c: Likewise.
26854 * math/w_jnl.c: Likewise.
26855 * math/w_lgamma.c: Likewise.
26856 * math/w_lgamma_r.c: Likewise.
26857 * math/w_lgammaf.c: Likewise.
26858 * math/w_lgammaf_r.c: Likewise.
26859 * math/w_lgammal.c: Likewise.
26860 * math/w_lgammal_r.c: Likewise.
26861 * math/w_log.c: Likewise.
26862 * math/w_log10.c: Likewise.
26863 * math/w_log10f.c: Likewise.
26864 * math/w_log10l.c: Likewise.
26865 * math/w_log2.c: Likewise.
26866 * math/w_log2f.c: Likewise.
26867 * math/w_log2l.c: Likewise.
26868 * math/w_logf.c: Likewise.
26869 * math/w_logl.c: Likewise.
26870 * math/w_pow.c: Likewise.
26871 * math/w_powf.c: Likewise.
26872 * math/w_powl.c: Likewise.
26873 * math/w_remainder.c: Likewise.
26874 * math/w_remainderf.c: Likewise.
26875 * math/w_remainderl.c: Likewise.
26876 * math/w_scalb.c: Likewise.
26877 * math/w_scalbf.c: Likewise.
26878 * math/w_scalbl.c: Likewise.
26879 * math/w_sinh.c: Likewise.
26880 * math/w_sinhf.c: Likewise.
26881 * math/w_sinhl.c: Likewise.
26882 * math/w_sqrt.c: Likewise.
26883 * math/w_sqrtf.c: Likewise.
26884 * math/w_sqrtl.c: Likewise.
26885 * math/w_tgamma.c: Likewise.
26886 * math/w_tgammaf.c: Likewise.
26887 * math/w_tgammal.c: Likewise.
26888
6a621eb7
UD
26889 * po/ja.po: Update from translation team.
26890
bf582445
AJ
268912011-09-29 Andreas Jaeger <aj@suse.de>
26892
f9efbf3a
AJ
26893 [BZ #13179]
26894 * sunrpc/netname.c (netname2host): Fix logic.
26895
bf582445
AJ
26896 [BZ #6779]
26897 [BZ #6783]
26898 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26899 correctly.
26900 * math/w_remainder.c (__remainder): Likewise.
26901 * math/w_remainderf.c (__remainderf): Likewise.
26902 * math/libm-test.inc (remainder_test): Add test cases.
26903
48693bea
AK
269042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26905
26906 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26907 sdiv_qrnnd.
26908
42622229
LD
269092011-10-07 Ulrich Drepper <drepper@gmail.com>
26910
26911 * string/test-memcmp.c: Avoid unncessary #defines.
26912 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26913
093ecf92
LD
269142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26915
26916 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26917 Use new sse2 version for core i3 - i7 as it's faster
26918 than sse42 version.
26919 (bit_Prefer_PMINUB_for_stringop): New.
26920 * sysdeps/x86_64/rawmemchr.S: Update.
26921 Replace with faster SSE2 version.
26922 * sysdeps/x86_64/memrchr.S: New file.
26923 * sysdeps/x86_64/memchr.S: Update.
26924 Replace with faster SSE2 version.
26925
fde56e5c
MP
269262011-09-12 Marek Polacek <mpolacek@redhat.com>
26927
26928 * elf/dl-load.c (lose): Add cast to avoid warning.
26929
21fd49a9
UD
269302011-10-07 Ulrich Drepper <drepper@gmail.com>
26931
5a06e643
UD
26932 * po/ca.po: Update from translation team.
26933
684ae515
UD
26934 * inet/getnetgrent_r.c: Hook up nscd.
26935 * nscd/Makefile (routines): Add nscd_netgroup.
26936 (nscd-modules): Add netgroupcache.
26937 (CFLAGS-netgroupcache.c): Define.
26938 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26939 (cache_search): Add const to second parameter.
26940 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26941 INNETGR.
26942 (dbs): Add netgrdb entry.
26943 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26944 (verify_persistent_db): Handle netgrdb.
26945 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26946 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26947 GETFDNETGR.
26948 (netgroup_response_header): Define.
26949 (innetgroup_response_header): Define.
26950 (datahead): Add netgroup_response_header and innetgroup_response_header
26951 elements.
26952 * nscd/nscd.conf: Add entries for netgroup cache.
26953 * nscd/nscd.h (dbtype): Add netgrdb.
26954 (_PATH_NSCD_NETGROUP_DB): Define.
26955 (netgroup_iov_disabled): Declare.
26956 (xmalloc, xcalloc, xrealloc): Move declarations here.
26957 (cache_search): Adjust prototype.
26958 Add netgroup-related prototypes.
26959 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26960 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26961 (__nscd_innetgr): Declare.
26962 * nscd/selinux.c (perms): Use access_vector_t as element type and
26963 add netgroup-related initializers.
26964 * nscd/netgroupcache.c: New file.
26965 * nscd/nscd_netgroup.c: New file.
26966 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26967 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26968 For four parameters use innetgr.
26969 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26970 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26971 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26972 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26973
21fd49a9
UD
26974 * nscd/connections.c (register_traced_file): Don't register file
26975 for disabled databases.
26976
054c0457
UD
269772011-10-06 Ulrich Drepper <drepper@gmail.com>
26978
32b63198
UD
26979 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26980
054c0457
UD
26981 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26982 from tree and freeing node.
26983
64031225
JO
269842011-09-25 Jiri Olsa <jolsa@redhat.com>
26985
26986 * nss/nsswitch.c (__nss_database_lookup): Handle
26987 nss_parse_service_list out of memory case.
26988
0490345c
JO
269892011-09-15 Jiri Olsa <jolsa@redhat.com>
26990
26991 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26992 out of memory case.
26993
3a62d00d
AS
269942011-10-04 Andreas Schwab <schwab@redhat.com>
26995
26996 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26997 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26998 pass it down.
26999 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27000 elf_machine_rela, elf_machine_lazy_rel.
27001 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27002 (ELF_DYNAMIC_DO_REL): Likewise.
27003 (ELF_DYNAMIC_DO_RELA): Likewise.
27004 (ELF_DYNAMIC_RELOCATE): Likewise.
27005 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27006 to ELF_DYNAMIC_DO_REL.
27007 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27008 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27009 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27010 elf_machine_rela.
27011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27012 skip_ifunc, don't call ifunc function if non-zero.
27013 (elf_machine_rela): Likewise.
27014 (elf_machine_lazy_rel): Likewise.
27015 (elf_machine_lazy_rela): Likewise.
27016 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27017 (elf_machine_lazy_rel): Likewise.
27018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27019 Likewise.
27020 (elf_machine_lazy_rel): Likewise.
27021 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27022 Likewise.
27023 (elf_machine_lazy_rel): Likewise.
27024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27025 (elf_machine_lazy_rel): Likewise.
27026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27027 (elf_machine_lazy_rel): Likewise.
27028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27029 (elf_machine_lazy_rel): Likewise.
27030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27031 (elf_machine_lazy_rel): Likewise.
27032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27033 (elf_machine_lazy_rel): Likewise.
27034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27035 (elf_machine_lazy_rel): Likewise.
27036
68577918
UD
270372011-09-28 Ulrich Drepper <drepper@gmail.com>
27038
27039 * nss/nss_files/files-init.c (_nss_files_init): Use static
27040 initialization for all the *_traced_file variables.
27041
68822d74
AS
270422011-09-28 Andreas Schwab <schwab@redhat.com>
27043
27044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27045
2056100b
RM
270462011-09-27 Roland McGrath <roland@hack.frob.com>
27047
27048 [BZ #13226]
27049 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27050
32c76b63
AS
270512011-09-27 Andreas Schwab <schwab@redhat.com>
27052
27053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27054 Reread the line before reparsing it.
27055
bf972c9d
AS
270562011-09-26 Andreas Schwab <schwab@redhat.com>
27057
27058 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27059
e057a1b5
JM
270602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27061 Maxim Kuvyrkov <maxim@codesourcery.com>
27062 Joseph Myers <joseph@codesourcery.com>
27063
27064 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27065 if needed for __stack_chk_guard.
27066
bc7e1c36
RM
270672011-09-19 Roland McGrath <roland@hack.frob.com>
27068
ecb1482f
RM
27069 * sysdeps/posix/spawni.c (script_execute): Always define it.
27070 It will be optimized away if unused.
27071 (maybe_script_execute): New function.
27072 (__spawni): Call it.
27073
bc7e1c36
RM
27074 * Makerules: Don't include tls.make.
27075 (config-tls): Always set to thread.
27076 * tls.make.c: File removed.
27077
1c3b002b
MF
270782011-09-19 Mike Frysinger <vapier@gentoo.org>
27079
27080 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27081 * config.make.in (CPPFLAGS-config): New substituted variable.
27082
2840865d
UD
270832011-09-15 Ulrich Drepper <drepper@gmail.com>
27084
88738eb6
UD
27085 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27086
cbf645a6 27087 [BZ #13192]
2840865d
UD
27088 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27089 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27090
b402e91a
RM
270912011-09-15 Roland McGrath <roland@hack.frob.com>
27092
27093 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27094 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27096 (CALL_FAIL): Likewise.
27097 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27098 (CALL_FAIL): Macro removed.
27099 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27100
4c1a1f71
UD
271012011-09-15 Ulrich Drepper <drepper@gmail.com>
27102
27103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27104 for __FINITE_MATH_ONLY__ == 1.
27105
edc121be
AS
271062011-09-15 Andreas Schwab <schwab@redhat.com>
27107
27108 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27109 __ieee754_sqrt instead of sqrt.
27110 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27111 __ieee754_sqrtf instead of sqrtf.
27112 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27113 __floorf instead of floorf.
27114 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27115 __floorf, __truncf instead of floorf, truncf.
27116
cd205654
UD
271172011-09-14 Ulrich Drepper <drepper@gmail.com>
27118
ee4d0315
UD
27119 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27120
cd205654
UD
27121 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27122 __extern_always_inline.
27123 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27124 32-bit.
27125
48b67d71
AS
271262011-09-14 Andreas Schwab <schwab@redhat.com>
27127
27128 * elf/rtld.c (dl_main): Also relocate in dependency order when
27129 doing symbol dependency testing.
27130
1ae12c75
AS
271312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27132
27133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27134 Always define `refsym'.
27135
995a80df
AS
271362011-09-13 Andreas Schwab <schwab@redhat.com>
27137
e529793b
AS
27138 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27139 (__FD_ELT): Renamed from __FDELT.
27140 * misc/bits/select2.h (__FD_ELT): Likewise.
27141 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27142 __FD_MASK instead of __FDELT, __FDMASK.
27143 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27144 Likewise.
27145 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27146 Likewise.
27147
52d4fef8
AS
27148 * elf/Makefile (gen-ldd): Fix pattern.
27149
995a80df
AS
27150 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27151 (init_tls): Likewise.
27152
8682f8b0
UD
271532011-09-12 Ulrich Drepper <drepper@gmail.com>
27154
27155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27156
de82006d
AS
271572011-09-12 Andreas Schwab <schwab@redhat.com>
27158
a7c8e6a1
AS
27159 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27160 `struct cmsghdr *' instead of `void *'.
27161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27162 Likewise.
27163
0f31fe77
AS
271642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27165
27166 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27167 if non-absolute.
27168 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27169 ldd_rewrite_script.
0f31fe77 27170
32b4c839
UD
271712011-09-11 Ulrich Drepper <drepper@gmail.com>
27172
83cd1420
UD
27173 * configure.in: Remove --with-tls option.
27174 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27175 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27176 out in case it is missing.
27177 * sysdeps/ia64/elf/configure.in: Likewise.
27178 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27179 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27180 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27181 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27182 * sysdeps/sh/elf/configure.in: Likewise.
27183 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27184 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27185 * sysdeps/x86_64/elf/configure.in: Likewise.
27186 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27187 * sysdeps/mach/hurd/tls.h: Likewise.
27188
633f745d
UD
27189 [BZ #13067]
27190 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27191
f318beb8
UD
27192 [BZ #13090]
27193 * configure.in: Fix use of AC_INIT.
27194
32b4c839
UD
27195 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27196
3ce1f295
UD
271972011-09-10 Ulrich Drepper <drepper@gmail.com>
27198
bb016596
UD
27199 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27200 __set_errno.
8e58439c
UD
27201 * malloc/hooks.c: Likewise.
27202
aebae053 27203 [BZ #11929]
02d46fc4
UD
27204 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27205 variables statically.
27206 (narenas): Initialize.
27207 (list_lock): Initialize.
bb016596
UD
27208 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27209 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27210 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27211 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27212 Add initializers to main_arena and mp_.
27213 (malloc_state): Remove pagesize member. Change all users to use
27214 GLRO(dl_pagesize).
27215
27216 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27217 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27218 is always initialized.
27219
22a89187
UD
27220 * malloc/malloc.c: Removed unused configurations and dead code.
27221 * malloc/arena.c: Likewise.
27222 * malloc/hooks.c: Likewise.
02d46fc4 27223 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27224
d063d164
UD
27225 * include/tls.h: Removed. USE___THREAD must always be defined.
27226 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27227 * elf/dl-libc.c: Likewise.
27228 * elf/dl-tsd.c: Likewise.
27229 * include/errno.h: Likewise.
27230 * include/netdb.h: Likewise.
27231 * include/resolv.h: Likewise.
27232 * inet/herrno-loc.c: Likewise.
27233 * inet/herrno.c: Likewise.
27234 * malloc/arena.c: Likewise.
27235 * malloc/hooks.c: Likewise.
27236 * malloc/malloc.c: Likewise.
27237 * resolv/res-state.c: Likewise.
27238 * resolv/res_libc.c: Likewise.
27239 * sysdeps/i386/dl-machine.h: Likewise.
27240 * sysdeps/ia64/dl-machine.h: Likewise.
27241 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27242 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27243 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27244 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27245 * sysdeps/sh/dl-machine.h: Likewise.
27246 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27247 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27248 * sysdeps/unix/i386/sysdep.S: Likewise.
27249 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27250 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27251 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27255 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27256 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27257 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27259 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27260 * sysdeps/x86_64/dl-machine.h: Likewise.
27261 * tls.make.c: Likewise.
27262
3ce1f295
UD
27263 * configure.in: Remove --with-__thread option. Make tests for
27264 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27265 tls_model attribute fail if no support is available. Remove
27266 USE_IN_LIBIO.
27267 * Makeconfig: Adjust for dropped configure option. All features are
27268 now mandatory.
27269 * Makerules: Likewise.
27270 * Versions.def: Likewise.
27271 * argp/argp-fmtstream.c: Likewise.
27272 * argp/argp-fmtstream.h: Likewise.
27273 * argp/argp-help.c: Likewise.
27274 * assert/assert.c: Likewise.
27275 * config.h.in: Likewise.
27276 * config.make.in: Likewise.
27277 * configure: Likewise.
27278 * configure.in: Likewise.
27279 * csu/Versions: Likewise.
27280 * csu/init.c: Likewise.
27281 * elf/tst-audit2.c: Likewise.
27282 * elf/tst-tls10.c: Likewise.
27283 * elf/tst-tls10.h: Likewise.
27284 * elf/tst-tls11.c: Likewise.
27285 * elf/tst-tls12.c: Likewise.
27286 * elf/tst-tls14.c: Likewise.
27287 * elf/tst-tlsmod11.c: Likewise.
27288 * elf/tst-tlsmod12.c: Likewise.
27289 * elf/tst-tlsmod13.c: Likewise.
27290 * elf/tst-tlsmod13a.c: Likewise.
27291 * elf/tst-tlsmod14a.c: Likewise.
27292 * elf/tst-tlsmod15b.c: Likewise.
27293 * elf/tst-tlsmod16a.c: Likewise.
27294 * elf/tst-tlsmod16b.c: Likewise.
27295 * elf/tst-tlsmod7.c: Likewise.
27296 * elf/tst-tlsmod8.c: Likewise.
27297 * elf/tst-tlsmod9.c: Likewise.
27298 * gmon/gmon.c: Likewise.
27299 * grp/fgetgrent_r.c: Likewise.
27300 * grp/putgrent.c: Likewise.
27301 * hurd/fopenport.c: Likewise.
27302 * include/libc-symbols.h: Likewise.
27303 * include/tls.h: Likewise.
27304 * intl/gettextP.h: Likewise.
27305 * intl/loadinfo.h: Likewise.
27306 * locale/global-locale.c: Likewise.
27307 * locale/localeinfo.h: Likewise.
27308 * mach/devstream.c: Likewise.
27309 * malloc/arena.c: Likewise.
27310 * malloc/set-freeres.c: Likewise.
27311 * misc/err.c: Likewise.
27312 * misc/getttyent.c: Likewise.
27313 * misc/mntent_r.c: Likewise.
27314 * posix/getopt.c: Likewise.
27315 * posix/wordexp.c: Likewise.
27316 * pwd/fgetpwent_r.c: Likewise.
27317 * resolv/Versions: Likewise.
27318 * resolv/res_hconf.c: Likewise.
27319 * shadow/fgetspent_r.c: Likewise.
27320 * shadow/putspent.c: Likewise.
27321 * stdio-common/printf_fphex.c: Likewise.
27322 * stdio-common/tmpfile.c: Likewise.
27323 * stdlib/abort.c: Likewise.
27324 * stdlib/fmtmsg.c: Likewise.
27325 * sunrpc/auth_unix.c: Likewise.
27326 * sunrpc/clnt_perr.c: Likewise.
27327 * sunrpc/clnt_tcp.c: Likewise.
27328 * sunrpc/clnt_udp.c: Likewise.
27329 * sunrpc/clnt_unix.c: Likewise.
27330 * sunrpc/openchild.c: Likewise.
27331 * sunrpc/svc_simple.c: Likewise.
27332 * sunrpc/svc_tcp.c: Likewise.
27333 * sunrpc/svc_udp.c: Likewise.
27334 * sunrpc/svc_unix.c: Likewise.
27335 * sunrpc/xdr.c: Likewise.
27336 * sunrpc/xdr_array.c: Likewise.
27337 * sunrpc/xdr_rec.c: Likewise.
27338 * sunrpc/xdr_ref.c: Likewise.
27339 * sunrpc/xdr_stdio.c: Likewise.
27340
1248c1c4
PB
273412011-09-09 Ulrich Drepper <drepper@gmail.com>
27342
27343 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27344
273452011-07-03 Andreas Jaeger <aj@suse.de>
27346
27347 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27348 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27349 regenerate with gen-libm-tests.pl.
27350
273512010-05-12 Petr Baudis <pasky@suse.cz>
27352
27353 [BZ #11589]
27354 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27355 around j0() zero points by switching to j1().
27356 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27360
f22e1074
UD
273612011-09-09 Ulrich Drepper <drepper@gmail.com>
27362
f19009c1
UD
27363 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27364 instead of 0.
27365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27366 instead of 0.
f19009c1
UD
27367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27368 Patch in part by Pavel Roskin <proski@gnu.org>.
27369
3f8cc204
UD
27370 [BZ #13138]
27371 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27372 realloc.
27373 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27374 Free memory block if necessary.
27375
f22e1074
UD
27376 [BZ #12847]
27377 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27378 be NULL. Don't lock in this case.
27379
0a2349f9
RM
273802011-09-09 Roland McGrath <roland@hack.frob.com>
27381
27382 * elf/elf.h (ELFOSABI_GNU): New macro.
27383 (ELFOSABI_LINUX): Define to that.
27384
f3cdd467
DZ
273852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27386
27387 * string/strncat.c (strncat): Undef the symbol in case it has been
27388 defined in bits/string.h.
27389
74718d13
UD
273902011-09-09 Ulrich Drepper <drepper@gmail.com>
27391
633e9e0f
UD
27392 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27393
0a2349f9 27394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27395 link map.
27396
f9924780
AJ
273972011-08-17 Andreas Jaeger <aj@suse.de>
27398
27399 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27400
7f5517aa
PP
274012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27402 Ian Lance Taylor <iant@google.com>
27403
27404 * math/libm-test.inc (lround_test): New testcase.
27405 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27406
762011fe
UD
274072011-09-08 Ulrich Drepper <drepper@gmail.com>
27408
92963737
UD
27409 * Makefile: Remove support for automatic cvs check-ins.
27410 * Makerules: Likewise.
27411 * config.make.in: Likewise.
27412 * configure.in: Likewise.
27413 * intl/Makefile: Likewise.
27414 * locale/Makefile: Likewise.
27415 * po/Makefile: Likewise.
27416 * posix/Makefile: Likewise.
27417 * sysdeps/gnu/Makefile: Likewise.
27418 * sysdeps/mach/hurd/Makefile: Likewise.
27419 * sysdeps/sparc/sparc32/Makefile: Likewise.
27420
b0727fd8
JS
27421 [BZ #13118]
27422 * posix/Makefile (bug-regex32-ENV): Define.
27423 Patch by John Stanley <jpsinthemix@verizon.net>.
27424
a0f33f99
UD
27425 * misc/Makefile (headers): Add bits/select2.h.
27426 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27427 * misc/bits/select2.h: New file.
27428 * include/bits/select2.h: New file.
27429 * debug/Makefile (routines): Add fdelt_chk.
27430 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27431 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27432 FD_ISSET.
27433 * debug/fdelt_chk.c: New file.
27434
762011fe
UD
27435 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27436 * wcsmbs/test-wmemcmp.c: Likewise.
27437 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27438 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27439
274402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27441
27442 * string/Makefile (strop-tests): Add memcmp.
27443 * string/test-wmemcmp.c: New file.
27444 * string/test-memcmp.c: Add wmemcmp support.
27445
7f513ec8
RM
274462011-09-08 Roland McGrath <roland@hack.frob.com>
27447
0442afb4
RM
27448 [BZ #13153]
27449 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27450 2011-07-19 change.
27451
7f513ec8
RM
27452 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27453 garbage value in a __mach_port_mod_refs call in the cases of the
27454 task-self and thread-self ports.
27455
a12b2239
ST
274562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27457
27458 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27459
610f9ab4
AS
274602011-09-08 Andreas Schwab <schwab@redhat.com>
27461
7f513ec8 27462 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27463
48882a1a
LD
274642011-09-07 Ulrich Drepper <drepper@gmail.com>
27465
b49865be
UD
27466 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27467
fdc86bc9
UD
27468 * elf/dl-libc.c (dlerror_run): Pass back error code from
27469 dl_catch_error.
27470
c966526a
UD
27471 [BZ #13123]
27472 * elf/dl-load.c (lose): Free l_origin if it is valid.
27473
48882a1a
LD
27474 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27475 names.
27476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27479 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27481 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27482
77a2a8b4
AZ
274832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27484
27485 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27486 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27487 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27488 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27489 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27490 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27491 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27492 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27493 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27494 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27495
24f579d8
AM
274962011-08-15 Alan Modra <amodra@gmail.com>
27497
27498 [BZ #13092]
27499 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27500 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27501 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27502 ppc_mcount to static-only-routines.
27503 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27504 __mcount_internal.
27505 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27506 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27507
3d4837df
UD
275082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27509
27510 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27511 for finite and infinity parameters.
27512
22700377
WS
275132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27514
27515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27516 and add nop instructions for throughput optimization.
27517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27518
5025581e
WS
275192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27520
27521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27522 aligned copy for power7 with vector-scalar instructions.
27523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27524
08a300c9
L
275252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27526
27527 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27528 AVX check.
27529
59178ef9
AS
275302011-09-07 Andreas Schwab <schwab@redhat.com>
27531
27532 [BZ #13144]
27533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27534 last change.
27535
e38ba7ab
UD
275362011-09-07 Ulrich Drepper <drepper@gmail.com>
27537
27538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27539 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27540 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27542 clock_gettime.
27543
d53a73ac
UD
275442011-09-06 Ulrich Drepper <drepper@gmail.com>
27545
fc8bffcc
UD
27546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27547 Forgot to demangle the pointer.
27548
ceaa0c5d
UD
27549 * sysdeps/i386/sysdep.h: Define atom_text_section.
27550 * sysdeps/x86_64/sysdep.h: Likewise.
27551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27552 section with atom_text_section.
27553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27555 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27557 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27558
a77d3c17
UD
27559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27560 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27561 already be defined. Change to take two parameters and don't assign
27562 result to variable. Adjust all users.
27563 Define INTERNAL_GETTIME if not already defined.
27564 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27565 call.
27566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27567 HAVE_CLOCK_GETTIME_VSYSCALL.
27568 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27569
d53a73ac
UD
27570 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27571 gettimeofday vsyscall, just use time.
27572
a8f84144
AS
275732011-09-06 Andreas Schwab <schwab@redhat.com>
27574
27575 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27576 <errno.h>.
27577
ef606249
UD
275782011-09-06 Ulrich Drepper <drepper@gmail.com>
27579
27580 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27581 syscall on x86-64.
27582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27583 syscall.
27584 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27586 syscall if possible.
27587
6585cb60
UD
275882011-09-05 Ulrich Drepper <drepper@gmail.com>
27589
27590 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27591 e_ident. Don't pass to find_mapsXX.
27592 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27593
a5f524e4
LD
275942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27595
27596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27597 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27598 * sysdeps/x86_64/multiarch/strchr.S: Update.
27599 Check bit_slow_BSF bit.
27600 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27603
554881ef
UD
276042011-09-05 Ulrich Drepper <drepper@gmail.com>
27605
d96de963
UD
27606 [BZ #13134]
27607 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27608 before glibc 2.15.
27609 (tryshell): Define.
27610 (__spawni): Change last parameter to be flag. Test
27611 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27612 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27613 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27614 * posix/spawni.c: Likewise.
27615 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27616 * posix/spawnp.c: Likewise. Change normal version to use
27617 SPAWN_XFLAGS_USE_PATH.
27618 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27619 SPAWN_XFLAGS_TRY_SHELL.
27620
d48e5868
UD
27621 [BZ #13150]
27622 * posix/glob.h: Remove gcc 1.x support.
27623
554881ef
UD
27624 [BZ #13068]
27625 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27626
693fb948
LD
276272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27628
27629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27630 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27631 strrchr-sse2-bsf
27632 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27633 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27634 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27635 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27637 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27638
1b48c537
UD
276392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27640
49d42c37
UD
27641 * sysdeps/x86_64/wcscmp.S: New file.
27642
1b48c537
UD
27643 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27644 wcscmp-c wcscmp-sse2
27645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27646 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27647 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27648 * wcsmbs/wcscmp.c: Allow renaming.
27649
15c95c5d
DM
276502011-09-05 David S. Miller <davem@davemloft.net>
27651
27652 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27653 stack slot, rather than the struct return pointer slot.
27654 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27655 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27657 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27658
2f0ad8f3
UD
276592011-09-05 Ulrich Drepper <drepper@gmail.com>
27660
d88ae418
UD
27661 * po/ja.po: Update from translation team.
27662
2f0ad8f3
UD
27663 [BZ #13144]
27664 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27665 kernel in 64-bit binaries.
27666
5f4318d1
DM
276672011-09-01 David S. Miller <davem@davemloft.net>
27668
27669 * elf/elf.h (HWCAP_SPARC_*): Move to..
27670 * sysdeps/sparc/sysdep.h: this new file and add new values.
27671 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27672 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27673 _DL_HWCAP_COUNT to 24.
27674 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27675 entries.
27676 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27677 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27678 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27680 instead of magic constants.
27681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27682
3ba57516
DM
276832011-08-31 David S. Miller <davem@davemloft.net>
27684
27685 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27687 Reimplement to do errno handling inline.
27688 (SYSCALL_ERROR_HANDLER): New macro.
27689 (__SYSCALL_STRING): Do not do errno handling in asm.
27690 (__CLONE_SYSCALL_STRING): Delete.
27691 (__INTERNAL_SYSCALL_STRING): Delete.
27692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27693 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27694 (PSEUDO): Reimplement to do errno handling inline.
27695 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27696 (SYSCALL_ERROR_HANDLER): New macro.
27697 (__SYSCALL_STRING): Do not do errno handling in asm.
27698 (__CLONE_SYSCALL_STRING): Delete.
27699 (__INTERNAL_SYSCALL_STRING): Delete.
27700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27701 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27702 i386.
27703 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27704 (inline_syscall*): Add 'err' argument.
27705 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27706 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27707 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27708 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27709
27710 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27712
2bc17433
AS
277132011-08-30 Andreas Schwab <schwab@redhat.com>
27714
27715 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27716
fbeb5f4d
JO
277172011-08-29 Jiri Olsa <jolsa@redhat.com>
27718
27719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27720 directive.
27721
ad69cc26
DM
277222011-08-24 David S. Miller <davem@davemloft.net>
27723
27724 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27725
39dd69df
AS
277262011-08-24 Andreas Schwab <schwab@redhat.com>
27727
27728 * elf/Makefile: Add rules to build and run unload8 test.
27729 * elf/unload8.c: New file.
27730 * elf/unload8mod1.c: New file.
27731 * elf/unload8mod1x.c: New file.
27732 * elf/unload8mod2.c: New file.
27733 * elf/unload8mod3.c: New file.
27734
27735 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27736 it wasn't used.
27737
2c0b250a
DM
277382011-08-23 David S. Miller <davem@davemloft.net>
27739
27740 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27741 subtract stack bias.
27742 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27743 %sp not %fp in calculations.
27744 (_JMPBUF_UNWINDS_ADJ): Likewise.
27745
22044b48
DM
27746 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27747 (aio_suspend): Call it to force an exception region around the
27748 AIO_MISC_WAIT() invocation.
27749
2cae4995
AS
277502011-08-23 Andreas Schwab <schwab@redhat.com>
27751
27752 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27753 backslash.
27754
873a772e
AJ
277552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27756
27757 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27758 protection macro.
27759 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27760 and <dl-machine.h>.
27761 (Elf64_FuncDesc): Remove.
27762
25ad0df1
DM
277632011-08-22 David S. Miller <davem@davemloft.net>
27764
27765 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27766 sigaltstack check, add missing cfi directives.
27767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27768 missing cfi directives, and sigaltstack handling.
27769
e888bcbe
AS
277702011-08-16 Andreas Schwab <schwab@redhat.com>
27771
27772 [BZ #11724]
27773 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27774 object is seen twice.
27775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27776
27777 * elf/Makefile (distribute): Add tst-initorder2.c.
27778 (tests): Add tst-initorder2.
27779 (modules-names): Add tst-initorder2a tst-initorder2b
27780 tst-initorder2c tst-initorder2d. Add rules to build them.
27781 ($(objpfx)tst-initorder2.out): New rule.
27782 * elf/tst-initorder2.c: New file.
27783 * elf/tst-initorder2.exp: New file.
27784
87162f46
AS
277852011-08-22 Andreas Schwab <schwab@redhat.com>
27786
70538b7f
AS
27787 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27788
f55ffe58
AS
27789 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27790 dependencies back to end of function.
27791
87162f46
AS
27792 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27793 $(elfobjdir)/ld.so.
27794
91b392a4
UD
277952011-08-21 Ulrich Drepper <drepper@gmail.com>
27796
27797 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27798 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27800 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27801 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27802 of __vdso_gettimeofday.
27803 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27804 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27805 attribute_hidden.
27806 (_libc_vdso_platform_setup): Remove initialization of
27807 __vdso_gettimeofday and __vdso_time.
27808
5c43483f
UD
278092011-08-20 Ulrich Drepper <drepper@gmail.com>
27810
775a77e7
UD
27811 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27812 and fgetc_unlocked.
27813 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27814 getc_unlocked.
89f447ed 27815
49c74ba9
UD
27816 * elf/dl-open.c (add_to_global): Report additions to the global scope
27817 for LD_DEBUG=scopes.
27818 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27819 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27820
5c43483f
UD
27821 [BZ #13114]
27822 * stdio-common/Makefile (tests): Add bug24.
27823 * stdio-common/bug24.c: New file.
27824
a101b025
AJ
278252011-08-19 Andreas Jaeger <aj@suse.de>
27826
27827 [BZ #13114]
27828 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27829 non-existant file when using close-on-exec mode.
27830
c88f1766
UD
278312011-08-20 Ulrich Drepper <drepper@gmail.com>
27832
0276a718
UD
27833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27834 the very first instruction.
27835
c88f1766
UD
27836 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27837 the CFI state in the end.
27838 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27839 inclusion of dl-trampoline.h.
27840 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27841
51ccffa0
AS
278422011-08-19 Andreas Schwab <schwab@redhat.com>
27843
94d7165f
AS
27844 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27845 expectations for long double.
27846
51ccffa0
AS
27847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27848 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27849
fd708658 278502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27851
27852 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27853 artificual limit depends upon the system page size.
27854
44f0a71e
UD
278552011-08-17 Ulrich Drepper <drepper@gmail.com>
27856
27857 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27858 * resolv/Makefile: Define CFLAGS-libresolv.
27859
8de79a24
AS
278602011-08-17 Andreas Schwab <schwab@redhat.com>
27861
27862 * nss/makedb.c (compute_tables): Make variables used in nested
27863 function static.
27864
27724598
UD
278652011-08-17 Ulrich Drepper <drepper@gmail.com>
27866
c5305d88
UD
27867 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27868 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27869 if buffer was too small.
27870
27724598
UD
27871 * elf/pldd.c (main): Attach to all threads in the process.
27872 Rewrite /proc handling to use *at functions.
27873
076fe015
UD
278742011-08-16 Ulrich Drepper <drepper@gmail.com>
27875
174baab3
UD
27876 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27877 specifies first scope to show.
27878 (dl_open_worker): Update callers. Move printing scope of new
27879 object to before the relocation.
44f0a71e 27880 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27881 * sysdeps/generic/ldsodefs.h: Update declaration.
27882
076fe015
UD
27883 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27884 string for the scope number.
27885
a60df2c3
UD
278862011-08-14 Ulrich Drepper <drepper@gmail.com>
27887
27888 * nscd/servicescache.c (cache_addserv): Make sure written is always
27889 initialized.
27890
5e4287d1
RM
278912011-08-14 Roland McGrath <roland@hack.frob.com>
27892
85ae0589
RM
27893 * sysdeps/i386/i486/bits/atomic.h
27894 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27895 statement expression, so as to suppress "set but not used" warning.
27896 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27897
69f63097
RM
27898 * string/strncat.c (STRNCAT): Use prototype definition.
27899
675456ef
RM
27900 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27901 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27902 -Iprograms here.
27903 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27904 (localedef-modules): Add localedef.
27905 (locale-modules): Add locale.
27906
5e4287d1
RM
27907 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27908 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27909 to avoid a warning.
27910
9c96ff23
DM
279112011-08-14 David S. Miller <davem@davemloft.net>
27912
27913 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27914 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27915
f9ddf089
UD
279162011-08-13 Ulrich Drepper <drepper@gmail.com>
27917
44f0a71e 27918 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27919 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27920 * elf/rtld.c (dl_main): Set l_name of vDSO.
27921 Call _dl_show_scope when DL_DEBUG_SCOPES.
27922 (process_dl_debug): Recognize scopes flag and also set it for all.
27923 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27924 Declare _dl_show_scope.
27925
1dc27704
UD
27926 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27927 (do_dlopen): Pass caller_dlopen to dl_open.
27928 (__libc_dlopen_mode): Initialize caller_dlopen.
27929
f9ddf089
UD
27930 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27931 of libc. Make tolower call locale-independent. Optimize a bit by
27932 using isdigit instead of isalnum.
27933 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27934
9ac533d3
UD
279352011-08-12 Ulrich Drepper <drepper@gmail.com>
27936
27937 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27938 was a dependency or dynamically loaded.
27939
89edf2e9
UD
279402011-08-11 Ulrich Drepper <drepper@gmail.com>
27941
8e999d29
UD
27942 * intl/l10nflist.c: Allow architecture-specific pop function.
27943 * sysdeps/x86_64/l10nflist.c: New file.
27944
89edf2e9
UD
27945 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27946 classification.
27947
14d96785
AS
279482011-08-10 Andreas Schwab <schwab@redhat.com>
27949
27950 * include/dirent.h: Add libc_hidden_proto for scandirat and
27951 scandirat64. Don't declare __scandirat64.
27952 * dirent/scandirat.c: Add libc_hidden_def.
27953 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27954 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27955
6761ac04
DM
279562011-08-10 David S. Miller <davem@davemloft.net>
27957
27958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27959 enum.
27960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27961 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27962 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27963
c55fbd1e
UD
279642011-08-09 Ulrich Drepper <drepper@gmail.com>
27965
27966 * Versions.def [libc]: Add GLIBC_2.15.
27967 * dirent/Makefile (routines): Add scandirat and scandirat64.
27968 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27969 GLIBC_2.15.
27970 * dirent/dirent.h: Declare scandirat and scandirat64.
27971 * dirent/scandirat.c: New file.
27972 * dirent/scandirat64.c: New file.
27973 * sysdeps/wordsize-64/scandirat.c: New file.
27974 * sysdeps/wordsize-64/scandirat64.c: New file.
27975 * dirent/opendir.c: Define opendirat.
27976 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27977 using scandirat.
27978 * dirent/scandir64.c: Adjust for scandir.c change.
27979 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27980 __scandirat64, and __scandir_cancel_handler.
27981 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27982 additional parameter and use openat instead of open (outside of ld.so).
27983 Add new __opendir as wrapper around __opendirat.
27984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27985 here without requiring old scandirat implementation.
27986
879165f2
UD
279872011-08-08 Ulrich Drepper <drepper@gmail.com>
27988
27989 * dirent/scandir.c (cancel_handler): Renamed to
27990 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27991 defined. Adjust users.
27992 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27993 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27994
cb7e923b
UD
279952011-08-04 Ulrich Drepper <drepper@gmail.com>
27996
16292edd
UD
27997 * string/test-string.h (IMPL): Use __STRING to expand name and then
27998 stringify it.
27999
cb7e923b
UD
28000 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28001 of cleanups.
28002
cff82933
LD
280032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28004
28005 * string/Makefile: Update.
28006 (strop-tests): Append strncat.
28007 * string/test-wcscmp.c: New file.
28008 New comprehensive test for wcscmp.
28009 * string/test-strcmp.c: Update.
28010 (WIDE): New define.
28011
9be9bfcc
AS
280122011-07-22 Andreas Schwab <schwab@redhat.com>
28013
28014 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28015 line.
28016
2e96f1c7
AS
280172011-07-26 Andreas Schwab <schwab@redhat.com>
28018
28019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28020 encoding to ACE if AI_IDN.
28021
85188888
JJ
280222011-08-01 Jakub Jelinek <jakub@redhat.com>
28023
28024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28025 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28026
5fa16e9b
LD
280272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28028
28029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28030 Fix overflow bug in strncat.
28031 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28032
28033 * string/test-strncat.c: Update.
28034 Add new tests for checking overflow bugs.
28035
280362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28037
28038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28039 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28040 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28041 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28042 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28043 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28044 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28045 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28046 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28047
28048 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28049 (USE_AS_STRCAT): Define.
28050 Add strcat and strncat support.
28051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28052
8c1a459f
AS
280532011-07-25 Andreas Schwab <schwab@redhat.com>
28054
28055 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28056 __n bigger than INT_MAX+1.
28057 (__strncmp_g): Likewise.
28058
bba33c28
UD
280592011-07-23 Ulrich Drepper <drepper@gmail.com>
28060
798be72d
UD
28061 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28062 * libio/stido.h: Likewise.
28063
8accd4dc
UD
28064 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28065 (AF_NFC): Define.
28066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28067 (AF_NFC): Define.
28068
cbff0d96
UD
28069 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28070 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28072 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28074
9191c04a
UD
28075 [BZ #13021]
28076 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28077 installed.
28078
bba33c28
UD
28079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28080 typo.
28081 (_dl_x86_64_save_sse): Likewise.
28082
90f139dd
UD
280832011-07-22 Ulrich Drepper <drepper@gmail.com>
28084
1aae088a
UD
28085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28086 OSXSAVE.
28087 (_dl_x86_64_save_sse): Likewise.
28088
8e2045f5
UD
28089 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28090
90f139dd
UD
28091 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28092
1d002f25
AS
280932011-07-21 Andreas Schwab <schwab@redhat.com>
28094
28095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28096 change.
28097 (_dl_x86_64_save_sse): Use correct AVX check.
28098
21137f89
UD
280992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28100
28101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28102 bug in strncpy/strncat.
28103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28104
a65c0b7a
UD
281052011-07-21 Ulrich Drepper <drepper@gmail.com>
28106
28107 * string/tester.c (test_strcat): Add tests for different alignments
28108 of source and destination.
28109 (test_strncat): Likewise.
28110
6986b98a
UD
281112011-07-20 Ulrich Drepper <drepper@gmail.com>
28112
90bb2039
UD
28113 [BZ #12852]
28114 * posix/glob.c (glob): Check passed in values before using them in
28115 expressions to avoid some overflows.
28116 (glob_in_dir): Likewise.
28117
5644ef54
UD
28118 [BZ #13007]
28119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28120 check for AVX enablement so that we don't crash with old kernels and
28121 new hardware.
28122 * elf/tst-audit4.c: Add same checks here.
28123 * elf/tst-audit6.c: Likewise.
28124
28125 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28126
bfc9dc9b
AS
281272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28128
28129 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28130
702e64bb
UD
281312011-07-20 Ulrich Drepper <drepper@gmail.com>
28132
28133 * po/cs.po: Update from translation team.
28134 * po/bg.po: Likewise.
28135
295e904f
MP
281362011-07-12 Marek Polacek <mpolacek@redhat.com>
28137
28138 * misc/sys/cdefs.h: Add support for const attribute.
28139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28140 to gnu_dev_{major,minor,makedev} functions.
28141
3ff94596
MP
281422011-07-20 Marek Polacek <mpolacek@redhat.com>
28143
28144 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28145
28b59fca
AS
281462011-07-20 Andreas Schwab <schwab@redhat.com>
28147
28148 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28149 strlen results.
28150
19df733e
AK
281512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28152
28153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28154 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28155 register in order to avoid conflicts with the soft frame pointer
28156 being held in r11 when necessary.
28157 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28158 (INTERNAL_VSYSCALL_NCS): Likewise.
28159
c8835729
MP
281602011-07-14 Marek Polacek <mpolacek@redhat.com>
28161
28162 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28163 * elf/dl-fini.c (_dl_fini): Adjust caller.
28164 * elf/dl-close.c (_dl_close_worker): Likewise.
28165 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28166
b902330c
MP
281672011-07-15 Marek Polacek <mpolacek@redhat.com>
28168
8991e135
MP
28169 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28170 "aux_cache->nlibs < 0".
28171
b902330c
MP
28172 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28173 in the reload-count case.
28174
99710781
LD
281752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28176
28177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28178 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28179 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28180 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28181 * sysdeps/x86_64/multiarch/strcat.S: New file.
28182 * sysdeps/x86_64/multiarch/strncat.S: New file.
28183 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28184 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28185 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28186 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28187 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28188 (USE_AS_STRCAT): Define.
28189 Add strcat and strncat support.
28190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28193 * string/strncat.c: Update.
28194 (USE_AS_STRNCAT): Define.
28195 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28196 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28197 and i7.
28198 * sysdeps/x86_64/multiarch/init-arch.h
28199 (bit_Prefer_PMINUB_for_stringop): New.
28200 (index_Prefer_PMINUB_for_stringop): Likewise.
28201 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28202 bit_Prefer_PMINUB_for_stringop.
28203
7dc6bd90
UD
282042011-07-19 Ulrich Drepper <drepper@gmail.com>
28205
28206 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28207 buffer64.
28208 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28209 of casting of buffer.
28210 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28211 buffer32 and buffer64.
28212 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28213 writes instead of casting of buffer.
28214 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28215 buffer32.
28216 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28217 casting of buffer.
28218
e0e72284
AS
282192011-07-19 Andreas Schwab <schwab@redhat.com>
28220
28221 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28222
feb1eb0b
UD
282232011-07-19 Ulrich Drepper <drepper@gmail.com>
28224
28225 * nscd/nscd.c (termination_handler): Don't do anything for a database
28226 if it has not yet been initialized.
28227
298711ff
UD
282282011-07-18 Ulrich Drepper <drepper@gmail.com>
28229
28230 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28231
282322011-07-15 Marek Polacek <mpolacek@redhat.com>
28233
28234 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28235
f9d68389
UD
282362011-07-18 Ulrich Drepper <drepper@gmail.com>
28237
28238 * po/nl.po: Update from translation team.
28239 * po/sv.po: Likewise.
28240
db290cf5
RM
282412011-07-16 Roland McGrath <roland@hack.frob.com>
28242
28243 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28244 now disallowed by GCC.
5c550700 28245
fd5e21c7
RM
28246 * configure.in (use-default-link): Default to yes if a test -shared
28247 link meets our qualifications.
28248 * configure: Regenerated.
28249
5c550700
RM
28250 * config.make.in (output-format): New variable.
28251 * configure.in: Check for ld --print-output-format support.
28252 * configure: Regenerated.
28253 * Makerules ($(common-objpfx)format.lds)
28254 [$(output-format) != unknown]: Just use $(output-format),
28255 instead of the linker-script munging.
28256
9fa2c032
RM
282572011-07-14 Roland McGrath <roland@hack.frob.com>
28258
a6928d51
RM
28259 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28260 of $(common-objpfx)shlib.lds.
28261 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28262
661607b3
RM
28263 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28264 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28265
9fa2c032
RM
28266 * configure.in (-z relro check): Adjust test code to add a large
28267 writable data section after it.
28268 * configure: Regenerated.
28269
defe9061
RM
282702011-07-11 Roland McGrath <roland@hack.frob.com>
28271
28272 * configure.in (-z relro check): Fix test code to make the variable
28273 truly const.
28274 * configure: Regenerated.
28275
319b9ad4
UD
282762011-07-11 Ulrich Drepper <drepper@gmail.com>
28277
28278 * nscd/nscd.h (struct traced_file): Define.
28279 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28280 elements. Add traced_files.
28281 (inotify_fd): Declare.
28282 (register_traced_file): Declare.
28283 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28284 (inotify_fd): Export.
28285 (resolv_conf_descr): Remove.
28286 (nscd_init): Move inotify descriptor creation to main.
28287 Don't register files for notification here.
28288 (register_traced_file): New function.
28289 (invalidate_cache): Don't use reset_res to determine whether to call
28290 res_init, go through the list of registered files.
28291 (main_loop_poll): The inotify descriptors are now stored in the
28292 structures for the traced files.
28293 (main_loop_epoll): Likewise
28294 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28295 to __nss_disable_nscd.
28296 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28297 for a database anymore. Check the records for all the registered
28298 files instead.
28299 * nss/Makefile (libnss_files-routines): Add files-init.
28300 (libnss_db-routines): Add db-init.
28301 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28302 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28303 * nss/nss_db/db-init.c: New file.
28304 * nss/nss_files/files-init.c: New file.
28305 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28306 __nss_lookup_function.
28307 (__nss_lookup_function): Call nss_load_library.
28308 (nss_load_all_libraries): New function.
28309 (__nss_disable_nscd): Take parameter with callback function for files
28310 to register. Set is_nscd. Load all the DSOs for the NSS modules
28311 used for the cached services.
28312 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28314 options for features to all the files in nscd.
28315
28316 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28317
23bee3e8
RM
283182011-07-10 Roland McGrath <roland@hack.frob.com>
28319
28320 * csu/elf-init.c (__libc_csu_init): Comment typo.
28321
46a5b7f0
UD
283222011-07-09 Ulrich Drepper <drepper@gmail.com>
28323
28324 * po/pl.po: Update from translation team.
28325 * po/ja.po: Likewise.
28326 * po/ru.po: Likewise.
28327 * po/ko.po: Likewise.
28328 * po/fr.po: Likewise.
28329
d30cf5bb
RM
283302011-07-09 Roland McGrath <roland@hack.frob.com>
28331
113ddea4
RM
28332 * configure.in (.ctors/.dtors header and trailer check):
28333 Use an empirical test on a built program.
28334 * configure: Regenerated.
28335
574920b4
RM
28336 * configure.in (-z relro check): Use an empirical test on a built DSO.
28337 Detect, but do not require, on ia64.
28338 * configure: Regenerated.
28339
d30cf5bb
RM
28340 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28341 Update tests that use readelf to use $READELF instead.
28342 * configure: Regenerated.
28343
8538fdb3
UD
283442011-07-08 Ulrich Drepper <drepper@gmail.com>
28345
28346 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28347 if the result is not used.
28348
04d08991
AJ
283492011-07-05 Andreas Jaeger <aj@suse.de>
28350
28351 [BZ#9696]
28352 * stdlib/tst-strtod.c: Add testcase.
28353
de283087
AD
283542011-07-07 Ulrich Drepper <drepper@gmail.com>
28355
4e5f31c8 28356 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28357 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28358 The latter has a higher limit. Take additional parameter to pass to
28359 the new function.
28360 (__pathconf): Pass file to __statfs_link_max.
28361 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28362 __statfs_link_max.
28363 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28364 __statfs_link_max.
28365
de283087
AD
28366 [BZ #12868]
28367 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28369 Handle Lustre.
28370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28371 (__statfs_filesize_max): Likewise.
28372 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28373
c75fa153
AJ
283742011-07-05 Andreas Jaeger <aj@suse.de>
28375
28376 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28377
1a544854
UD
283782011-07-06 Marek Polacek <mpolacek@redhat.com>
28379
28380 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28381 `status' variable.
28382 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28383 Likewise.
28384
6f0eec67
UD
283852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28386
28387 * Makefile (strop-tests): Add strncat.
28388 * string/test-strncat.c: New file.
28389
aae30307
UD
283902011-06-30 Marek Polacek <mpolacek@redhat.com>
28391
28392 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28393
c0cfb5eb
UD
283942011-06-21 Andreas Jaeger <aj@suse.de>
28395
28396 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28397 Copy rule from iconvdata/Makefile.
28398
01636b21
UD
283992011-07-06 Ulrich Drepper <drepper@gmail.com>
28400
28401 [BZ #12922]
28402 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28403 but no long options are defined, just return 'W'.
28404
9895c8bc
UD
284052011-06-22 Marek Polacek <mpolacek@redhat.com>
28406
28407 [BZ #9696]
28408 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28409
5d4cf042
UD
284102011-07-06 Ulrich Drepper <drepper@gmail.com>
28411
28412 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28413 netgroups to read.
960e5535 28414 (innetgr): Likewise.
5d4cf042 28415
751eb97e
RM
284162011-07-05 Roland McGrath <roland@hack.frob.com>
28417
28418 * config.make.in (install_root): Default to $(DESTDIR).
28419
f15f1e45
UD
284202011-07-05 Ulrich Drepper <drepper@gmail.com>
28421
28422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28423
4e34ac6a
RM
284242011-07-02 Roland McGrath <roland@hack.frob.com>
28425
5e9b6af4
RM
28426 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28427
84f9ea0f
RM
28428 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28429 containing directory rather than embedding absolute directory names.
28430
ea5ee9f7
RM
28431 * scripts/check-local-headers.sh: Rewritten using awk.
28432 Match by word, not by line. Print error messages for matches.
28433 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28434
1b74661a
RM
28435 * Makerules [shlib-lds-flags empty]:
28436 ($(common-objpfx)libc_pic.opts): New target.
28437 ($(common-objpfx)libc_pic.os.clean): New target.
28438 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28439
28440 * config.make.in (OBJCOPY): New variable.
28441 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28442 * configure: Regenerated.
28443
f781ef40
RM
28444 * config.make.in (use-default-link): New variable.
28445 * configure.in (use_default_link): Grok --with-default-link to set it.
28446 * configure: Regenerated.
28447 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28448 (shlib-lds, shlib-lds-flags): Define to empty.
28449
2d4fa81e
RM
28450 * Makerules (shlib-lds): New variable.
28451 (shlib-lds-flags): New variable.
28452 (build-shlib, build-moduile, build-module-asneeded): Use it.
28453 ($(common-objpfx)libc.so): Use $(shlib-lds).
28454 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28456
31fffa6b
RM
28457 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28458 DT_FLAGS/DT_FLAGS_1 with zero flags.
28459
4e34ac6a
RM
28460 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28461 linker script munging.
28462
fcfc776b
UD
284632011-07-02 Ulrich Drepper <drepper@gmail.com>
28464
28465 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28466 as 128-bit value.
28467 * crypt/sha512.c (sha512_process_block): Perform total addition using
28468 128-bit if possible.
28469 (__sha512_finish_ctx): Likewise.
28470 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28471 as 64-bit value.
28472 * crypt/sha256.c (SWAP64): Define.
28473 (sha256_process_block): Perform total addition using 64-bit if
28474 possible.
28475 (__sha256_finish_ctx): Likewise.
28476
99231d9a
UD
284772011-07-01 Ulrich Drepper <drepper@gmail.com>
28478
28479 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28481 * nscd/hstcache.c (cache_addhst): Likewise.
28482 * nscd/grpcache.c (cache_addgr): Likewise.
28483 * nscd/aicache.c (addhstaiX): Likewise
28484 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28485
445b4a53
TK
284862011-07-01 Thorsten Kukuk <kukuk@suse.de>
28487
28488 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28490 * nscd/hstcache.c (cache_addhst): Likewise.
28491 * nscd/grpcache.c (cache_addgr): Likewise.
28492 * nscd/aicache.c (addhstaiX): Likewise
28493
6d4d8e8e
AS
284942011-07-01 Andreas Schwab <schwab@redhat.com>
28495
28496 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28497 domain only when needed.
28498
89f654c5
AS
284992011-06-30 Andreas Schwab <schwab@redhat.com>
28500
28501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28502 is always restored.
28503
cf3b23ff
UD
285042011-06-29 Ulrich Drepper <drepper@gmail.com>
28505
28506 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28507 are re-adding the entry.
28508 * nscd/servicescache.c (cache_addserv): Likewise.
28509
751626f9
AJ
285102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28511
28512 * sysdeps/generic/dl-irel.h: fix protection against multiple
28513 inclusions.
28514 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28515
9113ea1f
UD
285162011-06-28 Ulrich Drepper <drepper@gmail.com>
28517
5c0b8d90
UD
28518 [BZ #12935]
28519 * malloc/memusage.sh: Fix quoting in message.
28520 * debug/xtrace.sh: Likewise.
28521
9113ea1f
UD
28522 * configure.in: Remove support for --experimental-malloc option, make
28523 it the default.
28524 * config.make.in: Likewise.
28525 * malloc/Makefile: Likewise.
28526
a4172181
AS
285272011-06-27 Andreas Schwab <schwab@redhat.com>
28528
28529 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28530 two-byte characters.
28531
78a7eee7
RM
285322011-06-27 Roland McGrath <roland@hack.frob.com>
28533
62bede13
RM
28534 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28535 AC_CACHE_CHECK invocation.
28536 * configure: Regenerated.
28537
78a7eee7
RM
28538 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28539
5ce33a62
UD
285402011-06-27 Ulrich Drepper <drepper@gmail.com>
28541
034807a9
UD
28542 [BZ #12350]
28543 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28544 bit from old_res_options.
28545
4902da17
UD
28546 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28547
5ce33a62
UD
28548 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28549 value type for setfct.
28550
c2344f56
L
285512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28552
28553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28554 __gettimeofday instead of gettimeofday.
28555
68468076
UD
285562011-06-26 Ulrich Drepper <drepper@gmail.com>
28557
28558 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28559
acb0d739
L
285602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28561
28562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28563
28564 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28565 info.
28566
8912479f
L
285672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28568
28569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28570 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28571 strcpy-sse2-unaligned strncpy-sse2-unaligned
28572 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28573 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28574 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28575 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28576 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28579 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28580 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28581 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28582 (STRCPY): Support SSE2 and SSSE3 versions.
28583
d5495a11
UD
285842011-06-24 Ulrich Drepper <drepper@gmail.com>
28585
28586 [BZ #12874]
28587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28588 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28589 kernels which artificially limit size of requests.
28590
0b1cbaae
L
285912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28594 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28595 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28596 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28597 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28598 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28599 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28600 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28601 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28602 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28603 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28604 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28605 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28606 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28607 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28609 Enable unaligned load optimization for Intel Core i3, i5 and i7
28610 processors.
28611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28612 Define.
28613 (index_Fast_Unaligned_Load): Define.
28614 (HAS_FAST_UNALIGNED_LOAD): Define.
28615
07f494a0
MP
286162011-06-23 Marek Polacek <mpolacek@redhat.com>
28617
28618 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28619
fa3fc0fe
UD
286202011-06-22 Ulrich Drepper <drepper@gmail.com>
28621
28622 [BZ #12907]
28623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28624 until it is clear that the information is realy needed.
28625 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28626
e12df166
AS
286272011-06-22 Andreas Schwab <schwab@redhat.com>
28628
28629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28630
852eb34d
UD
286312011-06-22 Ulrich Drepper <drepper@gmail.com>
28632
84e2a551
UD
28633 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28634 /sys/devices/system/cpu/online if it is usable.
28635
852eb34d
UD
28636 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28637 reading the information from the /proc filesystem to once a second.
28638
6e502e19
UD
286392011-06-21 Andreas Jaeger <aj@suse.de>
28640
28641 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28642 NULL after inclusion of kernel headers.
28643
75d39ff2
UD
286442011-06-21 Ulrich Drepper <drepper@gmail.com>
28645
51f9aa6a
UD
28646 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28647 calls to internal_setent.
28648
c0244a9d
UD
28649 [BZ #12885]
28650 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28651 addresses using gethostbyname4_r ignore IPv4 addresses.
28652
c5e3c2ae
UD
28653 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28654 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28655
75d39ff2
UD
28656 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28657
42675c6f
DM
286582011-06-20 David S. Miller <davem@davemloft.net>
28659
28660 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28661 inclusions.
28662 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28663
28664 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28665 (elf_irel): Use it.
28666 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28667 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28668 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28669 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28670 * sysdeps/x86_64/dl-irel.h: Likewise.
28671
28672 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28673 * elf/dl-sym.c: Likewise.
28674
57912a71
UD
286752011-06-15 Ulrich Drepper <drepper@gmail.com>
28676
28677 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28678 need to dereference resplen2.
28679
ee22793d
AS
286802011-06-14 Andreas Schwab <schwab@redhat.com>
28681
28682 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28683
a9e836b0
UD
286842011-06-15 Ulrich Drepper <drepper@gmail.com>
28685
77fb9117
UD
28686 * Makeconfig: Define vardbdir and inst_vardbdir.
28687 * nss/Makefile: Add rules to install db-Makefile.
28688
40c1b22c
UD
28689 * nss/nss_db/db-XXX.c: Cleanup.
28690
9f2da732
UD
28691 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28692 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28693 GLIBC_PRIVATE.
28694 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28695 * nss/makedb.c: Implement -g option to specify that value strings
28696 are generated and should not be added to table iterated over for
28697 get*ent calls.
28698 * nss/nss_db/db-initgroups.c: New file.
28699
82e9a1f7
UD
28700 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28701 interface.
28702
c41af17e
UD
28703 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28704 (internal_getgrouplist): Adjust to name change.
28705 Update use_initgroups_entry if this is not the first call.
28706 * nss/databases.def: Add initgroups entry.
28707
a9e836b0
UD
28708 * nss/makedb.c (compute_tables): Check result of multiple hash table
28709 sizes to minimize maximum chain length.
28710
2666d441
UD
287112011-06-14 Ulrich Drepper <drepper@gmail.com>
28712
28713 * Versions.def: Add entry for libnss_db.
28714 * shlib-versions: Likewise.
28715 * nss/Makefile: Add rules to build libnss_db.
28716 * nss/Versions: Add libnss_db information. Organize libnss_files
28717 entries better.
28718 * nss/db-Makefile: Add gshadow support. Change rules for the new
28719 makedb progra. Some minor improvements to generate smaller files.
28720 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28721 here from...
28722 * nss/makedb.c: ...here.
28723 Improve database format to be smaller and require less memory at
28724 runtime.
28725 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28726 db anymore.
28727 * nss/nss_db/db-netgrp.c: Likewise.
28728 * nss/nss_db/db-open.c: Likewise.
28729 * nss/nss_files/flies-XXX.x: Adjust comments.
28730 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28731 * nss/nss_files/files-grp.c: Likewise.
28732 * nss/nss_files/files-hosts.c: Likewise.
28733 * nss/nss_files/files-network.c: Likewise.
28734 * nss/nss_files/files-proto.c: Likewise.
28735 * nss/nss_files/files-pwd.c: Likewise.
28736 * nss/nss_files/files-rpc.c: Likewise.
28737 * nss/nss_files/files-service.c: Likewise.
28738 * nss/nss_files/files-sgrp.c: Likewise.
28739 * nss/nss_files/files-spwd.c: Likewise.
28740 * nss/nss_db/db-alias.c: Removed.
28741 * nss/nss_db/dummy-db.h: Removed.
28742
9ee76b5a
UD
287432011-06-02 Ulrich Drepper <drepper@gmail.com>
28744
28745 * nss/makedb.c: Rewritten to not use database library.
28746 * nss/Makefile: Update to build new makedb program.
28747
c71ca1f8
AJ
287482011-06-14 Andreas Jaeger <aj@suse.de>
28749
28750 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28751 memset declaration.
28752
3154bfb8
UD
287532011-06-10 Andreas Schwab <schwab@redhat.com>
28754
28755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28756 tmpbuf.
28757
b350afab
RM
287582011-06-10 Roland McGrath <roland@hack.frob.com>
28759
decd4e50
RM
28760 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28761 * elf/Makefile ($(objpfx)ld.so): Likewise.
28762
5615eaf2
RM
28763 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28764 Don't list ld.so twice in dependencies.
28765
28766 * posix/bug-regex31.c: Include <stdlib.h>.
28767
28768 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28769
28770 * nis/nss_compat/compat-spwd.c
28771 (getspent_next_nss_netgr): Remove unused variable.
28772 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28773
28774 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28775 nonmembers" output to use the right array.
28776
28777 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28778
28779 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28780
28781 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28782 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28783 * catgets/gencat.c (read_input_file): Likewise.
28784 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28785
28786 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28787 variable definition inside #if's controlling its use.
28788
28789 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28790
28791 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28792
28793 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28794
28795 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28796 unreachable code.
28797
28798 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28799
b68e08db
RM
28800 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28801 * configure: Regenerated.
28802
b350afab
RM
28803 * Makerules: Revert last change.
28804 * elf/Makefile: Likewise.
28805
28368601
RM
288062011-06-09 Roland McGrath <roland@hack.frob.com>
28807
28808 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28809 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28810 (reloc-link): Likewise.
28811
11988f8f
UD
288122011-06-09 Ulrich Drepper <drepper@gmail.com>
28813
28814 * elf/Makefile: Add rules to build pldd.
28815 * elf/pldd.c: New file.
28816 * elf/pldd-xx.c: New file.
28817
e80fab37
UD
288182011-06-07 Ulrich Drepper <drepper@gmail.com>
28819
28820 * version.h: Update for 2.15 development version.
28821
9b849836
DM
288222011-06-07 David S. Miller <davem@davemloft.net>
28823
28824 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28825 ifuncs.
28826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28827 elf_machine_lazy_rel): Likewise.
28828 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28829 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28830 elf_machine_lazy_rel): Likewise.
28831 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28832 dl_hwcap via passed in argument.
28833 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28834 Likewise.
28835
5a31b283
AK
288362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28837
28838 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28839
069e52f8
RM
288402011-06-06 Roland McGrath <roland@hack.frob.com>
28841
28842 [BZ #12849]
28843 * manual/fdl-1.1.texi: New file, verbatim from:
28844 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28845 * manual/lgpl-2.1.texi: New file, verbatim from:
28846 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28847 * manual/Makefile (licenses): New variable, list those new file names.
28848 (texis): Use it.
28849 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28850
28851 * manual/fdl.texi: File removed.
28852 * manual/lesser.texi: File removed.
28853 * manual/libc.texinfo (Copying, Documentation License):
28854 Use new @include file names, put @appendix directive before @include.
28855
f16846a5
JJ
288562011-06-04 Jakub Jelinek <jakub@redhat.com>
28857
28858 [BZ #12841]
28859 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28860 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28861 (mq_open): Add __NTH.
28862
3d29045b
L
288632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28864
28865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28866 Assume Intel Core i3/i5/i7 processor if AVX is available.
28867
8c297311
UD
288682011-05-31 Ulrich Drepper <drepper@gmail.com>
28869
28870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28871 typo.
28872
c8fc0c91
UD
288732011-05-31 Andreas Schwab <schwab@redhat.com>
28874
28875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28876 memory. Use alloca_account. Fix memory leak when retrying.
28877
5b27a807
UD
288782011-05-31 Ulrich Drepper <drepper@gmail.com>
28879
356f8bc6
UD
28880 * version.h (RELEASE): Bump for 2.14 release.
28881 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28882
5b27a807
UD
28883 * config.make.in (RANLIB): Remove entry.
28884
01f16ab0
UD
288852011-05-30 Ulrich Drepper <drepper@gmail.com>
28886
41fce8bd
UD
28887 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28888 (libc.pot): Work around missing support for .ksh extension in xgettext.
28889
4769ae77
UD
28890 [BZ #12684]
28891 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28892 if both request failed.
28893 (send_dg): In case of server errors clear resplen or *resplen2.
28894
6b1e7d19
UD
28895 [BZ #12454]
28896 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28897 when there are multiple maps.
28898 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28899 (_dl_fini): Remove test here.
28900
01f16ab0
UD
28901 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28902
b1ebd700
UD
289032011-05-29 Ulrich Drepper <drepper@gmail.com>
28904
7ae22829
UD
28905 [BZ #12350]
28906 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28907 bit from old_res_options.
28908 (gaih_inet): Likewise.
28909
553149f6 28910 [BZ #11099]
18a84741 28911 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28912 as signed.
28913
652ffab1
UD
28914 * resolv/res_init.c (res_setoptions): Make the code more compact.
28915
16985fd0
UD
28916 [BZ #11558]
28917 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28918 set RES_USEVC.
28919
0464f746
UD
28920 [BZ #11634]
28921 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28922
7d17596c
UD
28923 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28924
cf6bbbd7
UD
28925 [BZ #11781]
28926 * malloc/malloc.h: Declare malloc hook variables as volatile.
28927
13f1ab36
UD
28928 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28929 in last patch.
28930
b1ebd700
UD
28931 [BZ #11799]
28932 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28933 raise in the comment.
80e2212d
UD
28934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28935 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28936 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28937
ce67228d
UD
289382011-05-28 Ulrich Drepper <drepper@gmail.com>
28939
8887a920
UD
28940 [BZ #12811]
28941 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28942 grow the buffers more if it already has to be sufficient.
28943 (build_wcs_upper_buffer): Likewise.
28944 * posix/regexec.c (check_matching): Likewise.
28945 (clean_state_log_if_needed): Likewise.
28946 (extend_buffers): Don't enlarge buffers beyond size of the input
28947 buffer.
28948 Patches mostly by Emil Wojak <emil@wojak.eu>.
28949 * posix/bug-regex32.c: New file.
28950 * posix/Makefile (tests): Add bug-regex32.
28951
4f031072
UD
28952 * locale/findlocale.c (_nl_find_locale): Return right away if
28953 _nl_explode_name failed.
28954 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28955
d0478f0c
UD
28956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28957
de81b246
UD
28958 * debug/xtrace.sh: Unify messages.
28959 * malloc/memusage.sh: Likewise.
28960
c738465a
UD
28961 [BZ #12813]
28962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28963 time symbol from vDSO. Substitute with vsyscall if not available.
28964 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28965 __vdso_time.
28966
f1f929d7
UD
28967 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28968 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28969 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28970 Add sendmmsg and internal_sendmmsg.
28971 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28972 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28973 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28974
ce67228d
UD
28975 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28976 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28978
e57420c6
UD
289792011-05-27 Ulrich Drepper <drepper@gmail.com>
28980
a8509ca5
UD
28981 [BZ #12813]
28982 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28983 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28984 available.
28985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28986 __vdso_getcpu.
28987
e57420c6
UD
28988 [BZ #12814]
28989 * iconvdata/Makefile (tests): Add bug-iconv9.
28990 * iconvdata/bug-iconv9.c: New file.
28991
4d07db15
AS
289922011-05-27 Andreas Schwab <schwab@redhat.com>
28993
28994 [BZ #12814]
28995 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28996
ea486f69
JJ
289972011-05-25 Jakub Jelinek <jakub@redhat.com>
28998
28999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29000 (struct user_regs_struct): Change intcs field back to cs.
29001
6f038433
UD
290022011-05-25 Ulrich Drepper <drepper@gmail.com>
29003
29004 * po/ja.po: Update from translation team.
29005
67f86a25
UD
290062011-05-23 Ulrich Drepper <drepper@gmail.com>
29007
29008 [BZ #12795]
29009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29010 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29011
def7fbd6
AS
290122011-05-20 Andreas Schwab <schwab@redhat.com>
29013
29014 * stdlib/longlong.h: Update from GCC.
29015
f50ef8f1
AS
290162011-05-23 Andreas Schwab <schwab@redhat.com>
29017
29018 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29019 parameter name.
29020 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29021 Add parameter name.
29022 (__sysconf): Pass it down.
29023
de7ce8f1
UD
290242011-05-22 Ulrich Drepper <drepper@gmail.com>
29025
f2962a71
UD
29026 [BZ #12671]
29027 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29028 some situations.
29029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29030 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29031 add in in __libc_use_alloca calls. Adjust callers.
29032 (glob): Use malloc in some situations.
29033
de7ce8f1
UD
29034 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29035 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29036 pltexit.
29037
aec84f53
UD
290382011-05-21 Ulrich Drepper <drepper@gmail.com>
29039
05bb4a68
UD
29040 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29041 and CLOCK_BOOTTIME_ALARM.
29042
7ea72f99
UD
29043 [BZ #12782]
29044 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29045 is returned.
29046
7e4afad5
UD
29047 * string/_strerror.c (__strerror_r): Print negative errors as signed
29048 numbers.
29049
8e211fec
UD
29050 [BZ #12777]
29051 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29052 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29053 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29054
f7d82dc9
UD
29055 * configure.in: Fix typo in redirection and correct removal of test
29056 files in two cases.
29057
cc9e536d
UD
29058 [BZ #12788]
29059 * locale/setlocale.c (new_composite_name): Fix test to check for
29060 identical name of all categories.
29061
aec84f53
UD
29062 [BZ #12792]
29063 * libio/filedoalloc.c (local_isatty): New function.
29064 (_IO_file_doallocate): Use local_isatty.
29065 * stdio-common/perror.c (perror): In case a new stream is used
29066 forward the stream error.
29067 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29068 error flag.
29069
78e64fdc
RT
290702011-05-20 Ulrich Drepper <drepper@gmail.com>
29071
34a9094f
UD
29072 [BZ #11869]
29073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29074 alloca.
29075 * include/alloca.h (extend_alloca_account): Define.
29076
78e64fdc
RT
29077 [BZ #11857]
29078 * posix/regex.h: Fix comments with documentation of user-accessible
29079 fields after compilation and describe correct free'ing of pattern
29080 after re_compile_pattern.
29081 Patch by Reuben Thomas <rrt@sc3d.org>.
29082
457bddfc
RA
290832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29084
29085 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29086 and -mno-altivec to prevent the compiler from using Altivec and/or
29087 VSX instructions when the corresponding registers are not available.
29088
a4527b51
AS
290892011-05-19 Andreas Schwab <schwab@redhat.com>
29090
29091 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29092
ed690b2f
UD
290932011-05-19 Ulrich Drepper <drepper@gmail.com>
29094
29095 * libio/freopen.c (freopen): Use __dup2, not dup2.
29096 * libio/freopen64.c (freopen64): Likewise.
29097
8db73634
L
290982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29099
29100 [BZ #12775]
29101 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29102 * math/Makefile (tests): Add test-powl.
29103 (CFLAGS-test-powl.c): Define.
29104 * math/test-powl.c: New file.
29105
0a197a9d
L
291062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29107
29108 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29109
ee30c380
UD
291102011-05-17 Ulrich Drepper <drepper@gmail.com>
29111
29112 [BZ #11837]
29113 * iconvdata/gb18030.c: Update to GB18020-2005.
29114
6ce75379
UD
291152011-05-16 Ulrich Drepper <drepper@gmail.com>
29116
a4b89fd8
AR
29117 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29118 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29119 Patch by Aharon Robbins <arnold@skeeve.com>.
29120
ea389b12
UD
29121 [BZ #11892]
29122 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29123 on the stack.
29124
68a3f91f
UD
29125 [BZ #11895]
29126 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29127 through underflows.
29128
15cc7dd1
UD
29129 [BZ #12766]
29130 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29131 point to strings before performing equality test for error_one_per_line
29132 mode.
29133
f3799213
UD
29134 [BZ #11697]
29135 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29136
d79a9c94
UD
29137 [BZ #11820]
29138 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29139 (struct user_fpregs_struct): Avoid __uint*_t types.
29140
56e5eb46
UD
29141 [BZ #6420]
29142 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29143 symbol info. Use it instead of calling _dl_addr locally.
29144 (lock_and_info): New function.
29145 (tr_freehook): Call lock_and_info and pass symbol info as additional
29146 parameter to tr_where.
29147 (tr_mallochook): Likewise.
29148 (tr_reallochook): Likewise.
29149 (tr_memalignhook): Likewise.
29150
6ce75379
UD
29151 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29152 used and couldn't be at all thread-safe.
29153
f8a3b5bf
UD
291542011-05-15 Ulrich Drepper <drepper@gmail.com>
29155
94b7cc37
UD
29156 * libio/freopen.c (freopen): Don't close old file descriptor
29157 before the new one is opened. Instead dup the new file descriptor
29158 to the old one after the new stream is created.
29159 * libio/freopen64.c (freopen64): Likewise.
29160 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29161 * libio/fileops.c (_IO_new_file_close_it): Handle new
29162 _IO_FLAGS2_NOCLOSE flag.
29163 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29164 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29165 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29166 _IO_FLAGS2_NOCLOSE flag.
29167 * include/unistd.h: Add hidden_proto for dup3.
29168 Define __have_dup3.
29169 * io/dup3.c: Define hidden symbol.
29170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29171
bd25564e
UD
29172 [BZ #7101]
29173 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29174 when an incomplete long option is used.
29175 * posix/tst-getopt_long1.c: New file.
29176 * posix/Makefile (tests): Add tst-getopt_long1.
29177
c84cfef4
UD
29178 [BZ #10138]
29179 * scripts/config.guess: Update from autoconf-2.68.
29180 * scripts/config.sub: Likewise.
29181
3b85df27
UD
29182 [BZ #10157]
29183 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29184 tests into ...
29185 (has_cpuclock): ...this. New function.
29186 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29187 macro here based on has_cpuclock code.
29188
15a856b1
UD
29189 [BZ #10149]
29190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29191 First byte (not low byte) is now always NUL.
29192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29193
05f399e6
UD
29194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29195 Use non-cancelable interfaces.
29196
10a52685 29197 [BZ #9809]
94ecc67d
UD
29198 * locale/iso-639.def: Add entry for Sorani.
29199
f8a3b5bf
UD
29200 [BZ #11901]
29201 * include/stdlib.h: Move include protection to the right place.
29202 Define abort_msg_s. Declare __abort_msg with it.
29203 * stdlib/abort.c (__abort_msg): Adjust type.
29204 * assert/assert.c (__assert_fail_base): New function. Majority
29205 of code from __assert_fail. Allocate memory for __abort_msg with
29206 mmap.
29207 (__assert_fail): Now call __assert_fail_base.
29208 * assert/assert-perr.c: Remove bulk of implementation. Use
29209 __assert_fail_base.
29210 * include/assert.hL Declare __assert_fail_base.
29211 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29212 mmap.
29213 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29214
1af4e298
UD
292152011-05-14 Ulrich Drepper <drepper@gmail.com>
29216
f8a3b5bf 29217 [BZ #11952]
d26dfc60
MG
29218 [BZ #12453]
29219 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29220 until all modules are registered in the DTV.
29221 * elf/Makefile: Add rules to build and run tst-tls19.
29222 * elf/tst-tls19.c: New file.
29223 * elf/tst-tls19mod1.c: New file.
29224 * elf/tst-tls19mod2.c: New file.
29225 * elf/tst-tls19mod3.c: New file.
29226 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29227
2fc54d6f
UD
29228 [BZ #12083]
29229 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29230 correctly.
29231
98d76b46
UD
29232 [BZ #12601]
29233 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29234 two-byte sequence errors.
29235 * iconvdata/Makefile (tests): Add bug-iconv8.
29236 * iconvdata/bug-iconv8.c: New file.
29237
da3c19ef
UD
29238 [BZ #12626]
29239 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29240 buf2 definition.
29241
ca408c15
UD
29242 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29243
d6f67f7d
UD
29244 [BZ #12432]
29245 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29246 (dummy_getcfa): New function.
29247 (init): Get _Unwind_GetCFA address, use dummy if not found.
29248 (backtrace_helper): In recursion check, also check whether CFA changes.
29249 (__backtrace): Completely initialize arg.
29250
1af4e298 29251 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29252 storing incomplete byte sequence in state object. Avoid testing for
29253 guaranteed too small input if we know there is enough data available.
1af4e298 29254
da62f81b
AS
292552011-05-11 Andreas Schwab <schwab@redhat.com>
29256
29257 * Makeconfig (+link-pie): Indent.
29258 * Rules (binaries-pie): Define if $(have-fpie) and
29259 $(build-shared).
29260 (binaries-shared): Also filter out $(binaries-pie).
29261 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29262 * nscd/Makefile (others-pie): Add nscd.
29263 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29264 ($(objpfx)nscd): Remove command override.
29265 * login/Makefile (others-pie): Add pt_chown.
29266 ($(objpfx)pt_chown): Remove command override.
29267 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29268 remove command overrides.
29269
fcabc0f8
UD
292702011-05-13 Ulrich Drepper <drepper@gmail.com>
29271
20030ae6
UD
29272 * libio/tst_putwc.c: Fix error messages.
29273
fcabc0f8
UD
29274 [BZ #12724]
29275 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29276 currently writing and seek to current position when not.
29277 * libio/Makefile (tests): Add bug-fclose1.
29278 * libio/bug-fclose1.c: New file.
29279
320a5dc0
PB
292802011-05-12 Ulrich Drepper <drepper@gmail.com>
29281
29282 [BZ #12511]
29283 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29284 don't set DF_1_NODELETE here.
29285 (do_lookup_x): When entering new entry test for copy relocation
29286 and if necessary set DF_1_NODELETE flag.
29287 * elf/tst-unique4.cc: New file.
29288 * elf/tst-unique4.h: New file.
29289 * elf/tst-unique4lib.cc: New file.
29290 * elf/Makefile: Add rules to build and run tst-unique4.
29291 Patch by Piotr Bury <pbury@goahead.com>.
29292
22836f52
UD
292932011-05-11 Ulrich Drepper <drepper@gmail.com>
29294
f574184a
UD
29295 [BZ #12052]
29296 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29297
e1fb097f
UD
29298 [BZ #12625]
29299 * misc/mntent_r.c (addmntent): Flush the stream after the output
29300
22836f52
UD
29301 [BZ #12393]
29302 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29303 (is_trusted_path_normalize): Skip initial colon. Append slash
29304 to empty buffer. Duplicate is_trusted_path code but allow
29305 constructed patch to be prefix.
29306 (is_dst): Allow $ORIGIN followed by /.
29307 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29308 Correct testing of result of is_trusted_path_normalize
29309 (decompose_rpath): Fix warning.
29310
7b3b0b2a
UD
293112011-05-10 Ulrich Drepper <drepper@gmail.com>
29312
29313 [BZ #11257]
29314 * grp/initgroups.c (internal_getgrouplist): When we found the service
29315 list through the initgroups entry in nsswitch.conf do not always
29316 continue on a successful lookup. Don't always use the
eac80ce2 29317 __nss_group_database value if it is set.
7b3b0b2a
UD
29318 * nss/nsswitch.conf (initgroups): Change action for successful db
29319 lookup to continue for compatibility.
29320
2a81eaa5
UD
293212011-05-09 Ulrich Drepper <drepper@gmail.com>
29322
be97a69e
UD
29323 [BZ #11532]
29324 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29325 and CP774 modules.
29326 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29327 and CP774 modules.
29328 * iconvdata/tst-tables.sh: Likewise.
29329 * iconvdata/cp770.c: New file.
29330 * iconvdata/cp771.c: New file.
29331 * iconvdata/cp772.c: New file.
29332 * iconvdata/cp773.c: New file.
29333 * iconvdata/cp774.c: New file.
29334 * iconvdata/testdata/CP770: New file.
29335 * iconvdata/testdata/CP770..UTF8: New file.
29336 * iconvdata/testdata/CP771: New file.
29337 * iconvdata/testdata/CP771..UTF8: New file.
29338 * iconvdata/testdata/CP772: New file.
29339 * iconvdata/testdata/CP772..UTF8: New file.
29340 * iconvdata/testdata/CP773: New file.
29341 * iconvdata/testdata/CP773..UTF8: New file.
29342 * iconvdata/testdata/CP774: New file.
29343 * iconvdata/testdata/CP774..UTF8: New file.
29344
29345 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29346 END CHARMAP line.
29347 * iconvdata/gen-8bit-gap.sh: Likewise.
29348 * iconvdata/gen-8bit.sh: Likewise.
29349
c1e9e399
UD
29350 * locale/iso-639.def: Add ary entry.
29351
24c55fb3 29352 [BZ #11258]
96b4b1b0
UD
29353 * locale/C-translit.h.in: Add U20A1 transliteration.
29354
bdc2f971
KB
29355 [BZ #12178]
29356 * locale/iso-639.def: Add wae entry.
29357 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29358
2952b117
UD
29359 [BZ #12545]
29360 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29361 for n.
29362
2a81eaa5
UD
29363 [BZ #12711]
29364 * locale/C-translit.h.in: Add entry for U20B9.
29365 Patch by pravin.d.s@gmail.com.
29366
28377d1b
UD
293672011-05-08 Ulrich Drepper <drepper@gmail.com>
29368
7fb90fb8
UD
29369 [BZ #12713]
29370 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29371 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29372 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29373 in rtld. Use *stat64.
7fb90fb8 29374 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29375 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29376 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29377 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29378 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29379 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29380 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29381 __fstatat64 macros.
7fb90fb8
UD
29382 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29383 * dirent/rewinddir.c: Add libc_hidden_def.
29384 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29385 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29386
28377d1b
UD
29387 * include/dirent.h (__alloc_dir): Add flags parameter.
29388 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29389 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29390 __alloc_dir.
29391 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29392 from fdopendir if O_CLOEXEC is already set.
29393
66bdbaa4
AM
293942011-03-15 Alan Modra <amodra@gmail.com>
29395
29396 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29397 l_tls_firstbyte_offset non-zero. Save padding offset in
29398 l_tls_firstbyte_offset for later use.
29399 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29400 freeing static tls block.
29401
95721191
JN
294022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29403
29404 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29405 where #ifdef was intended. The intent is to prevent ARG_MAX from
29406 being defined by the kernel headers.
29407
f87dfb1f
UD
294082011-05-07 Ulrich Drepper <drepper@gmail.com>
29409
29410 [BZ #12734]
29411 * resolv/resolv.h: Define RES_NOTLDQUERY.
29412 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29413 no-tld-query and set RES_NOTLDQUERY.
29414 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29415 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29416 modern BIND to search name as TLD unless forbidden.
29417
47c3cd7a
UD
294182011-05-07 Petr Baudis <pasky@suse.cz>
29419 Ulrich Drepper <drepper@gmail.com>
29420
29421 [BZ #12393]
29422 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29423 (is_trusted_path): ...to here.
c1e9ea35 29424 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29425 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29426 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29427
8a35c912
PP
294282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29429
29430 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29431 __BEGIN/__END_DECLS.
29432
acd41f47
UD
294332011-05-06 Ulrich Drepper <drepper@gmail.com>
29434
29435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29436 NSS_STATUS_NOTFOUND if no record was found.
29437
597df647
AS
294382011-05-05 Andreas Schwab <schwab@redhat.com>
29439
29440 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29441 (headers-not-in-tirpc): Remove rpc/netdb.h
29442 * resolv/netdb.h: Revert last change.
29443
b9af1301
PP
294442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29445
29446 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29447 circular dependency between libgcc.a and libc.a.
29448
4e34d5f5
AS
294492011-05-05 Andreas Schwab <schwab@redhat.com>
29450
29451 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29452 * nis/Makefile: Don't install rpcsvc/*.
29453 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29454 instead of <rpc/types.h>.
29455 (MAXHOSTNAMELEN): Define.
29456
00ee369c
AS
294572011-05-03 Andreas Schwab <schwab@redhat.com>
29458
29459 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29460
0b592a30
MB
294612011-04-28 Maciej Babinski <mbabinski@google.com>
29462
29463 [BZ #12714]
29464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29465 gethostbyname4_r when IPv6 results are possible.
29466
6e04cbbe
UD
294672011-05-02 Ulrich Drepper <drepper@gmail.com>
29468
29469 [BZ #12723]
29470 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29471 _PC_PIPE_BUF handling.
29472
e4ecafe0
BH
294732011-04-30 Bruno Haible <bruno@clisp.org>
29474
29475 [BZ #12717]
29476 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29477 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29478 to 'int'.
29479 * inet/getnameinfo.c (getnameinfo): Likewise.
29480
125ee683
UD
294812011-04-29 Ulrich Drepper <drepper@gmail.com>
29482
29483 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29484 to groups setting in database lookup.
29485 * nss/nsswitch.conf: Add initgroups entry.
29486
b722481a
EB
294872011-04-22 Ulrich Drepper <drepper@gmail.com>
29488
29489 [BZ #12685]
29490 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29491 mode string.
29492 Patch by Eric Blake <eblake@redhat.com>.
29493
4df46dbd
L
294942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29495
29496 * sunrpc/Makefile (need-export-routines): Add svc_run.
29497 (routines): Remove svc_run.
29498 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29499 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29500 * sunrpc/svc_run.c (svc_run): Likewise.
29501 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29502
e84142d2
UD
295032011-04-21 Ulrich Drepper <drepper@gmail.com>
29504
29505 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29506 problem in reallocation in last patch.
29507
877175d8
UD
295082011-04-20 Ulrich Drepper <drepper@gmail.com>
29509
29510 * sunrpc/Makefile: Move inclusion of Rules.
29511
ab8eed78
UD
295122011-04-19 Ulrich Drepper <drepper@gmail.com>
29513
29514 * nss/nss_files/files-initgroups.c: New file.
29515 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29516 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29517 _nss_files_initgroups_dyn.
29518
e3d8f584
RS
295192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29520
29521 * elf/elf.h (R_ARM_IRELATIVE): Define.
29522
af190f45
UD
295232011-04-19 Ulrich Drepper <drepper@gmail.com>
29524
29525 * po/ru.po: Update from translation team.
29526
53cf59ef
UD
295272011-04-17 Ulrich Drepper <drepper@gmail.com>
29528
29529 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29530 dependencies.
29531
4c559bcd
MF
295322011-02-06 Mike Frysinger <vapier@gentoo.org>
29533
29534 [BZ #12653]
29535 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29536 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29537 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29538 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29540
4420675c
AS
295412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29542
29543 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29544 differing bytes.
29545 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29548
75ea32ab
UD
295492011-04-17 Ulrich Drepper <drepper@gmail.com>
29550
29551 [BZ #12420]
29552 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29553 storing it.
29554 * stdlib/bug-getcontext.c: New file.
29555 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29556
27390476
AK
295572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29558
29559 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29560 instructions into .machine "z9-109".
29561 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29562 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29563
10442705
AK
295642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29565
29566 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29567 between environment variables and auxiliary vector.
29568
7b57bfe5
UD
295692011-04-16 Ulrich Drepper <drepper@gmail.com>
29570
29571 * Makefile: Add rules to build linkobj/libc.so.
29572 * include/libc-symbols.h: Define libc_hidden_nolink.
29573 * include/rpc/auth.h: Mark functions which are to be hidden.
29574 * include/rpc/auth_des.h: Likewise.
29575 * include/rpc/auth_unix.h: Likewise.
29576 * include/rpc/clnt.h: Likewise.
29577 * include/rpc/des_crypt.h: Likewise.
29578 * include/rpc/key_prot.h: Likewise.
29579 * include/rpc/pmap_clnt.h: Likewise.
29580 * include/rpc/pmap_prot.h: Likewise.
29581 * include/rpc/pmap_rmt.h: Likewise.
29582 * include/rpc/rpc_msg.h: Likewise.
29583 * include/rpc/svc.h: Likewise.
29584 * include/rpc/svc_auth.h: Likewise.
29585 * include/rpc/xdr.h: Likewise.
29586 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29587 * nss/Makefile: Likewise.
29588 * sunrpc/Makefile: Don't install headers. Build library with normal
29589 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29590 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29591 for the compat linking library. Remove use of INTDEF/INTUSE.
29592 * sunrpc/auth_none.c: Likewise.
29593 * sunrpc/auth_unix.c: Likewise.
29594 * sunrpc/authdes_prot.c: Likewise.
29595 * sunrpc/authuxprot.c: Likewise.
29596 * sunrpc/clnt_gen.c: Likewise.
29597 * sunrpc/clnt_perr.c: Likewise.
29598 * sunrpc/clnt_raw.c: Likewise.
29599 * sunrpc/clnt_simp.c: Likewise.
29600 * sunrpc/clnt_tcp.c: Likewise.
29601 * sunrpc/clnt_udp.c: Likewise.
29602 * sunrpc/clnt_unix.c: Likewise.
29603 * sunrpc/des_crypt.c: Likewise.
29604 * sunrpc/des_soft.c: Likewise.
29605 * sunrpc/get_myaddr.c: Likewise.
29606 * sunrpc/key_call.c: Likewise.
29607 * sunrpc/key_prot.c: Likewise.
29608 * sunrpc/netname.c: Likewise.
29609 * sunrpc/pm_getmaps.c: Likewise.
29610 * sunrpc/pm_getport.c: Likewise.
29611 * sunrpc/pmap_clnt.c: Likewise.
29612 * sunrpc/pmap_prot.c: Likewise.
29613 * sunrpc/pmap_prot2.c: Likewise.
29614 * sunrpc/pmap_rmt.c: Likewise.
29615 * sunrpc/publickey.c: Likewise.
29616 * sunrpc/rpc_cmsg.c: Likewise.
29617 * sunrpc/rpc_common.c: Likewise.
29618 * sunrpc/rpc_dtable.c: Likewise.
29619 * sunrpc/rpc_prot.c: Likewise.
29620 * sunrpc/rpc_thread.c: Likewise.
29621 * sunrpc/rtime.c: Likewise.
29622 * sunrpc/svc.c: Likewise.
29623 * sunrpc/svc_auth.c: Likewise.
29624 * sunrpc/svc_authux.c: Likewise.
29625 * sunrpc/svc_raw.c: Likewise.
29626 * sunrpc/svc_run.c: Likewise.
29627 * sunrpc/svc_simple.c: Likewise.
29628 * sunrpc/svc_tcp.c: Likewise.
29629 * sunrpc/svc_udp.c: Likewise.
29630 * sunrpc/svc_unix.c: Likewise.
29631 * sunrpc/svcauth_des.c: Likewise.
29632 * sunrpc/xcrypt.c: Likewise.
29633 * sunrpc/xdr.c: Likewise.
29634 * sunrpc/xdr_array.c: Likewise.
29635 * sunrpc/xdr_float.c: Likewise.
29636 * sunrpc/xdr_intXX_t.c: Likewise.
29637 * sunrpc/xdr_mem.c: Likewise.
29638 * sunrpc/xdr_rec.c: Likewise.
29639 * sunrpc/xdr_ref.c: Likewise.
29640 * sunrpc/xdr_sizeof.c: Likewise.
29641 * sunrpc/xdr_stdio.c: Likewise.
29642
e6c61494
UD
296432011-04-10 Ulrich Drepper <drepper@gmail.com>
29644
29645 [BZ #12650]
29646 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29647 * sysdeps/ia64/dl-tls.h: Likewise.
29648 * sysdeps/powerpc/dl-tls.h: Likewise.
29649 * sysdeps/s390/dl-tls.h: Likewise.
29650 * sysdeps/sh/dl-tls.h: Likewise.
29651 * sysdeps/sparc/dl-tls.h: Likewise.
29652 * sysdeps/x86_64/dl-tls.h: Likewise.
29653 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29654
34fe483e
AS
296552011-03-14 Andreas Schwab <schwab@redhat.com>
29656
29657 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29658 rpath element also skip the following colon.
29659 (expand_dynamic_string_token): Add is_path parameter and pass
29660 down to DL_DST_REQUIRED and _dl_dst_substitute.
29661 (decompose_rpath): Call expand_dynamic_string_token with
29662 non-zero is_path. Ignore empty rpaths.
29663 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29664 with zero is_path.
29665
f12a32e6
AS
296662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29667
29668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29669 Make cancelable.
29670
38a7d692
UD
296712011-04-09 Ulrich Drepper <drepper@gmail.com>
29672
29673 [BZ #12655]
29674 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29675 Patch by Filipe David Manana <fdmanana@apache.org>.
29676
e451d22b
AS
296772011-04-07 Andreas Schwab <schwab@redhat.com>
29678
29679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29680 Maintain aligned stack.
29681 (CHECK_RSP): Remove unused macro.
29682
dedc7c7b
UD
296832011-04-03 Ulrich Drepper <drepper@gmail.com>
29684
29685 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29687
94521213
UD
296882011-04-02 Ulrich Drepper <drepper@gmail.com>
29689
29690 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29691
8cb700c0 29692 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29693
0354e355
L
296942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29695
29696 [BZ #12518]
29697 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29698 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29699 * sysdeps/x86_64/memmove.c: New file.
29700 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29701 (memcpy): Renamed to ...
29702 (__new_memcpy): This.
29703 (memcpy): Provide GLIBC_2_14 memcpy.
29704 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29705 (memcpy): Provide GLIBC_2_2_5 memcpy.
29706
8593482f
UD
297072011-04-01 Ulrich Drepper <drepper@gmail.com>
29708
29709 [BZ #12631]
29710 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29711
81a5726b
AS
297122011-03-30 Andreas Schwab <schwab@redhat.com>
29713
29714 * misc/syncfs.c: New file.
29715 * misc/Makefile (routines): Add syncfs.
29716 * posix/unistd.h: Declare syncfs.
29717 * sysdeps/unix/syscalls.list: Add syncfs.
29718
00e5419f
AS
297192011-04-01 Andreas Schwab <schwab@redhat.com>
29720
29721 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29722 open_by_handle_at.
29723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29726 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29728 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29730
748876bf
UD
297312011-04-01 Ulrich Drepper <drepper@gmail.com>
29732
658e451d
UD
29733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29734 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29739 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29740
748876bf
UD
29741 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29742 sync_file_range.c with -fexceptions.
29743 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29744 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29745 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29746 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29747 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29748 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29750 sync_file_range as cancellation point
29751 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29752 now a wrapper around __call_sync_file_range with cancellation handling.
29753 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29754 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29755 function name to __call_sync_file_range.
29756 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29757 Add call_sync_file_range.
748876bf 29758
6e63d5e1
AS
297592011-04-01 Andreas Schwab <schwab@redhat.com>
29760
29761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29762 bits/timex.h.
6e63d5e1 29763
46998f74
UD
297642011-04-01 Ulrich Drepper <drepper@gmail.com>
29765
4c1423ed
UD
29766 * iconv/iconv.h: Fix typo in comment.
29767 * io/fcntl.h: Likewise.
29768 * libio/stdio.h: Likewise.
29769 * posix/spawn.h: Likewise.
29770 * posix/unistd.h: Likewise.
29771 * stdlib/stdlib.h: Likewise.
29772 * time/time.h: Likewise.
29773 * wcsmbs/wchar.h: Likewise.
29774
158648c0
UD
29775 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29776 open_by_handle): Add.
29777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29778 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29779 Augment a few comments.
29780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29785 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29786 open_by_handle.
29787
46998f74
UD
29788 * io/fcntl.h (AT_EMPTY_PATH): Define.
29789
83fe108b
UD
297902011-03-30 Ulrich Drepper <drepper@gmail.com>
29791
29792 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29793 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29794 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29795 to...
29796 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29797 * Versions.def: Add GLIBC_2.14.
29798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29799 Export.
83fe108b 29800
bb242059
UD
298012011-03-22 Ulrich Drepper <drepper@gmail.com>
29802
29803 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29804 round counter.
29805 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29806
c97a1282
L
298072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29808
29809 [BZ #12597]
29810 * string/test-strncmp.c (do_page_test): New function.
29811 (check2): Likewise.
29812 (test_main): Call check2.
29813 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29814
2a115601
UD
298152011-03-20 Ulrich Drepper <drepper@gmail.com>
29816
29817 [BZ #12587]
29818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29819 Handle cache information in CPU leaf 4.
29820 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29821
8126d904
UD
298222011-03-18 Ulrich Drepper <drepper@gmail.com>
29823
042c49c6 29824 [BZ #12583]
8126d904
UD
29825 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29826 character representation.
29827 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29828
ccfe366e
RA
298292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29830
29831 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29832 END(__isnan) to END(__isnanf) to match function entry point/label
29833 EALIGN(__isnanf,...).
29834
c6e13027
JJ
298352011-03-10 Jakub Jelinek <jakub@redhat.com>
29836
29837 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29838
33f85a3f
UD
298392011-03-10 Ulrich Drepper <drepper@gmail.com>
29840
028478fa
UD
29841 [BZ #12510]
29842 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29843 copy from the symbol referenced in the relocation to initialize the
29844 used variable.
29845 Patch by Piotr Bury <pbury@goahead.com>.
29846 * elf/Makefile: Add rules to build and tst-unique3.
29847 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29848 * elf/tst-unique3.cc: New file.
29849 * elf/tst-unique3.h: New file.
29850 * elf/tst-unique3lib.cc: New file.
29851 * elf/tst-unique3lib2.cc: New file.
29852
33f85a3f
UD
29853 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29854
03592fc7
MF
298552011-03-10 Mike Frysinger <vapier@gentoo.org>
29856
29857 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29858 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29859 to _start.
03592fc7 29860
6a5ee102
UD
298612011-03-06 Ulrich Drepper <drepper@gmail.com>
29862
29863 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29864 to-be-loaded object along a path to loader is ld.so.
29865
7e4ba49c
HJ
298662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29867 Ulrich Drepper <drepper@gmail.com>
29868
29869 * sysdeps/x86_64/memset.S: After aligning destination, code
29870 branches to different locations depending on the value of
29871 misalignment, when multiarch is enabled. Fix this.
29872
298732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29874
29875 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29876 Set _x86_64_preferred_memory_instruction for AMD processsors.
29877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29878 Set bit_Prefer_SSE_for_memop for AMD processors.
29879
13a804de
UD
298802011-03-04 Ulrich Drepper <drepper@gmail.com>
29881
29882 * libio/fmemopen.c (fmemopen): Optimize a bit.
29883
9d25c392
AS
298842011-03-03 Andreas Schwab <schwab@redhat.com>
29885
29886 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29887
a5543c6a
RM
298882011-03-03 Roland McGrath <roland@redhat.com>
29889
29890 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29891
012d35f7
DM
298922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29893
7e4ba49c 29894 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29895 __bzero_ultra1 instead of __memset_ultra1.
29896
4bff6e01
AS
298972011-02-23 Andreas Schwab <schwab@redhat.com>
29898 Ulrich Drepper <drepper@gmail.com>
29899
29900 [BZ #12509]
29901 * include/link.h (struct link_map): Add l_orig_initfini.
29902 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29903 returning unsuccessfully.
29904 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29905 close of a file loaded at startup, restore the original l_initfini
29906 list.
29907 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29908 list, store the pointer.
29909 * elf/Makefile ($(objpfx)noload-mem): New rule.
29910 (noload-ENV): Define.
29911 (tests): Add $(objpfx)noload-mem.
29912 * elf/noload.c: Include <memcheck.h>.
29913 (main): Call mtrace. Close all opened handles.
29914
f2092faf
AS
299152011-02-17 Andreas Schwab <schwab@redhat.com>
29916
29917 [BZ #12454]
29918 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29919 dependencies are missing.
29920
6c8a2e88
ST
299212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29922
f2092faf 29923 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29924 Hurd needs munmap.
29925 * sysdeps/mach/hurd/ifreq.h: New file.
29926
84a42118
PB
299272011-01-27 Petr Baudis <pasky@suse.cz>
29928 Ulrich Drepper <drepper@gmail.com>
29929
071f805e 29930 [BZ 12445]#
84a42118
PB
29931 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29932 to extend_alloca().
29933 * stdio-common/bug23.c: New file.
29934 * stdio-common/Makefile (tests): Add bug23.
29935
e23fe25b
AS
299362010-09-28 Andreas Schwab <schwab@redhat.com>
29937 Ulrich Drepper <drepper@gmail.com>
29938
29939 [BZ #12489]
29940 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29941 before performing relro protection. At old place add assertion
29942 to make sure nothing changed.
29943
d3f02e10
NS
299442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29945 Glauber de Oliveira Costa <glommer@gmail.com>
29946
29947 * elf/elf.h: Add new ARM TLS relocs.
29948
d55fd7a5
RA
299492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29950
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29952 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29953 cast from r3.
29954 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29955 'tests' variable.
29956 * sysdeps/wordsize-64/tst-writev.c: New file.
29957
2206397e
RA
299582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29959
29960 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29961 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29962 insns in _dl_start to prevent a TOC reference before relocs are
29963 resolved.
29964
e9433893
UD
299652011-02-15 Ulrich Drepper <drepper@gmail.com>
29966
29967 [BZ #12469]
29968 * Makeconfig: Remove RANLIB definition.
29969 * Makerules: Don't use RANLIB.
29970 * aclocal.m4: Remove ranlib test.
29971 * configure.in: No need to check for ranlib.
29972 * elf/rtld-Rules: Don't use RANLIB.
29973
f75286c6
ST
299742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29975
8e31c82d
ST
29976 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29977 protection macro.
29978 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29979 inclusion protection macro.
29980
f75286c6
ST
29981 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29982 SIGRTMIN and SIGRTMAX and print information in that case only when
29983 SIGRTMIN is defined.
29984
c1d0e639
JJ
299852011-02-11 Jakub Jelinek <jakub@redhat.com>
29986
29987 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29988 arginfo fn returning -1.
29989
29990 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29991 and thousands string is zero terminated.
29992
edf9294e
AS
299932011-02-03 Andreas Schwab <schwab@redhat.com>
29994
29995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29996 sysdeps/unix/sysv/linux/bits/socket.h.
29997
2b7e92df
ST
299982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29999
edf9294e
AS
30000 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30001 (__CPU_COUNT): Remove old macros.
30002 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30003 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30004 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30005 (__sched_cpualloc, __sched_cpufree): Add declarations.
30006
a4c7ea7b
UD
300072011-02-05 Ulrich Drepper <drepper@gmail.com>
30008
30009 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30010 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30011 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30012 (readdhstai): Return value of addhstaiX call.
30013 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30014 (addgrbyX): Return value returned by cache_addgr.
30015 (readdgrbyname): Return value returned by addgrbyX.
30016 (readdgrbygid): Likewise.
30017 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30018 (addpwbyX): Return value returned by cache_addpw.
30019 (readdpwbyname): Return value returned by addhstbyX.
30020 (readdpwbyuid): Likewise.
30021 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30022 (addservbyX): Return value returned by cache_addserv.
30023 (readdservbyname): Return value returned by addservbyX:
30024 (readdservbyport): Likewise.
30025 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30026 (addhstbyX): Return value returned by cache_addhst.
30027 (readdhstbyname): Return value returned by addhstbyX.
30028 (readdhstbyaddr): Likewise.
30029 (readdhstbynamev6): Likewise.
30030 (readdhstbyaddrv6): Likewise.
30031 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30032 (readdinitgroups): Return value returned by addinitgroupsX.
30033 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30034 (prune_cache): Keep track of timeout value of re-added entries.
30035 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30036 * nscd/nscd.h: Adjust prototypes of readd* functions.
30037
a0bf67cc
RM
300382011-02-04 Roland McGrath <roland@redhat.com>
30039
30040 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30041 (nis_stats): Likewise.
30042 * nis/nis_modify.c (nis_modify): Likewise.
30043 * nis/nis_remove.c (nis_remove): Likewise.
30044 * nis/nis_add.c (nis_add): Likewise.
30045
30046 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30047
30048 * posix/fnmatch_loop.c: Add some consts.
30049
30050 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30051
435b95eb
L
300522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30053
30054 [BZ #12460]
30055 * config.make.in (config-cflags-novzeroupper): Define.
30056 * configure.in: Substitute libc_cv_cc_novzeroupper.
30057 * elf/Makefile (AVX-CFLAGS): Define.
30058 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30059 (CFLAGS-tst-auditmod4a.c): Likewise.
30060 (CFLAGS-tst-auditmod4b.c): Likewise.
30061 (CFLAGS-tst-auditmod6b.c): Likewise.
30062 (CFLAGS-tst-auditmod6c.c): Likewise.
30063 (CFLAGS-tst-auditmod7b.c): Likewise.
30064 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30065
8517b15e
UD
300662011-02-02 Ulrich Drepper <drepper@gmail.com>
30067
30068 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30069 function to the callback.
30070 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30071
10a656fe
AS
300722011-02-02 Andreas Schwab <schwab@redhat.com>
30073
30074 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30075 of errno.
30076
968dad0a
UD
300772011-01-19 Ulrich Drepper <drepper@gmail.com>
30078
9f94d2ea 30079 [BZ #11724]
968dad0a
UD
30080 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30081 of constructors.
30082 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30083 of destructors.
30084 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30085
30086 [BZ #11724]
30087 * elf/Makefile: Add rules to build and run new test.
30088 * elf/tst-initorder.c: New file.
30089 * elf/tst-initorder.exp: New file.
30090 * elf/tst-initordera1.c: New file.
30091 * elf/tst-initordera2.c: New file.
30092 * elf/tst-initordera3.c: New file.
30093 * elf/tst-initordera4.c: New file.
30094 * elf/tst-initorderb1.c: New file.
30095 * elf/tst-initorderb2.c: New file.
30096 * elf/tst-order-a1.c: New file.
30097 * elf/tst-order-a2.c: New file.
30098 * elf/tst-order-a3.c: New file.
30099 * elf/tst-order-a4.c: New file.
30100 * elf/tst-order-b1.c: New file.
30101 * elf/tst-order-b2.c: New file.
30102 * elf/tst-order-main.c: New file.
30103 New test case by George Gensure <werkt0@gmail.com>.
30104
86e92359
UD
301052010-10-01 Andreas Schwab <schwab@redhat.com>
30106
30107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30108 decoding ACE if AI_CANONIDN.
30109
5d5732b0
UD
301102011-01-18 Ulrich Drepper <drepper@gmail.com>
30111
30112 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30113
a77e8cbc
UD
301142011-01-17 Ulrich Drepper <drepper@gmail.com>
30115
6392473f
UD
30116 * version.h (RELEASE): Bump for 2.13 release.
30117 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30118
620a0529
UD
30119 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30120
18ba70a5
UD
30121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30122 MADV_NOHUGEPAGE.
32465c3e
UD
30123 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30128 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30129
c0dafcf1
UD
30130 * posix/getconf.c: Update copyright year.
30131 * catgets/gencat.c: Likewise.
30132 * csu/version.c: Likewise.
30133 * debug/catchsegv.sh: Likewise.
30134 * debug/xtrace.sh: Likewise.
30135 * elf/ldconfig.c: Likewise.
30136 * elf/ldd.bash.in: Likewise.
30137 * elf/sprof.c (print_version): Likewise.
30138 * iconv/iconv_prog.c: Likewise.
30139 * iconv/iconvconfig.c: Likewise.
30140 * locale/programs/locale.c: Likewise.
30141 * locale/programs/localedef.c: Likewise.
30142 * malloc/memusage.sh: Likewise.
30143 * malloc/mtrace.pl: Likewise.
30144 * nscd/nscd.c (print_version): Likewise.
30145 * nss/getent.c: Likewise.
30146
a77e8cbc
UD
30147 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30148 PF_CAIF, and PF_ALG.
30149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30150
77e8bddf
AS
301512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30152
1f20b93a
AS
30153 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30154 (modules-names): Use them.
30155 (ifunc-test-modules, ifunc-pie-tests): Define.
30156 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30157 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30158 (test-extras): Likewise.
30159 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30160 $(compile-command.c).
30161 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30162 (all-built-dso): Define.
30163 (check-textrel.out, check-execstack.out): Depend on it.
30164
77e8bddf
AS
30165 * configure.in: Don't override --enable-multi-arch.
30166
bc425b33
UD
301672011-01-15 Ulrich Drepper <drepper@gmail.com>
30168
30169 [BZ #6812]
30170 * nscd/hstcache.c (tryagain): Define.
30171 (cache_addhst): Return tryagain not notfound for temporary errors.
30172 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30173 failed.
30174
794c3ad3
UD
301752011-01-14 Ulrich Drepper <drepper@gmail.com>
30176
70181fdd
UD
30177 [BZ #10563]
30178 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30179 to make the syscall.
30180 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30181
794c3ad3
UD
30182 [BZ #12378]
30183 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30184 and fall back to matching as normal character if the string ends before
30185 the matching ']' is found. This is what POSIX requires.
30186 * posix/testfnm.c: Adjust test result.
30187 * posix/globtest.sh: Adjust test result. Add new test.
30188 * posix/tst-fnmatch.input: Likewise.
30189 * posix/tst-fnmatch2.c: Add new test.
30190
68dc9497
AS
301912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30192
30193 * elf/Makefile (check-execstack): Revert last change. Depend on
30194 check-execstack.h.
30195 (check-execstack.h): New target.
30196 (generated): Add check-execstack.h.
30197 * elf/check-execstack.c: Include "check-execstack.h".
30198 (main): Revert last change.
30199 (handle_file): Return zero if GNU_STACK is absent and
30200 DEFAULT_STACK_PERMS doesn't include PF_X.
30201
451f001b
UD
302022011-01-13 Ulrich Drepper <drepper@gmail.com>
30203
cfa28e56
UD
30204 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30205 in child fails because the descriptor is already closed.
8cf8ce17
UD
30206 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30207 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30208 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30209
1086d70d
UD
30210 [BZ #12397]
30211 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30212 syscall.
30213
451f001b
UD
30214 [BZ #10484]
30215 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30216 temporary buffer used to handle multi lookups locally.
a85b5cb4 30217 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30218
08769175
UD
302192011-01-12 Ulrich Drepper <drepper@gmail.com>
30220
30221 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30222 loader is ld.so.
30223
5e49c52e
UD
302242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30225
30226 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30227 alignment for SSE2.
30228
60522a5f
UD
302292011-01-12 Ulrich Drepper <drepper@gmail.com>
30230
30231 [BZ #12394]
30232 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30233 characters. When rounding increased number of integer digits recompute
30234 number of groups.
30235 * stdio-common/tst-grouping.c: New file.
30236 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30237
f257bbd7
UD
302382011-01-09 Ulrich Drepper <drepper@gmail.com>
30239
30240 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30241 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30242
30243 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30244 void.
30245 * bits/select.h: Likewise.
30246
fa9c15cb
UD
302472011-01-08 Ulrich Drepper <drepper@gmail.com>
30248
30249 * po/ja.po: Update from translation team.
30250
16c2895f
DM
302512011-01-04 David S. Miller <davem@sunset.davemloft.net>
30252
30253 [BZ #11155]
30254 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30255 implementation just like for lxstat, fxstatat, et al.
30256
2543fef2
JM
302572010-12-27 Jim Meyering <meyering@redhat.com>
30258
30259 [BZ #12348]
30260 * posix/regexec.c (build_trtable): Return failure indication upon
30261 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30262
98727dbe
UD
302632010-12-25 Ulrich Drepper <drepper@gmail.com>
30264
5bd6dc5c
UD
30265 [BZ #12201]
30266 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30267 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30268 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30269 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30270
97983464
UD
30271 [BZ #12207]
30272 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30273
98727dbe
UD
30274 [BZ #12204]
30275 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30276 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30277
4a531bb0
L
302782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30279
30280 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30281 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30282 script has SORT_BY_INIT_PRIORITY.
30283 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30284 NO_CTORS_DTORS_SECTIONS is defined.
30285 * elf/soinit.c: Likewise.
30286 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30287 NO_CTORS_DTORS_SECTIONS is defined.
30288 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30289 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30290 * sysdeps/sh/init-first.c: Likewise.
30291 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30292
07eb4b71
UD
302932010-12-24 Ulrich Drepper <drepper@gmail.com>
30294
30295 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30296 always use the slow path.
30297
30950a5f
RA
302982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30299
30300 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30301 similar rule which adds the sysdep directories to the header search in
30302 order to pick up the correct platform stackinfo.h.
30303 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30304 perform test if it is, otherwise return successfully without testing.
30305 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30306 DEFAULT_STACK_PERMS define in stackinfo.h.
30307 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30308 defined in stackinfo.h.
30309 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30310 DEFAULT_STACK_PERMS defined in stackinfo.h.
30311 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30312 * sysdeps/ia64/stackinfo.h: Likewise.
30313 * sysdeps/s390/stackinfo.h: Likewise.
30314 * sysdeps/sh/stackinfo.h: Likewise.
30315 * sysdeps/sparc/stackinfo.h: Likewise.
30316 * sysdeps/x86_64/stackinfo.h: Likewise.
30317 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30318 PF_X for powerpc64. Retain PF_X for powerpc32.
30319
db753e2c
UD
303202010-12-19 Ulrich Drepper <drepper@gmail.com>
30321
14b697f7
UD
30322 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30323 accurately.
db753e2c
UD
30324 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30325 GETDENTS_64BIT_ALIGNED.
30326
28300719
UD
303272010-12-14 Ulrich Drepper <dreper@gmail.com>
30328
14b697f7 30329 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30330
4f197237
AS
303312010-12-10 Andreas Schwab <schwab@redhat.com>
30332
dbb0472f
AS
30333 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30334 _GNU_SOURCE.
30335
4f197237
AS
30336 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30337 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30338 Remove __restrict.
30339 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30340 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30341
fb88ac72
UD
303422010-12-09 Ulrich Drepper <drepper@gmail.com>
30343
30344 [BZ #11655]
30345 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30346 are initialized.
30347
42acbb92
JJ
303482010-12-09 Jakub Jelinek <jakub@redhat.com>
30349
30350 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30351
c038d98d
UD
303522010-12-03 Ulrich Drepper <drepper@gmail.com>
30353
30354 * po/it.po: Update from translation team.
30355
3a4a2499
L
303562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30357
30358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30359 unused codes.
30360
1e24cf6e
UD
303612010-11-30 Ulrich Drepper <drepper@gmail.com>
30362
30363 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30364
a7690819
AS
303652010-11-24 Andreas Schwab <schwab@redhat.com>
30366
30367 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30368 specially.
30369 (gaih_getanswer_slice): Likewise.
30370
3bf8d1b1
JJ
303712010-10-20 Jakub Jelinek <jakub@redhat.com>
30372
30373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30374
6db52fbb
PB
303752010-05-31 Petr Baudis <pasky@suse.cz>
30376
30377 [BZ #11149]
30378 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30379 silently even in the chroot mode.
30380
eaca7569
UD
303812010-11-22 Ulrich Drepper <drepper@gmail.com>
30382
30383 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30384 last patch a bit. Pretty printing
30385
3056dcdb
UD
303862010-05-31 Petr Baudis <pasky@suse.cz>
30387
30388 [BZ #10085]
30389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30390 initialization of skip_initgroups_dyn.
30391
cf7c9078
UD
303922010-11-19 Ulrich Drepper <drepper@gmail.com>
30393
30394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30395 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30396
a1fb5e3e
UD
303972010-11-16 Ulrich Drepper <drepper@gmail.com>
30398
30399 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30400
3540d66b
AS
304012010-11-11 Andreas Schwab <schwab@redhat.com>
30402
30403 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30404 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30405 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30406 ($(objpfx)tst-fnmatch-mem): New rule.
30407 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30408 * posix/tst-fnmatch.c (main): Call mtrace.
30409
13b69574
L
304102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30411
30412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30413 Support Intel processor model 6 and model 0x2c.
30414
da93d214
LM
304152010-11-10 Luis Machado <luisgpm@br.ibm.com>
30416
30417 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30418 signed comparison.
30419
8ca52c6e
L
304202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30421
30422 [BZ #12205]
30423 * string/test-strncasecmp.c (check_result): New function.
30424 (do_one_test): Use it.
30425 (check1): New function.
30426 (test_main): Use it.
30427 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30428 Support strcasecmp and strncasecmp.
30429
69da074d
UD
304302010-11-08 Ulrich Drepper <drepper@gmail.com>
30431
30432 [BZ #12194]
30433 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30434 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30435
ff02d528
L
304362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30437
30438 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30439 IFUNC support.
30440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30441 memset-x86-64.
30442 * sysdeps/x86_64/multiarch/bzero.S: New file.
30443 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30444 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30445 * sysdeps/x86_64/multiarch/memset.S: New file.
30446 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30448 Set bit_Prefer_SSE_for_memop for Intel processors.
30449 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30450 Define.
30451 (index_Prefer_SSE_for_memop): Define.
30452 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30453
344d0b54
LM
304542010-11-04 Luis Machado <luisgpm@br.ibm.com>
30455
30456 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30458
c0dde15b
UD
304592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30460
30461 [BZ #12191]
30462 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30463 (__x86_64_raw_data_cache_size_half): Likewise.
30464 (__x86_64_raw_shared_cache_size): Likewise.
30465 (__x86_64_raw_shared_cache_size_half): Likewise.
30466
30467 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30468 (__x86_64_raw_data_cache_size_half): Likewise.
30469 (__x86_64_raw_shared_cache_size): Likewise.
30470 (__x86_64_raw_shared_cache_size_half): Likewise.
30471 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30472 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30473 and __x86_64_raw_shared_cache_size_half. Round
30474 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30475 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30476 to multiple of 256 bytes.
30477
0e516e0e
MS
304782010-11-03 Ulrich Drepper <drepper@gmail.com>
30479
30480 [BZ #12167]
30481 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30482 of inacessible symlinks. Verify result of symlink before returning it.
30483 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30484 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30485
0e012e87
ER
304862010-10-28 Erich Ritz <erichritz@gmail.com>
30487
30488 * math/math.h (isinf): Fix typo in comment.
30489
de0ff7bc
UD
304902010-11-01 Ulrich Drepper <drepper@gmail.com>
30491
30492 * po/da.po: Update from translation team.
30493
fa41c84d
UD
304942010-10-26 Ulrich Drepper <drepper@gmail.com>
30495
30496 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30497 is added to the list.
30498
f0967738
AK
304992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30500 Ulrich Drepper <drepper@gmail.com>
30501
30502 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30503 the global list here. Move code to...
30504 (_dl_add_to_namespace_list): ...here. New function.
30505 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30506 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30507 * elf/dl-load.c (lose): Don't remove the element from the list.
30508 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30509 (_dl_map_object): Likewise.
30510
305112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30512
30513 [BZ #12159]
30514 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30515 into all bytes of SSE register.
30516 Patch by Richard Li <richardpku@gmail.com>.
30517
f0967738 305182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30519
30520 [BZ #12140]
30521 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30522 perturbing.
30523
d0b9e94f
MB
305242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30525
30526 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30527 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30528 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30531 submachine.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30533
8e9f92e9
AS
305342010-10-22 Andreas Schwab <schwab@redhat.com>
30535
30536 * include/dlfcn.h (__RTLD_SECURE): Define.
30537 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30538 mode & __RTLD_SECURE instead.
30539 (open_path): Rename preloaded parameter to secure.
30540 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30541 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30542 * elf/dl-deps.c (openaux): Likewise.
30543 * elf/rtld.c (struct map_args): Remove is_preloaded.
30544 (map_doit): Don't use it.
30545 (dl_main): Likewise.
30546 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30547 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30548
bc96fbda
AS
305492010-09-09 Andreas Schwab <schwab@redhat.com>
30550
30551 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30552 (sysd-rules-targets): Remove duplicates.
30553 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30554 rtld-%.$o dependency.
30555
22cd1c9b
AS
305562010-10-18 Andreas Schwab <schwab@redhat.com>
30557
30558 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30559 _dl_map_object do it.
30560
18edac48
UD
305612010-10-19 Ulrich Drepper <drepper@gmail.com>
30562
30563 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30564 fast fma builtins, define the macros in the C99 standard.
30565 (FP_FAST_FMAF): Likewise.
30566 (FP_FAST_FMAL): Likewise.
30567 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30568
30569 * bits/mathdef.h: Update copyright year.
30570 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30571
d2050124
MM
305722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30573
30574 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30575 builtins, define the macros in the C99 standard.
30576 (FP_FAST_FMAF): Likewise.
30577 (FP_FAST_FMAL): Likewise.
30578 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30579 multiply/add.
30580 (FP_FAST_FMAF): Likewise.
30581
475facd1
JJ
305822010-10-15 Jakub Jelinek <jakub@redhat.com>
30583
30584 [BZ #3268]
30585 * math/libm-test.inc (fma_test): Some new testcases.
30586 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30587 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30588 y and infinite z. Do multiplication by C already in long double.
30589 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30591 y and infinite z. Do bitwise or of inexact bit into u.d.
30592 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30593 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30594 * sysdeps/i386/fpu/s_fma.S: Removed.
30595 * sysdeps/i386/fpu/s_fmal.S: Removed.
30596
7c08a05c
JJ
305972010-10-16 Jakub Jelinek <jakub@redhat.com>
30598
30599 [BZ #3268]
30600 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30602 computation is not scheduled after fetestexcept. Fix value
30603 of minimum denormal long double.
30604
f3f7372d
JJ
306052010-10-14 Jakub Jelinek <jakub@redhat.com>
30606
30607 [BZ #3268]
30608 * math/libm-test.inc (fma_test): Add some more tests.
30609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30610 correctly.
30611
14d43591
AS
306122010-10-15 Andreas Schwab <schwab@redhat.com>
30613
30614 * scripts/data/localplt-s390-linux-gnu.data: New file.
30615 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30616
5e908464
JJ
306172010-10-13 Jakub Jelinek <jakub@redhat.com>
30618
30619 [BZ #3268]
30620 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30621 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30622 instead of dbl-64.
30623 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30624 inlines.
30625 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30627 if one of x and y is very large and the other is subnormal.
30628 * sysdeps/s390/fpu/s_fmaf.c: New file.
30629 * sysdeps/s390/fpu/s_fma.c: New file.
30630 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30631 * sysdeps/powerpc/fpu/s_fma.S: New file.
30632 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30633 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30634 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30635
306362010-10-12 Jakub Jelinek <jakub@redhat.com>
30637
30638 [BZ #3268]
30639 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30640 fma tests.
30641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30642 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30643 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30644 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30645 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30646 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30648
b833d51f
UD
306492010-10-12 Ulrich Drepper <drepper@redhat.com>
30650
30651 [BZ #12078]
30652 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30653 * posix/bug-regex31.input: Add test case.
30654
1751705d
UD
306552010-10-11 Ulrich Drepper <drepper@gmail.com>
30656
e9b9cbf5
UD
30657 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30658 * posix/bug-regex31.input: New file.
30659
30660 [BZ #12078]
30661 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30662 (parse_sub_exp): Fix last change, use postorder.
30663
ef06edbe
UD
30664 * posix/bug-regex31.c: New file.
30665 * posix/Makefile: Add rules to build and run bug-regex31.
30666
a129c80d
UD
30667 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30668
30669 [BZ #12078]
30670 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30671
b76b818e
UD
30672 [BZ #12108]
30673 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30674 to have entries in sys_siglist.
30675
1751705d
UD
30676 [BZ #12093]
30677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30678 be NULL.
30679
9ff8d36f
JJ
306802010-10-07 Jakub Jelinek <jakub@redhat.com>
30681
30682 [BZ #3268]
30683 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30684 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30685 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30686 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30688 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30689 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30690 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30691 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30692 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30693 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30694 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30695 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30696 * math/ftestexcept.c (fetestexcept): Likewise.
30697 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30698 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30699 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30700 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30701 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30702 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30704
af325969
UD
307052010-10-11 Ulrich Drepper <drepper@gmail.com>
30706
c579b202 30707 [BZ #12107]
af325969
UD
30708 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30709 newline.
30710
67a67b95
UD
307112010-10-06 Ulrich Drepper <drepper@gmail.com>
30712
30713 * string/bug-strstr1.c: New file.
30714 * string/Makefile: Add rules to build and run bug-strstr1.
30715
5fb308bc
EB
307162010-10-05 Eric Blake <eblake@redhat.com>
30717
30718 [BZ #12092]
30719 * string/str-two-way.h (two_way_long_needle): Always clear memory
30720 when skipping input due to the shift table.
30721
45db99c7
UD
307222010-10-03 Ulrich Drepper <drepper@gmail.com>
30723
3b111893
UD
30724 [BZ #12005]
30725 * malloc/mcheck.c: Handle large requests.
30726
45db99c7
UD
30727 [BZ #12077]
30728 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30729 for strncmp and strncasecmp.
30730 * string/stratcliff.c: Add tests for strcmp and strncmp.
30731 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30732
cf7a1eb8
NI
307332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30734
30735 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30736 __set_fpscr.
30737
6484ba5e
AJ
307382010-09-30 Andreas Jaeger <aj@suse.de>
30739
30740 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30741 (CGROUP_SUPER_MAGIC): Define.
30742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30743 Handle btrfs and cgroup file systems.
30744 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30745 Likewise.
30746
91c42559
LM
307472010-09-27 Luis Machado <luisgpm@br.ibm.com>
30748
30749 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30750 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30751
87a97932
AK
307522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30753
30754 [BZ #12067]
30755 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30756 trying to locate the ELF header.
30757
c21cc9bc
AS
307582010-09-27 Andreas Schwab <schwab@redhat.com>
30759
30760 [BZ #11611]
30761 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30762 Mask out sign-bit copies when constructing f_fsid.
30763
315970f6
PB
307642010-09-24 Petr Baudis <pasky@suse.cz>
30765
30766 * debug/stack_chk_fail_local.c: Add missing licence exception.
30767 * debug/warning-nop.c: Likewise.
30768
1ac7a2c7
JM
307692010-09-15 Joseph Myers <joseph@codesourcery.com>
30770
30771 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30772 implementing getdents64 using getdents syscall, set d_type if
30773 __ASSUME_GETDENTS32_D_TYPE.
30774
56801c50
AS
307752010-09-16 Andreas Schwab <schwab@redhat.com>
30776
30777 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30778 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30779
dda51327
UD
307802010-09-21 Ulrich Drepper <drepper@redhat.com>
30781
30782 [BZ #12037]
30783 * posix/unistd.h: Undo change of feature selection for ftruncate from
30784 2010-01-11.
30785
8ffcee4a
UD
307862010-09-20 Ulrich Drepper <drepper@redhat.com>
30787
a545ecd9 30788 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30789 detection.
30790
e24f0a8b
AS
307912010-09-20 Andreas Schwab <schwab@redhat.com>
30792
30793 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30794 fanotify_mark.
30795 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30796
7291c56f
AS
307972010-09-14 Andreas Schwab <schwab@redhat.com>
30798
30799 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30800 variables after CHECK_SP call.
30801 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30802
bc5fb037
AS
308032010-09-13 Andreas Schwab <schwab@redhat.com>
30804 Ulrich Drepper <drepper@redhat.com>
30805
30806 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30807 re-relocationg ld.so.
30808 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30809 _dl_init_paths call.
30810 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30811 here anymore.
30812
e66e7419
UD
308132010-09-14 Ulrich Drepper <drepper@redhat.com>
30814
30815 * resolv/res_init.c (__res_vinit): Count the default server we added.
30816
c044aa75
CLT
308172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30818 Ulrich Drepper <drepper@redhat.com>
30819
30820 [BZ #11968]
30821 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30822 (____longjmp_chk): Use %ebx for saving value across system call.
30823 Add unwind info.
30824
32cf4069
AS
308252010-09-06 Andreas Schwab <schwab@redhat.com>
30826
30827 * manual/Makefile: Don't mix pattern rules with normal rules.
30828
817328ee
AS
308292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30830
30831 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30832 operation.
30833 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30834 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30835 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30836 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30838 Likewise.
30839
29fddf61
UD
308402010-09-04 Ulrich Drepper <drepper@redhat.com>
30841
30842 [BZ #11979]
30843 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30844 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30845
0959ffc9
UD
308462010-09-02 Ulrich Drepper <drepper@redhat.com>
30847
30848 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30849 * sysdeps/x86_64/addmul_1.S: Likewise.
30850 * sysdeps/x86_64/lshift.S: Likewise.
30851 * sysdeps/x86_64/mul_1.S: Likewise.
30852 * sysdeps/x86_64/rshift.S: Likewise.
30853 * sysdeps/x86_64/sub_n.S: Likewise.
30854 * sysdeps/x86_64/submul_1.S: Likewise.
30855
ece29840
ST
308562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30857
0959ffc9
UD
30858 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30859 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30860 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30861 * bits/sched.h [__need_schedparam]
ece29840 30862 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30863 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30864 (__defined_schedparam): Define to 1.
ece29840
ST
30865 (__sched_param): New structure, identical to sched_param.
30866 (__need_schedparam): Undefine.
30867
e53a31fe
MF
308682010-08-31 Mike Frysinger <vapier@gentoo.org>
30869
fdc0c10d
MF
30870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30871 (epoll_create1): Declare.
30872
e53a31fe
MF
30873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30874
a726d796
AS
308752010-08-31 Andreas Schwab <schwab@redhat.com>
30876
30877 [BZ #7066]
30878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30879 shifting retval into place.
30880
2f3e3dc7
UD
308812010-09-01 Ulrich Drepper <drepper@redhat.com>
30882
f2933da9
UD
30883 * nis/rpcsvc/nis.h: Update copyright notice.
30884 * nis/rpcsvc/nis.x: Likewise.
30885 * nis/rpcsvc/nis_callback.h: Likewise.
30886 * nis/rpcsvc/nis_callback.x: Likewise.
30887 * nis/rpcsvc/nis_object.x: Likewise.
30888 * nis/rpcsvc/nis_tags.h: Likewise.
30889 * nis/rpcsvc/yp.h: Likewise.
30890 * nis/rpcsvc/yp.x: Likewise.
30891 * nis/rpcsvc/ypupd.h: Likewise.
30892 * nis/yp_xdr.c: Likewise.
30893 * nis/ypupdate_xdr.c: Likewise.
30894
2f3e3dc7
UD
30895 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30896 mainly the body of pmap_getport. Add parameters to specify timeouts.
30897 (pmap_getport): Use __libc_rpc_getport.
30898 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30899 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30900 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30901
f3dcc2f9
AS
309022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30903
30904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30905 fanotify_mark.
30906
6d34eb5b
RM
309072010-08-27 Roland McGrath <roland@redhat.com>
30908
30909 * sysdeps/i386/i686/multiarch/Makefile
30910 (CFLAGS-varshift.c): New variable.
30911
9ea3de11
UD
309122010-08-27 Ulrich Drepper <drepper@redhat.com>
30913
c96d23fc
UD
30914 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30915 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30916
9ea3de11
UD
30917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30918
30919 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30920
623aac7f
L
309212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30922
30923 * sysdeps/x86_64/strlen.S: Unroll the loop.
30924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30925 strlen-sse2 strlen-sse2-bsf.
30926 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30927 __strlen_no_bsf if bit_Slow_BSF is set.
30928 (__strlen_sse42): Removed.
30929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30930 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30931
8b2b7715
RM
309322010-08-25 Roland McGrath <roland@redhat.com>
30933
30934 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30935 * sysdeps/x86_64/multiarch/varshift.c: New file.
30936 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30937 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30938 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30939 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30940
e73015f2
L
309412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30942
30943 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30944 strlen-sse2 strlen-sse2-bsf.
30945 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30946 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30947 (__strlen_sse2): Removed.
30948 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30949 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30951 bit_Slow_BSF for Atom.
30952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30953 (index_Slow_BSF): Define.
30954 (HAS_SLOW_BSF): Define.
30955
df24a73e
UD
309562010-08-25 Ulrich Drepper <drepper@redhat.com>
30957
30958 [BZ #10851]
30959 * resolv/res_init.c (__res_vinit): When no server address at all
30960 is given default to loopback.
30961
f2ac4868
RM
309622010-08-24 Roland McGrath <roland@redhat.com>
30963
09055553
RM
30964 * configure.in: Remove config-name.h generation.
30965 * configure: Regenerated.
30966 * config-name.in: File removed.
30967 * scripts/config-uname.sh: New file.
30968 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30969 ($(objdir)config-name.h): New target.
30970
f2ac4868
RM
30971 * sunrpc/rpc_parse.h: Avoid nested comment.
30972
73f27d5e
RH
309732010-08-24 Richard Henderson <rth@redhat.com>
30974 Ulrich Drepper <drepper@redhat.com>
30975 H.J. Lu <hongjiu.lu@intel.com>
30976
30977 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30979 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30980 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30981 _mm_alignr_epi8 with _mm_loadu_si128.
30982 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30983 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30984 (__m128i_shift_right): Removed.
30985 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30986 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30987 * sysdeps/x86_64/multiarch/varshift.h: New file.
30988 * sysdeps/x86_64/multiarch/varshift.S: New file.
30989
84b9230c
MF
309902010-08-21 Mike Frysinger <vapier@gentoo.org>
30991
30992 * configure.in: Move assembler checks to before sysdep dir checking.
30993
9bbd0ddc
PB
309942010-08-20 Petr Baudis <pasky@suse.cz>
30995
30996 * LICENSES: Sync the sunrpc license.
30997
9da4bb31
UD
309982010-08-19 Ulrich Drepper <drepper@redhat.com>
30999
a7ab6ec8
UD
31000 * sunrpc/auth_des.c: Update copyright notice once again.
31001 * sunrpc/auth_none.c: Likewise.
31002 * sunrpc/auth_unix.c: Likewise.
31003 * sunrpc/authdes_prot.c: Likewise.
31004 * sunrpc/authuxprot.c: Likewise.
31005 * sunrpc/bindrsvprt.c: Likewise.
31006 * sunrpc/clnt_gen.c: Likewise.
31007 * sunrpc/clnt_perr.c: Likewise.
31008 * sunrpc/clnt_raw.c: Likewise.
31009 * sunrpc/clnt_simp.c: Likewise.
31010 * sunrpc/clnt_tcp.c: Likewise.
31011 * sunrpc/clnt_udp.c: Likewise.
31012 * sunrpc/clnt_unix.c: Likewise.
31013 * sunrpc/des_crypt.c: Likewise.
31014 * sunrpc/des_soft.c: Likewise.
31015 * sunrpc/get_myaddr.c: Likewise.
31016 * sunrpc/getrpcport.c: Likewise.
31017 * sunrpc/key_call.c: Likewise.
31018 * sunrpc/key_prot.c: Likewise.
31019 * sunrpc/openchild.c: Likewise.
31020 * sunrpc/pm_getmaps.c: Likewise.
31021 * sunrpc/pm_getport.c: Likewise.
31022 * sunrpc/pmap_clnt.c: Likewise.
31023 * sunrpc/pmap_prot.c: Likewise.
31024 * sunrpc/pmap_prot2.c: Likewise.
31025 * sunrpc/pmap_rmt.c: Likewise.
31026 * sunrpc/rpc/auth.h: Likewise.
31027 * sunrpc/rpc/auth_unix.h: Likewise.
31028 * sunrpc/rpc/clnt.h: Likewise.
31029 * sunrpc/rpc/des_crypt.h: Likewise.
31030 * sunrpc/rpc/key_prot.h: Likewise.
31031 * sunrpc/rpc/netdb.h: Likewise.
31032 * sunrpc/rpc/pmap_clnt.h: Likewise.
31033 * sunrpc/rpc/pmap_prot.h: Likewise.
31034 * sunrpc/rpc/pmap_rmt.h: Likewise.
31035 * sunrpc/rpc/rpc.h: Likewise.
31036 * sunrpc/rpc/rpc_des.h: Likewise.
31037 * sunrpc/rpc/rpc_msg.h: Likewise.
31038 * sunrpc/rpc/svc.h: Likewise.
31039 * sunrpc/rpc/svc_auth.h: Likewise.
31040 * sunrpc/rpc/types.h: Likewise.
31041 * sunrpc/rpc/xdr.h: Likewise.
31042 * sunrpc/rpc_clntout.c: Likewise.
31043 * sunrpc/rpc_cmsg.c: Likewise.
31044 * sunrpc/rpc_common.c: Likewise.
31045 * sunrpc/rpc_cout.c: Likewise.
31046 * sunrpc/rpc_dtable.c: Likewise.
31047 * sunrpc/rpc_hout.c: Likewise.
31048 * sunrpc/rpc_main.c: Likewise.
31049 * sunrpc/rpc_parse.c: Likewise.
31050 * sunrpc/rpc_parse.h: Likewise.
31051 * sunrpc/rpc_prot.c: Likewise.
31052 * sunrpc/rpc_sample.c: Likewise.
31053 * sunrpc/rpc_scan.c: Likewise.
31054 * sunrpc/rpc_scan.h: Likewise.
31055 * sunrpc/rpc_svcout.c: Likewise.
31056 * sunrpc/rpc_tblout.c: Likewise.
31057 * sunrpc/rpc_util.c: Likewise.
31058 * sunrpc/rpc_util.h: Likewise.
31059 * sunrpc/rpcinfo.c: Likewise.
31060 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31061 * sunrpc/rpcsvc/key_prot.x: Likewise.
31062 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31063 * sunrpc/rpcsvc/mount.x: Likewise.
31064 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31065 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31066 * sunrpc/rpcsvc/rex.x: Likewise.
31067 * sunrpc/rpcsvc/rstat.x: Likewise.
31068 * sunrpc/rpcsvc/rusers.x: Likewise.
31069 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31070 * sunrpc/rpcsvc/spray.x: Likewise.
31071 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31072 * sunrpc/rtime.c: Likewise.
31073 * sunrpc/svc.c: Likewise.
31074 * sunrpc/svc_auth.c: Likewise.
31075 * sunrpc/svc_authux.c: Likewise.
31076 * sunrpc/svc_raw.c: Likewise.
31077 * sunrpc/svc_run.c: Likewise.
31078 * sunrpc/svc_simple.c: Likewise.
31079 * sunrpc/svc_tcp.c: Likewise.
31080 * sunrpc/svc_udp.c: Likewise.
31081 * sunrpc/svc_unix.c: Likewise.
31082 * sunrpc/svcauth_des.c: Likewise.
31083 * sunrpc/xcrypt.c: Likewise.
31084 * sunrpc/xdr.c: Likewise.
31085 * sunrpc/xdr_array.c: Likewise.
31086 * sunrpc/xdr_float.c: Likewise.
31087 * sunrpc/xdr_mem.c: Likewise.
31088 * sunrpc/xdr_rec.c: Likewise.
31089 * sunrpc/xdr_ref.c: Likewise.
31090 * sunrpc/xdr_sizeof.c: Likewise.
31091 * sunrpc/xdr_stdio.c: Likewise.
31092
9da4bb31
UD
31093 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31094 handling.
31095
bdaa77bc
AS
310962010-08-19 Andreas Schwab <schwab@redhat.com>
31097
31098 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31099
fe2f79db
LM
311002010-08-19 Luis Machado <luisgpm@br.ibm.com>
31101
31102 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31104 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31105 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31107 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31108 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31109 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31112 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31114 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31115 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31116
b9b42ee0
AB
311172010-07-26 Anton Blanchard <anton@samba.org>
31118
31119 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31120 * malloc/arena.c (heap_trim): Likewise.
31121
1c06ba31
UD
311222010-08-16 Ulrich Drepper <drepper@redhat.com>
31123
31124 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31125 here. Not...
31126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31127 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31128
f8392f40
L
311292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31130
31131 * sysdeps/i386/elf/Makefile: New file.
31132
3162f12e
AS
311332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31134
31135 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31136 from fanotify_init.
31137 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31138 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31139
28c90b2c
UD
311402010-08-15 Ulrich Drepper <drepper@redhat.com>
31141
31142 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31143 of strncasecmp_l.
1feccb6c 31144 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31145
ca6bb004
UD
311462010-08-14 Ulrich Drepper <drepper@redhat.com>
31147
e9f82e0d
UD
31148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31149 strncase_l-nonascii.
31150 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31151 Add strncase_l-ssse3.
31152 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31153 * sysdeps/x86_64/strcmp.S: Likewise.
31154 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31155 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31156 * sysdeps/x86_64/strncase.S: New file.
31157 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31158 * sysdeps/x86_64/strncase_l.S: New file.
31159 * string/Makefile (strop-tests): Add strncasecmp.
31160 * string/test-strncasecmp.c: New file.
31161
31162 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31163 warning.
31164
ca6bb004
UD
31165 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31167
052fa7b3
AS
311682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31169
31170 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31171
962dba78
UD
311722010-08-12 Ulrich Drepper <drepper@redhat.com>
31173
31174 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31176 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31177
bebff237
AM
311782010-05-01 Alan Modra <amodra@gmail.com>
31179
31180 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31181 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31182 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31183 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31184 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31185 tidying. Don't tail-call __sigjmp_save for static lib.
31186 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31187 save location.
31188 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31189 (CALL_MCOUNT): Add eh info, and nop after bl.
31190 (TAIL_CALL_SYSCALL_ERROR): New macro.
31191 (PSEUDO_RET): Use it.
31192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31193 Correct save location of integer regs and cr.
31194 (_dl_profile_resolve): Correct cr save location. Delete nops
31195 after bl when SHARED. Reduce cfi size a little by better
31196 placement of cfi directives.
31197 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31198 make a stack frame. Instead use parm save area as a temp.
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31200 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31202 Don't make a stack frame for parent, use parm save area.
31203 Increase child stack frame to 112 bytes. Don't save unused reg,
31204 and adjust reg usage. Set up cfi on error recovery and
31205 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31207 (__makecontext): Add dummy nop after jump to exit.
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31209 Use correct parm save area and cr save, reduce stack frame.
31210 Correct cfi for possible PSEUDO_RET frame setup.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31212 Branch to local label emitted by PSEUDO_RET rather than
31213 __syscall_error.
31214
02637374
AS
312152010-08-12 Andreas Schwab <schwab@redhat.com>
31216
31217 [BZ #11904]
31218 * locale/programs/locale.c (print_assignment): New function.
31219 (show_locale_vars): Use it.
31220
c3e2f19b
UD
312212010-08-11 Ulrich Drepper <drepper@redhat.com>
31222
3cdaa6ad
UD
31223 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31224 field.
31225 (struct statfs64): Likewise.
31226 (_STATFS_F_FLAGS): Define.
31227 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31228 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31229 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31230 (ST_VALID): Define locally.
31231 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31232 __statvfs_getflags, use the provided value.
31233 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31234 __ASSUME_STATFS_F_FLAGS.
31235
754f7da3
UD
31236 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31237
10b3bedc
UD
31238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31239 Add sys/fanotify.h.
31240 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31241 fanotify_mask for GLIBC_2.13.
31242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31243 fanotify_init and fanotify_mark.
31244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31245 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31246
c08fb0d7
UD
31247 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31248 Add prlimit.
31249 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31250 prlimit64 for GLIBC_2.13.
31251 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31252 prlimit64.
31253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31254 syscall.
31255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31257 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31260 add prlimit alias.
31261 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31262
15bac72b
UD
31263 [BZ #11903]
31264 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31265 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31266
c3e2f19b
UD
31267 * nss/Makefile: Add rules to build and run tst-nss-test1.
31268 * shlib-versions: Add entry for libnss_test1.
31269 * nss/nss_test1.c: New file.
31270 * nss/tst-nss-test1.c: New file.
31271
31272 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31273 (__nss_configure_lookup): Set appropriate entry in
31274 __nss_configure_lookup to true.
31275 * nss/nsswitch.h: Define enum with indeces of databases in
31276 databases and __nss_database_custom arrays. Declare
31277 __nss_database_custom.
31278 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31279 to avoid using nscd when custom rules are installed.
31280 * nss/getXXbyYY_r.c: Likewise.
31281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31282
31283 * nss/nss_files/files-parse.c: Whitespace fixes.
31284
f15ce4d8
UD
312852010-08-09 Ulrich Drepper <drepper@redhat.com>
31286
31287 [BZ #11883]
31288 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31289 * posix/fnmatch_loop.c: Likewise.
31290
d22e4cc9
AK
312912010-07-17 Andi Kleen <ak@linux.intel.com>
31292
31293 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31294 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31295 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31296 * Versions.def [GLIBC_2.13]: Add.
31297
805bc17d
UD
312982010-08-06 Ulrich Drepper <drepper@redhat.com>
31299
31300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31301 Also fail if tpwd after pwuid call is NULL.
31302
5a42321d
ST
313032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31304
31305 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31306 when converting to ms.
31307
fd3ebeda
ST
313082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31309
31310 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31311 EOPNOTSUPP errors with ENOTTY.
31312 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31313 EOPNOTSUPP errors with ENOTTY.
31314
73507d3a
UD
313152010-07-31 Ulrich Drepper <drepper@redhat.com>
31316
31317 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31318 Add strcasecmp_l-ssse3.
31319 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31320 strcasecmp.
31321 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31322 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31323 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31324
fe36dd02
UD
313252010-07-30 Ulrich Drepper <drepper@redhat.com>
31326
66f6765a
UD
31327 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31328
42e08a54
UD
31329 * string/Makefile (strop-tests): Add strcasecmp.
31330 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31331 strcasecmp_l-nonascii.
31332 (gen-as-const-headers): Add locale-defines.sym.
31333 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31334 * sysdeps/x86_64/strcasecmp.S: New file.
31335 * sysdeps/x86_64/strcasecmp_l.S: New file.
31336 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31337 * sysdeps/x86_64/locale-defines.sym: New file.
31338 * string/test-strcasecmp.c: New file.
31339
fe36dd02
UD
31340 * string/test-strcasestr.c: Test both ends of the range of characters.
31341 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31342
48cbc0d6
RM
313432010-07-29 Roland McGrath <roland@redhat.com>
31344
76e6d6bc 31345 [BZ #11856]
48cbc0d6
RM
31346 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31347
880113d9
UD
313482010-07-27 Ulrich Drepper <drepper@redhat.com>
31349
31350 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31351 for ld.so.
31352
deb9cabb
AS
313532010-07-27 Andreas Schwab <schwab@redhat.com>
31354
31355 * manual/memory.texi (Malloc Tunable Parameters): Document
31356 M_PERTURB.
31357
1c7570ff
RM
313582010-07-26 Roland McGrath <roland@redhat.com>
31359
31360 [BZ #11840]
31361 * configure.in (-fgnu89-inline check): Set and substitute
31362 gnu89_inline, not libc_cv_gnu89_inline.
31363 * configure: Regenerated.
31364 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31365
24fb0f88
UD
313662010-07-26 Ulrich Drepper <drepper@redhat.com>
31367
31368 * string/test-strnlen.c: New file.
31369 * string/Makefile (strop-tests): Add strnlen.
31370 * string/tester.c (test_strnlen): Add a few more test cases.
31371 * string/tst-strlen.c: Better error reporting.
31372
31373 * sysdeps/x86_64/strnlen.S: New file.
31374
8e96b93a
UD
313752010-07-24 Ulrich Drepper <drepper@redhat.com>
31376
31377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31378 lower-latency instructions.
31379
dbc676d4
UD
313802010-07-23 Ulrich Drepper <drepper@redhat.com>
31381
31382 * string/test-strcasestr.c: New file.
31383 * string/test-strstr.c: New file.
31384 * string/Makefile (strop-tests): Add strstr and strcasestr.
31385 * string/str-two-way.h: Don't undefine MAX.
31386 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31387
f6a31e0e
AS
313882010-07-21 Andreas Schwab <schwab@redhat.com>
31389
31390 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31391 strcasestr-nonascii.
31392 (CFLAGS-strcasestr-nonascii.c): Define.
31393 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31394 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31395 Remove unused attribute.
31396
5dbc3b6c
RM
313972010-07-20 Roland McGrath <roland@redhat.com>
31398
31399 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31400 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31401 ld.so.cache was broken. With it, there is no way to disable dsocaps
31402 like LD_HWCAP_MASK can disable hwcaps.
31403
23d101d8
EPM
314042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31405
31406 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31407
cc9f2e47
UD
314082010-07-16 Ulrich Drepper <drepper@redhat.com>
31409
31410 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31411 call in strcasestr.
31412 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31413 __strcasestr_sse42_nonascii.
31414 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31415 strcasestr-nonascii.c.
31416 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31417
77c1b069
LM
314182010-06-15 Luis Machado <luisgpm@br.ibm.com>
31419
31420 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31422 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31424
440566c3
UD
314252010-07-09 Ulrich Drepper <drepper@redhat.com>
31426
31427 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31428 fcntl.
31429
5be9d05d
AS
314302010-07-06 Andreas Schwab <schwab@redhat.com>
31431
c30b7ee2 31432 [BZ #11577]
5be9d05d
AS
31433 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31434 dl_signal_cerror.
31435
8a492a67
UD
314362010-07-06 Ulrich Drepper <drepper@redhat.com>
31437
31438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31439 _PC_PIPE_BUF using F_GETPIPE_SZ.
31440
713df3d5
RM
314412010-07-05 Roland McGrath <roland@redhat.com>
31442
31443 * manual/arith.texi (Rounding Functions): Fix rint description
31444 implicit in round description.
31445
702e8f14
UD
314462010-07-02 Ulrich Drepper <drepper@redhat.com>
31447
31448 * elf/Makefile: Fix linking for a few tests to make recent linker
31449 happy.
31450
52ed8be9
AS
314512010-06-30 Andreas Schwab <schwab@redhat.com>
31452
31453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31454 $(common-objpfx)libc_nonshared.a.
31455
f47c9a11
LM
314562010-06-21 Luis Machado <luisgpm@br.ibm.com>
31457
31458 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31459 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31460 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31461 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31462 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31463 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31464 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31465 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31480 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31481 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31482 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31483 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31484 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31485 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31486 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31487 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31488 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31489 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31490 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31491 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31506
6fb8cbcb
L
315072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31508
31509 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31510 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31511 * string/memmove.c (memmove): Renamed to ...
31512 (MEMMOVE): ...this. Default to memmove.
31513 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31514 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31515 (END_CHK): Define.
31516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31517 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31518 mempcpy-ssse3-back memmove-ssse3-back.
31519 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31522 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31523 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31524 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31525 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31526 * sysdeps/x86_64/multiarch/memmove.c: New file.
31527 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31528 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31529 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31530 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31531 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31532 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31533 Define.
31534 (index_Fast_Copy_Backward): Define.
31535 (HAS_ARCH_FEATURE): Define.
31536 (HAS_FAST_REP_STRING): Define.
31537 (HAS_FAST_COPY_BACKWARD): Define.
31538
4e733bac 315392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31540
31541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31542 Restore proper fallback handling.
31543
63c4ed22
UD
315442010-06-19 Ulrich Drepper <drepper@redhat.com>
31545
ac2b484c
UD
31546 [BZ #11701]
31547 * posix/group_member.c (__group_member): Correct checking loop.
31548
63c4ed22
UD
31549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31550 OOM in getpwuid_r correctly. Return error number when the caller
31551 should return, otherwise -1.
31552 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31553 call returning > 0 value.
31554 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31555
765ade4b
AS
315562010-06-07 Andreas Schwab <schwab@redhat.com>
31557
31558 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31559 libc_nonshared.a from targets in modules-names.
31560
80da2e09
KS
315612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31562
31563 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31564 requires it.
31565
158db122
LM
315662010-06-10 Luis Machado <luisgpm@br.ibm.com>
31567
31568 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31569 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31572
caa78cf8
AS
315732010-06-02 Andreas Schwab <schwab@redhat.com>
31574
31575 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31576
b2ef2c01
UD
315772010-06-14 Ulrich Drepper <drepper@redhat.com>
31578
31579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31580 and F_GETPIPE_SZ.
31581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31587
fbd643b6
RM
315882010-06-14 Roland McGrath <roland@redhat.com>
31589
31590 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31591
f32f2869
JJ
315922010-06-07 Jakub Jelinek <jakub@redhat.com>
31593
31594 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31595 __REDIRECT followed by __THROW.
31596 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31597 * posix/getopt.h (getopt): Likewise.
31598
2a50c078
EPM
315992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31600
31601 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31602 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31603 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31604 in AT_FLAGS.
31605 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31606 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31607
eb5ad2eb
LM
316082010-05-28 Luis Machado <luisgpm@br.ibm.com>
31609
31610 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31611
3c88fe1e
L
316122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31613
31614 [BZ #11640]
31615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31616 Properly check family and model.
31617
d2f73151
TY
316182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31619
31620 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31621
ebd2e13d
LM
316222010-05-24 Luis Machado <luisgpm@br.ibm.com>
31623
31624 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31625
b32b8b45
UD
316262010-05-21 Ulrich Drepper <drepper@redhat.com>
31627
31628 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31629 symbol reference.
31630
9acbe24d
AS
316312010-05-19 Andreas Schwab <schwab@redhat.com>
31632
31633 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31634 symbol reference.
31635
f0ccf6ea
AS
316362010-05-21 Andreas Schwab <schwab@redhat.com>
31637
3d04ff3a
AS
31638 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31639 and internal_recvmmsg.
31640 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31641 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31642 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31643 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31644
f0ccf6ea
AS
31645 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31646 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31647 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31648
5b08ac57
AS
316492010-05-20 Andreas Schwab <schwab@redhat.com>
31650
31651 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31652
4828935d
LM
316532010-05-17 Luis Machado <luisgpm@br.ibm.com>
31654
31655 POWER7 optimizations.
31656 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31657 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31658
373d545e
UD
316592010-05-19 Ulrich Drepper <drepper@redhat.com>
31660
31661 * version.h: Update for 2.13 development version.
31662
21a2b1ae
AS
316632010-05-12 Andrew Stubbs <ams@codesourcery.com>
31664
31665 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31666 exceptions. Return 0.
31667
3f7dcb2b
RM
316682010-05-07 Roland McGrath <roland@redhat.com>
31669
31670 * elf/ldconfig.c (main): Add a const.
31671
5f24d53a 316722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31673
a160f8d8
UD
31674 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31675 (args_options): Add no-idn option.
31676 (ahosts_keys_int): Add idn_flags to ai_flags.
31677 (parse_option): Handle 'i' option to clear idn_flags.
31678
5f24d53a
UD
31679 * malloc/malloc.c (_int_free): Possible race in the most recently
31680 added check. Only act on the data if no current modification
31681 happened.
265bb1ce
UD
31682
31683See ChangeLog.17 for earlier changes.