]> sourceware.org Git - glibc.git/blame - ChangeLog
Add sh4 implementation of fegetexceptflag.
[glibc.git] / ChangeLog
CommitLineData
be09e8c9
KK
12013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2
3 [BZ #15655]
4 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5
85c2e611
AZ
62013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7
8 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
9 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10 accepts -fno-tree-loop-distribute-patterns.
11 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13 recursive call.
14 * string/memset.c (memset): Likewise.
15 * string/test-memmove.c (simple_memmove): Disable loop transformation
16 to library calls.
17 * string/test-memset.c (simple_memset): Likewise.
18 * benchtests/bench-memmove.c (simple_memmove): Likewise.
19 * benchtests/bench-memset.c (simple_memset): Likewise.
20 * configure: Regenerated.
21
c91e0825
JM
222013-06-20 Joseph Myers <joseph@codesourcery.com>
23
b8c792af
JM
24 * math/test-misc.c (main): Ignore fesetround failure when failures
25 of subsequent rounding tests would be ignored.
26
c91e0825
JM
27 [BZ #15654]
28 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30 * math/fegetenv.c (__fegetenv): Return 0.
31 * math/fegetexcept.c (fegetexcept): Return 0.
32 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33 FE_TONEAREST.
34 * math/feholdexcpt.c (feholdexcept): Return 0.
35 * math/fesetenv.c (__fesetenv): Return 0.
36 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37 argument FE_TONEAREST.
38 * math/feupdateenv.c (__feupdateenv): Return 0.
39 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40
bfcacbde
RM
412013-06-18 Roland McGrath <roland@hack.frob.com>
42
43 * elf/rtld-Rules (rtld-compile-command.S): New variable.
44 (rtld-compile-command.s, rtld-compile-command.c): New variables.
45 ($(objpfx)rtld-%.os rules): Use them.
46
e55a9b25
AZ
472013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50 fields.
51
346d65b3
RM
522013-06-17 Roland McGrath <roland@hack.frob.com>
53
12086fb4
RM
54 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
55 length of target pattern, then descending length of dependency pattern.
56 * configure.in (AWK): Require gawk 3.1.2 or newer.
57 * manual/install.texi (Tools for Compilation): Say that we do.
58 * configure: Regenerated.
59
346d65b3
RM
60 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
62 * scripts/sysd-rules.awk: ... this new script.
63 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64 than a glob-style pattern.
65
1a846317
JM
662013-06-17 Joseph Myers <joseph@codesourcery.com>
67
68 * math/test-misc.c (main): Do not treat incorrectly rounded
69 conversions as failure unless ROUNDING_TESTS passes.
70
8fc75e6f
JM
712013-06-15 Joseph Myers <joseph@codesourcery.com>
72
3711a167
JM
73 [BZ #15631]
74 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
75 restore exception state around main square root computation, then
76 check for inexactness explicitly.
77
8fc75e6f
JM
78 * math/libm-test.inc (fma_test_data): Add another test.
79
61dd6208
SP
802013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
81
adf23d2c
SP
82 * manual/threads.texi (Non-POSIX Extensions): New document
83 node. Document pthread_getattr_default_np and
84 pthread_setattr_default_np.
85
61dd6208
SP
86 * Versions.def (libpthread): Add GLIBC_2.18.
87 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
89 Likewise.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
91 Likewise.
92 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
93 Likewise.
94 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
95 Likewise.
96 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
97 Likewise.
98 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
99 Likewise.
100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
101 Likewise.
102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
103 Likewise.
104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
105 Likewise.
106
d086fc7b
LD
1072013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
108
109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
110 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
111
747ef469
SP
1122013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
113 H.J. Lu <hjl.tools@gmail.com>
114
115 [BZ #15627]
116 * sysdeps/x86_64/rtld-memset.c: Remove file.
117 * sysdeps/x86_64/rtld-memset.S: New file.
118
1b2feed2
JM
1192013-06-14 Joseph Myers <joseph@codesourcery.com>
120
121 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
122 (test_in_one_mode): Take arguments for whether the rounding mode
123 is supported for each floating-point type.
124 (do_test): Pass new arguments to test_in_one_mode using
125 ROUNDING_TESTS.
126
a58ad3f8
RM
1272013-06-13 Roland McGrath <roland@hack.frob.com>
128
129 * posix/tst-waitid.c (do_test): Distinguish different instances of
130 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
131 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
132 before entering the kernel for waitpid.
133
c204ab28
SP
1342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
135
136 * NEWS: Fix note on clock function precision. Text by Roland
137 McGrath.
138
f4a29fba
RM
1392013-06-13 Roland McGrath <roland@hack.frob.com>
140
141 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
142 it into place only when and if the sanity check passes.
143
1f24b9ad
JM
1442013-06-13 Joseph Myers <joseph@codesourcery.com>
145
146 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
147 output for whether conversion result is exact. Take argument
148 indicating whether type is IBM long double.
149 (round_for_all): Change need_exact field to ibm_ld.
150 * stdlib/tst-strtod-round.c (struct exactness): New type.
151 (struct test): Change bool ld_ok field to struct exactness exact.
152 (TEST): Update all definitions for change to field.
153 (tests): Regenerate array contents.
154 (test_in_one_mode): Take pointer to new field instead of old ld_ok
155 field value. Check for IBM long double here.
156 (do_test): Update calls to test_in_one_mode.
157
58206c68
SP
1582013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
159
160 [BZ #12515]
161 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
162 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
163
2d6f4c5b 1642013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
165
166 [BZ #15605]
167 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
168 generated by the compiler on loop optimizations.
169 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
170 general definitions.
171
94f2c076
JM
1722013-06-12 Joseph Myers <joseph@codesourcery.com>
173
174 * math/bug-nextafter.c: Include <math-tests.h>.
175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
176 the relevant type.
177 * math/bug-nexttoward.c: Include <math-tests.h>.
178 (main): Only test for exceptions if EXCEPTION_TESTS is true for
179 the relevant type.
180 * math/test-misc.c: Include <math-tests.h>.
181 (main): Only test for exceptions if EXCEPTION_TESTS is true for
182 the relevant type.
183
e0e50a0a
AJ
1842013-06-12 Andreas Jaeger <aj@suse.de>
185
186 * po/ia.po: Update Interlingua translation from translation
187 project.
188
25061094
SP
1892013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
190
191 * include/fenv.h: Include stdbool.h.
192 (struct rm_ctx): New structure.
193 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
194 Define macro.
195 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
196 (SET_RESTORE_ROUNDF): Likewise.
197 (SET_RESTORE_ROUNDL): Likewise.
198 (SET_RESTORE_ROUND_NOEX): Likewise.
199 (SET_RESTORE_ROUND_NOEXF): Likewise.
200 (SET_RESTORE_ROUND_NOEXL): Likewise.
201 (SET_RESTORE_ROUND_53BIT): Likewise.
202 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
203 (libc_feresetround_noexf_ctx): Likewise.
204 (libc_feresetround_noexl_ctx): Likewise.
205 (libc_feholdsetround_53bit_ctx): Likewise.
206 (libc_feresetround_53bit_ctx): Likewise.
207 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
208 (libc_feholdexcept_setround_sse_ctx): New function.
209 (libc_fesetenv_sse_ctx): Likewise.
210 (libc_feupdateenv_sse_ctx): Likewise.
211 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
212 (libc_feholdexcept_setround_387_ctx): Likewise.
213 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
214 (libc_feholdsetround_387_prec_ctx): Likewise.
215 (libc_feholdsetround_387_ctx): Likewise.
216 (libc_feholdsetround_387_53bit_ctx): Likewise.
217 (libc_feholdsetround_sse_ctx): Likewise.
218 (libc_feresetround_sse_ctx): Likewise.
219 (libc_feresetround_387_ctx): Likewise.
220 (libc_feupdateenv_387_ctx): Likewise.
221 (libc_feholdexcept_setroundf_ctx): Define macro.
222 (libc_fesetenvf_ctx): Likewise.
223 (libc_feupdateenvf_ctx): Likewise.
224 (libc_feholdsetroundf_ctx): Likewise.
225 (libc_feresetroundf_ctx): Likewise.
226 (libc_feholdexcept_setround_ctx): Likewise.
227 (libc_fesetenv_ctx): Likewise.
228 (libc_feupdateenv_ctx): Likewise.
229 (libc_feholdsetround_ctx): Likewise.
230 (libc_feresetround_ctx): Likewise.
231 (libc_feholdexcept_setroundl_ctx): Likewise.
232 (libc_feupdateenvl_ctx): Likewise.
233 (libc_feholdsetroundl_ctx): Likewise.
234 (libc_feresetroundl_ctx): Likewise.
235 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
236 (libc_feresetround_53bit_ctx): Likewise.
237
59b30555
SP
2382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
239
240 * locale/iso-639.def: Convert to UTF-8.
241
f1d73d30
JM
2422013-06-11 Joseph Myers <joseph@codesourcery.com>
243
244 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
245 (EXCEPTION_TESTS_double): Likewise.
246 (EXCEPTION_TESTS_long_double): Likewise.
247 (EXCEPTION_TESTS): Likewise.
248 * math/libm-test.inc (test_exceptions): Only test exceptions if
249 EXCEPTION_TESTS (FLOAT).
250
94aca5e7
SP
2512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
252
253 * benchtests/Makefile (string-bench): Add strcpy_chk and
254 stpcpy_chk.
255 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
256 * benchtests/bench-stpcpy_chk.c: New file.
257 * benchtests/bench-strcpy_chk-ifunc.c: New file.
258 * benchtests/bench-strcpy_chk.c: New file.
259 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
260 code.
261 (do_test): Likewise.
262
fac0c5f2
RA
2632013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
264
265 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
266 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
267 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
268 with tabs where appropriate.
269 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
270 dl-procinfo.h.
271 [PPC_PLATFORM_PPC440]: Likewise.
272 [PPC_PLATFORM_PPC464]: Likewise.
273 [PPC_PLATFORM_PPC476]: Likewise.
274 (_dl_string_platform): Add support for detecting ppc405, ppc440,
275 ppc464, and ppc476 platform strings merging from ports/
276 dl-procinfo.h.
277
f22bc486
AS
2782013-06-11 Andreas Schwab <schwab@suse.de>
279
280 [BZ #14991]
281 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
282 (from_ucs4_idx): Regenerate.
283 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
284 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
285 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
286 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
287 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
288 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
289 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
290 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
291 from FROM_LOOP and TO_LOOP specific macros.
292 (BODY): Handle combining characters.
293 * iconvdata/BIG5HKSCS.irreversible: Update.
294 * iconvdata/BIG5HKSCS.precomposed: New file.
295 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
296 characters.
297 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
298
c1f75dc3
SP
2992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
300
4eacded2
SP
301 * include/sys/time.h: Fix indentation and add copyright header.
302
fec799f8
SP
303 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
304 (do_test): Likewise.
305 * string/test-memchr.c (do_one_test): Likewise.
306 (do_test): Likewise.
307 * string/test-memcmp.c (do_one_test): Likewise.
308 (do_test): Likewise.
309 * string/test-memcpy.c (do_one_test): Likewise.
310 (do_test): Likewise.
311 * string/test-memmem.c (do_one_test): Likewise.
312 (do_test): Likewise.
313 (do_random_tests): Likewise.
314 * string/test-memmove.c (do_one_test): Likewise.
315 (do_test): Likewise.
316 * string/test-memset.c (do_one_test): Likewise.
317 (do_test): Likewise.
318 * string/test-rawmemchr.c (do_one_test): Likewise.
319 (do_test): Likewise.
320 * string/test-strcasecmp.c (do_one_test): Likewise.
321 (do_test): Likewise.
322 * string/test-strcasestr.c (do_one_test): Likewise.
323 (do_test): Likewise.
324 * string/test-strcat.c (do_one_test): Likewise.
325 (do_test): Likewise.
326 * string/test-strchr.c (do_one_test): Likewise.
327 (do_test): Likewise.
328 * string/test-strcmp.c (do_one_test): Likewise.
329 (do_test): Likewise.
330 * string/test-strcpy.c (do_one_test): Likewise.
331 (do_test): Likewise.
332 * string/test-string.h: Likewise.
333 (test_init): Likewise.
334 * string/test-strlen.c (do_one_test): Likewise.
335 (do_test): Likewise.
336 * string/test-strncasecmp.c (do_one_test): Likewise.
337 (do_test): Likewise.
338 * string/test-strncat.c (do_one_test): Likewise.
339 (do_test): Likewise.
340 * string/test-strncmp.c (do_one_test): Likewise.
341 (do_test_limit): Likewise.
342 (do_test): Likewise.
343 * string/test-strncpy.c (do_one_test): Likewise.
344 (do_test): Likewise.
345 * string/test-strnlen.c (do_one_test): Likewise.
346 (do_test): Likewise.
347 * string/test-strpbrk.c (do_one_test): Likewise.
348 (do_test): Likewise.
349 * string/test-strrchr.c (do_one_test): Likewise.
350 (do_test): Likewise.
351 * string/test-strspn.c (do_one_test): Likewise.
352 (do_test): Likewise.
353 * string/test-strstr.c (do_one_test): Likewise.
354 (do_test): Likewise.
355
97020474
SP
356 * benchtests/Makefile (string-bench): Add string benchmarks.
357 * benchtests/bench-bcopy-ifunc.c: New file.
358 * benchtests/bench-bcopy.c: New file.
359 * benchtests/bench-bzero-ifunc.c: New file.
360 * benchtests/bench-bzero.c: New file.
361 * benchtests/bench-memccpy-ifunc.c: New file.
362 * benchtests/bench-memccpy.c: New file.
363 * benchtests/bench-memchr-ifunc.c: New file.
364 * benchtests/bench-memchr.c: New file.
365 * benchtests/bench-memcmp-ifunc.c: New file.
366 * benchtests/bench-memcmp.c: New file.
367 * benchtests/bench-memmem-ifunc.c: New file.
368 * benchtests/bench-memmem.c: New file.
369 * benchtests/bench-memmove-ifunc.c: New file.
370 * benchtests/bench-memmove.c: New file.
371 * benchtests/bench-mempcpy-ifunc.c: New file.
372 * benchtests/bench-mempcpy.c: New file.
373 * benchtests/bench-memset-ifunc.c: New file.
374 * benchtests/bench-memset.c: New file.
375 * benchtests/bench-rawmemchr-ifunc.c: New file.
376 * benchtests/bench-rawmemchr.c: New file.
377 * benchtests/bench-stpcpy-ifunc.c: New file.
378 * benchtests/bench-stpcpy.c: New file.
379 * benchtests/bench-stpncpy-ifunc.c: New file.
380 * benchtests/bench-stpncpy.c: New file.
381 * benchtests/bench-strcasecmp-ifunc.c: New file.
382 * benchtests/bench-strcasecmp.c: New file.
383 * benchtests/bench-strcasestr-ifunc.c: New file.
384 * benchtests/bench-strcasestr.c: New file.
385 * benchtests/bench-strcat-ifunc.c: New file.
386 * benchtests/bench-strcat.c: New file.
387 * benchtests/bench-strchr-ifunc.c: New file.
388 * benchtests/bench-strchr.c: New file.
389 * benchtests/bench-strchrnul-ifunc.c: New file.
390 * benchtests/bench-strchrnul.c: New file.
391 * benchtests/bench-strcmp-ifunc.c: New file.
392 * benchtests/bench-strcmp.c: New file.
393 * benchtests/bench-strcpy-ifunc.c: New file.
394 * benchtests/bench-strcpy.c: New file.
395 * benchtests/bench-strcspn-ifunc.c: New file.
396 * benchtests/bench-strcspn.c: New file.
397 * benchtests/bench-strlen-ifunc.c: New file.
398 * benchtests/bench-strlen.c: New file.
399 * benchtests/bench-strncasecmp-ifunc.c: New file.
400 * benchtests/bench-strncasecmp.c: New file.
401 * benchtests/bench-strncat-ifunc.c: New file.
402 * benchtests/bench-strncat.c: New file.
403 * benchtests/bench-strncmp-ifunc.c: New file.
404 * benchtests/bench-strncmp.c: New file.
405 * benchtests/bench-strncpy-ifunc.c: New file.
406 * benchtests/bench-strncpy.c: New file.
407 * benchtests/bench-strnlen-ifunc.c: New file.
408 * benchtests/bench-strnlen.c: New file.
409 * benchtests/bench-strpbrk-ifunc.c: New file.
410 * benchtests/bench-strpbrk.c: New file.
411 * benchtests/bench-strrchr-ifunc.c: New file.
412 * benchtests/bench-strrchr.c: New file.
413 * benchtests/bench-strspn-ifunc.c: New file.
414 * benchtests/bench-strspn.c: New file.
415 * benchtests/bench-strstr-ifunc.c: New file.
416 * benchtests/bench-strstr.c: New file.
417
c1f75dc3
SP
418 * benchtests/Makefile: Disable parallel execution of targets.
419 (string-bench): Add memcpy.
420 (benchset): New variable to store a list of benchmark sets.
421 (bench-func): Renamed from bench.
422 (bench-set): New target.
423 (bench): Depend on bench-func and bench-set.
424 * benchtests/README: Add section on benchmark sets.
425 * benchtests/bench-memcpy-ifunc.c: New file.
426 * benchtests/bench-memcpy.c: New file.
427 * benchtests/bench-string.h: New file.
428
50fd745b
AS
4292013-06-11 Andreas Schwab <schwab@suse.de>
430
431 [BZ #15577]
432 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
433 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
434 values in the triple.
435 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
436 terminator in the group key.
437
3ee7e9fe
AJ
4382013-06-11 Andreas Jaeger <aj@suse.de>
439
440 * po/zh_TW.po: Update Chinese (traditional) translation from
441 translation project.
442
89fb6835
SP
4432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
444
445 * include/time.h (__clock_gettime): Add libc_hidden_proto.
446 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
447 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
448 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
449 (clock_getcpuclockid): Likewise.
450 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
451 Add weak_alias and libc_hidden_def.
452 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
453 * rt/clock_gettime.c (clock_gettime): Rename to
454 __clock_gettime. Add weak_alias and libc_hidden_def.
455 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
456 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
457 __clock_nanosleep. Add weak_alias and libc_hidden_def.
458 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
459 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
460 Likewise.
461 * rt/clock_settime.c (clock_settime): Rename to
462 __clock_settime. Add weak_alias and libc_hidden_def.
463 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
464
0efa6f8b
JM
4652013-06-10 Joseph Myers <joseph@codesourcery.com>
466
b8c61b4b
JM
467 * mach/err_boot.sub: Remove trailing whitespace.
468 * mach/err_ipc.sub: Likewise.
469 * mach/err_mach.sub: Likewise.
470
0efa6f8b
JM
471 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
472 (ROUNDING_TESTS_double): Likewise.
473 (ROUNDING_TESTS_long_double): Likewise.
474 (ROUNDING_TESTS): Likewise.
475 * math/libm-test.inc: Include <math-tests.h>.
476 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
477 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
478 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
479 (IF_ROUND_INIT_FE_UPWARD): Likewise.
480
50b818bf
SP
4812013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
482
483 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
484 of assigning.
485
60d2f8f3
JM
4862013-06-08 Joseph Myers <joseph@codesourcery.com>
487
4902d2c3
JM
488 * sysdeps/gnu/errlist.awk: Do not generate space at end of
489 otherwise empty TRANS lines.
490 * sysdeps/gnu/errlist.c: Regenerated.
491
60d2f8f3
JM
492 * catgets/gencat.c (error_print): Use (void) in function
493 definition.
494 * crypt/crypt_util.c (__init_des): Likewise.
495 * crypt/speeds.c (Stop): Likewise.
496 (main): Likewise.
497 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
498 * inet/ruserpass.c (token): Likewise.
499 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
500 * intl/localealias.c (extend_alias_table): Likewise.
501 * intl/plural-exp.c (init_germanic_plural): Likewise.
502 * libio/fcloseall.c (__fcloseall): Likewise.
503 * libio/genops.c (_IO_flush_all): Likewise.
504 (_IO_flush_all_linebuffered): Likewise.
505 (_IO_cleanup): Likewise.
506 (_IO_iter_begin): Likewise.
507 (_IO_iter_end): Likewise.
508 (_IO_list_lock): Likewise.
509 (_IO_list_unlock): Likewise.
510 (_IO_list_resetlock): Likewise.
511 * libio/getchar.c (getchar): Likewise.
512 * libio/getchar_u.c (getchar_unlocked): Likewise.
513 * libio/getwchar.c (getwchar): Likewise.
514 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
515 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
516 * login/getpt.c (__getpt): Likewise.
517 * login/tst-utmp.c (main): Likewise.
518 * malloc/hooks.c (__malloc_check_init): Likewise.
519 * malloc/malloc.c (__malloc_stats): Likewise.
520 * malloc/mtrace.c (tr_break): Likewise.
521 (mtrace): Likewise.
522 (muntrace): Likewise.
523 * misc/fstab.c (endfsent): Likewise.
524 * misc/getclktck.c (__getclktck): Likewise.
525 * misc/getdtsz.c (__getdtablesize): Likewise.
526 * misc/gethostid.c (gethostid): Likewise.
527 * misc/getpagesize.c (__getpagesize): Likewise.
528 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
529 (__get_nprocs): Likewise.
530 (__get_phys_pages): Likewise.
531 (__get_avphys_pages): Likewise.
532 * misc/getttyent.c (getttyent): Likewise.
533 (setttyent): Likewise.
534 (endttyent): Likewise.
535 * misc/getusershell.c (getusershell): Likewise.
536 (endusershell): Likewise.
537 (setusershell): Likewise.
538 (initshells): Likewise.
539 * misc/hsearch.c (__hdestroy): Likewise.
540 * misc/sync.c (sync): Likewise.
541 * misc/syslog.c (closelog_internal): Likewise.
542 (closelog): Likewise.
543 * misc/ttyslot.c (ttyslot): Likewise.
544 * misc/vhangup.c (vhangup): Likewise.
545 * posix/fork.c (__fork): Likewise.
546 * posix/getegid.c (__getegid): Likewise.
547 * posix/geteuid.c (__geteuid): Likewise.
548 * posix/getgid.c (__getgid): Likewise.
549 * posix/getpid.c (__getpid): Likewise.
550 * posix/getppid.c (__getppid): Likewise.
551 * posix/getuid.c (__getuid): Likewise.
552 * posix/pause.c (pause): Likewise.
553 * posix/setpgrp.c (setpgrp): Likewise.
554 * posix/setsid.c (__setsid): Likewise.
555 * posix/test-vfork.c (noop): Likewise.
556 * resolv/gethnamaddr.c (_endhtent): Likewise.
557 (_gethtent): Likewise.
558 (ht_endhostent): Likewise.
559 (gethostent): Likewise.
560 (dns_service): Likewise.
561 * stdlib/drand48.c (drand48): Likewise.
562 * stdlib/lrand48.c (lrand48): Likewise.
563 * stdlib/mrand48.c (mrand48): Likewise.
564 * stdlib/rand.c (rand): Likewise.
565 * stdlib/random.c (__random): Likewise.
566 * stdlib/setenv.c (clearenv): Likewise.
567 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
568 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
569 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
570 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
571 (__get_nprocs): Likewise.
572 (__get_phys_pages): Likewise.
573 (__get_avphys_pages): Likewise.
574 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
575 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
576 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
577 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
578 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
579 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
580 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
581 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
582 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
583 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
584 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
585 * sysdeps/mach/hurd/sync.c (sync): Likewise.
586 * sysdeps/posix/clock.c (clock): Likewise.
587 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
588 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
589 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
590 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
591 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
593 (__get_nprocs_conf): Likewise.
594 (__get_phys_pages): Likewise.
595 (__get_avphys_pages): Likewise.
596 * time/clock.c (clock): Likewise.
597 * time/tzset.c (__tzname_max): Likewise.
598
2e09a79a
JM
5992013-06-07 Joseph Myers <joseph@codesourcery.com>
600
601 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
602 (__bswap_32): Do not use "register".
603 * crypt/crypt.c (_ufc_doit_r): Likewise.
604 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
605 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
606 * gmon/gmon.c (__monstartup): Likewise.
607 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
608 * hurd/hurdmalloc.c (more_memory): Likewise.
609 (malloc): Likewise.
610 (free): Likewise.
611 (realloc): Likewise.
612 (malloc_fork_prepare): Likewise.
613 (malloc_fork_parent): Likewise.
614 (malloc_fork_child): Likewise.
615 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
616 (_svcauth_des): Likewise.
617 * inet/inet_lnaof.c (inet_lnaof): Likewise.
618 * inet/inet_net.c (inet_network): Likewise.
619 * inet/inet_netof.c (inet_netof): Likewise.
620 * inet/rcmd.c (__validuser2_sa): Likewise.
621 * io/fts.c (fts_open): Likewise.
622 (fts_load): Likewise.
623 (fts_close): Likewise.
624 (fts_read): Likewise.
625 (fts_children): Likewise.
626 (fts_build): Likewise.
627 (fts_stat): Likewise.
628 (fts_sort): Likewise.
629 (fts_alloc): Likewise.
630 (fts_lfree): Likewise.
631 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
632 (_IO_file_xsgetn): Likewise.
633 (_IO_file_xsgetn_mmap): Likewise.
634 * libio/iofopncook.c (_IO_cookie_read): Likewise.
635 (_IO_cookie_write): Likewise.
636 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
637 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
638 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
639 * malloc/obstack.c (_obstack_begin): Likewise.
640 (_obstack_begin_1): Likewise.
641 (_obstack_newchunk): Likewise.
642 (_obstack_allocated_p): Likewise.
643 (obstack_free): Likewise.
644 (_obstack_memory_used): Likewise.
645 * misc/getttyent.c (getttynam): Likewise.
646 (getttyent): Likewise.
647 (skip): Likewise.
648 (value): Likewise.
649 * misc/getusershell.c (initshells): Likewise.
650 * misc/syslog.c (__vsyslog_chk): Likewise.
651 * misc/ttyslot.c (ttyslot): Likewise.
652 * nis/nis_hash.c (__nis_hash): Likewise.
653 * posix/fnmatch_loop.c (FCT): Likewise.
654 * posix/getconf.c (print_all): Likewise.
655 (main): Likewise.
656 * posix/getopt.c (exchange): Likewise.
657 * posix/glob.c (globfree): Likewise.
658 (prefix_array): Likewise.
659 (__glob_pattern_type): Likewise.
660 * resolv/arpa/nameser.h (NS_GET16): Likewise.
661 (NS_GET32): Likewise.
662 (NS_PUT16): Likewise.
663 (NS_PUT32): Likewise.
664 * resolv/gethnamaddr.c (getanswer): Likewise.
665 (gethostbyname2): Likewise.
666 (gethostbyaddr): Likewise.
667 (_gethtent): Likewise.
668 (_gethtbyname2): Likewise.
669 (_gethtbyaddr): Likewise.
670 * resolv/ns_print.c (dst_s_get_int16): Likewise.
671 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
672 * resolv/res_init.c (__res_vinit): Likewise.
673 (net_mask): Likewise.
674 * resolv/res_mkquery.c (outchar): Likewise.
675 (PRINT): Likewise.
676 * stdio-common/printf_fp.c (outchar): Likewise.
677 (PRINT): Likewise.
678 * stdio-common/printf_fphex.c (outchar): Likewise.
679 (PRINT): Likewise.
680 * stdio-common/printf_size.c (outchar): Likewise.
681 (PRINT): Likewise.
682 * stdio-common/test_rdwr.c (main): Likewise.
683 * stdio-common/tfformat.c (matches): Likewise.
684 * stdio-common/vfprintf.c (outchar): Likewise.
685 (printf_unknown): Likewise.
686 (buffered_vfprintf): Likewise.
687 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
688 * stdio-common/xbug.c (AppendToBuffer): Likewise.
689 (ReadFile): Likewise.
690 * stdlib/qsort.c (SWAP): Likewise.
691 (_quicksort): Likewise.
692 * stdlib/setenv.c (__add_to_environ): Likewise.
693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
694 * stdlib/strtol_l.c (__strtol_l): Likewise.
695 * stdlib/tst-strtod.c (main): Likewise.
696 * stdlib/tst-strtol.c (main): Likewise.
697 * stdlib/tst-strtoll.c (main): Likewise.
698 * string/bits/string2.h (__strcmp_cc): Likewise.
699 (__strcmp_cg): Likewise.
700 (__strcspn_c1): Likewise.
701 (__strcspn_c2): Likewise.
702 (__strcspn_c3): Likewise.
703 (__strspn_c1): Likewise.
704 (__strspn_c2): Likewise.
705 (__strspn_c3): Likewise.
706 (__strsep_1c): Likewise.
707 (__strsep_2c): Likewise.
708 (__strsep_3c): Likewise.
709 * string/memccpy.c (__memccpy): Likewise.
710 * string/stpcpy.c (__stpcpy): Likewise.
711 * string/strcmp.c (strcmp): Likewise.
712 * string/strrchr.c (strrchr): Likewise.
713 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
714 Likewise.
715 * sysdeps/mach/hurd/getcwd.c
716 (_hurd_canonicalize_directory_name_internal): Likewise.
717 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
718 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
719 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
720 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
721 Likewise, in both definitions.
722 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
723 definitions.
724 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
725 64] (__bswap_64): Likewise.
726 * time/test_time.c (main): Likewise.
727 * time/tzfile.c (__tzfile_read): Likewise.
728 (__tzfile_compute): Likewise.
729 * time/tzset.c (__tzset_parse_tz): Likewise.
730 (tzset_internal): Likewise.
731 (compute_change): Likewise.
732 * wcsmbs/wcscat.c (__wcscat): Likewise.
733 * wcsmbs/wcschr.c (wcschr): Likewise.
734 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
735 * wcsmbs/wcscspn.c (wcscspn): Likewise.
736 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
737 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
738 * wcsmbs/wcsspn.c (wcsspn): Likewise.
739 * wcsmbs/wcsstr.c (wcsstr): Likewise.
740 * wcsmbs/wmemchr.c (wmemchr): Likewise.
741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
742 * wcsmbs/wmemset.c (wmemset): Likewise.
743
9e54314b
JM
7442013-06-06 Joseph Myers <joseph@codesourcery.com>
745
746 * scripts/config.guess: Update to version 2013-05-16.
747 * scripts/config.sub: Update to version 2013-04-24.
748 * scripts/install-sh: Update to version 2011-11-20.07.
749 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
750 * scripts/move-if-change: Update to version 2012-01-06 07:23.
751
350635a5
OB
7522013-06-06 Ondřej Bílka <neleai@seznam.cz>
753
754 * debug/fgetws_u_chk.c: Fix leading whitespaces.
755 * elf/sln.c: Likewise.
756 * hurd/hurd/ioctl.h: Likewise.
757 * hurd/hurdmalloc.c: Likewise.
758 * hurd/xattr.c: Likewise.
759 * include/shlib-compat.h: Likewise.
760 * inet/ruserpass.c: Likewise.
761 * libio/iofgets_u.c: Likewise.
762 * libio/iofgetws_u.c: Likewise.
763 * locale/programs/ld-identification.c: Likewise.
764 * locale/programs/ld-time.c: Likewise.
765 * mach/msg-destroy.c: Likewise.
766 * nss/nss_files/files-netgrp.c: Likewise.
767 * resolv/res_data.c: Likewise.
768 * soft-fp/op-1.h: Likewise.
769 * soft-fp/op-2.h: Likewise.
770 * soft-fp/op-4.h: Likewise.
771 * soft-fp/op-common.h: Likewise.
772 * stdio-common/printf_fphex.c: Likewise.
773 * stdlib/strtod_l.c: Likewise.
774 * sunrpc/rpc/clnt.h: Likewise.
775 * sysdeps/generic/framestate.c: Likewise.
776 * sysdeps/i386/bsd-_setjmp.S: Likewise.
777 * sysdeps/i386/bsd-setjmp.S: Likewise.
778 * sysdeps/i386/__longjmp.S: Likewise.
779 * sysdeps/i386/setjmp.S: Likewise.
780 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
781 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
783 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
785 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
790 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
791 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
792 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
793 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
794 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
796 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
797 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
798 * sysdeps/ieee754/support.c: Likewise.
799 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
800 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
801 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
802 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
803 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
804 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
805 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
806 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
807 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
808 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
809 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
810 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
811 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
812 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
813 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
814 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
815 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
817
44a988af
OB
8182013-06-05 Ondřej Bílka <neleai@seznam.cz>
819
25506f09 820 * posix/transbug.c: Remove executable mode.
44a988af 821
9c84384c
JM
8222013-06-05 Joseph Myers <joseph@codesourcery.com>
823
824 * crypt/speeds.c: Remove trailing whitespace.
825 * dlfcn/default.c: Likewise.
826 * elf/ifuncdep2.c: Likewise.
827 * elf/ifuncmain1.c: Likewise.
828 * elf/ifuncmain1vis.c: Likewise.
829 * elf/testobj.h: Likewise.
830 * elf/tst-stackguard1.c: Likewise.
831 * gmon/sys/gmon.h: Likewise.
832 * hurd/hurdmsg.c: Likewise.
833 * hurd/new-fd.c: Likewise.
834 * hurd/ports-get.c: Likewise.
835 * iconvdata/ibm1008_420.c: Likewise.
836 * inet/tst-getni1.c: Likewise.
837 * inet/tst-getni2.c: Likewise.
838 * libio/ioungetc.c: Likewise.
839 * libio/wfiledoalloc.c: Likewise.
840 * manual/libm-err-tab.pl: Likewise.
841 * math/w_dremf.c: Likewise.
842 * misc/ftruncate.c: Likewise.
843 * posix/bug-glob2.c: Likewise.
844 * posix/tst-pcre.c: Likewise.
845 * posix/wait4.c: Likewise.
846 * resolv/README: Likewise.
847 * resolv/res_debug.h: Likewise.
848 * resolv/tst-inet_ntop.c: Likewise.
849 * setjmp/bug269-setjmp.c: Likewise.
850 * soft-fp/extended.h: Likewise.
851 * soft-fp/op-1.h: Likewise.
852 * soft-fp/op-2.h: Likewise.
853 * soft-fp/op-4.h: Likewise.
854 * soft-fp/op-8.h: Likewise.
855 * soft-fp/testit.c: Likewise.
856 * stdio-common/bug16.c: Likewise.
857 * stdlib/random.c: Likewise.
858 * sunrpc/rpcsvc/rquota.x: Likewise.
859 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
860 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
862 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
863 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
864 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
865 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
866 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
867 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
868 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
869 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
870 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
871 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
872 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
873 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
875 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
877 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
880 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
886 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
888 * sysdeps/ieee754/s_lib_version.c: Likewise.
889 * sysdeps/mach/hurd/check_fds.c: Likewise.
890 * sysdeps/mach/hurd/getsockname.c: Likewise.
891 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
892 * sysdeps/mach/hurd/recvfrom.c: Likewise.
893 * sysdeps/powerpc/bits/link.h: Likewise.
894 * sysdeps/powerpc/dl-procinfo.c: Likewise.
895 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
896 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
897 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
898 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
899 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
900 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
901 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
902 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
903 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
904 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
905 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
906 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
907 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
908 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
909 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
910 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
914 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
915 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
916 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
917 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
918 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
926 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
927 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
928 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
929 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
930 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
931 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
932 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
933 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
934 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
935 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
936 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
937 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
938 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
939 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
940 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
941 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
942 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
943 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
944 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
946 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
947 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
948 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
949 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
950 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
952 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
953 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
954 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
955 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
956 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
957 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
958 * sysdeps/powerpc/sysdep.h: Likewise.
959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
960 * sysdeps/s390/s390-64/sub_n.S: Likewise.
961 * sysdeps/sh/dl-trampoline.S: Likewise.
962 * sysdeps/sh/memset.S: Likewise.
963 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
964 * sysdeps/sh/strlen.S: Likewise.
965 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
966 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
967 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
968 * sysdeps/sparc/sparc32/rem.S: Likewise.
969 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
970 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
971 * sysdeps/sparc/sparc32/strchr.S: Likewise.
972 * sysdeps/sparc/sparc32/udiv.S: Likewise.
973 * sysdeps/sparc/sparc32/urem.S: Likewise.
974 * sysdeps/sparc/sparc64/add_n.S: Likewise.
975 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
976 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
977 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
978 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
979 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
980 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
981 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
982 * sysdeps/unix/bsd/times.c: Likewise.
983 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
984 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
988 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
989 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
990 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
991 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
992 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
993 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
994 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
995 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
997 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
998 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
999 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1000 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1001 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1002 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1003 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1004 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1005 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1006 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1007 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1008 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1010 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1011 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1012 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1013 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1014 * sysdeps/x86_64/strcspn.S: Likewise.
1015
869378a5
RA
10162013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1017
1018 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1019 generated file. Regenerate properly from gen-translit.pl.
1020 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1021 locale/C-translit.h.
1022
840e2943
AS
10232013-06-05 Andreas Schwab <schwab@suse.de>
1024
1025 [BZ #15100]
1026 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1027 week as 6 instead of -1.
1028 * time/tst-strptime.c (day_tests): Add test case.
1029
4c60cb0c
SP
10302013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
1032 * sysdeps/generic/math_private.h
1033 (libc_feholdexcept_setround_53bit): Replace with
1034 libc_feholdsetround_53bit.
1035 (libc_feupdateenv_53bit): Replace with
1036 libc_feresetround_53bit.
1037 (SET_RESTORE_ROUND_53BIT): Adjust.
1038
d180203e
SP
10392013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1040
96df079a
SP
1041 * string/test-strchrnul.c: Add copyright header.
1042
d180203e
SP
1043 * posix/tst-getaddrinfo4.c: Increase test timeout.
1044
8b0ccb2d
CD
10452013-06-03 Carlos O'Donell <carlos@redhat.com>
1046
1047 [BZ #15536]
1048 * math/libm-test.inc (MAX_EXP): Remove
1049 (MIN_EXP): Define.
1050 (ulp): Use MIN_EXP - MANT_DIG.
1051 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1052
3b3c4d40
CD
10532013-05-31 Carlos O'Donell <carlos@redhat.com>
1054
1055 * po/be.po: Revert last change.
1056 * po/zh_CN.po: Likewise.
1057 * po/header.pot: Likewise.
1058
fab7ce3f
JM
10592013-05-31 Joseph Myers <joseph@codesourcery.com>
1060
1061 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1062 link-libc-deps to empty as target-specific variable.
1063 * Makerules (link-libc-args): New variable.
1064 (libc-for-link): Likewise.
1065 (link-libc-deps): Likewise.
1066 (lib%.so): Depend on $(link-libc-deps). Link with
1067 $(link-libc-args).
1068 (build-module): Link with $(link-libc-args).
1069 (build-module-asneeded): Likewise.
1070 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1071 list of objects.
1072 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1073 target-specific variable.
1074 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1075 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1076 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1077 libc.
1078 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1079 libc and ld.so.
1080 ($(objpfx)libpcprofile.so): Likewise.
1081 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1082 libc_nonshared.a.
1083 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1084 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1085 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1086 $(link-libc-deps).
1087 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1088 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1089 * login/Makefile ($(objpfx)libutil.so): Likewise.
1090 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1091 * math/Makefile ($(objpfx)libm.so): Likewise.
1092 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1093 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1094 variable instead of depending directly on libc.
1095 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1096 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1097 $(link-libc-deps).
1098 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1099 libc.
1100 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1101 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1102 ($(objpfx)libanl.so): Likewise.
1103 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1104 ld.so.
1105 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1106 $(link-libc-deps).
1107 * sysdeps/i386/fpu/Makefile: Remove file.
1108 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1109 ($(objpfx)libm.so): Remove dependency on ld.so.
1110
eca5920c
PF
11112013-05-30 Patsy Franklin <pfrankli@redhat.com>
1112
1113 [BZ # 15553]
1114 * nis/yp_xdr.c (XDRMAXNAME): Define.
1115 (XDRMAXRECORD): Define.
1116 (xdr_domainname): Use XDRMAXNAME.
1117 (xdr_mapname): Likewise.
1118 (xdr_peername): Likewise.
1119 (xdr_keydat): Use XDRMAXRECORD.
1120 (xdr_valdat): Likewise.
1121
11222013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1123
1124 [BZ #14256]
1125 * manual/errno.texi (ESTALE): Update to account for more than
1126 just NFS file systems.
1127 * sysdeps/gnu/errlist.c: Regenerated.
1128
b9375348
SP
11292013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1130
1131 [BZ #15465]
1132 * elf/Makefile (tests): Add tst-null-argv.
1133 (modules-names): Add tst-null-argv-lib.
1134 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1135 (tst-null-argv-ENV): Set environment for tst-null-argv.
1136 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1137 (RTLD_PROGNAME): New macro.
1138 * elf/tst-null-argv.c: New test case.
1139 * elf/tst-null-argv-lib.c: Library for test case.
1140 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1141 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1142 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1143 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1144 * elf/dl-init.c (call_init): Likewise.
1145 (_dl_init): Likewise.
1146 * elf/dl-load.c (print_search_path): Likewise.
1147 (_dl_map_object): Likewise.
1148 * elf/dl-lookup.c (do_lookup_x): Likewise.
1149 (add_dependency): Likewise.
1150 (_dl_lookup_symbol_x): Likewise.
1151 (_dl_debug_bindings): Likewise.
1152 * elf/dl-open.c (_dl_show_scope): Likewise.
1153 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1154 * elf/dl-version.c (match_symbol): Likewise.
1155 (_dl_check_map_versions): Likewise.
1156 * elf/rtld.c (dl_main): Likewise.
1157 (print_unresolved): Use RTLD_PROGNAME.
1158 (print_missing_version): Likewise.
1159 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1160 (elf_machine_rela): Likewise.
1161 * sysdeps/powerpc/powerpc32/dl-machine.c
1162 (__process_machine_rela): Likewise.
1163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1164 Likewise.
1165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1166 Likewise.
1167 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1168 Likewise.
1169 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1171 Likewise.
1172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1173 Likewise.
1174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1175
8a9f20c8
CD
11762013-05-28 Carlos O'Donell <carlos@redhat.com>
1177
1178 * po/be.po: Add descriptive title.
1179 * po/zh_CN.po: Likewise.
1180 * po/header.pot: Likewise.
1181
0e60d68e
MF
11822013-05-28 Mike Frysinger <vapier@gentoo.org>
1183
1184 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1185 error message.
1186 (enlarge_archive): Likewise.
1187
56b672e9
BN
11882013-05-28 Ben North <ben@redfrontdoor.org>
1189
1190 * manual/arith.texi (frexp): It is the magnitude of the return
1191 value which lies in [0.5, 1), not the return value itself.
1192
5e056687
AZ
11932013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194
1195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1196
2b66ef5d
TS
11972013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1198
528c2405
TS
1199 * stdio-common/bug26.c (main): Correct fscanf template.
1200
07b4c13d
TS
1201 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1202 declare _dl_skip_args.
1203
ec9dd97c
TS
1204 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1205 Don't declare.
1206
2b66ef5d
TS
1207 * manual/platform.texi: Add missing @end deftypefun.
1208
4f8dfe27
JM
12092013-05-24 Joseph Myers <joseph@codesourcery.com>
1210
0323d086
JM
1211 [BZ #15529]
1212 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1213 bit of mantissa of 2^16382.
1214 * math/libm-test.inc (hypot_test_data): Add more tests.
1215
dd4259b9
JM
1216 * math/libm-test.inc: Add drem and pow10 to list of tested
1217 functions.
1218 (pow10_test): New function.
1219 (drem_test): Likewise.
1220 (drem_test_tonearest): Likewise.
1221 (drem_test_towardzero): Likewise.
1222 (drem_test_downward): Likewise.
1223 (drem_test_upward): Likewise.
1224 (main): Call the new functions.
1225
4f8dfe27
JM
1226 * math/libm-test.inc (finite_test_data): Remove.
1227 (finite_test): Run tests from isfinite_test_data.
1228 (gamma_test_data): Remove.
1229 (gamma_test): Run tests from lgamma_test_data.
1230 * sysdeps/i386/fpu/libm-test-ulps: Update.
1231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232
d116b7c4
AZ
12332013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1234
1235 * manual/platform.texi: Add PowerPC PPR function set documentation.
1236 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1237 implementation.
1238
e96e3767
CD
12392013-05-24 Carlos O'Donell <carlos@redhat.com>
1240
1241 * math/libm-test.inc (MAX_EXP): Define.
1242 (ULPDIFF): Define.
1243 (ulp): New function.
1244 (check_float_internal): Use ULPDIFF.
1245 (cpow_test): Disable failing test.
1246 (check_ulp): Test ulp() implemetnation.
1247 (main): Call check_ulp before starting tests.
1248
b679a606
JM
12492013-05-24 Joseph Myers <joseph@codesourcery.com>
1250
e8bdba36
JM
1251 * math/gen-libm-test.pl (generate_testfile): Do not handle
1252 START_DATA and END_DATA.
1253 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1254 END_DATA.
1255 (acos_tonearest_test_data): Likewise.
1256 (acos_towardzero_test_data): Likewise.
1257 (acos_downward_test_data): Likewise.
1258 (acos_upward_test_data): Likewise.
1259 (acosh_test_data): Likewise.
1260 (asin_test_data): Likewise.
1261 (asin_tonearest_test_data): Likewise.
1262 (asin_towardzero_test_data): Likewise.
1263 (asin_downward_test_data): Likewise.
1264 (asin_upward_test_data): Likewise.
1265 (asinh_test_data): Likewise.
1266 (atan_test_data): Likewise.
1267 (atanh_test_data): Likewise.
1268 (atan2_test_data): Likewise.
1269 (cabs_test_data): Likewise.
1270 (cacos_test_data): Likewise.
1271 (cacosh_test_data): Likewise.
1272 (carg_test_data): Likewise.
1273 (casin_test_data): Likewise.
1274 (casinh_test_data): Likewise.
1275 (catan_test_data): Likewise.
1276 (catanh_test_data): Likewise.
1277 (cbrt_test_data): Likewise.
1278 (ccos_test_data): Likewise.
1279 (ccosh_test_data): Likewise.
1280 (ceil_test_data): Likewise.
1281 (cexp_test_data): Likewise.
1282 (cimag_test_data): Likewise.
1283 (clog_test_data): Likewise.
1284 (clog10_test_data): Likewise.
1285 (conj_test_data): Likewise.
1286 (copysign_test_data): Likewise.
1287 (cos_test_data): Likewise.
1288 (cos_tonearest_test_data): Likewise.
1289 (cos_towardzero_test_data): Likewise.
1290 (cos_downward_test_data): Likewise.
1291 (cos_upward_test_data): Likewise.
1292 (cosh_test_data): Likewise.
1293 (cosh_tonearest_test_data): Likewise.
1294 (cosh_towardzero_test_data): Likewise.
1295 (cosh_downward_test_data): Likewise.
1296 (cosh_upward_test_data): Likewise.
1297 (cpow_test_data): Likewise.
1298 (cproj_test_data): Likewise.
1299 (creal_test_data): Likewise.
1300 (csin_test_data): Likewise.
1301 (csinh_test_data): Likewise.
1302 (csqrt_test_data): Likewise.
1303 (ctan_test_data): Likewise.
1304 (ctan_tonearest_test_data): Likewise.
1305 (ctan_towardzero_test_data): Likewise.
1306 (ctan_downward_test_data): Likewise.
1307 (ctan_upward_test_data): Likewise.
1308 (ctanh_test_data): Likewise.
1309 (ctanh_tonearest_test_data): Likewise.
1310 (ctanh_towardzero_test_data): Likewise.
1311 (ctanh_downward_test_data): Likewise.
1312 (ctanh_upward_test_data): Likewise.
1313 (erf_test_data): Likewise.
1314 (erfc_test_data): Likewise.
1315 (exp_test_data): Likewise.
1316 (exp_tonearest_test_data): Likewise.
1317 (exp_towardzero_test_data): Likewise.
1318 (exp_downward_test_data): Likewise.
1319 (exp_upward_test_data): Likewise.
1320 (exp10_test_data): Likewise.
1321 (exp2_test_data): Likewise.
1322 (expm1_test_data): Likewise.
1323 (fabs_test_data): Likewise.
1324 (fdim_test_data): Likewise.
1325 (finite_test_data): Likewise.
1326 (floor_test_data): Likewise.
1327 (fma_test_data): Likewise.
1328 (fma_towardzero_test_data): Likewise.
1329 (fma_downward_test_data): Likewise.
1330 (fma_upward_test_data): Likewise.
1331 (fmax_test_data): Likewise.
1332 (fmin_test_data): Likewise.
1333 (fmod_test_data): Likewise.
1334 (fpclassify_test_data): Likewise.
1335 (frexp_test_data): Likewise.
1336 (gamma_test_data): Likewise.
1337 (hypot_test_data): Likewise.
1338 (ilogb_test_data): Likewise.
1339 (isfinite_test_data): Likewise.
1340 (isgreater_test_data): Likewise.
1341 (isgreaterequal_test_data): Likewise.
1342 (isinf_test_data): Likewise.
1343 (isless_test_data): Likewise.
1344 (islessequal_test_data): Likewise.
1345 (islessgreater_test_data): Likewise.
1346 (isnan_test_data): Likewise.
1347 (isnormal_test_data): Likewise.
1348 (issignaling_test_data): Likewise.
1349 (isunordered_test_data): Likewise.
1350 (j0_test_data): Likewise.
1351 (j1_test_data): Likewise.
1352 (jn_test_data): Likewise.
1353 (ldexp_test_data): Likewise.
1354 (lgamma_test_data): Likewise.
1355 (lrint_test_data): Likewise.
1356 (lrint_tonearest_test_data): Likewise.
1357 (lrint_towardzero_test_data): Likewise.
1358 (lrint_downward_test_data): Likewise.
1359 (lrint_upward_test_data): Likewise.
1360 (llrint_test_data): Likewise.
1361 (llrint_tonearest_test_data): Likewise.
1362 (llrint_towardzero_test_data): Likewise.
1363 (llrint_downward_test_data): Likewise.
1364 (llrint_upward_test_data): Likewise.
1365 (log_test_data): Likewise.
1366 (log10_test_data): Likewise.
1367 (log1p_test_data): Likewise.
1368 (log2_test_data): Likewise.
1369 (logb_test_data): Likewise.
1370 (logb_downward_test_data): Likewise.
1371 (lround_test_data): Likewise.
1372 (llround_test_data): Likewise.
1373 (modf_test_data): Likewise.
1374 (nearbyint_test_data): Likewise.
1375 (nextafter_test_data): Likewise.
1376 (nexttoward_test_data): Likewise.
1377 (pow_test_data): Likewise.
1378 (pow_tonearest_test_data): Likewise.
1379 (pow_towardzero_test_data): Likewise.
1380 (pow_downward_test_data): Likewise.
1381 (pow_upward_test_data): Likewise.
1382 (remainder_test_data): Likewise.
1383 (remainder_tonearest_test_data): Likewise.
1384 (remainder_towardzero_test_data): Likewise.
1385 (remainder_downward_test_data): Likewise.
1386 (remainder_upward_test_data): Likewise.
1387 (remquo_test_data): Likewise.
1388 (rint_test_data): Likewise.
1389 (rint_tonearest_test_data): Likewise.
1390 (rint_towardzero_test_data): Likewise.
1391 (rint_downward_test_data): Likewise.
1392 (rint_upward_test_data): Likewise.
1393 (round_test_data): Likewise.
1394 (scalb_test_data): Likewise.
1395 (scalbn_test_data): Likewise.
1396 (scalbln_test_data): Likewise.
1397 (signbit_test_data): Likewise.
1398 (sin_test_data): Likewise.
1399 (sin_tonearest_test_data): Likewise.
1400 (sin_towardzero_test_data): Likewise.
1401 (sin_downward_test_data): Likewise.
1402 (sin_upward_test_data): Likewise.
1403 (sincos_test_data): Likewise.
1404 (sinh_test_data): Likewise.
1405 (sinh_tonearest_test_data): Likewise.
1406 (sinh_towardzero_test_data): Likewise.
1407 (sinh_downward_test_data): Likewise.
1408 (sinh_upward_test_data): Likewise.
1409 (sqrt_test_data): Likewise.
1410 (tan_test_data): Likewise.
1411 (tan_tonearest_test_data): Likewise.
1412 (tan_towardzero_test_data): Likewise.
1413 (tan_downward_test_data): Likewise.
1414 (tan_upward_test_data): Likewise.
1415 (tanh_test_data): Likewise.
1416 (tgamma_test_data): Likewise.
1417 (trunc_test_data): Likewise.
1418 (y0_test_data): Likewise.
1419 (y1_test_data): Likewise.
1420 (yn_test_data): Likewise.
1421 (significand_test_data): Likewise.
1422
b679a606
JM
1423 * math/gen-libm-test.pl (@functions): Remove variable.
1424 (generate_testfile): Don't handle START and END lines.
1425 * math/libm-test.inc (START): New macro.
1426 (END): Likewise.
1427 (END_COMPLEX): Likewise.
1428 (acos_test): Use END macro without arguments.
1429 (acos_test_tonearest): Likewise.
1430 (acos_test_towardzero): Likewise.
1431 (acos_test_downward): Likewise.
1432 (acos_test_upward): Likewise.
1433 (acosh_test): Likewise.
1434 (asin_test): Likewise.
1435 (asin_test_tonearest): Likewise.
1436 (asin_test_towardzero): Likewise.
1437 (asin_test_downward): Likewise.
1438 (asin_test_upward): Likewise.
1439 (asinh_test): Likewise.
1440 (atan_test): Likewise.
1441 (atanh_test): Likewise.
1442 (atan2_test): Likewise.
1443 (cabs_test): Likewise.
1444 (cacos_test): Use END_COMPLEX macro without arguments.
1445 (cacosh_test): Likewise.
1446 (carg_test): Use END macro without arguments.
1447 (casin_test): Use END_COMPLEX macro without arguments.
1448 (casinh_test): Likewise.
1449 (catan_test): Likewise.
1450 (catanh_test): Likewise.
1451 (cbrt_test): Use END macro without arguments.
1452 (ccos_test): Use END_COMPLEX macro without arguments.
1453 (ccosh_test): Likewise.
1454 (ceil_test): Use END macro without arguments.
1455 (cexp_test): Use END_COMPLEX macro without arguments.
1456 (cimag_test): Use END macro without arguments.
1457 (clog_test): Use END_COMPLEX macro without arguments.
1458 (clog10_test): Likewise.
1459 (conj_test): Likewise.
1460 (copysign_test): Use END macro without arguments.
1461 (cos_test): Likewise.
1462 (cos_test_tonearest): Likewise.
1463 (cos_test_towardzero): Likewise.
1464 (cos_test_downward): Likewise.
1465 (cos_test_upward): Likewise.
1466 (cosh_test): Likewise.
1467 (cosh_test_tonearest): Likewise.
1468 (cosh_test_towardzero): Likewise.
1469 (cosh_test_downward): Likewise.
1470 (cosh_test_upward): Likewise.
1471 (cpow_test): Use END_COMPLEX macro without arguments.
1472 (cproj_test): Likewise.
1473 (creal_test): Use END macro without arguments.
1474 (csin_test): Use END_COMPLEX macro without arguments.
1475 (csinh_test): Likewise.
1476 (csqrt_test): Likewise.
1477 (ctan_test): Likewise.
1478 (ctan_test_tonearest): Likewise.
1479 (ctan_test_towardzero): Likewise.
1480 (ctan_test_downward): Likewise.
1481 (ctan_test_upward): Likewise.
1482 (ctanh_test): Likewise.
1483 (ctanh_test_tonearest): Likewise.
1484 (ctanh_test_towardzero): Likewise.
1485 (ctanh_test_downward): Likewise.
1486 (ctanh_test_upward): Likewise.
1487 (erf_test): Use END macro without arguments.
1488 (erfc_test): Likewise.
1489 (exp_test): Likewise.
1490 (exp_test_tonearest): Likewise.
1491 (exp_test_towardzero): Likewise.
1492 (exp_test_downward): Likewise.
1493 (exp_test_upward): Likewise.
1494 (exp10_test): Likewise.
1495 (exp2_test): Likewise.
1496 (expm1_test): Likewise.
1497 (fabs_test): Likewise.
1498 (fdim_test): Likewise.
1499 (finite_test): Likewise.
1500 (floor_test): Likewise.
1501 (fma_test): Likewise.
1502 (fma_test_towardzero): Likewise.
1503 (fma_test_downward): Likewise.
1504 (fma_test_upward): Likewise.
1505 (fmax_test): Likewise.
1506 (fmin_test): Likewise.
1507 (fmod_test): Likewise.
1508 (fpclassify_test): Likewise.
1509 (frexp_test): Likewise.
1510 (gamma_test): Likewise.
1511 (hypot_test): Likewise.
1512 (ilogb_test): Likewise.
1513 (isfinite_test): Likewise.
1514 (isgreater_test): Likewise.
1515 (isgreaterequal_test): Likewise.
1516 (isinf_test): Likewise.
1517 (isless_test): Likewise.
1518 (islessequal_test): Likewise.
1519 (islessgreater_test): Likewise.
1520 (isnan_test): Likewise.
1521 (isnormal_test): Likewise.
1522 (issignaling_test): Likewise.
1523 (isunordered_test): Likewise.
1524 (j0_test): Likewise.
1525 (j1_test): Likewise.
1526 (jn_test): Likewise.
1527 (ldexp_test): Likewise.
1528 (lgamma_test): Likewise.
1529 (lrint_test): Likewise.
1530 (lrint_test_tonearest): Likewise.
1531 (lrint_test_towardzero): Likewise.
1532 (lrint_test_downward): Likewise.
1533 (lrint_test_upward): Likewise.
1534 (llrint_test): Likewise.
1535 (llrint_test_tonearest): Likewise.
1536 (llrint_test_towardzero): Likewise.
1537 (llrint_test_downward): Likewise.
1538 (llrint_test_upward): Likewise.
1539 (log_test): Likewise.
1540 (log10_test): Likewise.
1541 (log1p_test): Likewise.
1542 (log2_test): Likewise.
1543 (logb_test): Likewise.
1544 (logb_test_downward): Likewise.
1545 (lround_test): Likewise.
1546 (llround_test): Likewise.
1547 (modf_test): Likewise.
1548 (nearbyint_test): Likewise.
1549 (nextafter_test): Likewise.
1550 (nexttoward_test): Likewise.
1551 (pow_test): Likewise.
1552 (pow_test_tonearest): Likewise.
1553 (pow_test_towardzero): Likewise.
1554 (pow_test_downward): Likewise.
1555 (pow_test_upward): Likewise.
1556 (remainder_test): Likewise.
1557 (remainder_test_tonearest): Likewise.
1558 (remainder_test_towardzero): Likewise.
1559 (remainder_test_downward): Likewise.
1560 (remainder_test_upward): Likewise.
1561 (remquo_test): Likewise.
1562 (rint_test): Likewise.
1563 (rint_test_tonearest): Likewise.
1564 (rint_test_towardzero): Likewise.
1565 (rint_test_downward): Likewise.
1566 (rint_test_upward): Likewise.
1567 (round_test): Likewise.
1568 (scalb_test): Likewise.
1569 (scalbn_test): Likewise.
1570 (scalbln_test): Likewise.
1571 (signbit_test): Likewise.
1572 (sin_test): Likewise.
1573 (sin_test_tonearest): Likewise.
1574 (sin_test_towardzero): Likewise.
1575 (sin_test_downward): Likewise.
1576 (sin_test_upward): Likewise.
1577 (sincos_test): Likewise.
1578 (sinh_test): Likewise.
1579 (sinh_test_tonearest): Likewise.
1580 (sinh_test_towardzero): Likewise.
1581 (sinh_test_downward): Likewise.
1582 (sinh_test_upward): Likewise.
1583 (sqrt_test): Likewise.
1584 (tan_test): Likewise.
1585 (tan_test_tonearest): Likewise.
1586 (tan_test_towardzero): Likewise.
1587 (tan_test_downward): Likewise.
1588 (tan_test_upward): Likewise.
1589 (tanh_test): Likewise.
1590 (tgamma_test): Likewise.
1591 (trunc_test): Likewise.
1592 (y0_test): Likewise.
1593 (y1_test): Likewise.
1594 (yn_test): Likewise.
1595 (significand_test): Likewise.
1596
bae143d2
OB
15972013-05-24 Ondřej Bílka <neleai@seznam.cz>
1598
1599 [BZ #15381]
1600 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1601
9323d39b
EM
16022013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1603
d4ea44a0 1604 [BZ #14894]
9323d39b
EM
1605 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1606 __ppc_mdoio and __ppc_mdoom.
1607 * manual/platform.texi: Document new functions __ppc_yield,
1608 __ppc_mdoio and __ppc_mdoom.
1609
13e23af7
CD
16102013-05-22 Carlos O'Donell <carlos@redhat.com>
1611
1612 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1613 (main): Mention "tls" pseudo-hwcap is legacy.
1614 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1615
351fe550
JM
16162013-05-22 Joseph Myers <joseph@codesourcery.com>
1617
1618 * math/gen-libm-test.pl (parse_args): Output only string of
1619 arguments as text for test name, not full call or descriptions of
1620 tests for extra outputs.
1621 (generate_testfile): Do not pass function name to parse_args.
1622 Generate this_func variable from START.
1623 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1624 field to arg_str.
1625 (struct test_ff_f_data): Likewise.
1626 (test_ff_f_data_nexttoward): Likewise.
1627 (struct test_fi_f_data): Likewise.
1628 (struct test_fl_f_data): Likewise.
1629 (struct test_if_f_data): Likewise.
1630 (struct test_fff_f_data): Likewise.
1631 (struct test_c_f_data): Likewise.
1632 (struct test_f_f1_data): Likewise. Remove field extra_name.
1633 (struct test_fF_f1_data): Likewise.
1634 (struct test_ffI_f1_data): Likewise.
1635 (struct test_c_c_data): Rename test_name field to arg_str.
1636 (struct test_cc_c_data): Likewise.
1637 (struct test_f_i_data): Likewise.
1638 (struct test_ff_i_data): Likewise.
1639 (struct test_f_l_data): Likewise.
1640 (struct test_f_L_data): Likewise.
1641 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1642 and extra2_name.
1643 (COMMON_TEST_SETUP): New macro.
1644 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1645 (COMMON_TEST_CLEANUP): Likewise.
1646 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1647 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1648 macros.
1649 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1650 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1651 macros.
1652 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1653 (RUN_TEST_fff_f): Take argument string. Call new setup and
1654 cleanup macros.
1655 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1656 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1657 macros.
1658 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1659 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1660 macros.
1661 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1662 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1663 cleanup macros.
1664 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1665 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1666 cleanup macros.
1667 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1668 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1669 cleanup macros.
1670 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1671 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1672 macros.
1673 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1674 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1675 macros.
1676 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1677 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1678 macros.
1679 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1680 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1681 cleanup macros.
1682 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1683 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1684 cleanup macros.
1685 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1686 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1687 macros.
1688 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1689 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1690 cleanup macros.
1691 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1692 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1693 macros.
1694 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1695 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1696 macros.
1697 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1698 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1699 cleanup macros.
1700 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1701
85118d4d
EBM
17022013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1703
1704 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1705 to _sifields.sigfault.
1706 (si_addr_lsb): Define new macro.
1707 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1709 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1710
7a44c18f
CD
17112013-05-03 Carlos O'Donell <carlos at redhat.com>
1712
1713 [BZ #15441]
1714 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1715 returns -1.
1716 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1717 null return -1.
1718 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1719 loading the domain.
1720
b50a7181
JM
17212013-05-22 Joseph Myers <joseph@codesourcery.com>
1722
1723 * math/gen-libm-test.pl (parse_args): Do not include expected
1724 result in test name.
1725 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1726 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1727 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1728 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1729 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1731
051063c8
SP
17322013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1733
3ce9e010
SP
1734 * benchtests/Makefile: Sort function entries.
1735
051063c8
SP
1736 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1737 tanh, asinh, acosh, atanh.
1738 * benchtests/acos-inputs: New file.
1739 * benchtests/acosh-inputs: New file.
1740 * benchtests/asin-inputs: New file.
1741 * benchtests/asinh-inputs: New file.
1742 * benchtests/atanh-inputs: New file.
1743 * benchtests/cosh-inputs: New file.
1744 * benchtests/log-inputs: New file.
1745 * benchtests/sinh-inputs: New file.
1746 * benchtests/tanh-inputs: New file.
1747
47c22455
DL
17482013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1749
1750 [BZ #15339]
1751 * posix/tst-getaddrinfo4.c: New test.
1752 * posix/Makefile (tests): Add it.
1753
3d04f5db
SP
17542013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1755
1756 [BZ #15339]
1757 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1758 when no services were used.
1759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1760 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1761
d5dd6189
AS
17622013-05-21 Andreas Schwab <schwab@suse.de>
1763
1764 [BZ #15014]
1765 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1766 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1767 successful.
1768 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1769 redundant variable declarations and reallocation of buffer when
1770 parsing as IPv6 address. Always set NSS status when called from
1771 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1772 buffer too small. Correct computation of needed size.
1773 * nss/Makefile (tests): Add test-digits-dots.
1774 * nss/test-digits-dots.c: New test.
1775
fef94eab
SP
17762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1777
1778 * benchtests/Makefile: Remove instructions for adding
1779 benchmark tests.
1780 * benchtests/README: New file to explain how to execute and
1781 enhance the benchmark tests.
1782
e39adf43
AS
17832013-05-21 Andreas Schwab <schwab@suse.de>
1784
1785 [BZ #15493]
1786 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1787 * setjmp/tst-sigsetjmp.c: New test.
1788
b2b671b6
OB
17892013-05-20 Ondřej Bílka <neleai@seznam.cz>
1790
1791 * sysdeps/x86_64/memset.S (memset): New implementation.
1792 (__bzero): Likewise.
1793 (__memset_tail): New function.
1794
2d48b41c
OB
17952013-05-20 Ondřej Bílka <neleai@seznam.cz>
1796
1797 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1798 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1799 __memcpy_sse2_unaligned ifunc selection.
1800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1801 Add memcpy-sse2-unaligned.S.
1802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1803 Add: __memcpy_sse2_unaligned.
1804
f16cc3eb
JM
18052013-05-19 Joseph Myers <joseph@codesourcery.com>
1806
3e694268
JM
1807 [BZ #15490]
1808 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1809 math_force_eval before restoring floating-point envrionment.
1810 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1812 Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1814 <math_private.h>.
1815 (__nearbyintl): Use math_force_eval before restoring
1816 floating-point environment.
1817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1818
db62a907
JM
1819 * math/gen-libm-test.pl (special_functions): Remove.
1820 (parse_args): Don't handle TEST_extra. Handle functions with no
1821 return value.
1822 * math/libm-test.inc (struct test_sincos_data): Replace with
1823 struct test_fFF_11_data.
1824 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1825 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1826 (sincos_test_data): Change element type to struct
1827 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1828 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1829 RUN_TEST_LOOP_sincos.
1830 * math/README.libm-test: Don't mention special handling of
1831 individual functions.
1832 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1835 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1838
f16cc3eb
JM
1839 * math/gen-libm-test.pl (get_variable): Remove function.
1840 (parse_args): Don't show pointer parameters to call in test
1841 names. Use "extra output N" in test names for extra outputs
1842 rather than naming variables.
1843
3779b5b6
JM
18442013-05-18 Joseph Myers <joseph@codesourcery.com>
1845
2ee094ff
JM
1846 [BZ #15488]
1847 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1848 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1849 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1850 double tests.
1851 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1852 disable.
1853 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1854 check_long_double.
1855
3779b5b6
JM
1856 * math/gen-libm-test.pl (@tests): Remove variable.
1857 ($count): Likewise.
1858 (new_test): Remove function.
1859 (show_exceptions): New function.
1860 (special_functions): Use show_exceptions instead of new_test.
1861 (parse_args): Likewise.
1862 (generate_testfile): Pass only function name in generated call to
1863 print_max_error or print_complex_max_error.
1864 (get_ulps): Do not handle complex tests specially.
1865 (output_test): Rename to ...
1866 (get_all_ulps_for_test): ... this. Return a string rather than
1867 printing to a file. Require ulps to be present.
1868 (output_ulps): Generate arrays rather than #defines.
1869 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1870 (struct ulp_data): New type.
1871 (BUILD_COMPLEX_ULP): Remove macro.
1872 (compare_ulp_data): New function.
1873 (find_ulps): Likewise.
1874 (find_test_ulps): Likewise.
1875 (find_function_ulps): Likewise.
1876 (find_complex_function_ulps): Likewise.
1877 (print_max_error): Determine allowed ulps using
1878 find_function_ulps.
1879 (print_complex_max_error): Determine allowed ulps using
1880 find_complex_function_ulps.
1881 (check_float_internal): Determine max ulps using find_test_ulps.
1882 (check_float): Do not take max_ulp parameter. Update call to
1883 check_float_internal.
1884 (check_complex): Likewise.
1885 (check_int): Do not take max_ulp parameter.
1886 (check_long): Likewise.
1887 (check_bool): Likewise.
1888 (check_longlong): Likewise.
1889 (struct test_f_f_data): Remove max_ulp field.
1890 (struct test_ff_f_data): Likewise.
1891 (struct test_ff_f_data_nexttoward): Likewise.
1892 (struct test_fi_f_data): Likewise.
1893 (struct test_fl_f_data): Likewise.
1894 (struct test_if_f_data): Likewise.
1895 (struct test_fff_f_data): Likewise.
1896 (struct test_c_f_data): Likewise.
1897 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1898 (struct test_fF_f1_data): Likewise.
1899 (struct test_ffI_f1_data): Likewise.
1900 (struct test_c_c_data): Remove max_ulp field.
1901 (struct test_cc_c_data): Likewise.
1902 (struct test_f_i_data): Likewise.
1903 (struct test_ff_i_data): Likewise.
1904 (struct test_f_l_data): Likewise.
1905 (struct test_f_L_data): Likewise.
1906 (struct test_sincos_data): Likewise.
1907 (RUN_TEST_f_f): Do not handle ulps.
1908 (RUN_TEST_LOOP_f_f): Likewise.
1909 (RUN_TEST_2_f): Likewise.
1910 (RUN_TEST_LOOP_2_f): Likewise.
1911 (RUN_TEST_fff_f): Likewise.
1912 (RUN_TEST_LOOP_fff_f): Likewise.
1913 (RUN_TEST_c_f): Likewise.
1914 (RUN_TEST_LOOP_c_f): Likewise.
1915 (RUN_TEST_f_f1): Likewise.
1916 (RUN_TEST_LOOP_f_f1): Likewise.
1917 (RUN_TEST_fF_f1): Likewise.
1918 (RUN_TEST_LOOP_fF_f1): Likewise.
1919 (RUN_TEST_fI_f1): Likewise.
1920 (RUN_TEST_LOOP_fI_f1): Likewise.
1921 (RUN_TEST_ffI_f1): Likewise.
1922 (RUN_TEST_LOOP_ffI_f1): Likewise.
1923 (RUN_TEST_c_c): Likewise.
1924 (RUN_TEST_LOOP_c_c): Likewise.
1925 (RUN_TEST_cc_c): Likewise.
1926 (RUN_TEST_LOOP_cc_c): Likewise.
1927 (RUN_TEST_f_i): Likewise.
1928 (RUN_TEST_LOOP_f_i): Likewise.
1929 (RUN_TEST_f_i_tg): Likewise.
1930 (RUN_TEST_LOOP_f_i_tg): Likewise.
1931 (RUN_TEST_ff_i_tg): Likewise.
1932 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1933 (RUN_TEST_f_b): Likewise.
1934 (RUN_TEST_LOOP_f_b): Likewise.
1935 (RUN_TEST_f_b_tg): Likewise.
1936 (RUN_TEST_LOOP_f_b_tg): Likewise.
1937 (RUN_TEST_f_l): Likewise.
1938 (RUN_TEST_LOOP_f_l): Likewise.
1939 (RUN_TEST_f_L): Likewise.
1940 (RUN_TEST_LOOP_f_L): Likewise.
1941 (RUN_TEST_sincos): Likewise.
1942 (RUN_TEST_LOOP_sincos): Likewise.
1943
8269107f
JM
19442013-05-17 Joseph Myers <joseph@codesourcery.com>
1945
bb38759d
JM
1946 [BZ #15480]
1947 [BZ #15485]
1948 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1949 main case of finite arguments, set rounding mode to FE_TONEAREST
1950 and discard exceptions.
1951 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1952 exceptions.
1953 (remainder_tonearest_test_data): New variable.
1954 (remainder_test_tonearest): New function.
1955 (remainder_towardzero_test_data): New variable.
1956 (remainder_test_towardzero): New function.
1957 (remainder_downward_test_data): New variable.
1958 (remainder_test_downward): New function.
1959 (remainder_upward_test_data): New variable.
1960 (remainder_test_upward): New function.
1961 (main): Call the new test functions.
1962
a00bdcf0
JM
1963 * math/libm-test.inc (struct test_f_f1_data): Remove field
1964 extra_init.
1965 (struct test_fF_f1_data): Likewise.
1966 (struct test_ffI_f1_data): Likewise.
1967 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1968 based on value of EXTRA_EXPECTED.
1969 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1970 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1971 EXTRA_VAR based on value of EXTRA_EXPECTED.
1972 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1973 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1974 EXTRA_VAR based on value of EXTRA_EXPECTED.
1975 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1976 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1977 EXTRA_VAR based on value of EXTRA_EXPECTED.
1978 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1979 * math/gen-libm-test.pl (parse_args): Don't output initializers
1980 for extra output values.
1981
de407f79
JM
1982 * math/libm-test.inc (check_int): Expect result to be exactly
1983 equal to expected value and do not handle ulps.
1984 (check_long): Likewise.
1985 (check_longlong): Likewise.
1986
8269107f
JM
1987 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1988 exceptions.
1989 (cimag_test_data): Likewise.
1990 (conj_test_data): Likewise.
1991 (copysign_test_data): Likewise.
1992 (cproj_test_data): Likewise.
1993 (creal_test_data): Likewise.
1994 (fabs_test_data): Likewise.
1995 (fdim_test_data): Likewise.
1996 (finite_test_data): Likewise.
1997 (floor_test_data): Likewise.
1998 (fmax_test_data): Likewise.
1999 (fmin_test_data): Likewise.
2000 (fmod_test_data): Likewise.
2001 (fpclassify_test_data): Likewise.
2002 (frexp_test_data): Likewise.
2003 (ilogb_test_data): Likewise.
2004 (isfinite_test_data): Likewise.
2005 (isgreater_test_data): Likewise.
2006 (isgreaterequal_test_data): Likewise.
2007 (isinf_test_data): Likewise.
2008 (isless_test_data): Likewise.
2009 (islessequal_test_data): Likewise.
2010 (islessgreater_test_data): Likewise.
2011 (isnan_test_data): Likewise.
2012 (isnormal_test_data): Likewise.
2013 (issignaling_test_data): Likewise.
2014 (isunordered_test_data): Likewise.
2015 (ldexp_test_data): Likewise.
2016 (lrint_test_data): Likewise.
2017 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2018 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2019 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2020 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2021 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2022 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2023 test input.
2024 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2025 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2026 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2027 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2028 that test input.
2029 (lrint_downward_test_data): Test for "inexact" exceptions.
2030 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2031 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2032 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2033 test input.
2034 (lrint_upward_test_data): Test for "inexact" exceptions.
2035 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2036 test input.
2037 (llrint_test_data): Test for "inexact" exceptions.
2038 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2039 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2040 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2041 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2042 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2043 (llrint_downward_test_data): Test for "inexact" exceptions.
2044 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2045 (llrint_upward_test_data): Test for "inexact" exceptions.
2046 (logb_test_data): Likewise.
2047 (logb_downward_test_data): Likewise.
2048 (nextafter_test_data): Likewise.
2049 (nexttoward_test_data): Likewise.
2050 (remainder_test_data): Likewise.
2051 (remquo_test_data): Likewise.
2052 (scalbn_test_data): Likewise.
2053 (scalbln_test_data): Likewise.
2054 (signbit_test_data): Likewise.
2055 (sqrt_test_data): Likewise.
2056 (significand_test_data): Likewise.
2057
48a18de1
SP
20582013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2059
2060 [BZ #15424]
2061 * benchtests/bench-modf.c (struct args): Mark arg0 as
2062 volatile.
2063 * scripts/bench.pl: Mark members of struct args as volatile.
2064
13d3b41a
AZ
20652013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066
68191c1d 2067 [BZ # 15497]
13d3b41a
AZ
2068 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2069 negative infinity on POWER6 or lower.
2070 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2071
2848b105
MR
20722013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2073
2074 [BZ #15442]
2075 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2076 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2077 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2078 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2079 (_FP_SETQNAN): New macro.
2080 (_FP_SETQNAN_SEMIRAW): Likewise.
2081 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2082 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2083 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2084 (FP_EXTEND): Use _FP_FRAC_SNANP.
2085 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2086 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2087 into account.
2088 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2089 New macro.
2090 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2091 Likewise.
2092
323e5cb7
JM
20932013-05-16 Joseph Myers <joseph@codesourcery.com>
2094
c58b274f
JM
2095 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2096 with DIVIDE_BY_ZERO_EXCEPTION.
2097 (gamma_test_data): Likewise.
2098 (lgamma_test_data): Likewise.
2099 (log_test_data): Likewise.
2100 (log10_test_data): Likewise.
2101 (log2_test_data): Likewise.
2102 (tgamma_test_data): Likewise.
2103
0ab34904
JM
2104 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2105 (acos_test_tonearest): Likewise.
2106 (acos_test_towardzero): Likewise.
2107 (acos_test_downward): Likewise.
2108 (acos_test_upward): Likewise.
2109 (acosh_test): Likewise.
2110 (asin_test): Likewise.
2111 (asin_test_tonearest): Likewise.
2112 (asin_test_towardzero): Likewise.
2113 (asin_test_downward): Likewise.
2114 (asin_test_upward): Likewise.
2115 (asinh_test): Likewise.
2116 (atan_test): Likewise.
2117 (atanh_test): Likewise.
2118 (atan2_test): Likewise.
2119 (cabs_test): Likewise.
2120 (cacos_test): Likewise.
2121 (cacosh_test): Likewise.
2122 (casin_test): Likewise.
2123 (casinh_test): Likewise.
2124 (catan_test): Likewise.
2125 (catanh_test): Likewise.
2126 (cbrt_test): Likewise.
2127 (ccos_test): Likewise.
2128 (ccosh_test): Likewise.
2129 (cexp_test): Likewise.
2130 (clog_test): Likewise.
2131 (clog10_test): Likewise.
2132 (cos_test): Likewise.
2133 (cos_test_tonearest): Likewise.
2134 (cos_test_towardzero): Likewise.
2135 (cos_test_downward): Likewise.
2136 (cos_test_upward): Likewise.
2137 (cosh_test): Likewise.
2138 (cosh_test_tonearest): Likewise.
2139 (cosh_test_towardzero): Likewise.
2140 (cosh_test_downward): Likewise.
2141 (cosh_test_upward): Likewise.
2142 (cpow_test): Likewise.
2143 (csin_test): Likewise.
2144 (csinh_test): Likewise.
2145 (csqrt_test): Likewise.
2146 (ctan_test): Likewise.
2147 (ctan_test_tonearest): Likewise.
2148 (ctan_test_towardzero): Likewise.
2149 (ctan_test_downward): Likewise.
2150 (ctan_test_upward): Likewise.
2151 (ctanh_test): Likewise.
2152 (ctanh_test_tonearest): Likewise.
2153 (ctanh_test_towardzero): Likewise.
2154 (ctanh_test_downward): Likewise.
2155 (ctanh_test_upward): Likewise.
2156 (erf_test): Likewise.
2157 (erfc_test): Likewise.
2158 (exp_test): Likewise.
2159 (exp_test_tonearest): Likewise.
2160 (exp_test_towardzero): Likewise.
2161 (exp_test_downward): Likewise.
2162 (exp_test_upward): Likewise.
2163 (exp10_test): Likewise.
2164 (exp2_test): Likewise.
2165 (expm1_test): Likewise.
2166 (fmod_test): Likewise.
2167 (gamma_test): Likewise.
2168 (hypot_test): Likewise.
2169 (j0_test): Likewise.
2170 (j1_test): Likewise.
2171 (jn_test): Likewise.
2172 (lgamma_test): Likewise.
2173 (log_test): Likewise.
2174 (log10_test): Likewise.
2175 (log1p_test): Likewise.
2176 (log2_test): Likewise.
2177 (logb_test_downward): Likewise.
2178 (pow_test): Likewise.
2179 (pow_test_tonearest): Likewise.
2180 (pow_test_towardzero): Likewise.
2181 (pow_test_downward): Likewise.
2182 (pow_test_upward): Likewise.
2183 (remainder_test): Likewise.
2184 (remquo_test): Likewise.
2185 (sin_test): Likewise.
2186 (sin_test_tonearest): Likewise.
2187 (sin_test_towardzero): Likewise.
2188 (sin_test_downward): Likewise.
2189 (sin_test_upward): Likewise.
2190 (sincos_test): Likewise.
2191 (sinh_test): Likewise.
2192 (sinh_test_tonearest): Likewise.
2193 (sinh_test_towardzero): Likewise.
2194 (sinh_test_downward): Likewise.
2195 (sinh_test_upward): Likewise.
2196 (sqrt_test): Likewise.
2197 (tan_test): Likewise.
2198 (tan_test_tonearest): Likewise.
2199 (tan_test_towardzero): Likewise.
2200 (tan_test_downward): Likewise.
2201 (tan_test_upward): Likewise.
2202 (tanh_test): Likewise.
2203 (tgamma_test): Likewise.
2204 (y0_test): Likewise.
2205 (y1_test): Likewise.
2206 (yn_test): Likewise.
2207
323e5cb7
JM
2208 * math/gen-libm-test.pl (adjust_arg): Remove function.
2209 (special_function): Remove argument $in_func. Only handle
2210 generating output for tables of tests, not inside functions.
2211 (parse_args): Likewise.
2212 (generate_testfile): Remove variable $in_func. Update call to
2213 parse_args.
2214 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2215 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2216 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2217 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2218 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2219 (MAX_VALUE_INIT): Rename macro to max_value.
2220 (MIN_VALUE_INIT): Rename macro to min_value.
2221 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2222 (plus_zero): Remove variable.
2223 (minus_zero): Likewise.
2224 (plus_infty): Likewise.
2225 (minus_infty): Likewise.
2226 (qnan_value): Likewise.
2227 (max_value): Likewise.
2228 (min_value): Likewise.
2229 (min_subnorm_value): Likewise.
2230
e054f494
RA
22312013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2232
2233 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2234 uint64_t or uint32_t usage.
2235 * crypt/sha256-block.c: Likewise.
2236 * crypt/sha256-crypt.c: Likewise.
2237 * crypt/sha256.c: Likewise.
2238 * crypt/sha512-block.c: Likewise.
2239 * crypt/sha512-crypt.c: Likewise.
2240 * crypt/sha512.c: Likewise.
2241 * debug/backtrace-tst.c: Likewise.
2242 * debug/pcprofiledump.c: Likewise.
2243 * elf/cache.c: Likewise.
2244 * elf/dl-cache.c: Likewise.
2245 * elf/dl-misc.c: Likewise.
2246 * elf/dl-profile.c: Likewise.
2247 * elf/dl-support.c: Likewise.
2248 * elf/ldconfig.c: Likewise.
2249 * elf/sprof.c: Likewise.
2250 * iconv/dummy-repertoire.c: Likewise.
2251 * iconv/iconv_charmap.c: Likewise.
2252 * iconv/skeleton.c: Likewise.
2253 * iconvdata/8bit-generic.c: Likewise.
2254 * iconvdata/cp737.h: Likewise.
2255 * iconvdata/cp775.h: Likewise.
2256 * iconvdata/ibm1008.h: Likewise.
2257 * iconvdata/ibm1025.h: Likewise.
2258 * iconvdata/ibm1046.h: Likewise.
2259 * iconvdata/ibm1097.h: Likewise.
2260 * iconvdata/ibm1112.h: Likewise.
2261 * iconvdata/ibm1122.h: Likewise.
2262 * iconvdata/ibm1123.h: Likewise.
2263 * iconvdata/ibm1124.h: Likewise.
2264 * iconvdata/ibm1129.h: Likewise.
2265 * iconvdata/ibm1130.h: Likewise.
2266 * iconvdata/ibm1132.h: Likewise.
2267 * iconvdata/ibm1133.h: Likewise.
2268 * iconvdata/ibm1137.h: Likewise.
2269 * iconvdata/ibm1140.h: Likewise.
2270 * iconvdata/ibm1141.h: Likewise.
2271 * iconvdata/ibm1142.h: Likewise.
2272 * iconvdata/ibm1143.h: Likewise.
2273 * iconvdata/ibm1144.h: Likewise.
2274 * iconvdata/ibm1145.h: Likewise.
2275 * iconvdata/ibm1146.h: Likewise.
2276 * iconvdata/ibm1147.h: Likewise.
2277 * iconvdata/ibm1148.h: Likewise.
2278 * iconvdata/ibm1149.h: Likewise.
2279 * iconvdata/ibm1153.h: Likewise.
2280 * iconvdata/ibm1154.h: Likewise.
2281 * iconvdata/ibm1155.h: Likewise.
2282 * iconvdata/ibm1156.h: Likewise.
2283 * iconvdata/ibm1157.h: Likewise.
2284 * iconvdata/ibm1158.h: Likewise.
2285 * iconvdata/ibm1160.h: Likewise.
2286 * iconvdata/ibm1161.h: Likewise.
2287 * iconvdata/ibm1162.h: Likewise.
2288 * iconvdata/ibm1163.h: Likewise.
2289 * iconvdata/ibm1164.h: Likewise.
2290 * iconvdata/ibm1166.h: Likewise.
2291 * iconvdata/ibm1167.h: Likewise.
2292 * iconvdata/ibm12712.h: Likewise.
2293 * iconvdata/ibm1390.h: Likewise.
2294 * iconvdata/ibm1399.h: Likewise.
2295 * iconvdata/ibm16804.h: Likewise.
2296 * iconvdata/ibm4517.h: Likewise.
2297 * iconvdata/ibm4899.h: Likewise.
2298 * iconvdata/ibm4909.h: Likewise.
2299 * iconvdata/ibm4971.h: Likewise.
2300 * iconvdata/ibm5347.h: Likewise.
2301 * iconvdata/ibm803.h: Likewise.
2302 * iconvdata/ibm856.h: Likewise.
2303 * iconvdata/ibm901.h: Likewise.
2304 * iconvdata/ibm902.h: Likewise.
2305 * iconvdata/ibm9030.h: Likewise.
2306 * iconvdata/ibm9066.h: Likewise.
2307 * iconvdata/ibm921.h: Likewise.
2308 * iconvdata/ibm922.h: Likewise.
2309 * iconvdata/ibm9448.h: Likewise.
2310 * iconvdata/isiri-3342.h: Likewise.
2311 * iconvdata/jis0201.h: Likewise.
2312 * include/link.h: Likewise.
2313 * include/netdb.h: Likewise.
2314 * inet/check_native.c: Likewise.
2315 * inet/check_pf.c: Likewise.
2316 * inet/getipv4sourcefilter.c: Likewise.
2317 * inet/getnameinfo.c: Likewise.
2318 * inet/getsourcefilter.c: Likewise.
2319 * inet/htonl.c: Likewise.
2320 * inet/setipv4sourcefilter.c: Likewise.
2321 * inet/setsourcefilter.c: Likewise.
2322 * inet/test-inet6_opt.c: Likewise.
2323 * inet/tst-network.c: Likewise.
2324 * locale/C-collate.c: Likewise.
2325 * locale/C-ctype.c: Likewise.
2326 * locale/C-time.c: Likewise.
2327 * locale/C-translit.h: Likewise.
2328 * locale/loadarchive.c: Likewise.
2329 * locale/programs/3level.h: Likewise.
2330 * locale/programs/charmap.c: Likewise.
2331 * locale/programs/charmap.h: Likewise.
2332 * locale/programs/ld-address.c: Likewise.
2333 * locale/programs/ld-collate.c: Likewise.
2334 * locale/programs/ld-ctype.c: Likewise.
2335 * locale/programs/ld-identification.c: Likewise.
2336 * locale/programs/ld-measurement.c: Likewise.
2337 * locale/programs/ld-messages.c: Likewise.
2338 * locale/programs/ld-monetary.c: Likewise.
2339 * locale/programs/ld-name.c: Likewise.
2340 * locale/programs/ld-numeric.c: Likewise.
2341 * locale/programs/ld-paper.c: Likewise.
2342 * locale/programs/ld-telephone.c: Likewise.
2343 * locale/programs/ld-time.c: Likewise.
2344 * locale/programs/linereader.c: Likewise.
2345 * locale/programs/locale.c: Likewise.
2346 * locale/programs/locarchive.c: Likewise.
2347 * locale/programs/locfile.h: Likewise.
2348 * locale/programs/repertoire.c: Likewise.
2349 * locale/programs/simple-hash.c: Likewise.
2350 * locale/programs/simple-hash.h: Likewise.
2351 * malloc/memusage.c: Likewise.
2352 * malloc/memusagestat.c: Likewise.
2353 * nis/nis_defaults.c: Likewise.
2354 * nis/nis_hash.c: Likewise.
2355 * nis/nis_print.c: Likewise.
2356 * nis/nis_xdr.c: Likewise.
2357 * nscd/connections.c: Likewise.
2358 * nscd/hstcache.c: Likewise.
2359 * nscd/nscd_gethst_r.c: Likewise.
2360 * nscd/nscd_getserv_r.c: Likewise.
2361 * nscd/nscd_helper.c: Likewise.
2362 * nscd/servicescache.c: Likewise.
2363 * nss/makedb.c: Likewise.
2364 * nss/nss_db/db-XXX.c: Likewise.
2365 * nss/nss_db/db-initgroups.c: Likewise.
2366 * nss/nss_db/db-netgrp.c: Likewise.
2367 * nss/nss_files/files-network.c: Likewise.
2368 * nss/nss_files/files-parse.c: Likewise.
2369 * posix/bug-regex5.c: Likewise.
2370 * posix/fnmatch_loop.c: Likewise.
2371 * posix/regcomp.c: Likewise.
2372 * posix/regexec.c: Likewise.
2373 * posix/tst-rfc3484-2.c: Likewise.
2374 * posix/tst-rfc3484-3.c: Likewise.
2375 * posix/tst-rfc3484.c: Likewise.
2376 * resolv/nss_dns/dns-canon.c: Likewise.
2377 * resolv/nss_dns/dns-network.c: Likewise.
2378 * resolv/res_init.c: Likewise.
2379 * resolv/res_mkquery.c: Likewise.
2380 * resolv/tst-aton.c: Likewise.
2381 * stdlib/cxa_atexit.c: Likewise.
2382 * stdlib/cxa_finalize.c: Likewise.
2383 * stdlib/gen-fpioconst.c: Likewise.
2384 * stdlib/strtol_l.c: Likewise.
2385 * string/tst-endian.c: Likewise.
2386 * sunrpc/auth_des.c: Likewise.
2387 * sunrpc/clnt_udp.c: Likewise.
2388 * sunrpc/rtime.c: Likewise.
2389 * sunrpc/svcauth_des.c: Likewise.
2390 * sunrpc/xdr.c: Likewise.
2391 * sunrpc/xdr_intXX_t.c: Likewise.
2392 * sunrpc/xdr_rec.c: Likewise.
2393 * sysdeps/generic/ldconfig.h: Likewise.
2394 * sysdeps/generic/ldsodefs.h: Likewise.
2395 * sysdeps/generic/memusage.h: Likewise.
2396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2397 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2398 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2399 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2401 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2402 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2403 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2404 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2406 * sysdeps/posix/getaddrinfo.c: Likewise.
2407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2409 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2411 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2412 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2413 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2414 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2415 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2417 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2418 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2419 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2420 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2421 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2422 * sysdeps/x86_64/dl-tls.h: Likewise.
2423 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2424 * time/alt_digit.c: Likewise.
2425 * time/era.c: Likewise.
2426 * wcsmbs/tst-c16c32-1.c: Likewise.
2427
8c75f674
JM
24282013-05-16 Joseph Myers <joseph@codesourcery.com>
2429
2430 * math/libm-test.inc (struct test_sincos_data): New type.
2431 (RUN_TEST_LOOP_sincos): New macro.
2432 (sincos_test_data): New variable.
2433 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2434
e6e49e59
RH
24352013-05-16 Richard Henderson <rth@redhat.com>
2436
2437 * math/atest-exp2.c (LIMB64): New macro.
2438 (CONSTSZ): New macro.
2439 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2440 (hexdig): Move ...
2441 (print_mpn_fp): ... to function scope.
2442 (read_mpn_hex): Remove.
2443 (get_log2): Remove.
2444 (exp2_mpn): Use mp_log2.
2445 (main): Use mp_exp1.
2446
15c7c18d
JM
24472013-05-16 Joseph Myers <joseph@codesourcery.com>
2448
105a07df
JM
2449 * math/libm-test.inc: Remove comment about not testing "inexact"
2450 exceptions.
2451 (INEXACT_EXCEPTION): New macro.
2452 (NO_INEXACT_EXCEPTION): Likewise.
2453 (INVALID_EXCEPTION_OK): Update value.
2454 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2455 (OVERFLOW_EXCEPTION_OK): Likewise.
2456 (UNDERFLOW_EXCEPTION_OK): Likewise.
2457 (IGNORE_ZERO_INF_SIGN): Likewise.
2458 (ERRNO_UNCHANGED): Likewise.
2459 (ERRNO_EDOM): Likewise.
2460 (ERRNO_ERANGE): Likewise.
2461 (test_exceptions): Handle testing "inexact" exceptions.
2462 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2463 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2464 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2465 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2466 INEXACT_EXCEPTION.
2467 (rint_towardzero_test_data): Likewise.
2468 (rint_downward_test_data): Likewise.
2469 (rint_upward_test_data): Likewise.
2470
e9eee333
JM
2471 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2472 with OVERFLOW_EXCEPTION.
2473 (exp10_test_data): Likewise.
2474 (exp2_test_data): Likewise.
2475 (expm1_test_data): Likewise.
2476 (lgamma_test_data): Likewise.
2477 (pow_test_data): Likewise.
2478 (tgamma_test_data): Likewise.
2479 (yn_test_data): Remove duplicate test of overflow.
2480
1c38ff73
JM
2481 * math/libm-test.inc (struct test_cc_c_data): New type.
2482 (RUN_TEST_LOOP_cc_c): New macro.
2483 (cpow_test_data): New variable.
2484 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2485
15c7c18d
JM
2486 * math/libm-test.inc (struct test_f_L_data): New type.
2487 (RUN_TEST_LOOP_f_L): New macro.
2488 (llrint_test_data): New variable.
2489 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2490 (llrint_tonearest_test_data): New variable.
2491 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2492 (llrint_towardzero_test_data): New variable.
2493 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2494 (llrint_downward_test_data): New variable.
2495 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2496 (llrint_upward_test_data): New variable.
2497 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2498 (llround_test_data): New variable.
2499 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2500
f137ff13
PC
25012013-05-13 Peter Collingbourne <pcc@google.com>
2502
2503 * math/atest-exp2.c (get_log2): Remove const attribute.
2504
3608cb24
JM
25052013-05-15 Joseph Myers <joseph@codesourcery.com>
2506
2507 * math/libm-test.inc (struct test_f_l_data): New type.
2508 (RUN_TEST_LOOP_f_l): New macro.
2509 (lrint_test_data): New variable.
2510 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2511 (lrint_tonearest_test_data): New variable.
2512 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2513 (lrint_towardzero_test_data): New variable.
2514 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2515 (lrint_downward_test_data): New variable.
2516 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2517 (lrint_upward_test_data): New variable.
2518 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2519 (lround_test_data): New variable.
2520 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2521
39b1f617
PC
25222013-05-15 Peter Collingbourne <pcc@google.com>
2523
1deff3dc
PC
2524 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2525 (EXTRACT_WORDS64) Use where appropriate.
2526 (INSERT_WORDS64) Likewise.
2527
791f3ba0
PC
2528 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2529 constraints with x constraints.
2530 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2531
39b1f617
PC
2532 * malloc/obstack.c (_obstack_compat): Add initializer.
2533
12fba011
EM
25342013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2535
2536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2537 si_trapno and add si_addr_lsb to _sifields.sigfault.
2538 (si_trapno): Remove macro.
2539 (si_addr_lsb): Define new macro.
2540 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2541
d369f531
JM
25422013-05-15 Joseph Myers <joseph@codesourcery.com>
2543
b861c6c4
JM
2544 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2545 instead of TEST_f_l.
2546 (llrint_test_tonearest): Likewise.
2547 (llrint_test_towardzero): Likewise.
2548 (llrint_test_downward): Likewise.
2549 (llrint_test_upward): Likewise.
2550 (llround_test): Likewise.
2551
7abeee12
JM
2552 * math/libm-test.inc (struct test_f_i_data): Add comment.
2553 (RUN_TEST_LOOP_f_b): New macro.
2554 (RUN_TEST_LOOP_f_b_tg): Likewise.
2555 (finite_test_data): New variable.
2556 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2557 (isfinite_test_data): New variable.
2558 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2559 (isinf_test_data): New variable.
2560 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2561 (isnan_test_data): New variable.
2562 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2563 (isnormal_test_data): New variable.
2564 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2565 (issignaling_test_data): New variable.
2566 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2567 (signbit_test_data): New variable.
2568 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2569
cbe8c4d3
JM
2570 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2571 with INVALID_EXCEPTION.
2572 (acosh_test_data): Likewise.
2573 (asin_test_data): Likewise.
2574 (atanh_test_data): Likewise.
2575 (fmod_test_data): Likewise.
2576 (log_test_data): Likewise.
2577 (log10_test_data): Likewise.
2578 (log2_test_data): Likewise.
2579 (pow_test_data): Likewise.
2580 (sqrt_test_data): Likewise.
2581 (y0_test_data): Likewise.
2582 (y1_test_data): Likewise.
2583 (yn_test_data): Likewise.
2584
5575c0e5
JM
2585 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2586 function contents.
2587
d369f531
JM
2588 * math/libm-test.inc (struct test_ff_i_data): New type.
2589 (RUN_TEST_LOOP_ff_i_tg): New macro.
2590 (isgreater_test_data): New variable.
2591 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2592 (isgreaterequal_test_data): New variable.
2593 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2594 (isless_test_data): New variable.
2595 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2596 (islessequal_test_data): New variable.
2597 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2598 (islessgreater_test_data): New variable.
2599 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2600 (isunordered_test_data): New variable.
2601 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2602
781fd748
DM
26032013-05-14 David S. Miller <davem@davemloft.net>
2604
2605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2606
87aa21df
JM
26072013-05-14 Joseph Myers <joseph@codesourcery.com>
2608
5e908270
JM
2609 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2610
f71172e5
JM
2611 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2612 extra_test to int.
2613 (struct test_f_i_data): Change type of max_ulp to int.
2614
8cfa635a
JM
2615 * math/libm-test.inc (test_ffI_f1_data): New type.
2616 (RUN_TEST_LOOP_ffI_f1): New macro.
2617 (remquo_test_data): New variable.
2618 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2619
2bcb36b2
JM
2620 * setjmp/tst-setjmp-fp.c: New file.
2621 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2622 (link-libm): New variable.
2623 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2624
acbd839a
JM
2625 * math/libm-test.inc (struct test_f_i_data): New type.
2626 (RUN_TEST_LOOP_f_i): New macro.
2627 (RUN_TEST_LOOP_f_i_tg): Likewise.
2628 (fpclassify_test_data): New variable.
2629 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2630 (ilogb_test_data): New variable.
2631 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2632
e414d745
JM
2633 * math/libm-test.inc (scalbln_test): Correct function name in END
2634 call.
2635
d9c2a0fd
JM
2636 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2637 (RUN_TEST_LOOP_fI_f1): New macro.
2638 (frexp_test_data): New variable.
2639 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2640
9dc9095d
JM
2641 * math/libm-test.inc (struct test_fF_f1_data): New type.
2642 (RUN_TEST_LOOP_fF_f1): New macro.
2643 (modf_test_data): New variable.
2644 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2645
87aa21df
JM
2646 * math/libm-test.inc (struct test_f_f1_data): New type.
2647 (RUN_TEST_LOOP_f_f1): New macro.
2648 (gamma_test_data): New variable.
2649 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2650 (lgamma_test_data): New variable.
2651 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2652
141af660
CD
26532013-05-13 Carlos O'Donell <carlos@redhat.com>
2654
2655 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2656 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2657 (main): Comment "tls" pseudo-hwcap.
2658
6d33265c
JM
26592013-05-13 Joseph Myers <joseph@codesourcery.com>
2660
68fc074c
JM
2661 * math/libm-test.inc (struct test_fl_f_data): New type.
2662 (RUN_TEST_LOOP_fl_f): New variable.
2663 (scalbln_test_data): New variable.
2664 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2665
243216e1
JM
2666 * math/libm-test.inc (struct test_fi_f_data): New type.
2667 (RUN_TEST_LOOP_fi_f): New macro.
2668 (ldexp_test_data): New variable.
2669 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2670 (scalbn_test_data): New variable.
2671 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2672
6a1992e2
JM
2673 * math/libm-test.inc (struct test_c_f_data): New type.
2674 (RUN_TEST_LOOP_c_f): New macro.
2675 (cabs_test_data): New variable.
2676 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2677 (carg_test_data): New variable.
2678 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2679 (cimag_test_data): New variable.
2680 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2681 (creal_test_data): New variable.
2682 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2683
0e400df5
JM
2684 * math/libm-test.inc (struct test_if_f_data): New type.
2685 (RUN_TEST_LOOP_if_f): New macro.
2686 (jn_test_data): New variable.
2687 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2688 (yn_test_data): New variable.
2689 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2690
6d33265c
JM
2691 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2692
f98ece5f
AZ
26932013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694
2695 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2696 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2697
0f7d347b
SP
26982013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2699
43fe811b
SP
2700 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2701 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2702 (bench-deps): Add bench-timing.h.
2703 * benchtests-bench-skeleton.c: Include bench-timing.h.
2704 (main): Use TIMING_* macros instead of clock_gettime.
2705 * benchtests/bench-timing.h: New file.
2706
0f7d347b
SP
2707 [BZ #14582]
2708 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2709 Renamed from _LIB_VERSION.
2710 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2711
601a3a5f
JM
27122013-05-12 Joseph Myers <joseph@codesourcery.com>
2713
4f184d30
JM
2714 * math/libm-test.inc (struct test_fff_f_data): New type.
2715 (RUN_TEST_LOOP_fff_f): New macro.
2716 (fma_test_data): New variable.
2717 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2718 (fma_towardzero_test_data): New variable.
2719 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2720 (fma_downward_test_data): New variable.
2721 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2722 (fma_upward_test_data): New variable.
2723 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2724
08198877
JM
2725 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2726 (struct test_c_c_data): New type.
2727 (RUN_TEST_LOOP_c_c): New macro.
2728 (cacos_test_data): New variable.
2729 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2730 (cacosh_test_data): New variable.
2731 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2732 (casin_test_data): New variable.
2733 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2734 (casinh_test_data): New variable.
2735 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2736 (catan_test_data): New variable.
2737 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2738 (catanh_test_data): New variable.
2739 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2740 (ccos_test_data): New variable.
2741 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2742 (ccosh_test_data): New variable.
2743 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2744 (cexp_test_data): New variable.
2745 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2746 (clog_test_data): New variable.
2747 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2748 (clog10_test_data): New variable.
2749 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2750 (conj_test_data): New variable.
2751 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2752 (cproj_test_data): New variable.
2753 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2754 (csin_test_data): New variable.
2755 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2756 (csinh_test_data): New variable.
2757 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2758 (csqrt_test_data): New variable.
2759 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2760 (ctan_test_data): New variable.
2761 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2762 (ctan_tonearest_test_data): New variable.
2763 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2764 (ctan_towardzero_test_data): New variable.
2765 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2766 (ctan_downward_test_data): New variable.
2767 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2768 (ctan_upward_test_data): New variable.
2769 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2770 (ctanh_test_data): New variable.
2771 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2772 (ctanh_tonearest_test_data): New variable.
2773 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2774 (ctanh_towardzero_test_data): New variable.
2775 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2776 (ctanh_downward_test_data): New variable.
2777 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2778 (ctanh_upward_test_data): New variable.
2779 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2780 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2781 of BUILD_COMPLEX.
2782
601a3a5f
JM
2783 * math/libm-test.inc (struct test_ff_f_data): New type.
2784 (struct test_ff_f_data_nexttoward): Likewise.
2785 (RUN_TEST_LOOP_2_f): New macro.
2786 (RUN_TEST_LOOP_ff_f): Likewise.
2787 (atan2_test_data): New variable.
2788 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2789 (copysign_test_data): New variable.
2790 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2791 (fdim_test_data): New variable.
2792 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2793 (fmax_test_data): New variable.
2794 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2795 (fmin_test_data): New variable.
2796 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2797 (fmod_test_data): New variable.
2798 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2799 (hypot_test_data): New variable.
2800 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2801 (nextafter_test_data): New variable.
2802 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2803 (nexttoward_test_data): New variable.
2804 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2805 (pow_test_data): New variable.
2806 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2807 (pow_tonearest_test_data): New variable.
2808 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2809 (pow_towardzero_test_data): New variable.
2810 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2811 (pow_downward_test_data): New variable.
2812 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2813 (pow_upward_test_data): New variable.
2814 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2815 (remainder_test_data): New variable.
2816 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2817 (scalb_test_data): New variable.
2818 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2819 * sysdeps/i386/fpu/libm-test-ulps: Update.
2820
74c57478
JM
28212013-05-11 Joseph Myers <joseph@codesourcery.com>
2822
8329e4da
JM
2823 * math/libm-test.inc (fma_test): Use max_value instead of local
2824 variable fltmax.
2825 (nextafter_test): Likewise.
2826
74c57478
JM
2827 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2828 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2829 (acos_downward_test_data): New variable.
2830 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2831 (acos_upward_test_data): New variable.
2832 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2833 (acosh_test_data): New variable.
2834 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2835 (asin_test_data): New variable.
2836 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2837 (asin_tonearest_test_data): New variable.
2838 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2839 (asin_towardzero_test_data): New variable.
2840 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2841 (asin_downward_test_data): New variable.
2842 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2843 (asin_upward_test_data): New variable.
2844 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2845 (asinh_test_data): New variable.
2846 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2847 (atan_test_data): New variable.
2848 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2849 (atanh_test_data): New variable.
2850 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2851 (cbrt_test_data): New variable.
2852 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2853 (ceil_test_data): New variable.
2854 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2855 (cos_test_data): New variable.
2856 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2857 (cos_tonearest_test_data): New variable.
2858 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2859 (cos_towardzero_test_data): New variable.
2860 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2861 (cos_downward_test_data): New variable.
2862 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2863 (cos_upward_test_data): New variable.
2864 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2865 (cosh_test_data): New variable.
2866 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2867 (cosh_tonearest_test_data): New variable.
2868 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2869 (cosh_towardzero_test_data): New variable.
2870 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2871 (cosh_downward_test_data): New variable.
2872 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2873 (cosh_upward_test_data): New variable.
2874 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2875 (erf_test_data): New variable.
2876 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2877 (erfc_test_data): New variable.
2878 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2879 (exp_test_data): New variable.
2880 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2881 (exp_tonearest_test_data): New variable.
2882 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2883 (exp_towardzero_test_data): New variable.
2884 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2885 (exp_downward_test_data): New variable.
2886 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2887 (exp_upward_test_data): New variable.
2888 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2889 (exp10_test_data): New variable.
2890 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2891 (exp2_test_data): New variable.
2892 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2893 (expm1_test_data): New variable.
2894 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2895 (fabs_test_data): New variable.
2896 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2897 (floor_test_data): New variable.
2898 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2899 (j0_test_data): New variable.
2900 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2901 (j1_test_data): New variable.
2902 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2903 (log_test_data): New variable.
2904 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2905 (log10_test_data): New variable.
2906 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2907 (log1p_test_data): New variable.
2908 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2909 (log2_test_data): New variable.
2910 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2911 (logb_test_data): New variable.
2912 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2913 (logb_downward_test_data): New variable.
2914 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2915 (nearbyint_test_data): New variable.
2916 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2917 (rint_test_data): New variable.
2918 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2919 (rint_tonearest_test_data): New variable.
2920 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2921 (rint_towardzero_test_data): New variable.
2922 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2923 (rint_downward_test_data): New variable.
2924 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2925 (rint_upward_test_data): New variable.
2926 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2927 (round_test_data): New variable.
2928 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2929 (sin_test_data): New variable.
2930 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2931 (sin_tonearest_test_data): New variable.
2932 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2933 (sin_towardzero_test_data): New variable.
2934 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2935 (sin_downward_test_data): New variable.
2936 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2937 (sin_upward_test_data): New variable.
2938 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2939 (sinh_test_data): New variable.
2940 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2941 (sinh_tonearest_test_data): New variable.
2942 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2943 (sinh_towardzero_test_data): New variable.
2944 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2945 (sinh_downward_test_data): New variable.
2946 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2947 (sinh_upward_test_data): New variable.
2948 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2949 (sqrt_test_data): New variable.
2950 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2951 (tan_test_data): New variable.
2952 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2953 (tan_tonearest_test_data): New variable.
2954 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2955 (tan_towardzero_test_data): New variable.
2956 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2957 (tan_downward_test_data): New variable.
2958 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2959 (tan_upward_test_data): New variable.
2960 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2961 (tanh_test_data): New variable.
2962 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2963 (tgamma_test_data): New variable.
2964 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2965 (trunc_test_data): New variable.
2966 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2967 (y0_test_data): New variable.
2968 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2969 (y1_test_data): New variable.
2970 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2971 (significand_test_data): New variable.
2972 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2973
7187d844
CG
29742013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2975
2976 [BZ #12387]
2977 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2978
f63fae73
PT
29792013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2980
2981 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2982
8a67a4b3
AJ
29832013-05-10 Andreas Jaeger <aj@suse.de>
2984
2985 [BZ #15448]
2986 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2987 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2988
51df539d
JM
29892013-05-10 Joseph Myers <joseph@codesourcery.com>
2990
2991 * math/gen-libm-test.pl (adjust_arg): New function.
2992 (special_functions): Handle generating output in both functions
2993 and arrays.
2994 (parse_args): Likewise.
2995 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2996 $in_func argument to parse_args.
2997 * math/libm-test.inc (struct test_f_f_data): New type.
2998 (IF_ROUND_INIT_): New macro.
2999 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3000 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3001 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3002 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3003 (ROUND_RESTORE_): Likewise.
3004 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3005 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3006 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3007 (ROUND_RESTORE_FE_UPWARD): Likewise.
3008 (RUN_TEST_LOOP_f_f): New macro.
3009 (acos_test_data): New variable.
3010 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3011 (acos_tonearest_test_data): New variable.
3012 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3013
5c637fe5
SP
30142013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3015
3016 * benchtests/bench-skeleton.c (startup): Fix coding style.
3017
ab2b9461
JM
30182013-05-10 Joseph Myers <joseph@codesourcery.com>
3019
3020 [BZ #6809]
3021 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3022 negative infinity argument.
3023 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3024 negative infinity argument.
3025 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3026 negative infinity argument.
3027 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3028 domain errors.
3029
4c0fe6fe
FW
30302013-05-10 Florian Weimer <fweimer@redhat.com>
3031
3032 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3033 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3034 * iconv/iconv_prog.c (main): Likewise.
3035 * locale/programs/charmap-dir.c (charmap_readdir)
3036 (fopen_uncompressed): Likewise.
3037 * locale/programs/locfile.c (siblings_uncached)
3038 (write_locale_data): Use lstat64 instead of lstat.
3039 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3040 stat.
3041
a3375d29
AJ
30422013-05-10 Andreas Jaeger <aj@suse.de>
3043
3044 [BZ #15395]
3045 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3046 localization.
3047 Include <locale.h>.
3048
36129722
CD
30492013-05-09 Carlos O'Donell <carlos@redhat.com>
3050
3051 * elf/dl-close.c (_dl_close_worker): Add comments.
3052
faa7f811
JM
30532013-05-09 Joseph Myers <joseph@codesourcery.com>
3054
ed41ffef
JM
3055 [BZ #15359]
3056 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3057 high part of pi/2.
3058 (__ieee754_rem_pio2l): Update comments.
3059
d0213cd0
JM
3060 [BZ #15429]
3061 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3062 high part of pi/2.
3063 (__ieee754_rem_pio2l): Update comments.
3064
0d3e777a
JM
3065 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3066 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3067
24f56066
JM
3068 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3069 M_PI_4l.
3070
faa7f811
JM
3071 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3072 (M_PI_34_LOG10El): Likewise.
3073 (M_PI2_LOG10El): Likewise.
3074 (M_PI4_LOG10El): Likewise.
3075 (M_PI_LOG10El): Likewise.
3076
e9a5e0fd
AZ
30772013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3078
3079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3080
d8cd06db
JM
30812013-05-08 Joseph Myers <joseph@codesourcery.com>
3082
a0d9f9d7
JM
3083 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3084 (MINUS_ZERO_INIT): Likewise.
3085 (PLUS_INFTY_INIT): Likewise.
3086 (MINUS_INFTY_INIT): Likewise.
3087 (QNAN_VALUE_INIT): Likewise.
3088 (MAX_VALUE_INIT): Likewise.
3089 (MIN_VALUE_INIT): Likewise.
3090 (MIN_SUBNORM_VALUE_INIT): Likewise.
3091 (plus_zero): Initialize with PLUS_ZERO_INIT.
3092 (minus_zero): Initialize with MINUS_ZERO_INIT.
3093 (plus_infty): Initialize with PLUS_INFTY_INIT.
3094 (minus_infty): Initialize with MINUS_INFTY_INIT.
3095 (qnan_value): Initialize with QNAN_VALUE_INIT.
3096 (max_value): Initialize with MAX_VALUE_INIT.
3097 (min_value): Initialize with MIN_VALUE_INIT.
3098 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3099
ae08db3b
JM
3100 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3101 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3102 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3103 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3104
f44bf14a
JM
3105 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3106 (RUN_TEST_2_f): Likewise.
3107 (RUN_TEST_ff_f): Likewise.
3108 (RUN_TEST_fi_f): Likewise.
3109 (RUN_TEST_fl_f): Likewise.
3110 (RUN_TEST_fff_f): Likewise.
3111 (RUN_TEST_c_f): Likewise.
3112 (RUN_TEST_f_f1): Likewise.
3113 (RUN_TEST_fF_f1): Likewise.
3114 (RUN_TEST_fI_f1): Likewise.
3115 (RUN_TEST_ffI_f1): Likewise.
3116 (RUN_TEST_c_c): Likewise.
3117 (RUN_TEST_cc_c): Likewise.
3118 (RUN_TEST_f_i): Likewise.
3119 (RUN_TEST_f_i_tg): Likewise.
3120 (RUN_TEST_ff_i_tg): Likewise.
3121 (RUN_TEST_f_b): Likewise.
3122 (RUN_TEST_f_b_tg): Likewise.
3123 (RUN_TEST_f_l): Likewise.
3124 (RUN_TEST_f_L): Likewise.
3125 (RUN_TEST_sincos): Likewise.
3126 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3127 whether to show exceptions. Do not include ");\n" in return
3128 value.
3129 (special_functions): Output call to RUN_TEST_sincos instead of
3130 check_float calls. Update calls to new_test.
3131 (parse_args): Output call to single RUN_TEST_* macro instead of
3132 check_* calls and other assignments. Update calls to new_test.
3133
d8cd06db
JM
3134 [BZ #2546]
3135 [BZ #2560]
3136 [BZ #5159]
3137 [BZ #15426]
3138 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3139 input to result for tgamma overflow.
3140 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3141 (gamma_coeff): New variable.
3142 (NCOEFF): New macro.
3143 (gamma_positive): New function.
3144 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3145 underflow here. Use gamma_positive instead of exp (lgamma) for
3146 other arguments.
3147 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3148 (gamma_coeff): New variable.
3149 (NCOEFF): New macro.
3150 (gammaf_positive): New function.
3151 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3152 underflow here. Use gamma_positive instead of exp (lgamma) for
3153 other arguments.
3154 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3155 (gamma_coeff): New variable.
3156 (NCOEFF): New macro.
3157 (gammal_positive): New function.
3158 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3159 underflow here. Use gamma_positive instead of exp (lgamma) for
3160 other arguments.
3161 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3162 (gamma_coeff): New variable.
3163 (NCOEFF): New macro.
3164 (gammal_positive): New function.
3165 (__ieee754_gammal_r): Handle positive infinity, overflow and
3166 underflow here. Handle NaN the same as positive infinity. Remove
3167 check x < 0xffffffff for negative integers. Use gamma_positive
3168 instead of exp (lgamma) for other arguments.
3169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3170 (gamma_coeff): New variable.
3171 (NCOEFF): New macro.
3172 (gammal_positive): New function.
3173 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3174 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3175 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3178 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3179 * sysdeps/generic/math_private.h (__gamma_productf): New
3180 prototype.
3181 (__gamma_product): Likewise.
3182 (__gamma_productl): Likewise.
3183 * math/Makefile (libm-calls): Add gamma_product.
3184 * math/libm-test.inc (tgamma_test): Add more tests.
3185 * sysdeps/i386/fpu/libm-test-ulps: Update.
3186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3187
bb7cf681
OB
31882013-05-08 Ondřej Bílka <neleai@seznam.cz>
3189
3190 * benchtests/bench-skeleton.c (main): Preheat CPU.
3191
ba853947
AJ
31922013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3193
3194 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3195
8347c74c
RM
31962013-05-07 Roland McGrath <roland@hack.frob.com>
3197
3198 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3199 and _dl_skip_args_internal.
3200
e8dd4791
CD
32012013-05-07 Carlos O'Donell <carlos@redhat.com>
3202
3203 * manual/message.texi (Message Translation): Talk about users.
3204 Message to key mapping impacts design.
3205
c7405830
RM
32062013-05-06 Roland McGrath <roland@hack.frob.com>
3207
a9173057
RM
3208 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3209
976e2f03
RM
3210 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3211
9723ffc5
RM
3212 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3213 * sysdeps/wordsize-64/glob64.c: ... here.
3214
962e6658
RM
3215 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3216 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3217 New macros.
3218
ee586a6d
RM
3219 * debug/getlogin_r_chk.c: Moved to ...
3220 * login/getlogin_r_chk.c: ... here.
3221 * debug/Makefile (routines): Move getlogin_r_chk to ...
3222 * login/Makefile (routines): ... here.
3223 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3224 * login/Versions (libc: GLIBC_2.4): ... here.
3225
355f9165
RM
3226 * io/poll.c (__poll): Renamed from poll.
3227 Add libc_hidden_def.
3228 (poll): Define as weak alias.
3229
bd9ffde6
RM
3230 * debug/ptsname_r_chk.c: Moved to ...
3231 * login/ptsname_r_chk.c: ... here.
3232 * debug/Makefile (routines): Move ptsname_r_chk to ...
3233 * login/Makefile (routines): ... here.
3234 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3235 * login/Versions (libc: GLIBC_2.4): ... here.
3236
8fb16a04
RM
3237 * posix/getlogin.c: Moved to ...
3238 * login/getlogin.c: ... here.
3239 * posix/getlogin_r.c: Moved to ...
3240 * login/getlogin_r.c: ... here.
3241 * posix/getlogin_r.c: Moved to ...
3242 * login/getlogin_r.c: ... here.
3243 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3244 * login/Makefile (routines): ... here.
3245 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3246 * login/Versions (libc: GLIBC_2.0): ... here.
3247
b99b892f
RM
3248 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3249 (setrlimit): Define as weak alias.
3250
c7405830
RM
3251 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3252 Call __ names for open, ftruncate, and close.
3253 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3254 (truncate): Define as weak alias.
3255
5bf96de5
JM
32562013-05-06 Joseph Myers <joseph@codesourcery.com>
3257
9ea3513c
JM
3258 * math/gen-libm-test.pl (parse_args): Initialize x before each
3259 test of frexp, modf and remquo.
3260
5bf96de5
JM
3261 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3262 test signgam value.
3263
16e616a7
AZ
32642013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3265
3266 [BZ #15418]
3267 [BZ #15419]
3268 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3269 internal tests.
3270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3271
d5e82754
RM
32722013-05-06 Roland McGrath <roland@hack.frob.com>
3273
3274 * elf/dl-writev.h: New file.
3275 * elf/dl-misc.c: Include it.
3276 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3277 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3278
a7548d41
JM
32792013-05-04 Joseph Myers <joseph@codesourcery.com>
3280
b7dab1e4
JM
3281 * math/libm-test.inc (noXFails): Remove variable.
3282 (noXPasses): Likewise.
3283 (BUILD_COMPLEX_INT): Remove macro.
3284 (print_screen): Remove xfail argument.
3285 (print_screen_max_error): Likewise.
3286 (update_stats): Likewise.
3287 (print_max_error): Likewise. Update calls to other affected
3288 functions.
3289 (print_complex_max_error): Likewise.
3290 (test_single_exception): Update calls to print_screen.
3291 (test_single_errno): Likewise.
3292 (check_float_internal): Remove xfail argument. Update calls to
3293 other affected functions.
3294 (check_float): Likewise.
3295 (check_complex): Likewise.
3296 (check_int): Likewise.
3297 (check_long): Likewise.
3298 (check_bool): Likewise.
3299 (check_longlong): Likewise.
3300 (main): Don't print noXFails and noXPasses.
3301 * math/gen-libm-test.pl (top level): Don't mention expected
3302 failure handling in comment.
3303 (new_test): Don't handle expected failures.
3304 (parse_args): Don't mention expected failure handling in comment.
3305 (generate_testfile): Don't handle expected failures.
3306 (parse_ulps): Likewise.
3307 (print_ulps_file): Likewise.
3308 (get_failure): Remove function.
3309 (output_test): Don't handle expected failures.
3310 * make/README.libm-test: Don't mention expected failure handling.
3311
a7548d41
JM
3312 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3313 (minus_zero): Likewise.
3314 (plus_infty): Likewise.
3315 (minus_infty): Likewise.
3316 (qnan_value): Likewise.
3317 (max_value): Likewise.
3318 (min_value): Likewise.
3319 (min_subnorm_value): Likewise.
3320 (initialize): Do not initialize those variables dynamically.
3321
60bfd54c
RM
33222013-05-03 Roland McGrath <roland@hack.frob.com>
3323
cc0e6ed8
RM
3324 * io/open.c (__open_2): Moved to ...
3325 * io/open_2.c: ... this new file.
3326 * io/open64.c (__open64_2): Moved to ...
3327 * io/open64_2.c: ... this new file.
3328 * io/openat.c (__openat_2): Moved to ...
3329 * io/openat_2.c: ... this new file.
3330 * io/openat64.c (__openat64_2): Moved to ...
3331 * io/openat64_2.c: ... this new file.
3332 * io/Makefile (routines): Add them.
3333 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3334 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3335 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3336 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3337 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3338 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3339 (__openat64): Add hidden_ver.
3340 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3341 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3342
60bfd54c
RM
3343 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3344 Separately conditionalize setting of GLRO(dl_sysinfo) so
3345 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3346 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3347
83e7640f
AZ
33482013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3349
3350 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3351 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3352 definition.
3353 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3354 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3355 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3356 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3357 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3358
d5dc2af3
JM
33592013-05-03 Joseph Myers <joseph@codesourcery.com>
3360
c31a5b1e
JM
3361 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3362 test signgam value.
3363
d5dc2af3
JM
3364 * math/libm-test.inc (hypot_test): Do not use
3365 IGNORE_ZERO_INF_SIGN.
3366
164fd39d
AJ
33672013-05-03 Andreas Jaeger <aj@suse.de>
3368
3369 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3370 Linux 3.9.
3371 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3372 (PF_MAX): Adjust for VSOCK change.
3373
8237f48c
AZ
33742013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375
3376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3377
9df02941
CD
33782013-05-02 Carlos O'Donell <carlos@redhat.com>
3379
3380 [BZ #15264]
3381 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3382 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3383 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3384
d422395e
DM
33852013-05-02 David S. Miller <davem@davemloft.net>
3386
3387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3388
a07c5731
OB
33892013-05-01 Ondřej Bílka <neleai@seznam.cz>
3390
3391 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3392
1324e37f
RM
33932013-05-01 Roland McGrath <roland@hack.frob.com>
3394
3395 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3396
0695940b
RS
33972013-05-01 Richard Smith <richard@metafoo.co.uk>
3398
bb5f27ad 3399 [BZ #14952]
0695940b
RS
3400 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3401 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3402 Use __attribute__ ((__gnu_inline__)).
3403 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3404 Don't use __attribute__ ((__gnu_inline__)).
3405
10de07f5
JM
34062013-05-01 Joseph Myers <joseph@codesourcery.com>
3407
3408 [BZ #15423]
3409 * math/s_catan.c (__catan): Handle small real or imaginary part of
3410 input specially to avoid spurious underflow.
3411 * math/s_catanf.c (__catanf): Likewise.
3412 * math/s_catanh.c (__catanh): Likewise.
3413 * math/s_catanhf.c (__catanhf): Likewise.
3414 * math/s_catanhl.c (__catanhl): Likewise.
3415 * math/s_catanl.c (__catanl): Likewise.
3416 * math/libm-test.inc (catan_test): Add more tests.
3417 (catanh_test): Likewise.
3418 * sysdeps/i386/fpu/libm-test-ulps: Update.
3419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3420
cb4d5414
AZ
34212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3422
3423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3424
caf84319
JM
34252013-04-30 Joseph Myers <joseph@codesourcery.com>
3426
3427 [BZ #15416]
3428 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3429 accurately for denominator in atan2.
3430 * math/s_catanf.c (__catanf): Likewise.
3431 * math/s_catanh.c (__catanh): Likewise.
3432 * math/s_catanhf.c (__catanhf): Likewise.
3433 * math/s_catanhl.c (__catanhl): Likewise.
3434 * math/s_catanl.c (__catanl): Likewise.
3435 * math/libm-test.inc (catan_test): Add more tests.
3436 (catanh_test): Likewise.
3437 * sysdeps/i386/fpu/libm-test-ulps: Update.
3438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3439
d569c6ee
SP
34402013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3441
6dbe713d
SP
3442 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3443
f0ee064b
SP
3444 * benchtests/Makefile (bench): Remove slow benchmarks.
3445 * benchtests/atan-inputs: Add slow benchmark inputs.
3446 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3447 (BENCH_FUNC): Accept variant offset.
3448 (VARIANT): Define.
3449 * benchtests/bench-skeleton.c (main): Run benchmark for each
3450 variant.
3451 * benchtests/cos-inputs: Add slow benchmark inputs.
3452 * benchtests/exp-inputs: Likewise.
3453 * benchtests/pow-inputs: Likewise.
3454 * benchtests/sin-inputs: Likewise.
3455 * benchtests/slowatan-inputs: Remove.
3456 * benchtests/slowatan.c: Remove.
3457 * benchtests/slowcos-inputs: Remove.
3458 * benchtests/slowcos.c: Remove.
3459 * benchtests/slowexp-inputs: Remove.
3460 * benchtests/slowexp.c: Remove.
3461 * benchtests/slowpow-inputs: Remove.
3462 * benchtests/slowpow.c: Remove.
3463 * benchtests/slowsin-inputs: Remove.
3464 * benchtests/slowsin.c: Remove.
3465 * benchtests/slowtan-inputs: Remove.
3466 * benchtests/slowtan.c: Remove.
3467 * benchtests/tan-inputs: Add slow benchmark inputs.
3468 * scripts/bench.pl: Parse comments and directives.
3469
d569c6ee
SP
3470 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3471 in CPPFLAGS.
3472 ($(objpfx)bench-%.c): Remove *-ITER.
3473 * benchtests/bench-modf.c: Remove definition of ITER.
3474 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3475 (main): Loop for DURATION seconds instead of fixed number of
3476 iterations.
3477 * scripts/bench.pl: Don't expect iterations in parameters.
3478
a6a242fe
RM
34792013-04-29 Roland McGrath <roland@hack.frob.com>
3480
3481 * io/fchdir.c (__fchdir): Renamed from fchdir.
3482 (fchdir): Define as weak alias.
3483
f2da7793
JM
34842013-04-29 Joseph Myers <joseph@codesourcery.com>
3485
3486 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3487 (ERRNO_EDOM): Likewise.
3488 (ERRNO_ERANGE): Likewise.
3489 (noErrnoTests): New variable.
3490 (init_max_error): Set errno to 0.
3491 (test_single_errno): New function.
3492 (test_errno): Likewise.
3493 (check_float_internal): Call test_errno. Set errno to 0.
3494 (check_complex): Refer to errno tests in comment.
3495 (check_int): Call test_errno. Set errno to 0.
3496 (check_long): Likewise.
3497 (check_bool): Likewise.
3498 (check_longlong): Likewise.
3499 (cos_test): Use ERRNO_* flags for errno tests instead of
3500 check_int.
3501 (expm1_test): Likewise.
3502 (fmod_test): Likewise.
3503 (ilogb_test): Likewise.
3504 (lgamma_test): Likewise.
3505 (pow_test): Likewise.
3506 (remainder_test): Likewise.
3507 (sin_test): Likewise.
3508 (tan_test): Likewise.
3509 (yn_test): Likewise.
3510 (initialize): Set errno to 0.
3511 (main): Print number of errno tests.
3512 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3513
b1a36ceb
AJ
35142013-04-29 Andreas Jaeger <aj@suse.de>
3515
c3ed8088
AJ
3516 [BZ #15084]
3517 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3518 and RES_USEVC.
3519
f1a24198
AJ
3520 [BZ #15085]
3521 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3522 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3523 unimplemented.
3524
9ce3b2cb
AJ
3525 [BZ #15380]
3526 * stdlib/random.c (__initstate): Return NULL if
3527 __initstate fails.
3528
f1a24198 3529 [BZ #15086]
b1a36ceb
AJ
3530 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3531 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3532 RES_SNGLKUPREOP.
3533
7e7b6f36
AZ
35342013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3537
4d14f449
JM
35382013-04-29 Joseph Myers <joseph@codesourcery.com>
3539
3540 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3541 of individual tests.
3542 (casin_test): Likewise.
3543 (casinh_test): Likewise.
3544
5b4217d7
JM
35452013-04-27 Joseph Myers <joseph@codesourcery.com>
3546
3547 [BZ #15409]
3548 * math/s_catan.c (__catan): Handle arguments with large real or
3549 imaginary part separately without squaring.
3550 * math/s_catanf.c (__catanf): Likewise.
3551 * math/s_catanh.c (__catanh): Likewise.
3552 * math/s_catanhf.c (__catanhf): Likewise.
3553 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3554 and redefine.
3555 (__catanhl): Handle arguments with large real or imaginary part
3556 separately without squaring.
3557 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3558 and redefine.
3559 (__catanl): Handle arguments with large real or imaginary part
3560 separately without squaring.
3561 * math/libm-test.inc (catan_test): Add more tests.
3562 (catanh_test): Likewise.
3563 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565
4220c3ef
AJ
35662013-04-27 Andreas Jaeger <aj@suse.de>
3567
3568 [BZ #15007]
3569 * stdlib/stdlib.h: Update guards for qecvt.
3570 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3571 <stdlib.h>.
3572
4721b2d1
AM
35732013-04-27 Allan McRae <allan@archlinux.org>
3574
3575 * sysdeps/i386/fpu/libm-test-ulps: Update.
3576
f0302940
JM
35772013-04-26 Joseph Myers <joseph@codesourcery.com>
3578
9457fd95
JM
3579 [BZ #15406]
3580 * math/s_catan.c: Include <float.h>.
3581 (__catan): Ensure underflow exception occurs for underflowed
3582 result.
3583 * math/s_catanf.c: Include <float.h>.
3584 (__catanf): Ensure underflow exception occurs for underflowed
3585 result.
3586 * math/s_catanh.c: Include <float.h>.
3587 (__catanh): Ensure underflow exception occurs for underflowed
3588 result.
3589 * math/s_catanhf.c: Include <float.h>.
3590 (__catanhf): Ensure underflow exception occurs for underflowed
3591 result.
3592 * math/s_catanhl.c: Include <float.h>.
3593 (__catanhl): Ensure underflow exception occurs for underflowed
3594 result.
3595 * math/s_catanl.c: Include <float.h>.
3596 (__catanl): Ensure underflow exception occurs for underflowed
3597 result.
3598 * math/libm-test.inc (catan_test): Add more tests.
3599 (catanh_test): Likewise.
3600
f0302940
JM
3601 [BZ #15405]
3602 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3603 underflowed result.
3604 * math/s_ccoshf.c (__ccoshf): Likewise.
3605 * math/s_ccoshl.c (__ccoshl): Likewise.
3606 * math/s_csin.c (__csin): Likewise.
3607 * math/s_csinf.c (__csinf): Likewise.
3608 * math/s_csinh.c (__csinh): Likewise.
3609 * math/s_csinhf.c (__csinhf): Likewise.
3610 * math/s_csinhl.c (__csinhl): Likewise.
3611 * math/s_csinl.c (__csinl): Likewise.
3612 * math/libm-test.inc (ccos_test): Add more tests.
3613 (ccosh_test): Likewise.
3614 (csin_test): Likewise.
3615 (csinh_test): Likewise.
3616
aa630f59
AZ
36172013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618
3619 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3620 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3621 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3622 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3623 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3624 powerpc/power5+/fpu folders.
3625 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3626
3627
1b835983
MT
36282013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3629
3630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3631
73709b26
JM
36322013-04-25 Joseph Myers <joseph@codesourcery.com>
3633
3634 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3635 additions to variable.
3636 [$(config-machine) = x86_64] (modules-names): Likewise.
3637 ($(objpfx)tst-audit3): Remove dependency.
3638 ($(objpfx)tst-audit3.out): Likewise.
3639 ($(objpfx)tst-audit4): Likewise.
3640 ($(objpfx)tst-audit4.out): Likewise.
3641 ($(objpfx)tst-audit5): Likewise.
3642 ($(objpfx)tst-audit5.out): Likewise.
3643 ($(objpfx)tst-audit6): Likewise.
3644 ($(objpfx)tst-audit6.out): Likewise.
3645 ($(objpfx)tst-audit7): Likewise.
3646 ($(objpfx)tst-audit7.out): Likewise.
3647 (tst-audit3-ENV): Remove variable.
3648 (tst-audit4-ENV): Likewise.
3649 (tst-audit5-ENV): Likewise.
3650 (tst-audit6-ENV): Likewise.
3651 (tst-audit7-ENV): Likewise.
3652 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3653 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3654 addition to variable.
3655 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3656 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3657 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3658 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3659 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3660 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3661 tst-audit3, tst-audit4 and tst-audit5.
3662 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3663 tst-audit6 and tst-audit7.
3664 [$(subdir) = elf] (modules-names): Add audit modules for those
3665 tests.
3666 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3667 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3668 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3669 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3670 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3671 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3672 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3673 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3674 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3675 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3676 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3677 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3678 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3679 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3680 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3681 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3682 Likewise.
3683 [$(subdir) = elf && $(config-cflags-avx) = yes]
3684 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3685 [$(subdir) = elf && $(config-cflags-avx) = yes]
3686 (CFLAGS-tst-auditmod4a.c): Likewise.
3687 [$(subdir) = elf && $(config-cflags-avx) = yes]
3688 (CFLAGS-tst-auditmod4b.c): Likewise.
3689 [$(subdir) = elf && $(config-cflags-avx) = yes]
3690 (CFLAGS-tst-auditmod6b.c): Likewise.
3691 [$(subdir) = elf && $(config-cflags-avx) = yes]
3692 (CFLAGS-tst-auditmod6c.c): Likewise.
3693 [$(subdir) = elf && $(config-cflags-avx) = yes]
3694 (CFLAGS-tst-auditmod7b.c): Likewise.
3695 * elf/tst-audit3.c: Move to ...
3696 * sysdeps/x86_64/tst-audit3.c: ... here.
3697 * elf/tst-audit4.c: Move to ...
3698 * sysdeps/x86_64/tst-audit4.c: ... here.
3699 * elf/tst-audit5.c: Move to ...
3700 * sysdeps/x86_64/tst-audit5.c: ... here.
3701 * elf/tst-audit6.c: Move to ...
3702 * sysdeps/x86_64/tst-audit6.c: ... here.
3703 * elf/tst-audit7.c: Move to ...
3704 * sysdeps/x86_64/tst-audit7.c: ... here.
3705 * elf/tst-auditmod3a.c: Move to ...
3706 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3707 * elf/tst-auditmod3b.c: Move to ...
3708 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3709 * elf/tst-auditmod4a.c: Move to ...
3710 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3711 * elf/tst-auditmod4b.c: Move to ...
3712 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3713 * elf/tst-auditmod5a.c: Move to ...
3714 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3715 * elf/tst-auditmod5b.c: Move to ...
3716 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3717 * elf/tst-auditmod6a.c: Move to ...
3718 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3719 * elf/tst-auditmod6b.c: Move to ...
3720 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3721 * elf/tst-auditmod6c.c: Move to ...
3722 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3723 * elf/tst-auditmod7a.c: Move to ...
3724 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3725 * elf/tst-auditmod7b.c: Move to ...
3726 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3727
1ef74943
PP
37282013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3729
3730 [BZ #15366]
3731 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3732 define unconditionally.
3733 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3734 define unconditionally.
3735 (INT8_C, INT16_C, etc.): Likewise.
3736
93fd48c5
MR
37372013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3738
ae9552cf
MR
3739 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3740 __ehdr_start with hidden visibility.
3741
93fd48c5
MR
3742 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3743
418601aa
CD
37442013-04-24 Carlos O'Donell <carlos@redhat.com>
3745
3746 * math/libm-test.inc (cos_test): Use accurate hex constants.
3747 (sincost_test): Likewise.
3748
2f38fbfe
JM
37492013-04-24 Joseph Myers <joseph@codesourcery.com>
3750
5e221800
JM
3751 * math/libm-test.inc (catan_test): Add more tests.
3752 (catanh_test): Likewise.
3753
77f143fd
JM
3754 * math/s_catanf.c (__catanf): Use suffixed floating-point
3755 constants.
3756 * math/s_catanhf.c (__catanhf): Likewise.
3757 * math/s_catanhl.c (__catanhl): Likewise.
3758 * math/s_catanl.c (__catanl): Likewise.
3759
2f38fbfe
JM
3760 [BZ #15394]
3761 * math/s_catan.c (__catan): Calculate imaginary part of result
3762 with log1p not log unless computing log of number close to 0.
3763 * math/s_catanf.c (__catanf): Likewise.
3764 * math/s_catanl.c (__catanl): Likewise.
3765 * math/s_catanh.c (__catanh): Calculate real part of result with
3766 log1p not log unless computing log of number close to 0.
3767 * math/s_catanhf.c (__catanhf): Likewise.
3768 * math/s_catanhl.c (__catanhl): Likewise.
3769 * math/libm-test.inc (catan_test): Add more tests.
3770 (catanh_test): Likewise.
3771 * sysdeps/i386/fpu/libm-test-ulps: Update.
3772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3773
45d69176
SP
37742013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3775
3776 * benchtests/Makefile: Mention files in which fast and slow
3777 paths of math functions are implemented.
3778
87f51853
RM
37792013-04-23 Roland McGrath <roland@hack.frob.com>
3780
3781 * sysdeps/posix/timespec_get.c: New file.
3782
3c026539
AZ
37832013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3784
3785 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3786 POWER.
3787 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3788 for POWER.
3789 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3790 powerpc/power5/fpu folders.
3791 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3792 * benchtests/Makefile: Add modf testcase.
3793 * benchtests/bench-modf.c: New file: Benchmark test for mo
3794
ff491d14
SP
37952013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3796
3797 [BZ #14888]
3798 * time/Makefile (tests): Add tst-strptime-whitespace.
3799 * time/strptime_l.c (get_number): Use ISSPACE.
3800 (__strptime_internal): Likewise.
3801 * time/tst-strptime-whitespace.c: New test case.
3802
7ed3f4e8
AS
38032013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3804
3805 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3806 member.
3807 (_nss_files_init): Set it here.
3808
5c95f7b6
HC
38092013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3810
3811 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3812 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3813 unsigned.
3814
d34c9158
JBG
38152013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3816
3817 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3818
2169712d
SP
38192013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3820
3821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3822 size just once.
3823
29c5de99
DM
38242013-04-21 David S. Miller <davem@davemloft.net>
3825
3826 * po/ru.po: Update Russion translation from translation project.
3827
ccdad15d
AC
38282013-04-17 Adam Conrad <adconrad@0c3.net>
3829
3830 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3831 and setfsgid.
3832
0f122b8d
CD
38332013-04-17 Carlos O'Donell <carlos@redhat.com>
3834
5c5b07da 3835 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3836 * configure: Regenerate.
5c5b07da 3837 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3838 Add example to error message.
3839 * sysdeps/i386/configure: Regenerate.
3840
037714dd
SP
38412013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3842
3843 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3844 slowtan.
3845 * benchtests/cos-inputs: New file.
3846 * benchtests/slowcos-inputs: New file.
3847 * benchtests/slowcos.c: New file.
3848 * benchtests/slowtan-inputs: New file.
3849 * benchtests/slowtan.c: New file.
3850 * benchtests/tan-inputs: New file.
3851
e913141d
RM
38522013-04-16 Roland McGrath <roland@hack.frob.com>
3853
3854 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3855 considered kosher.
3856
a2964074
SP
38572013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
4856bcd2
SP
3859 * benchtests/Makefile: Include cppflags-iterator.mk to add
3860 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3861
a2964074
SP
3862 * Makefile.in (bench-clean): New target.
3863 * benchtests/Makefile (bench-clean): Likewise.
3864
9fbf9aca
DH
38652013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3866
3867 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3868
207d1e2a
TS
38692013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3870
3871 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3872
306dfba9
AS
38732013-04-15 Andreas Schwab <schwab@suse.de>
3874
3875 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3877 * nscd/pwdcache.c (cache_addpw): Likewise.
3878 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3879 more than recsize.
3880
206a6699
SP
38812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3882
3883 * benchtests/Makefile (bench): Write all output to
3884 bench-out.tmp together.
3885
0582f6b3
AS
38862013-04-15 Andreas Schwab <schwab@suse.de>
3887
3888 * nscd/nscd.c (main): Don't fork again after closing files.
3889
acb4325f
SP
38902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3891
5cb26d0a
SP
3892 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3893
acb4325f
SP
3894 * benchtests/Rules (bench-deps): Collect dependencies into a
3895 single variable. Add Makefile to dependencies.
3896 ($(objpfx)bench-%.c): Depend on bench-deps.
3897
47792506
RM
38982013-04-12 Roland McGrath <roland@hack.frob.com>
3899 Xavier Roche <roche+kml2@exalead.com>
3900
3901 [BZ #15361]
3902 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3903 just that it's a file descriptor.
3904 * manual/llio.texi (Synchronizing AIO Operations): Update description
3905 for EBADF error from aio_fsync.
3906
8fc1bee5
SP
39072013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3908
3909 * Rules (bench): Move target definition...
3910 * benchtests/Makefile: ... here.
3911
aba5e333
CD
39122013-04-11 Carlos O'Donell <carlos@redhat.com>
3913
3914 * math/libm-test.inc (cos_test): Fix PI/2 test.
3915 (sincos_test): Likewise.
3916 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3917 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3918
273cdee8
AS
39192013-04-11 Andreas Schwab <schwab@suse.de>
3920
6ecec3b6
AS
3921 [BZ #13988]
3922 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3923 accept exponent character only when digits were seen.
3924 * stdio-common/Makefile (tests): Add bug26.
3925 * stdio-common/bug26.c: New file.
3926
273cdee8
AS
3927 [BZ #14293]
3928 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3929 non-freeable.
3930
8da491f5
SP
39312013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3932
01dc6df9
SP
3933 * Makeconfig (rtld-prefix): Define built linker prefix.
3934 * Rules (run-bench): Use it.
3935 * math/Makefile (run-regen-ulps): Likewise.
3936
8da491f5
SP
3937 * Rules (bench): Remove eval.
3938
abe7f530
SP
39392013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3940 Roland McGrath <roland@hack.frob.com>
3941 Ondrej Bilka <neleai@seznam.cz>
3942
3943 [BZ #15346]
3944 * time/getdate.c: Include ctype.h and alloca.h.
3945 (__getdate_r): Trim leading and trailing spaces of input.
3946 * time/tst-getdate.c (tests): Add tests with leading and
3947 trailing spaces.
3948
61c23e62
RM
39492013-04-08 Roland McGrath <roland@hack.frob.com>
3950
3951 [BZ #14280]
3952 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3953 when computing value.
3954
7208a313
CD
39552013-04-06 Carlos O'Donell <carlos@redhat.com>
3956
085b2d41
CD
3957 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3958 Use testrun.sh to run libm tests.
3959
7208a313
CD
3960 [BZ #15309]
3961 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3962
872c0acd
MM
39632013-04-06 Marko Myllynen <myllynen@redhat.com>
3964
3965 [BZ #15264]
3966 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3967
26510bdd
CD
39682013-04-06 Carlos O'Donell <carlos@redhat.com>
3969
3970 * Makefile.in (regen-ulps): New target.
3971 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3972 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3973 [ifneq (no,$(PERL)] (regen-ulps): New target.
3974 [ifeq (no,$(PERL)] (regen-ulps): New target.
3975 * math/libm-test.inc (ulps_file_name): Define.
3976 (output_dir): New variable.
3977 (options): Add "output-dir" option.
3978 (parse_opt): Handle 'o' case.
3979 (main): If output_dir is non-NULL use it as a prefix
3980 otherwise use "".
3981 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3982
a01f19c8
CD
39832013-04-06 Carlos O'Donell <carlos@redhat.com>
3984
3985 [BZ #10060, #10062]
3986 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3987 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3988 fail configure if __sync_val_compare_and_swap is not inlined.
3989 * sysdeps/i386/configure: Regenerate.
3990 * configure.in: Build for i686 when configured for i386.
3991 * configure: Regenerate.
3992 * README: Remove i386 reference.
3993
b7a329a5
CD
39942013-04-06 Carlos O'Donell <carlos@redhat.com>
3995
3996 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3998
bf0f50df
TS
39992013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4000
ee091edf
TS
4001 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4002 (lmsnanval): New variables.
4003 (F): Add conversion tests.
4004 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4005 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4006
a8b792d6
TS
4007 * stdio-common/tstdiomisc.c (F): Properly collect individual
4008 tests' results.
4009
a1cbf437
TS
4010 [BZ #14686, #15336]
4011 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4012 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4013 Instead, use input NaN values or generate a qNaN by arithmetic
4014 operation. Also fix bugs to comply with the standard.
4015 * math/libm-test.inc (remainder_test): Add more tests.
4016
8b43a0c9
TS
4017 [BZ #15335, #15342]
4018 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4020 input NaN values or generate a qNaN by arithmetic operation.
4021
d91da4ce
TS
4022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4023 unreachable code.
4024
bf0f50df
TS
4025 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4026 definitions.
4027
05e166c8
JM
40282013-04-03 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #14478]
4031 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4032 underflowed result.
4033 * math/s_cexpf.c (__cexpf): Likewise.
4034 * math/s_cexpl.c (__cexpl): Likewise.
4035 * math/libm-test.inc (cexp_test): Add more tests.
4036
1cef1b19
AS
40372013-04-03 Andreas Schwab <schwab@suse.de>
4038
4039 [BZ #15330]
4040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4041 order arrays from heap if bigger than alloca cutoff.
4042
74d87055
TS
40432013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4044
4045 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4046 (SNAN_TESTS_double): Refer to GCC PR56831.
4047 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4048 GCC PR56828.
4049
d755bba4
SP
40502013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4051
90d5d5bb
SP
4052 * Rules (bench): Move bench.out after the run is complete.
4053
73e0cd5d
SP
4054 * Rules (bench): Echo currently running benchmark.
4055
64aabd4b
SP
4056 * benchtests/Makefile (bench): Add atan and slowatan.
4057 * benchtests/atan-inputs: New file.
4058 * benchtests/slowatan-inputs: New file.
4059 * benchtests/slowatan.c: New file.
4060
c871eccd
SP
4061 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4063 its value.
4064
d755bba4
SP
4065 [BZ #15305]
4066 * sysdeps/unix/sysv/linux/kernel-features.h
4067 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4068 __ASSUME_XFS_RESTRICTED_CHOWN.
4069 * sysdeps/unix/sysv/linux/pathconf.c
4070 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4071 Save and restore errno.
4072
52ce4860
JM
40732013-04-02 Joseph Myers <joseph@codesourcery.com>
4074
4075 [BZ #15327]
4076 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4077 arguments using __kernel_casinh.
4078 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4079 arguments using __kernel_casinhf.
4080 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4081 arguments using __kernel_casinhl.
4082 * math/libm-test.inc (cacosh_test): Add more tests.
4083 * sysdeps/i386/fpu/libm-test-ulps: Update.
4084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4085
81f311c2
SP
40862013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4087
e7906a47
SP
4088 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4089 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4090
92e3664b
SP
4091 * bench/Makefile (bench): Add sin and slowsin.
4092 * benchtests/sin-inputs: New file.
4093 * benchtests/slowsin-inputs: New file.
4094 * benchtests/slowsin.c: New file.
4095
81f311c2
SP
4096 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4097 (bench): Add slowexp and slowpow.
4098 (exp-ITER): Increase iterations.
4099 (pow-ITER): Likewise.
4100 * benchtests/exp-inputs: Change input.
4101 * benchtests/pow-inputs: Likewise.
4102 * benchtests/slowexp-inputs: New file.
4103 * benchtests/slowexp.c: New file.
4104 * benchtests/slowpow-inputs: New file.
4105 * benchtests/slowpow.c: New file.
4106
ab0f1aa9
AZ
41072013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4108
4109 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4110 instructions.
4111 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4112 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4113 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4114 * benchtests/Makefile: Add rint benchtest.
4115 * benchtests/rint-inputs: Input for rint benchtest.
4116
57267616
TS
41172013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4118
4119 * Versions.def (libm): Add GLIBC_2.18.
4120 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4121 hidden libm prototypes.
4122 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4123 * math/Makefile (libm-calls): Add s_issignaling.
4124 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4125 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4126 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4127 declaration.
4128 * math/math.h [__USE_GNU] (issignaling): New macro.
4129 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4130 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4131 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4135 * manual/arith.texi (issignaling): New section.
4136 * manual/libm-err-tab.pl (@all_functions): Update comment.
4137 * math/gen-libm-test.pl (parse_args): Apply special handling for
4138 issignaling.
4139 * math/libm-test.inc (print_float, issignaling_test): New
4140 functions.
4141 (check_float_internal): Add issignaling checks.
4142 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4143 default definition.
4144 * sysdeps/powerpc/math-tests.h: New file.
4145 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4146 tests.
4147 * math/test-snan.c (TEST_FUNC): Likewise.
4148
6142896d
DM
41492013-03-30 David S. Miller <davem@davemloft.net>
4150
4151 * po/de.po: Update from translation team.
4152
ccc8cadf
JM
41532013-03-30 Joseph Myers <joseph@codesourcery.com>
4154
4155 [BZ #10357]
4156 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4157 imaginary part less than 1.0 and real part less than 0.5
4158 specially.
4159 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4160 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4161 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4162 (cacos_test): Add more tests.
4163 (casin_test): Likewise.
4164 (casinh_test): Likewise.
4165 * sysdeps/i386/fpu/libm-test-ulps: Update.
4166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4167
0f6a8d4b
SP
41682013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
0d1029de
SP
4170 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4171 ONE with its value.
4172
c2d94018
SP
4173 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4174 (__pow_mp): Replace ONE and MONE with their values.
4175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4177 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4178 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4179 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4180 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4181
27ec37f1
SP
4182 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4183
a64d7e0e
SP
4184 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4185 (__pow_mp): Replace ZERO and MZERO with their values.
4186 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4187 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4188 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4189 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4190 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4191 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4192 (__sqr): Likewise.
4193
d26dd3eb
SP
4194 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4195
0f6a8d4b
SP
4196 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4197
e57b0c61
RM
41982013-03-28 Roland McGrath <roland@hack.frob.com>
4199
4200 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4201 Declare with __attribute__ ((weak)).
4202 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4203 Call __call_tls_dtors only if it's not NULL.
4204
356b3480
RM
42052013-03-28 Roland McGrath <roland@hack.frob.com>
4206
288f7d79
RM
4207 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4208 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4209 magic __ehdr_start linker symbol if it's defined.
4210 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4211 them up here if it was already done.
4212
dc0a0263
RM
4213 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4214 (_dl_aux_init): Use const in cast when setting it.
4215 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4216 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4217 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4218
3d3436ae
RM
4219 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4220 Declare them here.
4221 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4222 * csu/libc-tls.c: Nor here.
4223 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4224
356b3480
RM
4225 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4226 (__libc_message): Never call vsyslog.
4227
b0f1246a
AM
42282013-03-28 Alan Modra <amodra@gmail.com>
4229
4230 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4231 Define as empty.
4232 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4233 Likewise.
4234
fbbe2b9a
AZ
42352013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4236
4237 [BZ #15214]
4238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4239 underflow.
4240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4241
1728ab37
SP
42422013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4243
7a86be6e
SP
4244 [BZ #15304]
4245 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4246 Don't add gid passed as argument.
4247
1728ab37
SP
4248 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4249
3a7182a1
JM
42502013-03-27 Joseph Myers <joseph@codesourcery.com>
4251
4252 [BZ #15307]
4253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4254 imaginary part between 1.0 and 1.5 and real part less than 0.5
4255 specially.
4256 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4257 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4258 * math/libm-test.inc (cacos_test): Add more tests.
4259 (casin_test): Likewise.
4260 (casinh_test): Likewise.
4261 * sysdeps/i386/fpu/libm-test-ulps: Update.
4262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4263
6f2e90e7
SP
42642013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4265
5739f705
SP
4266 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4267 constants.
4268 (norm): Likewise.
4269 (denorm): Likewise.
4270 (__dbl_mp): Likewise.
4271 (add_magnitudes): Likewise.
4272 (sub_magnitudes): Likewise.
4273 (__add): Likewise.
4274 (__sub): Likewise.
4275 (__mul): Likewise.
4276 (__sqr): Likewise.
4277 (__inv): Likewise.
4278 (__dvd): Likewise.
4279
e375e83d
SP
4280 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4281 commented code.
4282 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4283 (__dubcos): Likewise.
4284 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4285 (__ieee754_acos): Likewise.
4286 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4287 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4288 (__exp1): Likewise.
4289 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4291 (log1): Likewise.
4292 (my_log2): Likewise.
4293 (checkint): Likewise.
4294 * sysdeps/ieee754/dbl-64/e_remainder.c
4295 (__ieee754_remainder): Likewise.
4296 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4297 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4298 (bsloww): Likewise.
4299 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4300
6f2e90e7
SP
4301 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4302 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4303 MANTISSA_STORE_T to store computations on mantissa. Use
4304 macros for rounding and division.
4305 (denorm): Likewise.
4306 (__dbl_mp): Likewise.
4307 (add_magnitudes): Likewise.
4308 (sub_magnitudes): Likewise.
4309 (__mul): Likewise.
4310 (__sqr): Likewise.
4311 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4312 powers of two in terms of TWOPOW macro.
4313 (mp_no): Make type of mantissa as MANTISSA_T.
4314 [!RADIXI]: Define RADIXI.
4315 [!TWO52]: Define TWO52.
4316 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4317
fce14d4e
AZ
43182013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4319
4320 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4321 llroundl symbol when building for PPC32.
4322
9ad027fb
MW
43232013-03-24 Mark H Weaver <mhw@netris.org>
4324
4325 * manual/arith.texi (Normalization Functions): Fix prototypes for
4326 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4327
e42a38dd
AZ
43282013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329
4330 [BZ #13889]
4331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4332 high value to check if expl overflow.
4333 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4334 to check for underflow and overflow.
4335 * math/libm-test.inc: Add exp test.
4336
2e0fb521
DL
43372013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4338
4339 [BZ #11120]
4340 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4341 with NOT_IN_libc.
4342
b5784d95
AZ
43432013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4344
4345 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4346 symbol.
4347
5aa4a1a1
TS
43482013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4349
bdef0be7
TS
4350 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4351 wrap blocks consisting of several statements.
4352
5aa4a1a1
TS
4353 * sysdeps/generic/math-tests.h: New file.
4354 * sysdeps/i386/fpu/math-tests.h: Likewise.
4355 * math/test-snan.c: Include it.
4356 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4357
98c48fe5
JM
43582013-03-21 Joseph Myers <joseph@codesourcery.com>
4359
4360 [BZ #15285]
4361 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4362 (__ieee754_j0l): Do not improve calculations using cos of twice
4363 input for inputs above LDBL_MAX / 2.0L.
4364 (__ieee754_y0l): Likewise.
4365 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4366 (__ieee754_j1l): Do not improve calculations using cos of twice
4367 input for inputs above LDBL_MAX / 2.0L.
4368 (__ieee754_y1l): Likewise.
4369 * math/libm-test.inc (j0_test): Add another test.
4370 (j1_test): Likewise.
4371 (y0_test): Likewise.
4372 (y1_test): Likewise.
4373 * sysdeps/i386/fpu/libm-test-ulps: Update.
4374
3775a8bc
SP
43752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4376
4377 * Rules ($(objpfx)bench-%.c): Include code from a C source
4378 file.
4379
0a1b2ae6
JM
43802013-03-21 Joseph Myers <joseph@codesourcery.com>
4381
4382 [BZ #15287]
4383 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4384 imaginary part 1.0 and real part less than 0.5 specially.
4385 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4386 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4387 * math/libm-test.inc (cacos_test): Add more tests.
4388 (casin_test): Likewise.
4389 (casinh_test): Likewise.
4390 * sysdeps/i386/fpu/libm-test-ulps: Update.
4391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4392
b33d4ce4
SP
43932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4394
4395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4396 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4397
bef0b507
JM
43982013-03-20 Joseph Myers <joseph@codesourcery.com>
4399
4400 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4401 * config.make.in (config-cflags-sse4): Remove variable.
4402 (config-cflags-avx): Likewise.
4403 (config-cflags-sse2avx): Likewise.
4404 (config-cflags-novzeroupper): Likewise.
4405 (config-asflags-i686): Likewise.
4406 (have-mfma4): Likewise.
4407 (have-as-vis3): Likewise.
4408 (MIG): Likewise.
4409 * configure.in (MIG): Do not AC_SUBST.
4410 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4411 (libc_cv_cc_sse4): Do not AC_SUBST.
4412 (libc_cv_cc_avx): Likewise.
4413 (libc_cv_cc_sse2avx): Likewise.
4414 (libc_cv_cc_novzeroupper): Likewise.
4415 (libc_cv_cc_fma4): Likewise.
4416 (libc_cv_as_i686): Likewise.
4417 (libc_cv_sparc_as_vis3): Likewise.
4418 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4419 LIBC_CONFIG_VAR.
4420 (config-asflags-i686): Likewise.
4421 (config-cflags-avx): Likewise.
4422 (config-cflags-sse2avx): Likewise.
4423 (have-mfma4): Likewise.
4424 (config-cflags-novzeroupper): Likewise.
4425 * sysdeps/mach/configure.in (MIG): Likewise.
4426 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4427 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4428 LIBC_CONFIG_VAR.
4429 (config-cflags-avx): Likewise.
4430 (config-cflags-sse2avx): Likewise.
4431 (have-mfma4): Likewise.
4432 (config-cflags-novzeroupper): Likewise.
4433 * configure: Regenerated.
4434 * sysdeps/i386/configure: Likewise.
4435 * sysdeps/mach/configure: Likewise.
4436 * sysdeps/sparc/configure: Likewise.
4437 * sysdeps/x86_64/configure: Likewise.
4438
912cc4b3
RM
44392013-03-20 Roland McGrath <roland@hack.frob.com>
4440
4441 [BZ #14812]
4442 * locale/programs/localedef.c (options): Put N_ translation marker
4443 on argument names, not just descriptions.
4444
04eed2b0
MS
44452013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4446
4447 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4448
a065ceff
OB
44492013-03-20 Ondřej Bílka <neleai@seznam.cz>
4450
9bb2a810 4451 [BZ #14176]
a065ceff
OB
4452 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4453
a600e5ce
RM
44542013-03-19 Roland McGrath <roland@hack.frob.com>
4455
4456 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4457 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4458 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4459 [!BEFORE_ABORT] (before_abort): New function.
4460 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4461 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4462 (writev_for_fatal): New function.
4463 (WRITEV_FOR_FATAL): New macro; call that.
4464 (backtrace_and_maps): New function.
4465 (BEFORE_ABORT): New macro; call that.
4466 (struct str_list): Type removed.
4467 (__libc_message, __libc_fatal): Functions removed.
4468 Include <sysdeps/posix/libc_fatal.c> instead.
4469
6b18bea6
JM
44702013-03-19 Joseph Myers <joseph@codesourcery.com>
4471
4472 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4473 constants.
4474 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4475 double constants.
4476
aaa8cb4b
AS
44772013-03-19 Andreas Schwab <schwab@suse.de>
4478
44673770
AS
4479 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4480 * sysdeps/gnu/configure: Regenerate.
4481
aaa8cb4b
AS
4482 * configure.in: Substitute libc_cv_rtlddir.
4483 * configure: Regenerate.
4484 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4485 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4486 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4487 * elf/Makefile (install-others, CFLAGS-interp.c)
4488 (ldso_install, common-ldd-rewrite): Likewise.
4489 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4490 $(inst_slibdir)/$(rtld-installed-name).
4491 * scripts/rellns-sh: Add -p option.
4492 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4493 for source.
4494
d3cfc668
SP
44952013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4496
4497 * manual/nptl.texi: Renamed to ...
4498 * manual/threads.texi: ... this.
4499 * manual/Makefile (chapters): Update.
4500
0e2b9cdd
RM
45012013-03-18 Roland McGrath <roland@hack.frob.com>
4502
4503 [BZ #14812]
4504 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4505 on argument names, not just descriptions.
0e2b9cdd
RM
4506 * malloc/memusagestat.c (options): Likewise.
4507 * nss/getent.c (options): Likewise.
63270c24
RM
4508
45092013-03-18 Benno Schulenberg <bensberg@justemail.net>
4510
4511 [BZ #14812]
4512 * iconv/iconv_prog.c (options): Put N_ translation marker
4513 on argument names, not just descriptions.
4514 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4515
b2e1393c
OB
45162013-03-18 Ondrej Bilka <neleai@seznam.cz>
4517
4518 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4519 implementation which is faster on all x86_64 architectures.
4520 Tested on AMD, Intel Nehalem, SNB, IVB.
4521 * sysdeps/x86_64/strnlen.S: Likewise.
4522
4523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4524 Remove all multiarch strlen and strnlen versions.
4525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4526 Remove strlen and strnlen related parts.
4527
4528 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4529 Inline strlen part.
4530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4531
4532 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4534 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4535 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4536 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4537 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4538
ec4ff04d
CD
45392013-03-17 Carlos O'Donell <carlos@redhat.com>
4540
4541 * manual/memory.texi (Malloc Tunable Parameters):
4542 Sort parameters alphabetically. Add comments for missing entries.
4543
cd18e90a
DM
45442013-03-17 David S. Miller <davem@davemloft.net>
4545
4546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4547
2a185d32
JM
45482013-03-16 Joseph Myers <joseph@codesourcery.com>
4549
d2f9799e
JM
4550 [BZ #15283]
4551 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4552 for arguments at most half maximum finite value.
4553 * math/libm-test.inc (j0_test): Add more tests.
4554 (j1_test): Likewise.
4555 (y0_test): Likewise.
4556 (y1_test): Likewise.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4559
2a185d32
JM
4560 [BZ #14155]
4561 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4562 1 / x and functions P and Q for arguments above 0x1p256L.
4563 (__ieee754_y0l): Likewise.
4564 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4565 (__ieee754_y1l): Likewise.
4566 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4567 (j1_test): Likewise.
4568 (y0_test): Likewise.
4569 (y1_test): Likewise.
4570
6cbec759
TS
45712013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4572
4573 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4574 variable.
4575
bc16e260
RM
45762013-03-15 Roland McGrath <roland@hack.frob.com>
4577
aefc9b8c
RM
4578 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4579 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4580 zero since it's initialized to EXEC_PAGESIZE.
4581
bc16e260
RM
4582 * sysdeps/unix/sysv/linux/ldsodefs.h
4583 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4584 * sysdeps/generic/ldsodefs.h: ... here.
4585
a57da955
TS
45862013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4587
af00a34d
TS
4588 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4589
495ded2c
TS
4590 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4591 math/test-snan.c.
4592 * math/test-snan.c: Renamed from
4593 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4594 * math/Makefile (tests): Add test-snan.
4595 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4596 test-powerpc-snan.
4597
777b0332
TS
4598 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4599 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4600 functions.
4601 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4602 __builtin_nan family of functions.
4603 * math/libm-test.inc (initialize): Initialize qnan_value with
4604 __builtin_nan family of functions.
4605 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4606 Remove variables.
4607 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4608 Remove functions.
4609 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4610 storage class. Initialize qNaN_var and sNaN_var with
4611 __builtin_nan and __builtin_nans families of functions,
4612 respectively.
4613
64d063b8
TS
4614 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4615 (sqrt_test): Remove duplicate test with qNaN input.
4616 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4617 (round_test, signbit_test, significand_test): Note missing +/-Inf
4618 as well as qNaN tests.
4619
67e971f1
TS
4620 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4621 qNaN_var. Fix a few strings, too.
4622 * math/libm-test.inc (nan_value): Rename to qnan_value.
4623 * math/gen-libm-test.pl (%beautify): Adjust to that.
4624 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4625 * math/test-misc.c (main): Likewise.
4626 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4627 to __qnan_bytes, and __qnan_union, respectively.
4628 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4629 Likewise.
4630 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4631 and lqnanval, respectively.
4632 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4633 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4634 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4635 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4636
64487e12
TS
4637 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4638 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4639 doubles.
4640
e015e27b
TS
4641 * math/test-misc.c (main): Fix copy'n'pastos.
4642 * misc/tst-efgcvt.c (special): Likewise.
4643
a57da955
TS
4644 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4645 Remove declarations.
4646
1e380345
SP
46472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4648
4649 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4650 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4651 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4652 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4653
ef26eece
AZ
46542013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4655
4656 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4657 macro to return vdso values correctly in IFUNC implementations.
4658 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4659 Optimization by using IFUNC.
4660
8cfdb7e0
SP
46612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4662 Richard Henderson <rth@redhat.com>
4663 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4664
4665 * Makefile.in (bench): New target.
4666 * NEWS: Mention the benchmark framework.
4667 * Rules (bench): Likewise.
4668 (binaries-bench): Generate binaries for functions to
4669 benchmark.
4670 * benchtests/Makefile: New makefile for benchmark tests.
4671 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4672 programs.
4673 * benchtests/exp-inputs: New input file for EXP function.
4674 * benchtests/pow-inputs: New input file for POW function.
4675 * scripts/bench.pl: New script to generate source files for
4676 benchmark programs.
4677
bcda9880
SP
46782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4679
d22ca8cd
SP
4680 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4681 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4682 computations on mantissa. Use macros for rounding and
4683 division.
4684 (denorm): Likewise.
4685 (__dbl_mp): Likewise.
4686 (add_magnitudes): Likewise.
4687 (sub_magnitudes): Likewise.
4688 (__mul): Likewise.
4689 (__sqr): Likewise.
4690 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4691 powers of two in terms of TWOPOW macro.
4692 (mp_no): Make type of mantissa as MANTISSA_T.
4693 [!RADIXI]: Define RADIXI.
4694 [!TWO52]: Define TWO52.
4695 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4696
bcda9880
SP
4697 * manual/nptl.texi (cindex): Modify threads to pthreads.
4698
06d5adfb
JM
46992013-03-15 Joseph Myers <joseph@codesourcery.com>
4700
4701 * sysdeps/x86_64/preconfigure: Regenerated.
4702
41c7328e
JM
47032013-03-14 Joseph Myers <joseph@codesourcery.com>
4704
4705 [BZ #14155]
4706 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4707 0x1p28 and above.
4708 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4709 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4710 0x1p28 and above.
4711 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4712 * math/libm-test.inc (j0_test): Do not allow one spurious
4713 underflow exception.
4714 (y1_test): Likewise.
4715
e25cfa60
SP
47162013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4717
0409959c
SP
4718 * manual/Makefile (chapters): Add nptl.
4719 * manual/debug.texi (Debugging Support): Add link to Threads
4720 chapter.
4721 * manual/nptl.texi: New file.
4722
e25cfa60
SP
4723 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4724
58a1335e
PB
47252013-03-14 Petr Baudis <pasky@ucw.cz>
4726
4727 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4728 for non-NULL pointer before the memory validity test. Pointed
4729 out by Holger Brunck <holger.brunck@keymile.com>.
4730
9dc7c64f
AS
47312013-03-13 Andreas Schwab <schwab@suse.de>
4732
4733 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4734 instead of .os.
4735
54206aa6
JM
47362013-03-13 Joseph Myers <joseph@codesourcery.com>
4737
4738 * timezone/zic.c: Update from tzcode 2013b.
4739
e98cdb38
CD
47402013-03-12 Carlos O'Donell <carlos@redhat.com>
4741
4742 * manual/install.texi (Configuring and compiling):
4743 Mention i686 and i586.
4744 * INSTALL: Regenerate.
4745
9967e003
RM
47462013-03-12 Roland McGrath <roland@hack.frob.com>
4747
4748 * sysdeps/init_array/elf-init.c: New file.
4749 * csu/elf-init.c
4750 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4751 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4752
4753 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4754 __gmon_start__ as global, but as static with a .preinit_array pointer.
4755 * sysdeps/init_array/gmon-start.c: New file. Use that.
4756 * sysdeps/init_array/crti.S: New file, empty except for comments.
4757 * sysdeps/init_array/crtn.S: Likewise.
4758
e6b5a293 47592013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4760
4761 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4762 definining bcopy.
80f844c9
OB
4763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4764 Remove Prefer_SSE_for_memop.
4765 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4766 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4767 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4769 memset-x86-64.
80f844c9 4770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4771 Remove bzero, memset ifunc support.
80f844c9
OB
4772 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4773 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4774 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4775 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4776
fb6b0fcb
AS
47772013-03-11 Andreas Schwab <schwab@suse.de>
4778
4779 [BZ #15234]
4780 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4781 by SHLIB_COMPAT.
4782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4783 (GLIBC_2.16): Remove pthread_atfork.
4784
3e6bd4b1
PP
47852013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4786
4787 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4788 (ptestcases.h): Likewise.
4789
222d7f00
RM
47902013-03-08 Roland McGrath <roland@hack.frob.com>
4791
4792 * Makeconfig ($(common-objpfx)config.status): Depend on
4793 sysdeps/*/preconfigure{,.in} too.
4794
1ba4f030
JM
47952013-03-08 Joseph Myers <joseph@codesourcery.com>
4796
a222d91a
JM
4797 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4798 (__free_hook): Use void * instead of __malloc_ptr_t.
4799 (__malloc_hook): Likewise.
4800 (__realloc_hook): Likewise.
4801 (__memalign_hook): Likewise.
4802 (__after_morecore_hook): Likewise.
4803 * malloc/arena.c (save_malloc_hook): Likewise.
4804 (save_free_hook): Likewise.
4805 * malloc/hooks.c (malloc_hook_ini): Likewise.
4806 (realloc_hook_ini): Likewise.
4807 (memalign_hook_ini): Likewise.
4808 * malloc/malloc.c (malloc_hook_ini): Likewise.
4809 (realloc_hook_ini): Likewise.
4810 (memalign_hook_ini): Likewise.
4811 (__free_hook): Likewise.
4812 (__malloc_hook): Likewise.
4813 (__realloc_hook): Likewise.
4814 (__memalign_hook): Likewise.
4815 (__libc_malloc): Likewise.
4816 (__libc_free): Likewise.
4817 (__libc_realloc): Likewise.
4818 (__libc_memalign): Likewise.
4819 (__libc_valloc): Likewise.
4820 (__libc_pvalloc): Likewise.
4821 (__libc_calloc): Likewise.
4822 (__posix_memalign): Likewise.
4823 * malloc/morecore.c (__sbrk): Likewise.
4824 (__default_morecore): Likewise.
4825
5cc45e10
JM
4826 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4827
dd54b864
JM
4828 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4829 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4830 __malloc_ptrdiff_t.
4831
1ba4f030
JM
4832 * malloc/malloc.h (__malloc_size_t): Remove macro.
4833 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4834 __malloc_size_t.
4835 (old_memalign_hook): Likewise.
4836 (old_realloc_hook): Likewise.
4837 (struct hdr): Likewise.
4838 (flood): Likewise.
4839 (mallochook): Likewise.
4840 (memalignhook): Likewise.
4841 (reallochook): Likewise.
4842 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4843 (tr_old_realloc_hook): Likewise.
4844 (tr_old_memalign_hook): Likewise.
4845 (tr_mallochook): Likewise.
4846 (tr_reallochook): Likewise.
4847 (tr_memalignhook): Likewise.
4848
edf66e57
AZ
48492013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4850
4851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4852 default_ldbl_pack and using as default implementation.
4853 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4854 implementation.
4855 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4856 redundant definition.
4857 (ldbl_insert_mantissa): Likewise.
4858 (ldbl_canonicalize): Likewise.
4859 (ldbl_nearbyint): Likewise.
4860 (ldbl_pack): Rename to ldbl_pack_ppc.
4861 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4862 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4863 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4864
6d9145d8
SP
48652013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
4867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4868 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4870 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4872 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4873 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4874 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4875
4dd4e157
AJ
48762013-03-07 Andreas Jaeger <aj@suse.de>
4877
4878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4879 bits/mman-linux.h.
4880
adbb8027
SP
48812013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4882
ce544b5b
SP
4883 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4884 Include mpa.h and declare __MPEXP.
4885 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4887 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4888 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4890 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4891 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4892
4cc149fd
SP
4893 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4894 (__slowpow): Use long double EXPL and LOGL functions to
4895 compute POW.
4896 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4897 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4899 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4900 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4901 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4902
e6ebd4a7
SP
4903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4904 intermediate variable to calculate exponent.
4905 (__sqr): Likewise.
4906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4907 Likewise.
4908 (__sqr): Likewise.
4909
82a9811d
SP
4910 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4911 [!NO__SQR]: Define __sqr.
4912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4913 and NO__SQR. Remove all code except __mul and __sqr. Include
4914 sysdeps/ieee754/dbl-64/mpa.c.
4915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4916
adbb8027
SP
4917 [BZ #12723]
4918 * posix/Makefile (tests): Add tst-pathconf.
4919 * posix/tst-pathconf.c: New test case.
4920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4921 _PC_PIPE_BUF.
4922 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4923
39120df9
PF
49242013-03-06 Patsy Franklin <pfrankli@redhat.com>
4925
4926 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4927
67525cb8
AJ
49282013-03-06 Andreas Jaeger <aj@suse.de>
4929
664a9ce4
AJ
4930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4931 definition via __MAP_ANONYMOUS.
4932
8e39047d
AJ
4933 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4934 it's not part of Linux headers.
4935
67525cb8
AJ
4936 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4937 (MAP_HUGE_MASK): Define.
4938
4939 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4940 Define.
4941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4943 Define.
4944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4945 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4946 Define.
4947 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4948 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4949 Define.
4950 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4951
4952 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4953 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4954 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4955 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4956 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4957 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4958
4959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4960 Handle f2fs.
4961
4962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4963 Handle f2fs and efivarfs.
4964
4965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4966 f2fs.
4967
4968 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4969 (EFIVARFS_MAGIC): Add.
4970 (F2FS_LINK_MAX): Add.
4971
e1b42695
PP
49722013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4973
4974 * stdio-common/vfprintf.c: Replace __builtin_expect with
4975 __glibc_unlikely.
4976
2d67d91a
JM
49772013-03-06 Joseph Myers <joseph@codesourcery.com>
4978
4979 [BZ #13550]
4980 * sysdeps/generic/bp-sym.h: Remove file.
4981 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4982 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4983 <bp-sym.h> and <bp-asm.h>.
4984 (__longjmp): Don't use BP_SYM.
4985 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4986 and <bp-asm.h>.
4987 (memcpy): Don't use BP_SYM.
4988 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4989 <bp-sym.h> and <bp-asm.h>.
4990 (memcpy): Don't use BP_SYM.
4991 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4992 <bp-asm.h>.
4993 (memcpy): Don't use BP_SYM.
4994 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4995 <bp-asm.h>.
4996 (memset): Don't use BP_SYM.
4997 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4998 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4999 (__bzero): Don't use BP_SYM.
5000 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5001 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5002 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5003 <bp-sym.h> and <bp-asm.h>.
5004 (memcmp): Don't use BP_SYM. Remove comment about bounded
5005 pointers.
5006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5007 <bp-sym.h> and <bp-asm.h>.
5008 (memcpy): Don't use BP_SYM.
5009 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5010 <bp-sym.h> and <bp-asm.h>.
5011 (memset): Don't use BP_SYM.
5012 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5013 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5014 (__bzero): Don't use BP_SYM.
5015 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5016 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5017 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5018 <bp-sym.h> and <bp-asm.h>.
5019 (strncmp): Don't use BP_SYM. Remove comment about bounded
5020 pointers.
5021 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5022 <bp-sym.h> and <bp-asm.h>.
5023 (memcpy): Don't use BP_SYM.
5024 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5025 <bp-sym.h> and <bp-asm.h>.
5026 (memset): Don't use BP_SYM.
5027 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5028 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5029 (__bzero): Don't use BP_SYM.
5030 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5031 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5032 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5033 <bp-sym.h> and <bp-asm.h>.
5034 (__memchr): Don't use BP_SYM.
5035 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5036 <bp-sym.h> and <bp-asm.h>.
5037 (memcmp): Don't use BP_SYM. Remove comment about bounded
5038 pointers.
5039 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5040 <bp-sym.h> and <bp-asm.h>.
5041 (memcpy): Don't use BP_SYM.
5042 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5043 <bp-sym.h> and <bp-asm.h>.
5044 (__mempcpy): Don't use BP_SYM.
5045 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5046 <bp-sym.h> and <bp-asm.h>.
5047 (__memrchr): Don't use BP_SYM.
5048 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5049 <bp-sym.h> and <bp-asm.h>.
5050 (memset): Don't use BP_SYM.
5051 (__bzero): Likewise.
5052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5053 <bp-sym.h> and <bp-asm.h>.
5054 (__rawmemchr): Don't use BP_SYM.
5055 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5056 <bp-sym.h> and <bp-asm.h>.
5057 (__STRCMP): Don't use BP_SYM.
5058 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5059 <bp-sym.h> and <bp-asm.h>.
5060 (strchr): Don't use BP_SYM.
5061 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5062 <bp-sym.h> and <bp-asm.h>.
5063 (__strchrnul): Don't use BP_SYM.
5064 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5065 <bp-sym.h> and <bp-asm.h>.
5066 (strlen): Don't use BP_SYM.
5067 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5068 <bp-sym.h> and <bp-asm.h>.
5069 (strncmp): Don't use BP_SYM. Remove comment about bounded
5070 pointers.
5071 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5072 <bp-sym.h> and <bp-asm.h>.
5073 (__strnlen): Don't use BP_SYM.
5074 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5075 <bp-sym.h> and <bp-asm.h>.
5076 (__GI__setjmp): Don't use BP_SYM.
5077 (_setjmp): Likewise.
5078 (__sigsetjmp): Likewise.
5079 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5080 (L(start_addresses)): Don't use BP_SYM.
5081 (_start): Likewise.
5082 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5083 <bp-asm.h>.
5084 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5085 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5086 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5087 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5088 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5089 <bp-asm.h>.
5090 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5091 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5092 about bounded pointers.
5093 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5094 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5095 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5096 <bp-asm.h>.
5097 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5098 about bounded pointers. Remove GKM FIXME comments.
5099 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5100 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5101 <bp-asm.h>.
5102 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5103 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5104 Remove GKM FIXME comments.
5105 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5106 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5107 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5108 <bp-asm.h>.
5109 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5110 about bounded pointers. Remove GKM FIXME comment.
5111 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5112 and <bp-asm.h>.
5113 (strncmp): Don't use BP_SYM. Remove comment about bounded
5114 pointers.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5116 <bp-sym.h> and <bp-asm.h>.
5117 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5119 <bp-sym.h> and <bp-asm.h>.
5120 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5121 comment.
5122
cdcf361f
PP
51232013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5124
5125 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5126 call free(NULL).
5127
3c4a2b15
DM
51282013-03-05 David S. Miller <davem@davemloft.net>
5129
5130 * po/es.po: Update from translation team.
5131
cdcf361f 51322013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5133
5134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5135 <bits/mman-linux.h>.
5136 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5137 is fine.
5138 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5139 <bits/mman-linux.h> to end of file.
5140 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5141 is fine.
5142 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5143 <bits/mman-linux.h> to end of file.
5144 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5145 is fine.
5146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5147 <bits/mman-linux.h> to end of file.
5148
5149 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5150 (MCL_CURRENT, MCL_FUTURE): Define here.
5151
5f67c04f
AK
51522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5153
8a4473cc 5154 [BZ #15232]
5f67c04f
AK
5155 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5156 attribute_hidden.
5157 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5158
c3e94a95
AK
51592013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5160
5161 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5162 fourth parameter needed for rt_sigprocmask syscall.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5164 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5165 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5166 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5167 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5168 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5169
cfb6382a
JM
51702013-03-04 Joseph Myers <joseph@codesourcery.com>
5171
5172 [BZ #13550]
5173 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5174 comment about bounded pointers.
5175 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5176 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5177
539d8e01
AJ
51782013-03-04 Andreas Jaeger <aj@suse.de>
5179
5180 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5181 common definitions.
5182
5183 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5184 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5185 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5189
2e167a70 51902013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5191
5192 [BZ #15055]
5193 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5194 __ieee754_sqrl instead of __sqrl.
5195
68508633
JM
51962013-03-01 Joseph Myers <joseph@codesourcery.com>
5197
5198 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5199 * sysdeps/powerpc/fpu_control.h: ... here.
5200 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5201 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5202 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5203 * sysdeps/powerpc/bits/mathinline.h: ... here.
5204
7775448e
RM
52052013-03-01 Roland McGrath <roland@hack.frob.com>
5206
5207 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5208 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5209 to just [NEED_DL_SYSINFO_DSO].
5210 * elf/dl-support.c: Likewise.
5211 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5212 * elf/rtld.c (dl_main): Likewise.
5213 * elf/setup-vdso.h (setup_vdso): Likewise.
5214 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5215 * sysdeps/unix/sysv/linux/dl-sysdep.c
5216 (_dl_discover_osversion): Likewise.
5217
4e9b5995
CD
52182013-03-01 Carlos O'Donell <carlos@redhat.com>
5219
5220 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5221 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5222
e23872c8
SP
52232013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5224
e5c74c63
SP
5225 * NEWS: Mention libm performance improvements and non-x86 PI
5226 futex support.
5227
e23872c8
SP
5228 * csu/libc-start.c (__pthread_initialize_minimal): Change
5229 function arguments.
5230 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5231
b5510883
JM
52322013-02-28 Joseph Myers <joseph@codesourcery.com>
5233
5234 [BZ #13550]
5235 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5236 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5237 <bp-sym.h> and <bp-asm.h>.
5238 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5239 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5240 and <bp-asm.h>.
5241 (memcpy): Don't use BP_SYM.
5242 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5243 <bp-asm.h>.
5244 (__mpn_add_n): Don't use BP_SYM.
5245 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5246 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5247 and <bp-asm.h>.
5248 (__mpn_addmul_1): Don't use BP_SYM.
5249 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5250 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5251 <bp-sym.h>.
5252 (_setjmp): Don't use BP_SYM.
5253 (__novmx_setjmp): Likewise.
5254 (__GI__setjmp): Likewise.
5255 (__vmx_setjmp): Likewise.
5256 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5257 <bp-sym.h>.
5258 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5259 (__bzero): Don't use BP_SYM.
5260 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5261 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5262 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5263 <bp-sym.h> and <bp-asm.h>.
5264 (memcpy): Don't use BP_SYM.
5265 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5266 <bp-sym.h> and <bp-asm.h>.
5267 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5268 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5269 <bp-sym.h> and <bp-asm.h>.
5270 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5271 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5272 <bp-asm.h>.
5273 (__mpn_lshift): Don't use BP_SYM.
5274 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5275 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5276 <bp-asm.h>.
5277 (memset): Don't use BP_SYM.
5278 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5279 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5280 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5281 <bp-asm.h>.
5282 (__mpn_mul_1): Don't use BP_SYM.
5283 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5284 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5285 <bp-sym.h> and <bp-asm.h>.
5286 (memcmp): Don't use BP_SYM.
5287 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5288 <bp-sym.h> and <bp-asm.h>.
5289 (memcpy): Don't use BP_SYM.
5290 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5291 <bp-sym.h> and <bp-asm.h>.
5292 (memset): Don't use BP_SYM.
5293 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5294 <bp-sym.h> and <bp-asm.h>.
5295 (strncmp): Don't use BP_SYM.
5296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5297 <bp-sym.h> and <bp-asm.h>.
5298 (memcpy): Don't use BP_SYM.
5299 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5300 <bp-sym.h> and <bp-asm.h>.
5301 (memset): Don't use BP_SYM.
5302 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5303 <bp-sym.h> and <bp-asm.h>.
5304 (__memchr): Don't use BP_SYM.
5305 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5306 <bp-sym.h> and <bp-asm.h>.
5307 (memcmp): Don't use BP_SYM.
5308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5309 <bp-sym.h> and <bp-asm.h>.
5310 (memcpy): Don't use BP_SYM.
5311 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5312 <bp-sym.h> and <bp-asm.h>.
5313 (__mempcpy): Don't use BP_SYM.
5314 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5315 <bp-sym.h> and <bp-asm.h>.
5316 (__memrchr): Don't use BP_SYM.
5317 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5318 <bp-sym.h> and <bp-asm.h>.
5319 (memset): Don't use BP_SYM.
5320 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5321 <bp-sym.h> and <bp-asm.h>.
5322 (__rawmemchr): Don't use BP_SYM.
5323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5324 <bp-sym.h> and <bp-asm.h>.
5325 (__STRCMP): Don't use BP_SYM.
5326 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5327 <bp-sym.h> and <bp-asm.h>.
5328 (strchr): Don't use BP_SYM.
5329 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5330 <bp-sym.h> and <bp-asm.h>.
5331 (__strchrnul): Don't use BP_SYM.
5332 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5333 <bp-sym.h> and <bp-asm.h>.
5334 (strlen): Don't use BP_SYM.
5335 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5336 <bp-sym.h> and <bp-asm.h>.
5337 (strncmp): Don't use BP_SYM.
5338 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5339 <bp-sym.h> and <bp-asm.h>.
5340 (__strnlen): Don't use BP_SYM.
5341 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5342 <bp-asm.h>.
5343 (__mpn_rshift): Don't use BP_SYM.
5344 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5345 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5346 <bp-sym.h> and <bp-asm.h>.
5347 (__sigsetjmp): Don't use BP_SYM.
5348 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5349 (L(start_addresses)): Don't use BP_SYM.
5350 (_start): Likewise.
5351 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5352 <bp-asm.h>.
5353 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5354 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5355 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5356 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5357 <bp-asm.h>.
5358 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5359 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5360 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5361 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5362 <bp-asm.h>.
5363 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5364 comments.
5365 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5366 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5367 <bp-asm.h>.
5368 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5369 FIXME comments.
5370 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5371 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5372 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5373 <bp-asm.h>.
5374 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5375 comment.
5376 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5377 and <bp-asm.h>.
5378 (strncmp): Don't use BP_SYM,
5379 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5380 <bp-asm.h>.
5381 (__mpn_sub_n): Don't use BP_SYM.
5382 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5383 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5384 and <bp-asm.h>.
5385 (__mpn_submul_1): Don't use BP_SYM.
5386 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5388 <bp-sym.h> and <bp-asm.h>.
5389 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5391 <bp-sym.h> and <bp-asm.h>.
5392 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5393 comment.
5394
8d19fe64
SP
53952013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5396
5397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5398 Use ZK to minimize writes to Z.
5399 (sub_magnitudes): Simplify code a bit.
5400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5401 Use ZK to minimize writes to Z.
5402 (sub_magnitudes): Simplify code a bit.
5403
85bd816a
RM
54042013-02-27 Roland McGrath <roland@hack.frob.com>
5405
5406 * csu/gmon-start.c: Add special exception to license text.
5407
b5977bf2
RH
54082013-02-27 Richard Henderson <rth@redhat.com>
5409
5410 * scripts/config.guess: Update from config.git.
5411 * scripts/config.sub: Likewise.
5412
11d6e2f2
SP
54132013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5414
09c14ed2
SP
5415 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5416
a688864e
SP
5417 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5418
6295157a
SP
5419 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5420
b8de2202
SP
5421 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5422
11d6e2f2
SP
5423 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5424
7e80ddb8
RM
54252013-02-26 Roland McGrath <roland@hack.frob.com>
5426
5427 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5428 [$(build-shared = yes].
7e80ddb8 5429
7da6d9ed
SP
54302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5431
45f05884
SP
5432 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5433 (__mul): Reduce iterations for calculating mantissa.
5434
2236d359
SP
5435 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5436 MPTWO.
5437 (__mpranred): Likewise.
5438
7da6d9ed
SP
5439 [BZ #15160]
5440 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5441 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5442
b7688c42
PE
54432013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5444
5445 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5446 Define __attribute__.
5447
53a5c423
SP
54482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5449
5450 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5451 unused.
5452 * posix/regex_internal.h (__attribute): Remove.
5453 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5454 (re_string_context_at): Likewise.
5455 (bitset_not): Use __attribute__ and mark function as possibly
5456 unused.
5457 (bitset_merge): Likewise.
5458 (bitset_mask): Likewise.
5459 (re_string_char_size_at): Likewise.
5460 (re_string_wchar_at): Likewise.
5461 (re_string_elem_size_at): Likewise.
5462
60f5a8b5
SP
54632013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
2a983a2e
SP
5465 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5466 code.
5467 (cc32): Likewise.
5468
e69804d1
SP
5469 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5470 (__acr): Likewise.
5471 (__cpy): Likewise.
5472 (norm): Likewise.
5473 (denorm): Likewise.
5474 (__dbl_mp): Likewise.
5475 (add_magnitudes): Likewise.
5476 (sub_magnitudes): Likewise.
5477 (__mul): Likewise.
5478 (__inv): Likewise.
5479
2f22a1e8
SP
5480 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5481 style.
5482
8930ddc7
SP
5483 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5484 style.
5485
dc60cb11
SP
5486 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5487 code.
5488
60f5a8b5
SP
5489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5490 up changes with default code.
5491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5492 Likewise.
5493
b4d1fd33
AM
54942013-02-24 Allan McRae <allan@archlinux.org>
5495
faf6f8bc
AM
5496 * manual/socket.texi (The Internet Namespace): Order menu items
5497 to match that in the file.
5498
b4d1fd33
AM
5499 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5500 node listing of the info page menu.
5501
2366713d
JM
55022013-02-21 Joseph Myers <joseph@codesourcery.com>
5503
5504 [BZ #13550]
5505 * sysdeps/i386/bp-asm.h: Remove file.
5506 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5507 (PARMS): Do not use macros from bp-asm.h.
5508 (S1): Likewise.
5509 (S2): Likewise.
5510 (SIZE): Likewise.
5511 (__mpn_add_n): Do not use BP_SYM
5512 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5513 "bp-asm.h".
5514 (PARMS): Do not use macros from bp-asm.h.
5515 (S1): Likewise.
5516 (SIZE): Likewise.
5517 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
5524 "bp-asm.h".
5525 (PARMS): Do not use macros from bp-asm.h.
5526 (SIGMSK): Likewise.
5527 (setjmp): Likewise. Do not use BP_SYM.
5528 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5529 "bp-asm.h".
5530 (PARMS): Do not use macros from bp-asm.h.
5531 (__frexp): Do not use BP_SYM.
5532 (frexp): Likewise.
5533 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5534 "bp-asm.h".
5535 (PARMS): Do not use macros from bp-asm.h.
5536 (__frexpf): Do not use BP_SYM.
5537 (frexpf): Likewise.
5538 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5539 "bp-asm.h".
5540 (PARMS): Do not use macros from bp-asm.h.
5541 (__frexpl): Do not use BP_SYM.
5542 (frexpl): Likewise.
5543 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5544 "bp-asm.h".
5545 (PARMS): Do not use macros from bp-asm.h.
5546 (__remquo): Do not use BP_SYM.
5547 (remquo): Likewise.
5548 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5549 "bp-asm.h".
5550 (PARMS): Do not use macros from bp-asm.h.
5551 (__remquof): Do not use BP_SYM.
5552 (remquof): Likewise.
5553 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5554 "bp-asm.h".
5555 (PARMS): Do not use macros from bp-asm.h.
5556 (__remquol): Do not use BP_SYM.
5557 (remquol): Likewise.
5558 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5559 "bp-asm.h".
5560 (PARMS): Do not use macros from bp-asm.h.
5561 (DEST): Likewise.
5562 (SRC): Likewise.
5563 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5564 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5565 "bp-asm.h".
5566 (PARMS): Do not use macros from bp-asm.h.
5567 (strlen): Do not use BP_SYM.
5568 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5569 "bp-asm.h".
5570 (PARMS): Do not use macros from bp-asm.h.
5571 (S1): Likewise.
5572 (S2): Likewise.
5573 (SIZE): Likewise.
5574 (__mpn_add_n): Do not use BP_SYM.
5575 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5576 "bp-asm.h".
5577 (PARMS): Do not use macros from bp-asm.h.
5578 (S1): Likewise.
5579 (SIZE): Likewise.
5580 (__mpn_addmul_1): Do not use BP_SYM.
5581 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5582 weak_alias.
5583 (bzero): Likewise.
5584 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5585 "bp-asm.h".
5586 (PARMS): Do not use macros from bp-asm.h.
5587 (S): Likewise.
5588 (SIZE): Likewise.
5589 (__mpn_lshift): Do not use BP_SYM.
5590 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5591 "bp-asm.h".
5592 (PARMS): Do not use macros from bp-asm.h.
5593 (DEST): Likewise.
5594 (SRC): Likewise.
5595 (LEN): Likewise.
5596 (memcpy): Likewise. Do not use BP_SYM.
5597 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5598 libc_hidden_def and weak_alias.
5599 (mempcpy): Do not use BP_SYM in weak_alias.
5600 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5601 "bp-asm.h".
5602 (PARMS): Do not use macros from bp-asm.h.
5603 (DEST): Likewise.
5604 (LEN): Likewise.
5605 [!BZERO_P] (CHR): Likewise.
5606 (memset): Likewise. Do not use BP_SYM.
5607 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5608 "bp-asm.h".
5609 (PARMS): Do not use macros from bp-asm.h.
5610 (S1): Likewise.
5611 (SIZE): Likewise.
5612 (__mpn_mul_1): Do not use BP_SYM.
5613 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5614 "bp-asm.h".
5615 (PARMS): Do not use macros from bp-asm.h.
5616 (S): Likewise.
5617 (SIZE): Likewise.
5618 (__mpn_rshift): Do not use BP_SYM.
5619 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5620 "bp-asm.h".
5621 (PARMS): Do not use macros from bp-asm.h.
5622 (STR): Likewise.
5623 (CHR): Likewise.
5624 (strchr): Likewise. Do not use BP_SYM.
5625 (index): Do not use BP_SYM in weak_alias.
5626 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5627 "bp-asm.h".
5628 (PARMS): Do not use macros from bp-asm.h.
5629 (DEST): Likewise.
5630 (SRC): Likewise.
5631 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5632 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5633 "bp-asm.h".
5634 (PARMS): Do not use macros from bp-asm.h.
5635 (strlen): Do not use BP_SYM.
5636 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5637 "bp-asm.h".
5638 (PARMS): Do not use macros from bp-asm.h.
5639 (S1): Likewise.
5640 (S2): Likewise.
5641 (SIZE): Likewise.
5642 (__mpn_sub_n): Do not use BP_SYM.
5643 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5644 "bp-asm.h".
5645 (PARMS): Do not use macros from bp-asm.h.
5646 (S1): Likewise.
5647 (SIZE): Likewise.
5648 (__mpn_submul_1): Do not use BP_SYM.
5649 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5650 "bp-asm.h".
5651 (PARMS): Do not use macros from bp-asm.h.
5652 (S1): Likewise.
5653 (S2): Likewise.
5654 (SIZE): Likewise.
5655 (__mpn_add_n): Do not use BP_SYM.
5656 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5657 weak_alias.
5658 (bzero): Likewise.
5659 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5660 "bp-asm.h".
5661 (PARMS): Do not use macros from bp-asm.h.
5662 (BLK2): Likewise.
5663 (LEN): Likewise.
5664 (memcmp): Do not use BP_SYM.
5665 (bcmp): Do not use BP_SYM in weak_alias.
5666 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5667 "bp-asm.h".
5668 (PARMS): Do not use macros from bp-asm.h.
5669 (DEST): Likewise.
5670 (SRC): Likewise.
5671 (LEN): Likewise.
5672 (memcpy): Likewise. Do not use BP_SYM.
5673 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5674 "bp-asm.h".
5675 (PARMS): Do not use macros from bp-asm.h.
5676 (DEST): Likewise.
5677 (SRC): Likewise.
5678 (LEN): Likewise.
5679 (memmove): Likewise. Do not use BP_SYM.
5680 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5681 "bp-asm.h".
5682 (PARMS): Do not use macros from bp-asm.h.
5683 (DEST): Likewise.
5684 (SRC): Likewise.
5685 (LEN): Likewise.
5686 (__mempcpy): Likewise. Do not use BP_SYM.
5687 (mempcpy): Do not use BP_SYM in weak_alias.
5688 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5689 "bp-asm.h".
5690 (PARMS): Do not use macros from bp-asm.h.
5691 (DEST): Likewise.
5692 (LEN): Likewise.
5693 [!BZERO_P] (CHR): Likewise.
5694 (memset): Likewise. Do not use BP_SYM.
5695 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5696 "bp-asm.h".
5697 (PARMS): Do not use macros from bp-asm.h.
5698 (STR2): Likewise.
5699 (strcmp): Do not use BP_SYM.
5700 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5701 "bp-asm.h".
5702 (PARMS): Do not use macros from bp-asm.h.
5703 (STR): Likewise.
5704 (DELIM): Likewise.
5705 [USE_AS_STRTOK_R] (SAVE): Likewise.
5706 (FUNCTION): Likewise. Do not use BP_SYM.
5707 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5708 aliases.
5709 (strtok_r): Likewise.
5710 (__GI___strtok_r): Likewise.
5711 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5712 (PARMS): Do not use macros from bp-asm.h.
5713 (S): Likewise.
5714 (SIZE): Likewise.
5715 (__mpn_lshift): Do not use BP_SYM.
5716 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5717 (PARMS): Do not use macros from bp-asm.h.
5718 (STR): Likewise.
5719 (CHR): Likewise.
5720 (__memchr): Do not use BP_SYM.
5721 (memchr): Do not use BP_SYM in weak_alias.
5722 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5723 (PARMS): Do not use macros from bp-asm.h.
5724 (BLK2): Likewise.
5725 (LEN): Likewise.
5726 (memcmp): Do not use BP_SYM.
5727 (bcmp): Do not use BP_SYM in weak_alias.
5728 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5729 (PARMS): Do not use macros from bp-asm.h.
5730 (S1): Likewise.
5731 (SIZE): Likewise.
5732 (__mpn_mul_1): Do not use BP_SYM.
5733 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5734 "bp-asm.h".
5735 (PARMS): Do not use macros from bp-asm.h.
5736 (STR): Likewise.
5737 (CHR): Likewise.
5738 (__rawmemchr): Do not use BP_SYM.
5739 (rawmemchr): Do not use BP_SYM in weak_alias.
5740 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5741 (PARMS): Do not use macros from bp-asm.h.
5742 (S): Likewise.
5743 (SIZE): Likewise.
5744 (__mpn_rshift): Do not use BP_SYM.
5745 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5746 (PARMS): Do not use macros from bp-asm.h.
5747 (SIGMSK): Likewise.
5748 (__sigsetjmp): Likewise. Do not use BP_SYM.
5749 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5750 (_start): Do not use BP_SYM.
5751 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5752 (PARMS): Do not use macros from bp-asm.h.
5753 (DEST): Likewise.
5754 (SRC): Likewise.
5755 (__stpcpy): Likewise. Do not use BP_SYM.
5756 (stpcpy): Do not use BP_SYM in weak_alias.
5757 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5758 "bp-asm.h".
5759 (PARMS): Do not use macros from bp-asm.h.
5760 (DEST): Likewise.
5761 (SRC): Likewise.
5762 (LEN): Likewise.
5763 (__stpncpy): Likewise. Do not use BP_SYM.
5764 (stpncpy): Do not use BP_SYM in weak_alias.
5765 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5766 (PARMS): Do not use macros from bp-asm.h.
5767 (STR): Likewise.
5768 (CHR): Likewise.
5769 (strchr): Likewise. Do not use BP_SYM.
5770 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5771 "bp-asm.h".
5772 (PARMS): Do not use macros from bp-asm.h.
5773 (STR): Likewise.
5774 (CHR): Likewise.
5775 (__strchrnul): Likewise. Do not use BP_SYM.
5776 (strchrnul): Do not use BP_SYM in weak_alias.
5777 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5778 "bp-asm.h".
5779 (PARMS): Do not use macros from bp-asm.h.
5780 (STOP): Likewise.
5781 (strcspn): Do not use BP_SYM.
5782 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5783 "bp-asm.h".
5784 (PARMS): Do not use macros from bp-asm.h.
5785 (STR): Likewise.
5786 (STOP): Likewise.
5787 (strpbrk): Likewise. Do not use BP_SYM.
5788 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5789 "bp-asm.h".
5790 (PARMS): Do not use macros from bp-asm.h.
5791 (STR): Likewise.
5792 (CHR): Likewise.
5793 (strrchr): Likewise. Do not use BP_SYM.
5794 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5795 (PARMS): Do not use macros from bp-asm.h.
5796 (SKIP): Likewise.
5797 (strspn): Do not use BP_SYM.
5798 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5799 (PARMS): Do not use macros from bp-asm.h.
5800 (STR): Likewise.
5801 (DELIM): Likewise.
5802 (SAVE): Likewise.
5803 (FUNCTION): Likewise. Do not use BP_SYM.
5804 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5805 aliases.
5806 (strtok_r): Likewise.
5807 (__GI___strtok_r): Likewise.
5808 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5809 (PARMS): Do not use macros from bp-asm.h.
5810 (S1): Likewise.
5811 (S2): Likewise.
5812 (SIZE): Likewise.
5813 (__mpn_sub_n): Do not use BP_SYM.
5814 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5815 "bp-asm.h".
5816 (PARMS): Do not use macros from bp-asm.h.
5817 (S1): Likewise.
5818 (SIZE): Likewise.
5819 (__mpn_submul_1): Do not use BP_SYM.
5820 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5821 <bp-sym.h>.
5822 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5823 and <bp-asm.h>.
5824 (PARMS): Do not use macros from bp-asm.h.
5825 (FLAGS): Likewise.
5826 (PTID): Likewise.
5827 (TLS): Likewise.
5828 (CTID): Likewise.
5829 (__clone): Do not use BP_SYM.
5830 (clone): Do not use BP_SYM in weak_alias.
5831 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5832 and <bp-asm.h>.
5833 (PARMS): Do not use macros from bp-asm.h.
5834 (LEN): Likewise.
5835 (__mmap64): Do not use BP_SYM.
5836 (mmap64): Do not use BP_SYM in weak_alias.
5837 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5838 <bp-sym.h> and <bp-asm.h>.
5839 (PARMS): Do not use macros from bp-asm.h.
5840 (__posix_fadvise64_l64): Do not use BP_SYM.
5841 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5842 (PARMS): Do not use macros from bp-asm.h.
5843 (NSOPS): Likewise.
5844 (semtimedop): Do not use BP_SYM.
5845 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5846 and <bp-asm.h>.
5847
582a3cff
AM
58482013-02-21 Allan McRae <allan@archlinux.org>
5849
5850 * manual/message.texi (Charset conversion in gettext):
5851 Move @end statement to beginning of line.
5852
bab8a695
SP
58532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5854
80945231
SP
5855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5856 static.
5857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5858 Likewise.
5859
bab8a695
SP
5860 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5861 (denorm): Likewise.
5862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5864
e21d7aa7
AK
58652013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5866
5867 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5868 tail-call to the resolved function if pltexit isn't needed.
5869
4c7a4263
SP
58702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5873 or Y being zero as being unlikely.
5874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5875 Likewise.
5876
41f49342
CD
58772013-02-20 Carlos O'Donell <carlos@redhat.com>
5878
5879 * manual/nss.texi (System Databases and Name Service Switch):
5880 Remove frobnicate @pxref.
5881
50022a93
TS
58822013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5883
5884 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5885 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5886
08cbd996
PM
58872013-02-20 Petr Machata <pmachata@redhat.com>
5888
5889 * elf/elf.h (R_ARM_TARGET1): New macro.
5890 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5891 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5892 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5893 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5894 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5895 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5896 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5897 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5898 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5899 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5900 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5901 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5902 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5903 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5904 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5905 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5906 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5907 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5908 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5909 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5910 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5911 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5912 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5913 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5914 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5915 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5916 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5917 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5918 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5919 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5920 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5921 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5922 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5923 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5924 (R_ARM_THM_GOT_BREL12): Likewise.
5925 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5926 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5927 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5928 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5929 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5930 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5931 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5932 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5933 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5934
c7b275d6
TS
59352013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5936
5937 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5938 __attribute_used__ to __attribute__ ((unused)).
5939
20cd7fb3
SP
59402013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
5942 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5943 powerpc mpa.c.
5944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5945 comment formatting.
5946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5947
92945b52
JM
59482013-02-19 Joseph Myers <joseph@codesourcery.com>
5949
5950 [BZ #13550]
5951 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5952 Remove macro.
5953 (ENTER): Remove both macro definitions.
5954 (LEAVE): Likewise.
5955 (CHECK_BOUNDS_LOW): Likewise.
5956 (CHECK_BOUNDS_HIGH): Likewise.
5957 (CHECK_BOUNDS_BOTH): Likewise.
5958 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5959 (RETURN_BOUNDED_POINTER): Likewise.
5960 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5961 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5962 (POP_ERRNO_LOCATION_RETURN): Likewise.
5963 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5964 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5965 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5966 macros.
5967 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5968 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5969 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5970 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5971 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5972 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5973 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5974 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5975 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5976 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5977 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5978 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5979 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5980 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5981 removed macros.
5982 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5983 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5984 macros.
5985 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5986 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5987 * sysdeps/i386/i586/memset.S (memset): Likewise.
5988 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5989 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5990 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5991 macros.
5992 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5993 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5994 Change uses of L(2) to L(out).
5995 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5996 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5997 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5998 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5999 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6000 removed macros.
6001 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6002 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6003 macros.
6004 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6005 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6006 (RETURN): Do not use macro LEAVE.
6007 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6008 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6009 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6010 * sysdeps/i386/i686/memset.S (memset): Likewise.
6011 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6012 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6013 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6014 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6015 Likewise.
6016 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6017 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6018 L(1_2) and L(1_3) into L(1).
6019 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6020 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6021 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6022 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6023 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6024 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6025 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6026 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6027 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6028 macros.
6029 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6030 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6031 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6032 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6033 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6034 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6035 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6036 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6037 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6038 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6039 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6040 * sysdeps/i386/strspn.S (strspn): Likewise.
6041 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6042 conditional code.
6043 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6044 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6045 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6046 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6047 L(1_3) into L(1_1).
6048 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6049 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6050 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6051 macros.
6052 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6053
2389741a
JJ
60542013-02-19 Jakub Jelinek <jakub@redhat.com>
6055
6056 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6057 macro.
6058
2016b3cd
SP
60592013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6060
e4f22324
SP
6061 * math/atest-exp.c (exp_mpn): Remove ROUND.
6062 * math/atest-exp2.c (exp_mpn): Likewise.
6063 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6064
2016b3cd
SP
6065 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6066 * stdlib/tst-tls-atexit-lib.c: Likewise.
6067 * stdlib/tst-tls-atexit.c: Likewise.
6068
4be9b544
MF
60692013-02-18 Mike Frysinger <vapier@gentoo.org>
6070
6071 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6072 and __attribute_alloc_size__.
6073
2f62b9ee
MF
60742013-02-18 Mike Frysinger <vapier@gentoo.org>
6075
6076 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6077 __attribute_alloc_size__.
6078 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6079 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6080
6ff444c4
MF
60812013-02-18 Mike Frysinger <vapier@gentoo.org>
6082
6083 * include/programs/xmalloc.h: New file.
6084 * catgets/gencat.c: Include it.
6085 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6086 * elf/pldd.c: Likewise.
6087 * iconv/iconv_charmap.c: Likewise.
6088 * iconv/iconvconfig.c: Likewise.
6089 * iconv/strtab.c: Likewise.
6090 * locale/programs/locale.c: Likewise.
6091 * locale/programs/localedef.h: Likewise.
6092 * locale/programs/simple-hash.c: Likewise.
6093 * nscd/nscd.h: Likewise.
6094 * nss/makedb.c: Likewise.
6095 * sysdeps/generic/ldconfig.h: Likewise.
6096
be179c8a
SP
60972013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6098
ba384f6e
SP
6099 * Versions.def: Add GLIBC_2.18.
6100 * include/link.h (struct link_map): New member l_tls_dtor_count.
6101 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6102 (__call_tls_dtors): Likewise.
6103 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6104 __cxa_thread_atexit_impl.
6105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6106 Likewise.
6107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6108 Likewise.
6109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6110 Likewise.
6111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6112 Likewise.
6113 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6115 Likewise.
6116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6117 Likewise.
6118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6120 Likewise.
6121 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6122 (tests): Add test case tst-tls-atexit.
6123 (modules-names): Add shared library for tst-tls-atexit.
6124 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6125 (GLIBC_PRIVATE): Add __call_tls_dtors.
6126 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6127 for libstdc++.
6128 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6129 * stdlib/tst-tls-atexit.c: New test case.
6130 * stdlib/tst-tls-atexit-lib.c: New test case.
6131
ffaa74cf 6132 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6133
be179c8a
SP
6134 * elf/Versions (ld): Add _dl_find_dso_for_object.
6135 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6136 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6137 (dl_open_worker): Use _dl_find_dso_for_object.
6138 * elf/dl-sym.c (do_sym): Likewise.
6139 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6140
f78b5caa
AK
61412013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6142
6143 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6144 Syntactic changes only.
6145 (_dl_runtime_profile): Do a tail-call to the resolved function.
6146
29691210
JM
61472013-02-17 Joseph Myers <joseph@codesourcery.com>
6148
6149 [BZ #13550]
6150 * sysdeps/x86_64/bp-asm.h: Remove file.
6151 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6152 <bp-sym.h> and <bp-asm.h>.
6153 (__clone): Do not use BP_SYM.
6154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6155 <bp-sym.h> and <bp-asm.h>.
6156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6157 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6158 "bp-asm.h".
6159 (_setjmp): Do not use BP_SYM.
6160 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6161 "bp-asm.h".
6162 (setjmp): Do not use BP_SYM.
6163 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6164 libc_hidden_def.
6165 (mempcpy): Do not use BP_SYM in weak_alias.
6166 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6167 "bp-asm.h".
6168 (strchr): Do not use BP_SYM.
6169 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6170 "bp-asm.h".
6171 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6172 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6173 (_start): Do not use BP_SYM.
6174 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6175 "bp-asm.h".
6176 (strcat): Do not use BP_SYM.
6177 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6178 "bp-asm.h".
6179 (STRCMP): Do not use BP_SYM.
6180 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6181 "bp-asm.h".
6182 (STRCPY): Do not use BP_SYM.
6183 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6184 "bp-asm.h".
6185 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6186 "bp-asm.h".
6187 (FUNCTION): Do not use BP_SYM.
6188 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6189 weak_alias.
6190 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6191
f238fd19
AJ
61922013-02-17 Andreas Jaeger <aj@suse.de>
6193
6194 * time/Versions: Sort entries.
6195 * string/Versions: Likewise.
6196 * resolv/Versions: Likewise.
6197 * posix/Versions: Likewise.
6198 * iconv/Versions: Likewise.
6199 * elf/Versions: Likewise.
6200 * wcsmbs/Versions: Likewise.
6201
bd07f23c 62022013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6203
22af19f9
SP
6204 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6205 loop termination condition.
6206
4709fe76
SP
6207 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6208 variable to calculate EZ.
6209 (__sqr): Likewise.
2d0e0f29
SP
6210
6211 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6212 the lower precision input.
6213
daaa7713
JM
62142013-02-15 Joseph Myers <joseph@codesourcery.com>
6215
6216 [BZ #13550]
6217 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6218 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6219 (run-via-rtld-prefix): Do not handle %-bp tests.
6220 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6221 (all-object-suffixes): Remove .ob.
6222 (bppfx): Remove variable.
6223 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6224 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6225 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6226 [$(build-bounded) = yes] (libtype.ob): Likewise.
6227 * Makerules (elide-routines.ob): Remove variable.
6228 (do-tests-clean): Do not handle *-bp.out.
6229 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6230 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6231 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6232 (tests): Do not include $(tests-bp.out).
6233 (xtests): Do not include $(xtests-bp.out).
6234 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6235 [$(build-bounded) = yes] ($(addprefix
6236 $(objpfx),$(binaries-bounded))): Remove rule.
6237 ($(objpfx)%-bp.out): Remove rule.
6238 * config.make.in (build-bounded): Remove variable.
6239 * crypt/Makefile [$(build-bounded) = yes]
6240 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6241 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6242 append to variable.
6243 [$(build-bounded) = yes] (install-lib): Likewise.
6244 [$(build-bounded) = yes] (generated): Likewise.
6245 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6246 Remove rule.
6247 * intl/Makefile [$(build-bounded) = yes]
6248 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6249 * math/Makefile [$(build-bounded) = yes]
6250 ($(tests:%=$(objpfx)%-bp): Likewise.
6251 * misc/Makefile [$(build-bounded) = yes]
6252 ($(objpfx)tst-tsearch-bp): Likewise.
6253 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6254 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6255 Remove dependency.
6256 * string/Makefile (o-objects.ob): Remove variable.
6257 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6258 (CFLAGS-.ob): Remove variable.
6259 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6260 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6261 both definitions of variable.
6262 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6263 (ASFLAGS-.ob): Remove variable.
6264
e97ed6dd
JM
62652013-02-14 Joseph Myers <joseph@codesourcery.com>
6266
2bdd4ca6
JM
6267 [BZ #13550]
6268 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6269 Remove __BOUNDED_POINTERS__ from condition.
6270 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6271 * string/bits/string2.h [!__NO_STRING_INLINES &&
6272 !__BOUNDED_POINTERS__]: Likewise.
6273 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6274 Likewise.
6275 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6276 Remove conditional code.
6277 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6278 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6279 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6280 condition.
6281
e97ed6dd
JM
6282 [BZ #13550]
6283 * csu/libc-start.c: Do not include <bp-sym.h>.
6284 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6285 * elf/dl-open.c: Do not include <bp-sym.h>.
6286 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6287 * math/fegetenv.c: Do not include <bp-sym.h>.
6288 (fegetenv): Do not use BP_SYM in versioned symbols.
6289 * nptl/sysdeps/pthread/bits/libc-lockP.h
6290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6291 <bp-sym.h>.
6292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6293 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6295 (__pthread_mutex_destroy): Likewise.
6296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6297 (__pthread_mutex_lock): Likewise.
6298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6299 (__pthread_mutex_trylock): Likewise.
6300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6301 (__pthread_mutex_unlock): Likewise.
6302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6303 (__pthread_mutexattr_init): Likewise.
6304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6305 (__pthread_mutexattr_destroy): Likewise.
6306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6307 (__pthread_mutexattr_settype): Likewise.
6308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6309 (__pthread_rwlock_init): Likewise.
6310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6311 (__pthread_rwlock_destroy): Likewise.
6312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6313 (__pthread_rwlock_rdlock): Likewise.
6314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6315 (__pthread_rwlock_tryrdlock): Likewise.
6316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6317 (__pthread_rwlock_wrlock): Likewise.
6318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6319 (__pthread_rwlock_trywrlock): Likewise.
6320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6321 (__pthread_rwlock_unlock): Likewise.
6322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6323 (__pthread_key_create): Likewise.
6324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6325 (__pthread_setspecific): Likewise.
6326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6327 (__pthread_getspecific): Likewise.
6328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6329 Likewise.
6330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6331 (_pthread_cleanup_push_defer): Likewise.
6332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6333 (_pthread_cleanup_pop_restore): Likewise.
6334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6335 (pthread_setcancelstate): Likewise.
6336 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6337 <bp-sym.h>.
6338 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6339 (memchr): Do not use BP_SYM in weak_alias.
6340 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6341 (fegetenv): Do not use BP_SYM in versioned symbols.
6342 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6343 (fesetenv): Do not use BP_SYM in versioned symbols.
6344 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6345 (feupdateenv): Do not use BP_SYM in versioned symbols.
6346 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6347 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6348 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6349 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6350 (open64): Do not use BP_SYM in weak_alias.
6351 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6352 (fegetenv): Do not use BP_SYM in versioned symbols.
6353 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6354 (fesetenv): Do not use BP_SYM in versioned symbols.
6355 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6356 (feupdateenv): Do not use BP_SYM in versioned symbols.
6357 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6358 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6359 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6360 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6361 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6362 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6363 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6364 <bp-sym.h>.
6365 (__libc_start_main): Do not use BP_SYM.
6366
d6752ccd
SP
63672013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6368
cb57ce60
SP
6369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6370 redundant return line.
6371 (norm): Likewise.
6372 (denorm): Likewise.
6373 (dbl_mp): Likewise.
6374 (sub_magnitudes): Likewise.
6375 (__add): Likewise.
6376 (__sub): Likewise.
6377 (__mul): Likewise.
6378 (__inv): Likewise.
6379 (__dvd): Likewise.
6380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6381 (norm): Likewise.
6382 (denorm): Likewise.
6383 (dbl_mp): Likewise.
6384 (sub_magnitudes): Likewise.
6385 (__add): Likewise.
6386 (__sub): Likewise.
6387 (__mul): Likewise.
6388 (__inv): Likewise.
6389 (__dvd): Likewise.
6390
f414520d
SP
6391 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6392 instead of __mul.
6393 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6394 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6395 (cc32): Likewise.
6396
d6752ccd
SP
6397 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6398 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6399 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6400 of __mul for squares.
6401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6402 function
6403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6404 Likewise.
6405 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6406 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6407
70d9946a
JM
64082013-02-13 Joseph Myers <joseph@codesourcery.com>
6409
6410 [BZ #13550]
6411 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6412 code.
6413 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6414 prototype or function definition. Rename ubp_* variables and
6415 parameters. Remove argv definitions conditional on
6416 [__BOUNDED_POINTERS__].
6417 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6418 * elf/dl-runtime.c (_dl_fixup): Likewise.
6419 * include/set-hooks.h (RUN_HOOK): Likewise.
6420 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6421 definition.
6422 * string/strcpy.c (strcpy): Do not use __unbounded.
6423 * sysdeps/generic/frame.h (struct layout): Likewise.
6424 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6425 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6426 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6427 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6428 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6429 (__backtrace): Likewise.
6430 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6431 use __ptrvalue.
6432 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6433 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6434 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6435 Likewise.
6436 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6437 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6438 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6439 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6440 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6441 Do not use __unbounded.
6442 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6443 Rename __unboundedrlimits parameter to rlimits in prototype.
6444 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6445 Do not use __unbounded.
6446 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6447 not use __ptrvalue.
6448 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6449 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6450 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6451 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6452 __ptrvalue or __unbounded.
6453 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6454 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6455 use __unbounded.
6456 (__new_msgctl): Do not use __ptrvalue.
6457 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6458 __unbounded.
6459 (__libc_msgrcv): Do not use __ptrvalue.
6460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6461 startup_info): Do not use __unbounded.
6462 (__libc_start_main): Likewise. Rename ubp_* variables and
6463 parameters. Remove argv definitions conditional on
6464 [__BOUNDED_POINTERS__].
6465 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6466 __ptrvalue.
6467 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6468 use __unbounded.
6469 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6470 or __ptrvalue.
6471 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6472 use __unbounded.
6473 (__new_shmctl): Do not use __ptrvalue.
6474 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6475 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6476 Likewise.
6477 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6479 (__libc_sigaction): Likewise.
6480 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6482 Likewise.
6483 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6484
cc7834d6
OB
64852013-02-13 Ondřej Bílka <neleai@seznam.cz>
6486
ffb1ec7b 6487 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6488
6489 * string/mempcpy.c: Implement by calling memcpy.
6490
bdf02814
SP
64912013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6492
c2af38aa
SP
6493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6494
4e92d59e
SP
6495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6496 evaluation.
6497
909279a5
SP
6498 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6499 values in the mantissa.
6500
bdf02814
SP
6501 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6502 minimize writes to Z.
6503 (sub_magnitudes): Simplify code a bit.
6504
cd525923
RM
65052013-02-12 Roland McGrath <roland@hack.frob.com>
6506
6507 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6508 from the message. The linker prefixes all warnings with that already.
6509
7e2f0d2d
AS
65102013-02-12 Andreas Schwab <schwab@suse.de>
6511
a445af0b
AS
6512 [BZ #15078]
6513 * posix/regexec.c (extend_buffers): Add parameter min_len.
6514 (check_matching): Pass minimum needed length.
6515 (clean_state_log_if_needed): Likewise.
6516 (get_subexp): Likewise.
6517 * posix/Makefile (tests): Add bug-regex34.
6518 (bug-regex34-ENV): Define.
6519 * posix/bug-regex34.c: New file.
6520
7e2f0d2d
AS
6521 [BZ #11561]
6522 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6523 elements compare against the byte sequence of it, not its name.
6524 * posix/Makefile (tests): Add bug-regex35.
6525 (bug-regex35-ENV): Define.
6526 * posix/bug-regex35.c: New file.
6527
a175b684
TV
65282013-02-11 Tom de Vries <tom@codesourcery.com>
6529
6530 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6531 comment.
6532 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6533 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6534 (CHECK_EOL): Add undef.
6535
310998fe 65362013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6537
6538 * bits/stdlib-bsearch.h: New file.
6539 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6540 * stdlib/stdlib.h: Likewise.
41eda41d 6541
8ded91fb
RM
65422013-02-11 Roland McGrath <roland@hack.frob.com>
6543
6544 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6545 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6546 declaration.
6547 * manual/search.texi (Array Search Function): Add missing const in
6548 lfind prototype.
6549 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6550 declaration to use rlim_t.
6551 (Basic Scheduling Functions): Remove erroneous const from
6552 sched_getparam prototype. Remove erroneous * from
6553 sched_get_priority_max and sched_get_priority_min prototypes.
6554 (Resource Usage): Fix summary @comment on vtimes to refer to
6555 sys/vtimes.h rather than vtimes.h.
6556 Add missing *s in vtimes prototype.
6557 (Limits on Resources): Fix ulimit prototype to return long int.
6558 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6559 prototypes to use long int rather than double.
6560 (BSD Random): Fix initstate and setstate to use char *, not void *.
6561 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6562 prototype to make second argument 'struct aiocb64 *const[]'.
6563 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6564 (Status of AIO Operations): Remove erroneous const in aio_return and
6565 aio_return64 prototypes.
6566 (Synchronizing I/O): Fix sync prototype to return void.
6567 * manual/startup.texi (Suboptions): Remove an erroneous const in
6568 getsubopt prototype.
6569 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6570 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6571 use size_t rather than int.
6572 (Scanning All Users): Likewise for getpwent_r.
6573 (Setting Groups): Add missing const to setgroups prototype.
6574 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6575 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6576 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6577 'const void *' rather than 'const char *'.
6578 (Host Address Functions): Likewise for inet_ntop.
6579 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6580 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6581 ssize_t for return value.
6582 (Sending Data): Likewise for send, sendto, sendmsg.
6583 (Socket Option Functions): Add a missing const in setsockopt prototype.
6584 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6585 use wchar_t for the argument.
6586 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6587 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6588 take no arguments.
6589 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6590 double/float/long double for second argument.
6591 Fix return types of significand, significandf, significandl.
6592 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6593 argument in fchmod prototype.
6594 (File Owner): Use uid_t and gid_t in fchown prototype.
6595 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6596 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6597 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6598 use 'const struct dirent **' as argument types to CMP function pointer
6599 argument.
6600 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6601 (File Times): Fix summary magic @comment for struct utimbuf and utime
6602 to refer to utime.h, not time.h.
6603 * manual/string.texi (Argz Functions): Add missing const in
6604 argz_extract and argz_next prototypes.
6605 (Finding Tokens in a String): Likewise for basename.
6606 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6607 (Copying and Concatenation): Fix typo in wmemmove prototype.
6608 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6609 (Signal Stack): Remove erroneous const in sigstack prototype.
6610 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6611 prototype.
6612 (Simple Calendar Time): Likewise for stime.
6613 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6614 prototype.
6615 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6616 say sys/sysctl.h instead.
6617 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6618 and vsyslog prototypes.
6619
fe77fe6d
TV
66202013-02-11 Tom de Vries <tom@codesourcery.com>
6621
6622 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6623 Remove.
6624
3a09b620
RM
66252013-02-11 Roland McGrath <roland@hack.frob.com>
6626
6627 * misc/sys/mman.h: Fix typo in mremap comment.
6628
550a0b89
RM
66292013-02-08 Roland McGrath <roland@hack.frob.com>
6630
6631 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6632 the '\0' terminator.
6633
a2da1673
JM
66342013-02-08 Joseph Myers <joseph@codesourcery.com>
6635
6636 [BZ #13550]
6637 * debug/segfault.c: Don't include <bp-checks.h>.
6638 * sysdeps/generic/bp-checks.h: Remove file.
6639 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6640 (__GETDENTS): Don't use CHECK_N.
6641 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6642 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6643 (__getgroups): Don't use CHECK_N.
6644 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6645 (setgroups): Don't use CHECK_N.
6646 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6647 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6648 (__libc_msgrcv): Don't use CHECK_N.
6649 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6650 (__libc_msgsnd): Don't use CHECK_N.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6652 <bp-checks.h>.
6653 (__libc_pread): Don't use CHECK_N.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6655 include <bp-checks.h>.
6656 (__libc_pread64): Don't use CHECK_N.
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6658 include <bp-checks.h>.
6659 (__libc_pwrite): Don't use CHECK_N.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6661 include <bp-checks.h>.
6662 (__libc_pwrite64): Don't use CHECK_N.
6663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6664 <bp-checks.h>.
6665 (__libc_pread): Don't use CHECK_N.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6667 include <bp-checks.h>.
6668 (__libc_pread64): Don't use CHECK_N.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6670 include <bp-checks.h>.
6671 (__libc_pwrite): Don't use CHECK_N.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6673 include <bp-checks.h>.
6674 (__libc_pwrite64): Don't use CHECK_N.
6675 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6676 (do_pread): Don't use CHECK_N.
6677 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6678 (do_pread64): Don't use CHECK_N.
6679 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6680 (do_pwrite): Don't use CHECK_N.
6681 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6682 (do_pwrite64): Don't use CHECK_N.
6683 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6684 (__libc_readv): Don't use CHECK_N.
6685 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6686 (semop): Don't use CHECK_N.
6687 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6688 <bp-checks.h>.
6689 (semtimedop): Don't use CHECK_N.
6690 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6691 (__libc_pread): Don't use CHECK_N.
6692 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6693 <bp-checks.h>.
6694 (__libc_pread64): Don't use CHECK_N.
6695 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6696 <bp-checks.h>.
6697 (__libc_pwrite): Don't use CHECK_N.
6698 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6699 <bp-checks.h>.
6700 (__libc_pwrite64): Don't use CHECK_N.
6701 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6702 <bp-checks.h>.
6703 (__libc_msgrcv): Don't use CHECK_N.
6704 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6705 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6706 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6707 (__libc_writev): Don't use CHECK_N.
6708
b84660a8
RM
67092013-02-08 Roland McGrath <roland@hack.frob.com>
6710
7f3e75f8
RM
6711 * string/strcpy.c: Removed unused variable.
6712
b84660a8
RM
6713 * Makeconfig (+sysdep-includes): Define with := rather than =.
6714 Use an existing include/ subdir of each sysdeps dir before it.
6715
471514d3
CD
67162013-02-08 Carlos O'Donell <carlos@redhat.com>
6717
6718 * nscd/connection.c (register_traced_file): Comment function.
6719 [HAVE_INOTIFY] (union __inev): Define.
6720 [HAVE_INOTIFY] (inotify_check_files): New function.
6721 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6722 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6723 clear_db_cache.
6724 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6725
b2d3c3be
CD
67262013-02-08 Carlos O'Donell <carlos@redhat.com>
6727
6728 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6729 loaded if not already and that a failure is permanent.
6730
b39949d2
CD
67312013-02-08 Carlos O'Donell <carlos@redhat.com>
6732
ddacd1db 6733 [BZ #15006]
b39949d2
CD
6734 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6735 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6736
b2c9eff4
JM
67372013-02-08 Joseph Myers <joseph@codesourcery.com>
6738
f3aae3f3
JM
6739 [BZ #13550]
6740 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6741 (CHECK_1_NULL_OK): Likewise.
6742 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6743 (__fxstat): Do not use CHECK_1.
6744 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6745 <bp-checks.h>.
6746 (___fxstat64): Do not use CHECK_1.
6747 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6748 <bp-checks.h>.
6749 (__fxstatat): Do not use CHECK_1.
6750 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6751 <bp-checks.h>.
6752 (__fxstatat64): Do not use CHECK_1.
6753 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6754 <bp-checks.h>.
6755 (__fxstat): Do not use CHECK_1.
6756 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6757 <bp-checks.h>.
6758 (__fxstatat): Do not use CHECK_1.
6759 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6760 <bp-checks.h>.
6761 (__getresgid): Do not use CHECK_1.
6762 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6763 <bp-checks.h>.
6764 (__getresuid): Do not use CHECK_1.
6765 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6766 <bp-checks.h>.
6767 (__lxstat): Do not use CHECK_1.
6768 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6769 <bp-checks.h>.
6770 (__old_msgctl): Do not use CHECK_1.
6771 (__new_msgctl): Likewise.
6772 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6773 <bp-checks.h>.
6774 (__new_setrlimit): Do not use CHECK_1.
6775 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6776 <bp-checks.h>.
6777 (__old_shmctl): Do not use CHECK_1.
6778 (__new_shmctl): Likewise.
6779 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6780 <bp-checks.h>.
6781 (__xstat): Do not use CHECK_1.
6782 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6783 (__lxstat): Do not use CHECK_1.
6784 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6785 <bp-checks.h>.
6786 (___lxstat64): Do not use CHECK_1.
6787 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6788 (__old_msgctl): Do not use CHECK_1.
6789 (__new_msgctl): Likewise.
6790 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6791 <bp-checks.h>.
6792 (__gettimeofday): Do not use CHECK_1.
6793 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6794 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6795 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6796 <bp-checks.h>.
6797 (__gettimeofday): Do not use CHECK_1.
6798 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6799 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6800 (__new_shmctl): Do not use CHECK_1.
6801 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6802 <bp-checks.h>.
6803 (do_sigtimedwait): Do not use CHECK_1.
6804 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6805 <bp-checks.h>.
6806 (do_sigwaitinfo): Do not use CHECK_1.
6807 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6808 <bp-checks.h>.
6809 (msgctl): Do not use CHECK_1.
6810 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6811 <bp-checks.h>.
6812 (shmctl): Do not use CHECK_1.
6813 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6814 (ustat): Do not use CHECK_1.
6815 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6816 <bp-checks.h>.
6817 (__fxstat): Do not use CHECK_1.
6818 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6819 <bp-checks.h>.
6820 (__fxstatat): Do not use CHECK_1.
6821 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6822 <bp-checks.h>.
6823 (__lxstat): Do not use CHECK_1.
6824 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6825 <bp-checks.h>.
6826 (__xstat): Do not use CHECK_1.
6827 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6828 (__xstat): Do not use CHECK_1.
6829 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6830 (___xstat64): Do not use CHECK_1.
6831
b2c9eff4
JM
6832 [BZ #13550]
6833 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6834 definitions.
6835 (CHECK_BOUNDS_HIGH): Likewise.
6836 * string/strcpy.c: Do not include <bp-checks.h>.
6837 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6838
f1d70dad
RM
68392013-02-07 Roland McGrath <roland@hack.frob.com>
6840
6841 * nscd/nscd-client.h (__nscd_drop_map_ref):
6842 Add __attribute__ ((unused)).
6843 * nis/nss-nisplus.h (niserr2nss): Likewise.
6844
6845 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6846 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6847
6848 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6849 Remove inline keyword.
6850 * include/rounding-mode.h (round_away): Likewise.
6851 * libio/wfileops.c (adjust_wide_data): Likewise.
6852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6853 (__m128i_strloadu_tolower): Likewise.
6854 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6855 (__m128i_strloadu_tolower): Likewise.
6856 * time/mktime.c (ydhms_diff): Likewise.
6857 * locale/elem-hash.h (elem_hash): Likewise.
6858 * locale/setlocale.c (setdata): Likewise.
6859 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6860 (re_string_wchar_at): Likewise.
6861 (bitset_not, bitset_merge, bitset_mask): Likewise.
6862 [!(__GNUC__ > 3)] (inline): Remove macro.
6863 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6864 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6865 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6866 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6867 * string/memcmp.c (memcmp_bytes): Likewise.
6868 * locale/programs/locarchive.c (compute_hashval): Likewise.
6869 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6870 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6871 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6872 * nss/getent.c (print_rpc, print_protocols): Likewise.
6873 (print_passwd, print_group, print_aliases): Likewise.
6874 * nis/nss-nisplus.h (niserr2nss): Likewise.
6875 * nscd/connections.c (restart_p): Likewise.
6876 Change return type to bool.
6877
eab55bfb
RM
68782013-02-05 Roland McGrath <roland@hack.frob.com>
6879
7bd642f5
RM
6880 * Makeconfig (all-Depend-files): Add existing
6881 $(sorted-subdirs:=/Depend) files.
6882 (all-subdirs): Remove nss.
6883 * sysdeps/unix/inet/Subdirs: Add it here instead.
6884 * hesiod/Depend: New file.
6885
573c29b2
RM
6886 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6887 instead of calling alloca.
6888
b2e25af0
RM
6889 * io/lseek.c (__lseek): Rename to __libc_lseek.
6890 Define __lseek as an alias.
6891
eab55bfb
RM
6892 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6893
9a0d1941
CD
68942013-02-04 Carlos O'Donell <carlos@redhat.com>
6895
6896 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6897 else clause and remove check for non-standard endianness.
6898
b83bbec4
DM
68992013-02-04 David S. Miller <davem@davemloft.net>
6900
6901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6902
6277fdab
JM
69032013-02-04 Joseph Myers <joseph@codesourcery.com>
6904
6905 [BZ #13550]
6906 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6907 (__ubp_memchr): Remove prototype.
6908 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6909 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6910 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6911 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6912 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6913 Remove alias.
6914 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6915 (__ubp_memchr): Likewise.
6916 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6917 (__ubp_memchr): Likewise.
6918 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6919 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6920 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6921 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6922 CHECK_STRING.
6923 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6924 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6925 (__getcwd): Do not use CHECK_STRING.
6926 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6927 <bp-checks.h>.
6928 (__real_chown): Do not use CHECK_STRING.
6929 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6930 <bp-checks.h>.
6931 (fchownat): Do not use CHECK_STRING.
6932 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6933 CHECK_STRING.
6934 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6935 <bp-checks.h>.
6936 (__lchown): Do not use CHECK_STRING.
6937 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6938 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6939 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6940 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6942 include <bp-checks.h>.
6943 (truncate64): Do not use CHECK_STRING.
6944 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6945 <bp-checks.h>.
6946 (__real_chown): Do not use CHECK_STRING.
6947 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6948 <bp-checks.h>.
6949 (__lchown): Do not use CHECK_STRING.
6950 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6951 <bp-checks.h>.
6952 (__chown): Do not use CHECK_STRING.
6953 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6954 <bp-checks.h>.
6955 (truncate64): Do not use CHECK_STRING.
6956 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6957 Likewise.
6958 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6959 (__xmknod): Do not use CHECK_STRING.
6960 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6961 <bp-checks.h>.
6962 (__xmknodat): Do not use CHECK_STRING.
6963 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6964 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6965
903ae060
AS
69662013-02-04 Andreas Schwab <schwab@suse.de>
6967
6968 [BZ #14142]
6969 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6970 * include/netdb.h: Likewise for h_errno.
6971 * elf/tst-stackguard1.c: Include <tls.h>.
6972
542f9466
JK
69732013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6974
6975 * elf/link.h (struct link_map): Extend the l_addr comment.
6976 * include/link.h (struct link_map): Likewise.
6977
e782a927
JM
69782013-02-01 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #13550]
6981 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6982 (BOUNDED_1): Remove macro.
6983 * debug/backtrace.c: Don't include <bp-checks.h>.
6984 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6985 (__backtrace): Likewise.
6986 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6987 <bp-checks.h>.
6988 (__backtrace): Don't use BOUNDED_1.
6989 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6990 <bp-checks.h>.
6991 (__backtrace): Don't use BOUNDED_1.
6992 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6993 (__backtrace): Don't use BOUNDED_1.
6994 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6995 (shmat): Don't use BOUNDED_N.
6996
8cf28c5e
JM
69972013-01-31 Joseph Myers <joseph@codesourcery.com>
6998
3a7ac8a0
JM
6999 [BZ #13550]
7000 * sysdeps/generic/bp-start.h: Remove file.
7001 * csu/libc-start.c: Don't include <bp-start.h>.
7002 (LIBC_START_MAIN): Set up __environ directly instead of using
7003 INIT_ARGV_and_ENVIRON.
7004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7005 <bp-start.h>.
7006
f3499f95
JM
7007 [BZ #13550]
7008 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7009 definitions.
7010 (CHECK_FCNTL): Likewise.
7011 (CHECK_N_PAGES): Likewise.
7012
32a45bea
JM
7013 [BZ #13550]
7014 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7015 definitions.
7016 (CHECK_SIGSET_NULL_OK): Likewise.
7017 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7018 <bp-checks.h>.
7019 (sigpending): Don't use CHECK_SIGSET.
7020 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7021 <bp-checks.h>.
7022 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7023 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7024 <bp-checks.h>.
7025 (do_sigsuspend): Don't use CHECK_SIGSET.
7026 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7027 use CHECK_SIGSET.
7028 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7029 (do_sigwait): Don't use CHECK_SIGSET.
7030 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7031 use CHECK_SIGSET.
7032 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7033 include <bp-checks.h>.
7034 (sigpending): Don't use CHECK_SIGSET.
7035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7036 include <bp-checks.h>.
7037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7038 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7039 <bp-checks.h>.
7040 (sigpending): Don't use CHECK_SIGSET.
7041 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7042 <bp-checks.h>.
7043 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7044
2e8a5c8c
JM
7045 [BZ #13550]
7046 * sysdeps/generic/bp-semctl.h: Remove file.
7047 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7048 <bp-checks.h> and <bp-semctl.h>.
7049 (__old_semctl): Don't use CHECK_SEMCTL.
7050 (__new_semctl): Likewise.
7051 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7052 and <bp-semctl.h>.
7053 (__old_semctl): Don't use CHECK_SEMCTL.
7054 (__new_semctl): Likewise.
7055 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7056 <bp-checks.h> and <bp-semctl.h>.
7057 (__old_semctl): Don't use CHECK_SEMCTL.
7058 (__new_semctl): Likewise.
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7060 <bp-checks.h> and <bp-semctl.h>.
7061 (semctl): Don't use CHECK_SEMCTL.
7062
c2d54929
JM
7063 [BZ #13550]
7064 * Makerules (elide-bp-thunks): Remove variable.
7065 (elide-routines.oS): Don't use $(elide-bp-thunks).
7066 (elide-routines.os): Likewise.
7067 (elide-routines.o): Likewise.
7068 (elide-routines.op): Likewise.
7069 (elide-routines.og): Likewise.
7070 (objects): Don't use $(bp-thunks).
7071 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7072 include.
7073 (common-generated): Do not add s-proto-bp.d.
7074 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7075 (int): Likewise.
7076 (typ): Likewise.
7077 Do not generate makefile rules for bounded-pointer thunks.
7078 * sysdeps/generic/bp-thunks.h: Remove file.
7079 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7080 * sysdeps/unix/s-proto-bp.S: Likewise.
7081
8cf28c5e
JM
7082 [BZ #15062]
7083 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7084 parts of result separately when argument is not close to line from
7085 -i to i and one part of argument is small.
7086 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7087 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7088 * math/libm-test.inc (cacos_test): Add more tests.
7089 (casin_test): Likewise.
7090 (casinh_test): Likewise.
7091 * sysdeps/i386/fpu/libm-test-ulps: Update.
7092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7093
c4e33b8d
DM
70942013-01-31 David S. Miller <davem@davemloft.net>
7095
7096 * po/de.po: Update from translation team.
7097
3b60b421
MK
70982013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7099
7100 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7101
bb931195
TS
71022013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7103
b5a5da23
TS
7104 * configure.in (_AC_PROG_CC_C89): New definition.
7105 * configure: Regenerate.
7106
bb931195
TS
7107 * configure.in (AC_PROG_CPP): New definition.
7108 * configure: Regenerate.
7109
8c53a12c
JM
71102013-01-23 Joseph Myers <joseph@codesourcery.com>
7111
7112 * debug/tst-backtrace.h: New file.
7113 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7114 (ret): Remove variable.
7115 (x): Likewise.
7116 (FAIL): Remove macro.
7117 (NO_INLINE): Likewise.
7118 (fn1): Use match function instead of strstr.
7119 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7120 (ret): Remove variable.
7121 (x): Likewise.
7122 (FAIL): Remove macro.
7123 (NO_INLINE): Likewise.
7124 (fn): Use match function instead of strstr.
7125 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7126 (ret): Remove variable.
7127 (x): Likewise.
7128 (FAIL): Remove macro.
7129 (NO_INLINE): Likewise.
7130 (handle_signal): Use match function instead of strstr.
7131 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7132 (ret): Remove variable.
7133 (x): Likewise.
7134 (FAIL): Remove macro.
7135 (NO_INLINE): Likewise.
7136 (handle_signal): Use match function instead of strstr.
7137
4858fa2a
RM
71382013-01-23 Roland McGrath <roland@hack.frob.com>
7139
7140 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7141
bae8e7f5
DM
71422013-01-23 David S. Miller <davem@davemloft.net>
7143
7144 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7145 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7146 argument of CAS if possible.
7147 * sysdeps/sparc/sparc64/bits/atomic.h
7148 (__arch_compare_and_exchange_val_32_acq): Likewise.
7149 (__arch_compare_and_exchange_val_64_acq): Likewise.
7150
9cbbc4ae
PT
71512013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7152
7153 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7154 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7155 Include <limits.h>.
67b3f58c 7156 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7157
5655a0b5
AC
71582013-01-23 Adam Conrad <adconrad@0c3.net>
7159
7160 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7161 (LDFLAGS-tst-array5): Likewise.
7162
052aff95
JM
71632013-01-23 Joseph Myers <joseph@codesourcery.com>
7164
7165 [BZ #15036]
7166 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7167 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7168 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7169 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7170
7c1e01aa
DM
71712013-01-21 David S. Miller <davem@davemloft.net>
7172
7173 * sysdeps/sparc/backtrace.c: New file.
7174 * sysdeps/sparc/sparc32/backtrace.h: New file.
7175 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7176 * sysdeps/sparc/sparc64/backtrace.h: New file.
7177 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7178 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7179 -funwind-tables.
7180
ab087e0a
AS
71812013-01-21 Andreas Schwab <schwab@suse.de>
7182
7183 [BZ #15020]
7184 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7185 closed its stdout.
7186
ed689c2f
AS
71872013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7188
7189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7190 "mpa2.h".
7191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7192
31d470ac
JM
71932013-01-18 Joseph Myers <joseph@codesourcery.com>
7194 Mark Mitchell <mark@codesourcery.com>
7195 Tom de Vries <tom@codesourcery.com>
7196 Paul Pluzhnikov <ppluzhnikov@google.com>
7197
7198 * debug/tst-backtrace2.c: New file.
7199 * debug/tst-backtrace3.c: Likewise.
7200 * debug/tst-backtrace4.c: Likewise.
7201 * debug/tst-backtrace5.c: Likewise.
7202 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7203 (CFLAGS-tst-backtrace3.c): Likewise.
7204 (CFLAGS-tst-backtrace4.c): Likewise.
7205 (CFLAGS-tst-backtrace5.c): Likewise.
7206 (LDFLAGS-tst-backtrace2): Likewise.
7207 (LDFLAGS-tst-backtrace3): Likewise.
7208 (LDFLAGS-tst-backtrace4): Likewise.
7209 (LDFLAGS-tst-backtrace5): Likewise.
7210 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7211 tst-backtrace4 and tst-backtrace5.
7212
90567f30 72132013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7214 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7215
7216 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7217 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7218 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7219 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7221 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7222 "+r" and remove output regs list as redundant. Add explicit inline
7223 asm to specify register of return val to work around compiler codegen
7224 bug. Remove (int) cast on return value. Add return type parameter to
7225 use in macro so that this macro does not truncate return value for
7226 64-bit values.
7227 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7228 pass to INTERNAL_VSYSCALL_NCS.
7229 (INLINE_VSYSCALL): Add 'long int' as return type to
7230 INTERNAL_VSYSCALL_NCS macro invocation.
7231 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7232 INTERNAL_VSYSCALL_NCS macro invocation.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7234
d3b9ea61
SP
72352013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
0b57daeb
SP
7237 [BZ #14496]
7238 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7239 Fix application of SIMD FP exception mask.
7240
caa99d06
SP
7241 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7242 mp_no from a power of two.
7243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7244 __mpexp_twomm1. Use __pow_mp.
7245
d3b9ea61
SP
7246 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7247 multiplication.
7248
1dbaee3c
DM
72492013-01-17 David S. Miller <davem@davemloft.net>
7250
7251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7252
728d7b43
JM
72532013-01-17 Joseph Myers <joseph@codesourcery.com>
7254
7255 [BZ #15023]
7256 * include/complex.h: Condition contents on [!_COMPLEX_H].
7257 (__kernel_casinhf): New prototype.
7258 (__kernel_casinh): Likewise.
7259 (__kernel_casinhl): Likewise.
7260 * math/Makefile (libm_calls): Add k_casinh.
7261 * math/k_casinh.c: New file.
7262 * math/k_casinhf.c: Likewise.
7263 * math/k_casinhl.c: Likewise.
7264 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7265 finite nonzero arguments.
7266 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7267 finite nonzero arguments.
7268 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7269 finite nonzero arguments.
7270 * math/s_casinh.c: Do not include <float.h>.
7271 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7272 * math/s_casinhf.c: Do not include <float.h>.
7273 (__casinhf): Move code for finite nonzero arguments to
7274 k_casinhf.c.
7275 * math/s_casinhl.c: Do not include <float.h>.
7276 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7277 redefine.
7278 (__casinhl): Move code for finite nonzero arguments to
7279 k_casinhl.c.
7280 * math/libm-test.inc (cacos_test): Add more tests.
7281 * sysdeps/i386/fpu/libm-test-ulps: Update.
7282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7283
2a26ef3a
PT
72842013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7285
7286 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7287 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7288 [!HAVE_MREMAP]: Remove [defined linux] case.
7289 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7290
a897655d
SP
72912013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
7293 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7294
881ebe89 72952013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7296
7297 * elf/elf.h (R_386_SIZE32): New relocation.
7298 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7299 R_386_SIZE32.
7300 (elf_machine_rela): Likewise.
7301 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7302 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7303
59981e9b
JM
73042013-01-17 Joseph Myers <joseph@codesourcery.com>
7305
7306 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7307 (FP_FAST_FMA): Do not define.
7308 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7309 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7310 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7311 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7312 !_SOFT_FLOAT]: Likewise.
7313 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7314 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7315 value.
7316 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7317 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7319 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7320 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7321 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7322 file.
7323
cfa8054f
AS
73242013-01-16 Andreas Schwab <schwab@suse.de>
7325
7326 [BZ #14327]
7327 * include/stdlib.h (__mktemp): Add declaration.
7328 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7329 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7330
dd930cc5
SP
73312013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7332
881ebe89
SP
7333 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7334 definitions.
7335 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7336 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7337 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7338 definitions here.
7339 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7340 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7341 definitions.
7342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7343 and ONE.
7344 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7345 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7346 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7347 definitions.
7348 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7349 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7350 definitions.
7351 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7352
dd930cc5
SP
7353 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7354
c19a9f89
DM
73552013-01-15 David S. Miller <davem@davemloft.net>
7356
1aa61767
DM
7357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7358 trunc{,f} to libm-sysdep_routes.
7359 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7361 file.
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7364 file.
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7366 file.
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7369 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7370 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7371 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7372 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7373 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7374 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7375
c42d5e98
DM
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7377 nearbyint{,f} to libm-sysdep_routes.
7378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7380 New file.
7381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7382 file.
7383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7384 New file.
7385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7386 file.
7387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7390 file.
7391 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7393 file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7397
c19a9f89
DM
7398 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7399 libc_feholdexcept and libc_fesetenv.
7400
357679d2
MF
74012013-01-15 Mike Frysinger <vapier@gentoo.org>
7402
7403 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7404
65a82e3d
DM
74052013-01-14 David S. Miller <davem@davemloft.net>
7406
8b954ab9
DM
7407 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7408 (SPARC_ASM_VIS2_IFUNC): Likewise.
7409 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7411 use of 'siam' instruction.
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7413 Likewise.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7415 Likewise.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7417 Likewise.
7418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7423 file.
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7425 file.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7427 file.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7429 file.
7430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7435 new VIS2 routines.
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7439 Likewise.
7440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7445 routines to libm-sysdep_routines.
7446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7447
65a82e3d
DM
7448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7449 fdim/fdimf to libm-sysdep_routines.
7450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7451 file.
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7454 file.
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7458 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7459 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7460 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7461 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7462
e34ab705
SP
74632013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7464
2a91b573
SP
7465 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7466 to optimize copies.
7467
1066a534
SP
7468 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7471
e34ab705
SP
7472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7473 local variable MPTWO.
7474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7475 Likewise.
7476
aba5e596
MF
74772013-01-13 Mike Frysinger <vapier@gentoo.org>
7478
7479 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7480 GLOB_NOESCAPE.
7481
e557e9e5
MF
74822013-01-13 Mike Frysinger <vapier@gentoo.org>
7483
7484 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7485
0428cec9
MF
74862013-01-13 Mike Frysinger <vapier@gentoo.org>
7487
7488 * manual/pattern.texi (glob_t): Document gl_flags.
7489 (glob64_t): Likewise.
7490
8794a964
DM
74912013-01-11 David S. Miller <davem@davemloft.net>
7492
66438c3f
RM
7493 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7494 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7495 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7496 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7497 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7498 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7499 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7500 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7501 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7502 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7503 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7504 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7505 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7506
4ae4244d
DM
7507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7508 sparc V9 rather than using V8 code.
7509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7511
8794a964
DM
7512 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7513 Move to...
7514 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7515 Here.
7516
6270516e
RM
75172013-01-11 Roland McGrath <roland@hack.frob.com>
7518
7519 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7520 not in the main loop.
7521 * configure: Regenerated.
7522
6a57d931
JM
75232013-01-11 Joseph Myers <joseph@codesourcery.com>
7524
7525 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7526 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7527 to just #else.
7528 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7529 [!__GLIBC_HAVE_LONG_LONG] case.
7530 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7531 condition to just #else.
7532 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7533 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7534 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7535 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7536 unconditional.
7537 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7538 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7539 #elif condition to just #else.
7540 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7541 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7542 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7543 #elif condition to just #else.
7544
0e8529e9
SE
75452013-01-11 Steve Ellcey <sellcey@mips.com>
7546
7547 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7548 (EF_MIPS_ARCH_64): Fix value.
7549 (EF_MIPS_ARCH_32R2): New.
7550 (EF_MIPS_ARCH_64R2): New.
7551
740b3dbe
L
75522013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 * Makeconfig (+link-pie-before-libc): New.
7555 (+link-pie-after-libc): Likewise.
7556 (+link-pie-tests): Likewise.
7557 (+link-pie): Rewritten.
7558 (link-before-libc): Remove $(config-LDFLAGS).
7559 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7560 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7561 (config-LDFLAGS): Renamed to ...
7562 (rtld-LDFLAGS): This.
7563 (rtld-tests-LDFLAGS): New macro.
7564 (link-libc-rpath-link): Likewise.
7565 (link-libc-tests-rpath-link): Likewise.
7566 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7567 (link-libc): Prepand $(link-libc-rpath-link).
7568 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7569 (test-program-prefix): New macro.
7570 (test-via-rtld-prefix): Likewise.
7571 (test-program-cmd): Likewise.
7572 (host-test-program-cmd): Likewise.
7573 * Makefile ($(common-objpfx)testrun.sh): Replace
7574 $(run-program-prefix) with $(test-program-prefix).
7575 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7576 $(rtld-LDFLAGS).
7577 ($(common-objpfx)shlib.lds): Likewise.
7578 (build-module-helper): Likewise.
7579 ($(common-objpfx)format.lds): Likewise.
7580 * Rules (binaries-pie-tests): New.
7581 (binaries-pie-notests): Likewise.
7582 (binaries-pie): Rewritten.
7583 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7584 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7585 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7586 (make-test-out): Replace $(host-built-program-cmd) with
7587 $(host-test-program-cmd).
7588 * config.make.in (build-hardcoded-path-in-tests): New variable.
7589 * configure.in (--enable-hardcoded-path-in-tests): New configure
7590 option.
7591 (hardcoded_path_in_tests): New AC_SUBST.
7592 * configure: Regenerated.
7593 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7594 $(built-program-cmd) with $(test-program-cmd).
7595 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7596 (test_program_cmd): This.
7597 * elf/Makefile ($(objpfx)order.out): Run test with
7598 $(test-program-prefix).
7599 ($(objpfx)order2.out): Likewise.
7600 ($(objpfx)tst-initorder.out): Likewise.
7601 ($(objpfx)tst-initorder2.out): Likewise.
7602 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7603 $(test-program-cmd).
7604 ($(objpfx)tst-array1-static.out): Likewise.
7605 ($(objpfx)tst-array2.out): Likewise.
7606 ($(objpfx)tst-array3.out): Likewise.
7607 ($(objpfx)tst-array4.out): Likewise.
7608 ($(objpfx)tst-array5.out): Likewise.
7609 ($(objpfx)tst-array5-static.out): Likewise.
7610 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7611 $(test-program-cmd).
7612 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7613 $(run-program-prefix) with $(test-program-prefix).
7614 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7615 (test_program_prefix): This.
7616 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7617 $(run-program-prefix) with $(test-program-prefix).
7618 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7619 (test_program_prefix): This.
7620 * iconvdata/tst-tables.sh: Likewise.
7621 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7622 $(run-program-prefix) with $(test-program-prefix).
7623 ($(objpfx)tst-translit.out): Likewise.
7624 ($(objpfx)tst-gettext2.out): Likewise.
7625 ($(objpfx)tst-gettext4.out): Likewise.
7626 ($(objpfx)tst-gettext6.out): Likewise.
7627 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7628 (test_program_prefix): This.
7629 * intl/tst-gettext2.sh: Likewise.
7630 * intl/tst-gettext4.sh Likewise.
7631 * intl/tst-gettext6.sh: Likewise.
7632 * intl/tst-translit.sh: Likewise.
7633 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7634 with $(test-program-cmd).
7635 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7636 $(run-program-prefix) with $(test-program-prefix).
7637 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7638 (test_program_prefix): This.
7639 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7640 $(run-program-prefix) with $(test-program-prefix).
7641 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7642 (test_program_prefix): This.
7643 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7644 * posix/Makefile ($(objpfx)globtest.out): Replace
7645 $(run-via-rtld-prefix) and $(test-wrapper) with
7646 $(test-program-prefix) and $(test-via-rtld-prefix).
7647 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7648 $(test-program-prefix).
7649 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7650 $(host-test-program-cmd).
7651 (tst-spawn-ARGS): Likewise.
7652 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7653 $(test-program-prefix).
7654 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7655 (test_via_rtld_prefix): This.
7656 (test_wrapper): Renamed to ...
7657 (test_program_prefix): This.
7658 (run_program_prefix): Replaced by test_program_prefix.
7659 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7660 (test_program_prefix): This.
7661 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7662 with $(host-test-program-cmd).
7663 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7664 $(run-program-prefix) with $(test-program-prefix).
7665 ($(objpfx)tst-printf.out): Likewise.
7666 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7667 $(test-program-cmd).
7668 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7669 (test_program_prefix): This.
7670 * stdio-common/tst-unbputc.sh: Likewise.
7671 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7672 $(run-program-prefix) with $(test-program-prefix).
7673 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7674 (test_program_prefix): This.
7675 * string/Makefile ($(objpfx)tst-svc.out): Replace
7676 $(built-program-cmd) with $(test-program-cmd).
7677
c6fe55cf
AJ
76782013-01-11 Andreas Jaeger <aj@suse.de>
7679
7680 [BZ #15003]
7681 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7682 value. Sync with Linux 3.7.
7683
9e6919c8
DM
76842013-01-10 David S. Miller <davem@davemloft.net>
7685
7686 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7689
1c9f1a02
RM
76902013-01-10 Roland McGrath <roland@hack.frob.com>
7691
7692 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7693 never set.
7694 * configure: Regenerated.
7695
b9de2dde
DM
76962013-01-10 David S. Miller <davem@davemloft.net>
7697
7698 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7699 sparc V9 rather than using V8 code.
7700 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7701 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7702
e7f68ef4
RM
77032013-01-10 Roland McGrath <roland@hack.frob.com>
7704
7705 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7706 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7707 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7708 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7709 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7710 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7711 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7712 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7713 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7714 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7715 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7716 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7717 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7718 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7719 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7720 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7721 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7722 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7723 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7724 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7725 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7726 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7727 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7728 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7729 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7730 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7731 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7732
5a47cc9c
DM
77332013-01-10 David S. Miller <davem@davemloft.net>
7734
7735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7736
4cf8f209
L
77372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7738
7739 * posix/Makefile (tests-static): New variable.
7740 (tests): Add $(tests-static).
7741 (tst-exec-static-ARGS): New variable.
7742 (tst-spawn-static-ARGS): Likewise.
7743 * posix/tst-exec-static.c: New file.
7744 * posix/tst-spawn-static.c: Likewise.
7745 * posix/tst-exec.c: Support run directly.
7746 * posix/tst-spawn.c: Likewise.
7747
fed0faa1
JM
77482013-01-10 Joseph Myers <joseph@codesourcery.com>
7749
828beb13
JM
7750 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7751 long.
7752 * math/bits/mathcalls.h (llrint): Likewise.
7753 (llround): Likewise.
7754 * stdlib/stdlib.h (struct drand48_data): Likewise.
7755 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7756 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7757 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7758 Likewise.
7759 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7760 Likewise.
7761 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7762 (elf_greg_t): Likewise.
7763 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7764 (__jmp_buf): Likewise.
7765 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7766 definitions.
7767 (llrint): Likewise, for all definitions.
7768 (llrintl): Likewise.
7769
fed0faa1
JM
7770 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7771 Remove [__GNUC__] condition.
7772 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7773 condition to just [__USE_ISOC99].
7774 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7775
1a20cb20
L
77762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7777
7778 [BZ #14200]
7779 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7780 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7781 defined.
7782 (_POSIX_V6_ILP32_OFF32): Likewise.
7783 (_XBS5_ILP32_OFF32): Likewise.
7784 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7785 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7786
751b85f7
SP
77872013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7788
7490eb81
SP
7789 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7790
751b85f7
SP
7791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7792 doubles __mpexp_twomm1. Adjust usage.
7793 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7794 Remove.
7795
988197f0
AS
77962013-01-10 Andreas Schwab <schwab@suse.de>
7797
7798 [BZ #14964]
7799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7800 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7801
e83d7298
DM
78022013-01-09 David S. Miller <davem@davemloft.net>
7803
034ed64b 7804 [BZ #15003]
e83d7298
DM
7805 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7806 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7807 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7808 TCP_FASTOPEN): Define.
7809 (tcp_repair_opt): New structure.
7810 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7811 enum values.
7812 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7813 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7814 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7815 (tcp_cookie_transactions): New structure.
7816
d5e0b9bd
AB
78172013-01-09 Anton Blanchard <anton@samba.org>
7818
7819 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7820 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7823
0c07e3ea
JM
78242013-01-09 Joseph Myers <joseph@codesourcery.com>
7825
7826 * include/features.h (__USE_ANSI): Remove.
7827
232f7002
RM
78282013-01-09 Roland McGrath <roland@hack.frob.com>
7829
ad98e30c
RM
7830 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7831
232f7002
RM
7832 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7833
950c99ca
SP
78342013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7835
b5792741
SP
7836 * sysdeps/s390/fpu/libm-test-ulps: Update.
7837
47cf2278
SP
7838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7839
950c99ca
SP
7840 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7841 (__acr): Likewise.
7842 (__cpy): Likewise.
7843 (norm): Likewise.
7844 (denorm): Likewise.
7845 (__mp_dbl): Likewise.
7846 (__dbl_mp): Likewise.
7847 (add_magnitudes): Likewise.
7848 (sub_magnitudes): Likewise.
7849 (__add): Likewise.
7850 (__sub): Likewise.
7851 (__mul): Likewise.
7852 (__inv): Likewise.
7853 (__dvd): Likewise.
7854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7855 (__acr): Likewise.
7856 (__cpy): Likewise.
7857 (norm): Likewise.
7858 (denorm): Likewise.
7859 (__mp_dbl): Likewise.
7860 (__dbl_mp): Likewise.
7861 (add_magnitudes): Likewise.
7862 (sub_magnitudes): Likewise.
7863 (__add): Likewise.
7864 (__sub): Likewise.
7865 (__mul): Likewise.
7866 (__inv): Likewise.
7867 (__dvd): Likewise.
7868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7869 (__acr): Likewise.
7870 (__cpy): Likewise.
7871 (norm): Likewise.
7872 (denorm): Likewise.
7873 (__mp_dbl): Likewise.
7874 (__dbl_mp): Likewise.
7875 (add_magnitudes): Likewise.
7876 (sub_magnitudes): Likewise.
7877 (__add): Likewise.
7878 (__sub): Likewise.
7879 (__mul): Likewise.
7880 (__inv): Likewise.
7881 (__dvd): Likewise.
7882
eede9df9
JM
78832013-01-08 Joseph Myers <joseph@codesourcery.com>
7884
7885 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7886 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7887 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7888 2 && __USE_EXTERN_INLINES]: Likewise.
7889
c40ea3d9
AJ
78902013-01-08 Andreas Jaeger <aj@suse.de>
7891
7892 [BZ# 14985]
7893 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7894 Remove.
7895 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7896 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7897
2ccdea26
AB
78982013-01-07 Anton Blanchard <anton@samba.org>
7899
7900 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7901 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7902 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7903 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7904 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7905 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7906 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7910 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7911 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7912 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7913 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7914 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7917 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7918 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7919 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7920 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7922 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7923 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7924 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7925 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7926 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7927 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7929 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7930 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7932 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7933 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7934 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7935 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7936 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7938 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7939 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7942 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7943
a9708fed
JM
79442013-01-07 Joseph Myers <joseph@codesourcery.com>
7945
375607b9
JM
7946 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7947 (__MALLOC_PMT): Likewise.
7948 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7949 [__GNUC__], only on [_LIBC].
7950 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7951 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7952 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7953 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7954 forward declaration.
7955 (realloc_hook_ini): Likewise.
7956 (memalign_hook_ini): Likewise.
7957 (__libc_memalign): Do not use __MALLOC_PMT in variable
7958 declaration.
7959 (__libc_valloc): Likewise.
7960 (__libc_pvalloc): Likewise.
7961 (__libc_calloc): Likewise.
7962 (__posix_memalign): Likewise.
7963
a9708fed
JM
7964 [BZ #14996]
7965 * math/s_casinh.c: Include <float.h>.
7966 (__casinh): Do not do computation with squaring and square root
7967 for large arguments.
7968 * math/s_casinhf.c: Include <float.h>.
7969 (__casinhf): Do not do computation with squaring and square root
7970 for large arguments.
7971 * math/s_casinhl.c: Include <float.h>.
7972 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7973 (__casinhl): Do not do computation with squaring and square root
7974 for large arguments.
7975 * math/libm-test.inc (casin_test): Add more tests.
7976 (casinh_test): Likewise.
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7979
afec409a
L
79802013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7981
7982 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7983 (__x86_64_raw_data_cache_size): Likewise.
7984 (__x86_64_data_cache_size_half): Likewise.
7985 (__x86_64_raw_data_cache_size_half): Likewise.
7986 (__x86_64_shared_cache_size): Likewise.
7987 (__x86_64_raw_shared_cache_size): Likewise.
7988 (__x86_64_shared_cache_size_half): Likewise.
7989 (__x86_64_raw_shared_cache_size_half): Likewise.
7990 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7991 to ...
7992 (__x86_data_cache_size): This.
7993 (__x86_64_raw_data_cache_size): Renamed to ...
7994 (__x86_raw_data_cache_size): This.
7995 (__x86_64_data_cache_size_half): Renamed to ...
7996 (__x86_data_cache_size_half): This.
7997 (__x86_64_raw_data_cache_size_half): Renamed to ...
7998 (__x86_raw_data_cache_size_half): This.
7999 (__x86_64_shared_cache_size): Renamed to ...
8000 (__x86_shared_cache_size): This.
8001 (__x86_64_raw_shared_cache_size): Renamed to ...
8002 (__x86_raw_shared_cache_size): This.
8003 (__x86_64_shared_cache_size_half): Renamed to ...
8004 (__x86_shared_cache_size_half): This.
8005 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8006 (__x86_raw_shared_cache_size_half): This.
8007 * sysdeps/x86_64/memcpy.S: Updated.
8008 * sysdeps/x86_64/memset.S: Likewise.
8009 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8012
0b3986d0
DM
80132013-01-04 David S. Miller <davem@davemloft.net>
8014
8015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8016
e47686e9
AS
80172013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8018
d643bac1
AS
8019 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8020 1 to avoid redefinition warning.
8021 (__USE_GNU): Don't define.
8022 (init_signaling_nan): Protoize.
8023
e47686e9
AS
8024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8025
b18decba
SP
80262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8027
fffb407f
SP
8028 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8030 (__cpymn): Likewise.
8031 (norm): Remove commented code.
8032 (denorm): Likewise.
8033 (__mp_dbl): Likewise.
8034 (__inv): Likewise.
8035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8036 (__cpymn): Likewise.
8037 (norm): Remove commented code.
8038 (denorm): Likewise.
8039 (__mp_dbl): Likewise.
8040 (__inv): Likewise.
8041
b18decba
SP
8042 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8048 mp_no value for 1.0 and 2.0.
8049 (norm): Use RADIXI instead of radixi.d.
8050 (denorm): Likewise.
8051 (__mul): Use 0.0 instead of zero.d.
8052
cdc1c96f
JM
80532013-01-04 Joseph Myers <joseph@codesourcery.com>
8054
8055 [BZ #14994]
8056 * math/s_casinh.c (__casinh): Reduce finite argument to first
8057 quadrant then set signs of results at the end.
8058 * math/s_casinhf.c (__casinhf): Likewise.
8059 * math/s_casinhl.c (__casinhl): Likewise.
8060 * math/libm-test.inc (casin_test): Add more tests.
8061 (casinh_test): Likewise.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8064
302913e1
SP
80652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8066
6420d207
SP
8067 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8068
a9e48ab4
SP
8069 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8070
b7837264
SP
8071 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8072 declarations.
8073 (denorm): Likewise.
8074 (__mp_dbl): Likewise.
8075 (__inv): Likewise.
8076
f8af25d2
SP
8077 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8078 and adjust the header comment.
8079
302913e1
SP
8080 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8081 variable name from declaration.
8082
5d7dd1ca
L
80832013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8084
8085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8086 Initialize COMMON_CPUID_INDEX_7 element.
8087 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8088 (CPUID_RTM): Likewise.
8089 (HAS_RTM): Likewise.
8090 (COMMON_CPUID_INDEX_7): New enum.
8091
2f5f40f4
AS
80922013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8093
8094 [BZ #14981]
8095 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8096 size is zero, record memory as freed.
8097
4056f4a0
AJ
80982013-01-03 Andreas Jaeger <aj@suse.de>
8099
8100 * po/ia.po: Add new Interlingua translation.
8101
ab15736f 81022012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8103
8104 * locale/programs/localedef.c: Fix description of '--posix' flag.
8105
568035b7
JM
81062013-01-02 Joseph Myers <joseph@codesourcery.com>
8107
e6898b8d
JM
8108 * NEWS: Update dates in second copyright notice.
8109 * README: Update copyright dates in example.
8110 * manual/libc.texinfo: Update copyright dates.
8111 * scripts/test-installation.pl: Update copyright date in --version
8112 output.
8113
0e2f9562
JM
8114 * hurd/ctty-input.c: Fix copyright notice formatting.
8115 * hurd/ctty-output.c: Likewise.
8116 * hurd/dtable.c: Likewise.
8117 * hurd/hurd-raise.c: Likewise.
8118 * hurd/hurdprio.c: Likewise.
8119 * hurd/msgportdemux.c: Likewise.
8120 * misc/sys/file.h: Likewise.
8121 * misc/sys/ioctl.h: Likewise.
8122 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8123 * sysdeps/mach/hurd/chdir.c: Likewise.
8124 * sysdeps/mach/hurd/fchdir.c: Likewise.
8125 * sysdeps/mach/hurd/rename.c: Likewise.
8126 * sysdeps/mach/hurd/rmdir.c: Likewise.
8127 * sysdeps/mach/hurd/seekdir.c: Likewise.
8128 * sysdeps/mach/hurd/setsid.c: Likewise.
8129 * sysdeps/posix/wait3.c: Likewise.
8130
568035b7
JM
8131 * All files with FSF copyright notices: Update copyright dates
8132 using scripts/update-copyrights.
8133 * intl/plural.c: Regenerated.
8134 * locale/programs/charmap-kw.h: Likewise.
8135 * locale/programs/locfile-kw.h: Likewise.
8136
da08f647
SP
81372013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8138
0f5477af
SP
8139 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8140 four values.
8141
44e0d4c2
SP
8142 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8143 calculation loop and add branch prediction.
8144
4d55b4e5
SP
8145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8146 check access beyond bounds of m1np.
8147
da08f647
SP
8148 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8149 MPTWO.
8150 (__inv): Remove local variable MPTWO to use the global
8151 constant.
8152 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8153 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8154 variable MPTWO.
8155 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8156 MP3HALFS static const.
8157
8e051029
DM
81582013-01-01 David S. Miller <davem@davemloft.net>
8159
8160 * po/ca.po: Update from translation team.
8161
f4cf5f2d
JM
81622013-01-01 Joseph Myers <joseph@codesourcery.com>
8163
8164 * scripts/update-copyrights: New file.
8165 * Makeconfig: Reformat copyright notice.
8166 * ctype/ctype.h: Likewise.
8167 * debug/swprintf_chk.c: Likewise.
8168 * elf/dl-cache.c: Likewise.
8169 * elf/dl-debug.c: Likewise.
8170 * elf/dl-object.c: Likewise.
8171 * grp/initgroups.c: Likewise.
8172 * hurd/Makefile: Likewise.
8173 * hurd/hurd/signal.h: Likewise.
8174 * hurd/hurdfault.c: Likewise.
8175 * hurd/hurdioctl.c: Likewise.
8176 * hurd/hurdlookup.c: Likewise.
8177 * hurd/intr-msg.c: Likewise.
8178 * iconv/gconv_open.c: Likewise.
8179 * libio/swprintf.c: Likewise.
8180 * locale/lc-ctype.c: Likewise.
8181 * locale/nl_langinfo.c: Likewise.
8182 * mach/Machrules: Likewise.
8183 * mach/Makefile: Likewise.
8184 * malloc/obstack.h: Likewise.
8185 * manual/Makefile: Likewise.
8186 * manual/tsort.awk: Likewise.
8187 * misc/bits/stab.def: Likewise.
8188 * nis/nis_print_group_entry.c: Likewise.
8189 * nis/nis_table.c: Likewise.
8190 * nis/nss_compat/compat-pwd.c: Likewise.
8191 * nis/nss_compat/compat-spwd.c: Likewise.
8192 * po/Makefile: Likewise.
8193 * posix/fnmatch.c: Likewise.
8194 * posix/regex.h: Likewise.
8195 * resolv/Makefile: Likewise.
8196 * resolv/nss_dns/dns-network.c: Likewise.
8197 * resolv/res_hconf.c: Likewise.
8198 * scripts/gen-sorted.awk: Likewise.
8199 * soft-fp/soft-fp.h: Likewise.
8200 * stdio-common/printf.h: Likewise.
8201 * stdlib/monetary.h: Likewise.
8202 * stdlib/random.c: Likewise.
8203 * stdlib/random_r.c: Likewise.
8204 * sysdeps/generic/Makefile: Likewise.
8205 * sysdeps/gnu/Makefile: Likewise.
8206 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8229 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8230 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8231 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8232 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8233 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8234 * sysdeps/mach/hurd/errnos.awk: Likewise.
8235 * sysdeps/mach/hurd/fork.c: Likewise.
8236 * sysdeps/mach/hurd/getcwd.c: Likewise.
8237 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8238 * sysdeps/mach/hurd/mmap.c: Likewise.
8239 * sysdeps/mach/hurd/utimes.c: Likewise.
8240 * sysdeps/mach/hurd/xmknod.c: Likewise.
8241 * sysdeps/posix/profil.c: Likewise.
8242 * sysdeps/posix/readdir_r.c: Likewise.
8243 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8244 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8245 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8246 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8249 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8250 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8254 * sysdeps/pthread/lio_listio.c: Likewise.
8255 * sysdeps/sparc/dl-procinfo.h: Likewise.
8256 * sysdeps/unix/i386/sysdep.S: Likewise.
8257 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8258 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8259 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8260 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8262 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8263 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8264 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8265 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8266 * sysdeps/wordsize-32/divdi3.c: Likewise.
8267 * time/sys/time.h: Likewise.
8268 * wcsmbs/Makefile: Likewise.
8269
0549fbba
DM
82702013-01-01 David S. Miller <davem@davemloft.net>
8271
a141f1a7
DM
8272 * po/fr.po: Update from translation team.
8273
0549fbba
DM
8274 * catgets/gencat.c: Update copyright year.
8275 * csu/version.c: Likewise.
8276 * debug/catchsegv.sh: Likewise.
8277 * debug/pcprofiledump.c: Likewise.
8278 * debug/xtrace.sh: Likewise.
8279 * elf/ldconfig.c: Likewise.
8280 * elf/ldd.bash.in: Likewise.
8281 * elf/pldd.c: Likewise.
8282 * elf/sotruss.ksh: Likewise.
8283 * elf/sprof.c: Likewise.
8284 * iconv/iconv_prog.c: Likewise.
8285 * iconv/iconvconfig.c: Likewise.
8286 * locale/programs/locale.c: Likewise.
8287 * locale/programs/localedef.c: Likewise.
8288 * login/programs/pt_chown.c: Likewise.
8289 * malloc/memusage.sh: Likewise.
8290 * malloc/memusagestat.c: Likewise.
8291 * malloc/mtrace.pl: Likewise.
8292 * nscd/nscd.c: Likewise.
8293 * nss/getent.c: Likewise.
8294 * nss/makedb.c: Likewise.
8295 * posix/getconf.c: Likewise.
8296
18ea052c
SP
82972012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8298
8299 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8300 numbers.
8301
9c89fca6
MF
83022012-12-30 Mike Frysinger <vapier@gentoo.org>
8303
8304 * math/bits/mathcalls.h (modf): Use __nonnull.
8305
085ec079
SP
83062012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8307
8308 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8309 (split): Use macro CN instead of the bare value.
8310 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8311 could be used.
8312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8313 instead of the bare value.
8314 (power1): Likewise.
8315
6d9f97e1
SP
83162012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
d63f73be
SP
8318 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8319 __ATAN_TWOM.
8320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8321
6d9f97e1
SP
8322 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8323 their values.
8324 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8325 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8326 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8327 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8328
4c4febf5
AJ
83292012-12-28 Andreas Jaeger <aj@suse.de>
8330
af5843ef
AJ
8331 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8332 values are from Linux 3.7.
8333
4c4febf5
AJ
8334 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8335 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8336
99136f82
SP
83372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
2f216c3c 8339 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8340 TRUE case.
8341
99136f82
SP
8342 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8343 (norm): Likewise.
8344 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8345 variables with preprocessor constants.
8346 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8347 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8348 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8349
7fffbdff
BH
83502012-12-27 Bruno Haible <bruno@clisp.org>
8351
8352 [BZ #14317]
8353 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8354 only if needed.
8355
b76eb5f0
SP
83562012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8357
31a7fe5c
SP
8358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8359 and use variable directly.
8360 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8361
b76eb5f0
SP
8362 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8363 MPONE.
8364 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8366 variable MPONE.
8367 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8369 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8370 include directive. Remove local variable MPONE.
8371 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8372 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8373 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8374
2c8bfe7d
DM
83752012-12-25 David S. Miller <davem@davemloft.net>
8376
8377 * version.h (RELEASE): Set to "development".
8378 (VERSION): Set to "2.17.90".
8379 * NEWS: Add 2.18 section.
8380
147d03b0
DM
83812012-12-21 David S. Miller <davem@davemloft.net>
8382
8383 * po/hr.po: Update from translation team.
8384
a8ebb2b9
AK
83852012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8386
8387 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8388
95b4f1b6
SE
83892012-12-19 Steve Ellcey <sellcey@mips.com>
8390
b2d94007 8391 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8392
cedb2a90
MS
83932012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8394
8395 * manual/contrib.texi (Contributors): Spelling correction.
8396
bbf527d6
DM
83972012-12-15 David S. Miller <davem@davemloft.net>
8398
8399 * po/ru.po: Update from translation team.
8400
bc38c906
DM
84012012-12-13 David S. Miller <davem@davemloft.net>
8402
85429b1a
DM
8403 * NEWS: Mention IFUNC testsuite enhancements.
8404
d283e353
DM
8405 * po/pl.po: Update from translation team.
8406 * po/bg.po: Likewise.
8407
bc38c906
DM
8408 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8409 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8410
a181b0d7
DM
84112012-12-11 David S. Miller <davem@davemloft.net>
8412
4641d57e
DM
8413 * po/sv.po: Update from translation team.
8414
f7bc6495
DM
8415 * po/vi.po: Update from translation team.
8416
6fc9048f
DM
8417 * po/cs.po: Update from translation team.
8418
a181b0d7
DM
8419 * po/de.po: Update from translation team.
8420 * po/eo.po: Likewise.
8421 * po/nl.po: Likewise.
8422
f70bfe80
SP
84232012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8424
3c8b4190
SP
8425 [BZ #14246]
8426 * manual/argp.texi (Argp Helper Functions): Move node to follow
8427 Argp Parsing State.
8428
f70bfe80
SP
8429 [BZ #14872]
8430 * manual/conf.texi (Limits on File System Capacity): Mention if
8431 terminating null is included in the max size.
8432
188f0adf
AJ
84332012-12-10 Andreas Jaeger <aj@suse.de>
8434
8435 * po/cs.po: Update from translation team.
8436
56e7d3ad
SP
84372012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8438
8439 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8440 void pointer and cast to uintptr_t.
8441 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8442 path.
8443 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8444 * sysdeps/s390/s390-64/memset.S: Likewise.
8445
76f2d2ea 84462012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8447
8448 [BZ #14833]
8449 * menual/message.texi (Message Translation): Fix typos.
8450 (Helper programs for gettext): Likewise.
8451
67cbf9a2
AS
84522012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8453
8454 [BZ #14898]
8455 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8456 Change to -1.
8457
682d0e9a
DM
84582012-12-07 David S. Miller <davem@davemloft.net>
8459
8460 * po/libc.pot: Update.
8461
573cd484
RH
84622012-12-07 Richard Henderson <rth@redhat.com>
8463
7e9da188 8464 [BZ #10114]
573cd484
RH
8465 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8466 normal/normal case to before the switch.
8467 (_FP_DIV): Likewise.
8468
e933a943
MF
84692012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8470 Mike Frysinger <vapier@gentoo.org>
8471
8472 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8473 check for __NR_fadvise64_64.
8474
82123268
CM
84752012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8476
8477 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8478 0, not just to plain "0" as a statement.
8479 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8480 with cw.
8481
d9814526
JM
84822012-12-06 Joseph Myers <joseph@codesourcery.com>
8483
8484 * NEWS: Use sourceware.org in Bugzilla URL.
8485
7728c574
SP
84862012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8487
f16946dd
SP
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8489 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8490
5704bbcb
SP
8491 * stdio-common/tst-put-error.c (do_test): Add newline to the
8492 padded test to ensure flush.
8493
17aa0516
JL
84942012-12-05 Jeff Law <law@redhat.com>
8495
8496 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8497
363313b5
JM
84982012-12-05 Joseph Myers <joseph@codesourcery.com>
8499
effbd42a
JM
8500 * README: Don't refer to ports add-on as distributed separately.
8501 Mention AArch64 in list of systems supported in the ports add-on.
8502
87600365
JM
8503 * LICENSES: Add more non-FSF copyright and license notices.
8504
a0d7066a
JM
8505 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8506 ((unused)).
8507
66ca5a5b
JM
8508 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8509
363313b5
JM
8510 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8511 10000 as width of padded output.
8512
b37984ad
JM
85132012-12-04 Joseph Myers <joseph@codesourcery.com>
8514
9003570a
JM
8515 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8516
b37984ad
JM
8517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8518 variable LX with __attribute__ ((unused)).
8519 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8520 Likewise.
8521 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8524 with __attribute__ ((unused)).
8525
c8df52ec
DM
85262012-12-04 David S. Miller <davem@abraco.davemloft.net>
8527
8528 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8529
b3b099af
JM
85302012-12-04 Joseph Myers <joseph@codesourcery.com>
8531
c33aa6e3
JM
8532 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8533 (CFLAGS-nldbl-acos.c): New variable.
8534 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8537 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8538 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8539 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8540 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8541 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8542 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8547 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8548 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8549 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8550 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8551 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8552 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8553 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8554 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8555 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8556 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8557 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8558 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8559 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8607 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8608 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8613 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8618 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8623 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8624 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8626 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8627 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8628 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8629 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8630 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8631
20f0018d
JM
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8633 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8634
b3b099af
JM
8635 [BZ #14914]
8636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8637 whole low double instead of just low 47 bits when splitting values
8638 into two parts.
8639
029264d1
AM
86402012-12-03 Allan McRae <allan@archlinux.org>
8641
8642 * manual/stdio.texi (Predefined Printf Handlers): Remove
8643 @hsep and @vsep usage.
8644
c9d6789e
MF
86452012-12-03 Mike Frysinger <vapier@gentoo.org>
8646
8647 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8648 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8649
4b7634a5
JL
86502012-12-03 Jeff Law <law@redhat.com>
8651
8652 * time/sys/time.h (settimeofday): Do not mark TV argument
8653 as __nonnull.
8654
eb6cbd24
MF
86552012-12-01 Mike Frysinger <vapier@gentoo.org>
8656
8657 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8658 when currently writing and seek to current position when not.
8659 * libio/Makefile (tests): Remove bug-fclose1.
8660 * libio/bug-fclose1.c: Delete.
8661
f638872a
JM
86622012-12-01 Joseph Myers <joseph@codesourcery.com>
8663
8664 * manual/arith.texi (feenableexcept): Fix typo.
8665 (fedisableexcept): Likewise.
8666
48085d14
RM
86672012-11-30 Roland McGrath <roland@hack.frob.com>
8668
8669 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8670 second, differently-typed declaration, rather than a cast.
8671
1a538b9f
SP
86722012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8673
8674 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8675 * include/rpc/svc.h: ... here.
8676
d07f2ff1 86772012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8678
8679 [BZ #13013]
8680 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8681 depending n and resplen2 to catch cases where answer
8682 equals answerp2.
8683
c93ec1f0
CD
86842012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8685
8686 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8687 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8688
37db69de
MF
86892012-11-29 Mike Frysinger <vapier@gentoo.org>
8690
8691 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8692
e10c4e4f
RM
86932012-11-29 Roland McGrath <roland@hack.frob.com>
8694
8695 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8696
2af1b328
JL
86972012-11-28 Jeff Law <law@redhat.com>
8698
8699 [BZ #13761]
8700 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8701 dataset_temporary. Track alloca usage into alloca_used.
8702 If dataset is large allocate and release it via malloc/free.
8703
111db5b1
FW
87042012-06-04 Florian Weimer <fweimer@redhat.com>
8705
f06cc227 8706 [BZ #14197]
111db5b1
FW
8707 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8708
dd694abd
DM
87092012-11-28 David S. Miller <davem@davemloft.net>
8710
8711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8712
9984dd01
JM
87132012-11-28 Joseph Myers <joseph@codesourcery.com>
8714
8715 [BZ #14803]
8716 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8717 of pi/2 rounded to nearest to 64 bits.
8718 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8719 nearest to 64 bits.
8720 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8721 bits.
8722
14bc93a9
JL
87232012-11-28 Jeff Law <law@redhat.com>
8724 Martin Osvald <mosvald@redhat.com>
8725
8726 [BZ #14889]
8727 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8728 * sunrpc/svc.c: Include time.h.
8729 (__svc_accept_failed): New function.
8730 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8731 any reason other than EINTR, call __svc_accept_failed.
8732 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8733 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8734
e3c6aa3a
AS
87352012-11-28 Andreas Schwab <schwab@suse.de>
8736
8737 * scripts/abilist.awk: Also handle indirect functions in .opd
8738 section.
8739
1bead169
JM
87402012-11-28 Joseph Myers <joseph@codesourcery.com>
8741
8742 [BZ #13881]
8743 * sysdeps/x86/fpu/powl_helper.c: New file.
8744 * sysdeps/x86/fpu/Makefile: Likewise.
8745 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8746 (p3): New object.
8747 (__ieee754_powl): Use __powl_helper for finite arguments except
8748 integer exponents below 8.
8749 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8750 (p3): New object.
8751 (__ieee754_powl): Use __powl_helper for finite arguments except
8752 integer exponents below 8.
8753 * math/libm-test.inc (pow_test): Add more tests and enable some
8754 previously disabled tests.
8755 * sysdeps/i386/fpu/libm-test-ulps: Update.
8756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757
0817d63d
SP
87582012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8759 Carlos O'Donell <carlos_odonell@mentor.com>
8760
8761 * nss/makedb.c (is_prime): Assert that input is odd and greater
8762 than 4. Note that fact in a comment too.
8763 (next_prime): Add 4 to input.
8764
de2fd463
SP
87652012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
8767 [BZ #11741]
8768 * libio/Makefile (tests): Add test case tst-fwrite-error.
8769 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8770 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8771 * libio/tst-fwrite-error.c: New test case.
8772
c515fb51
L
87732012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8776 before casting to void *.
8777 * include/libc-internal.h (__pointer_type): New macro.
8778 (__integer_if_pointer_type_sub): Likewise.
8779 (__integer_if_pointer_type): Likewise.
8780 (cast_to_integer): Likewise.
8781 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8782 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8783 before casting to atomic64_t.
8784 (atomic_exchange_acq): Likewise.
8785 (__arch_exchange_and_add_body): Likewise.
8786 (__arch_add_body): Likewise.
8787 (atomic_add_negative): Likewise.
8788 (atomic_add_zero): Likewise.
8789
4cf77aa9
JM
87902012-11-26 Joseph Myers <joseph@codesourcery.com>
8791
8792 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8793 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8794 (add_fdes): Likewise.
8795 (linear_search_fdes): Likewise.
8796 (binary_search_unencoded_fdes): Likewise.
8797
d260b3b4
AS
87982012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8799
8800 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8801
67060746
AC
88022012-11-24 Adam Conrad <adconrad@0c3.net>
8803
8804 * configure.in: Autodetect C++ header directories.
8805 * configure: Regenerated.
8806
800938a1
MF
88072012-11-23 Mike Frysinger <vapier@gentoo.org>
8808
8809 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8810
4e6e34e6
AS
88112012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8812
8813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8814
7c7feb47
JM
88152012-11-22 Joseph Myers <joseph@codesourcery.com>
8816
7184dcdf
JM
8817 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8818 LDBL_MANT_DIG == 106]: Disable some tests.
8819 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8820 Likewise.
8821 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8822 Likewise.
8823
0a42601f
JM
8824 [BZ #14871]
8825 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8826 input for small inputs. Return +/- pi/2 for large inputs.
8827 * math/libm-test.inc (atan_test): Add more tests.
8828
79c9b9fe
JM
8829 * sysdeps/generic/unwind-dw2-fde-glibc.c
8830 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8831 __attribute__ ((unused)).
8832
c60d3bf2
JM
8833 [BZ #14645]
8834 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8835 x * y if x and y are nonzero and z is zero.
8836
ef1e0867
JM
8837 [BZ #14811]
8838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8839 nonzero exponents with absolute value below 0x1p-117 to +/-
8840 0x1p-117.
8841
1468ded3
JM
8842 [BZ #14869]
8843 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8844 up arguments below 2**-450, not just those below 2**-500.
8845 * math/libm-test.inc (hypot_test): Add another test.
8846
8e27e3cc
JM
8847 [BZ #14868]
8848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8849 Return a+b for ratio over 2**120, not 2**60.
8850 * math/libm-test.inc (hypot_test): Add another test.
8851
c9c0279b
JM
8852 * math/libm-test.inc (clog_test): Use
8853 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8854 (clog10_test): Likewise.
8855
7c7feb47
JM
8856 [BZ #6778]
8857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8858
fff1530e
AS
88592012-11-22 Andreas Schwab <schwab@suse.de>
8860
8861 * sysdeps/i386/fpu/libm-test-ulps: Update.
8862
94558d30
PT
88632012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8864
8865 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8866 printf output with newline.
8867
7e1be741
L
88682012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8869
6bfea974
L
8870 [BZ #14865]
8871 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8872 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8873 -z nodlopen, -z initfirst and -z execstack support.
8874 * configure: Regenerated.
8875
7e1be741
L
8876 * elf/elf.h (DF_1_NODIRECT): New macro.
8877 (DF_1_IGNMULDEF): Likewise.
8878 (DF_1_NOKSYMS): Likewise.
8879 (DF_1_NOHDR): Likewise.
8880 (DF_1_EDITED): Likewise.
8881 (DF_1_NORELOC): Likewise.
8882 (DF_1_SYMINTPOSE): Likewise.
8883 (DF_1_GLOBAUDIT): Likewise.
8884 (DF_1_SINGLETON): Likewise.
8885 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8886 DT_1_SUPPORTED_MASK bits.
8887 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8888
105ce2ce
CD
88892012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8890
8891 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8892
123be9de
TS
88932012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8894
d072f3f7
TS
8895 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8896 macro.
8897
123be9de
TS
8898 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8899 (sendmmsg): Move declarations...
8900 * socket/sys/socket.h: ... here.
8901 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8902 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8903 include it from...
8904 * socket/recvmmsg.c: ... this new file.
8905 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8906 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8907 definition of __sendmmsg hidden.
8908 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8909 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8910 Move ENOSYS stub into and include it from...
8911 * socket/sendmmsg.c: ... this new file.
8912 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8913 (sysdep_routines): Move recvmmsg and sendmmsg...
8914 * socket/Makefile (routines): ... here.
8915 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8916 (GLIBC_PRIVATE): Add __sendmmsg.
8917 * include/sys/socket.h (__sendmmsg): Add declarations.
8918 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8919 sendmmsg.
8920
cf9a5d18
JM
89212012-11-20 Joseph Myers <joseph@codesourcery.com>
8922
8923 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8924 variable I1 with __attribute__ ((unused)).
8925 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8926
ecd4caf9
JM
89272012-11-19 Joseph Myers <joseph@codesourcery.com>
8928
be14d48f
JM
8929 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8930 DUMMY variables with __attribute__ ((unused)).
8931
ecd4caf9
JM
8932 * bits/byteswap.h: Include <bits/types.h>.
8933 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8934
986cab95
PT
89352012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8936
8937 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8938 string_t. Do not manually set errno.
8939 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8940 length with __strnlen. Make sure to both set errno and return it on
8941 failure.
8942
6d33cc9d
DM
89432012-11-19 David S. Miller <davem@davemloft.net>
8944
8945 With help from Joseph Myers.
8946 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8947 very large arguments properly.
8948 * math/libm-test.inc (atan_test): New tests.
8949 (atan2_test): New tests.
8950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8952
ee663277
JM
89532012-11-19 Joseph Myers <joseph@codesourcery.com>
8954
877f2d8e
JM
8955 [BZ #14856]
8956 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8957 Define to 3.
8958
116fc08a
JM
8959 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8960 [POSIX] (EADDRNOTAVAIL): Likewise.
8961 [POSIX] (EAFNOSUPPORT): Likewise.
8962 [POSIX] (EALREADY): Likewise.
8963 [POSIX] (ECONNABORTED): Likewise.
8964 [POSIX] (ECONNREFUSED): Likewise.
8965 [POSIX] (ECONNRESET): Likewise.
8966 [POSIX] (EDESTADDRREQ): Likewise.
8967 [POSIX] (EDQUOT): Likewise.
8968 [POSIX] (EHOSTUNREACH): Likewise.
8969 [POSIX] (EIDRM): Likewise.
8970 [POSIX] (EISCONN): Likewise.
8971 [POSIX] (ELOOP): Likewise.
8972 [POSIX] (EMULTIHOP): Likewise.
8973 [POSIX] (ENETDOWN): Likewise.
8974 [POSIX] (ENETUNREACH): Likewise.
8975 [POSIX] (ENOBUFS): Likewise.
8976 [POSIX] (ENODATA): Likewise.
8977 [POSIX] (ENOLINK): Likewise.
8978 [POSIX] (ENOMSG): Likewise.
8979 [POSIX] (ENOPROTOOPT): Likewise.
8980 [POSIX] (ENOSR): Likewise.
8981 [POSIX] (ENOSTR): Likewise.
8982 [POSIX] (ENOTCONN): Likewise.
8983 [POSIX] (ENOTSOCK): Likewise.
8984 [POSIX] (EOPNOTSUPP): Likewise.
8985 [POSIX] (EOVERFLOW): Likewise.
8986 [POSIX] (EPROTO): Likewise.
8987 [POSIX] (EPROTONOSUPPORT): Likewise.
8988 [POSIX] (EPROTOTYPE): Likewise.
8989 [POSIX] (ESTALE): Likewise.
8990 [POSIX] (ETIME): Likewise.
8991 [POSIX] (ETXTBSY): Likewise.
8992 [POSIX] (EWOULDBLOCK): Likewise.
8993 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8994 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8995 [POSIX] (SEEK_CUR): Likewise.
8996 [POSIX] (SEEK_END): Likewise.
8997 [POSIX || UNIX98] (mode_t): Do not require.
8998 [POSIX] (off_t): Likewise.
8999 [POSIX] (pid_t): Likewise.
9000 [POSIX] (sys/stat.h): Do not allow header.
9001 [POSIX] (unistd.h): Likewise.
9002 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9003 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9004 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9005 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9006 require.
9007 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9008 sigevent): Specify elements.
9009 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9010 entry.
9011 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9012 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9013
a483863f
JM
9014 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9015 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9016 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9017 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9018 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9019 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9020 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9021 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9022 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9023 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9024 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9025 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9026 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9028 Likewise.
9029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9030 Likewise.
9031 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9032 Likewise.
9033 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9034 Likewise.
9035 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9036 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9037 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9040 Specify lower bound on value.
9041 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9042 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9043 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9044 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9045 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9046 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9047 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9048 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9049 value.
9050 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9051 as optional.
9052 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9053 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9054 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9055 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9056 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9057 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9058 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9059 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9060 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9061 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9062 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9063 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9064 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9065 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9066 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9067 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9068 entry.
9069 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9070 optional.
9071 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9072 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9073 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9074 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9075 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9076 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9077 Likewise.
9078 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9079 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9080 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9081 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9082 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9083 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9084 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9085 as optional.
9086 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9087 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9089 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9090 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9091 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9092 specify as optional.
9093 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9094 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9095 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9096 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9097 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9098 [XPG3] (NL_LANGMAX): Likewise.
9099 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9100 [POSIX || XPG3] (NL_NMAX): Likewise.
9101 [POSIX || XPG3] (NL_SETMAX): Likewise.
9102 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9103 [XPG3] (NZERO): Likewise.
9104 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9105 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9106 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9107 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9108 (REG_ERANGE): Expect.
9109 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9110 optional-constant.
9111 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9112 Use (void) in prototype.
9113 [POSIX] (*_t): Allow.
9114 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9115 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9116 (WRDE_BADVAL): Expect.
9117
5ba924e3
JM
9118 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9119 expect.
9120 [XPG3 || XPG4] (O_RSYNC): Likewise.
9121 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9122 Likewise.
9123 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9124 [XPG3 || XPG4] (sigqueue): Likewise.
9125 [XPG3 || XPG4] (sigtimedwait): Likewise.
9126 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9127 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9128 [XPG3 || XPG4] (vsnprintf): Likewise.
9129 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9130 Likewise.
9131 [XPG3 || XPG4] (blksize_t): Likewise.
9132 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9133 Likewise.
9134 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9135 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9136 [XPG3 || XPG4] (struct itimerspec): Likewise.
9137 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9138 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9139 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9140 [XPG3 || XPG4] (clockid_t): Likewise.
9141 [XPG3 || XPG4] (timer_t): Likewise.
9142 [XPG3 || XPG4] (clock_getres): Likewise.
9143 [XPG3 || XPG4] (clock_gettime): Likewise.
9144 [XPG3 || XPG4] (clock_settime): Likewise.
9145 [XPG3 || XPG4] (nanosleep): Likewise.
9146 [XPG3 || XPG4] (timer_create): Likewise.
9147 [XPG3 || XPG4] (timer_delete): Likewise.
9148 [XPG3 || XPG4] (timer_gettime): Likewise.
9149 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9150 [XPG3 || XPG4] (timer_settime): Likewise.
9151 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9152 [XPG3 || XPG4] (getlogin_r): Likewise.
9153 [XPG3 || XPG4] (pread): Likewise.
9154 [XPG3 || XPG4] (pthread_atfork): Likewise.
9155 [XPG3 || XPG4] (pwrite): Likewise.
9156
ee663277
JM
9157 [BZ #14835]
9158 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9159 <bits/siginfo.h>.
9160
942caa16
PT
91612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9162
e19af380
PT
9163 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9164 finalizing MALLSTREAM.
9165
942caa16
PT
9166 * sysdeps/mach/hurd/syncfs.c: New file.
9167
cfde9b46
SP
91682012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9169
9170 [BZ #14719]
9171 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9172 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9173 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9174 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9175 (_nss_dns_gethostbyname4_r): Likewise.
9176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9177 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9178
f6da27e5
PH
91792012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9180
9181 [BZ #13763]
9182 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9183
6665d4a2
SM
91842012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9185
1f51ee92
SM
9186 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9187 * elf/cache.c (print_entry): Print ",AArch64" for
9188 FLAG_AARCH64_LIB64
9189
6665d4a2
SM
9190 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9191 * elf/cache.c (print_entry): Print ",hard-float" for
9192 FLAG_ARM_LIBHF.
9193
05b227bd
DM
91942012-11-18 David S. Miller <davem@davemloft.net>
9195
9196 With help from Joseph Myers.
9197 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9198 cutoff to 2**-13.
9199 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9200 cutoff to 2**-25.
9201 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9202 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9203 small.
9204 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9205 * math/libm-test.inc (y0_test): New tests.
9206 (y1_test): New tests.
9207 * sysdeps/i386/fpu/libm-test-ulps: Update.
9208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9210
786b0b67
AS
92112012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9212
9213 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9214 64-bit targets.
9215 * configure: Regenerated.
9216
8e18b86d
DM
92172012-11-17 David S. Miller <davem@davemloft.net>
9218
9219 [BZ #14811]
9220 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9221 nonzero exponents with absolute value below 0x1p-128 to +/-
9222 0x1p-128.
9223
531f1ae0
JM
92242012-11-17 Joseph Myers <joseph@codesourcery.com>
9225
12df29e2
JM
9226 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9227
150dc1a0
JM
9228 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9229
531f1ae0
JM
9230 * posix/getconf-speclist.c: New file.
9231 * posix/posix-envs.def: Likewise.
9232 * posix/confstr.c (START_ENV_GROUP): New macro.
9233 (END_ENV_GROUP): Likewise.
9234 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9235 (KNOWN_PRESENT_ENV_STRING): Likewise.
9236 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9237 (UNKNOWN_ENVIRONMENT): Likewise.
9238 (confstr): Include posix-envs.def instead of handling
9239 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9240 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9241 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9242 (END_ENV_GROUP): Likewise.
9243 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9244 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9245 (UNKNOWN_ENVIRONMENT): Likewise.
9246 (__sysconf): Include posix-envs.def instead of handling associated
9247 cases directly here.
9248 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9249 preprocessing getconf-speclist.c rather than running getconf or
9250 generating empty file.
9251
a93f9cbc
PT
92522012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9253
9254 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9255
d64d9f87
AL
92562012-11-16 Andrej Lajovic <natrij@gmail.com>
9257
9258 [BZ #14672]
9259 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9260
447885eb
DM
92612012-11-16 David S. Miller <davem@davemloft.net>
9262
9263 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9264 smaller than LDBL_EPSILON/2.0L, just return xm1.
9265
bcbf9830
L
92662012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9267
9268 * elf/tst-array1.c (init): Set constructor priority to 1000.
9269 (fini): Set destructor priority to 1000.
9270 * elf/tst-array2dep.c: Likewise.
9271
2b766585
SP
92722012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9273
9274 [BZ #11741]
9275 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9276 (_IO_new_file_xsputn): Also return EOF if none of the input
9277 data was written when overflow failed.
9278 * libio/iopadn.c (_IO_padn): Likewise.
9279 * libio/iowpadn.c (_IO_wpadn): Likewise.
9280 * stdio-common/tst-put-error.c: Add copyright notice.
9281 (do_test): Add case for printing padded string.
9282 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9283 _IO_padn returned error.
9284 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9285 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9286 return EOF.
9287
b1848fde
SP
92882012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9289
9290 * libio/libioP.h: Add comment note that the references to C++
9291 bits are now obsolete.
9292
2fd89785
MS
92932012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9294
9295 * math/libm-test.inc (check_complex): Use asprintf.
9296
e3ea5409
JM
92972012-11-14 Joseph Myers <joseph@codesourcery.com>
9298
9299 * debug/pcprofiledump.c (print_version): Update copyright year.
9300 * malloc/memusagestat.c (print_version): Likewise.
9301
2e64d265
L
93022012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 [BZ #14831]
9305 * elf/Makefile (tests): Add tst-audit8.
9306 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9307 ($(objpfx)tst-audit8.out): New target.
9308 (tst-audit8-ENV): New variable.
9309 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9310 audit if l_reloc_result is NULL.
9311 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9312 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9313 * elf/tst-audit8.c: New file.
9314
c485e4d2
MS
93152012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9316
9317 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9318 * misc/Makefile (CFLAGS-select.c): Define.
9319 * posix/Makefile (CFLAGS-pause.c): Define.
9320
3a0d900a
DM
93212012-11-13 David S. Miller <davem@davemloft.net>
9322
9323 * crypt/Makefile: Move test targets after toplevel Rules
9324 inclusion. Grab any necessary sysdep routines when linking.
9325 * crypt/md5.c (md5_process_block): Remove define, we will always
9326 name it __md5_process_block.
9327 (md5_finish_ctx): Update md5_process_block call.
9328 (md5_stream): Likewise.
9329 (md5_process_bytes): Likewise.
9330 (md5_process_block): Rename to __md5_process_block and move to ...
9331 * crypt/md5-block.c: ... here.
9332 * crypt/sha256.c (sha256_process_block): Move to ...
9333 * crypt/sha256-block.c: ... here.
9334 * crypt/sha512.c (sha512_process_block): Move to ...
9335 * crypt/sha512-block.c: ... here.
9336 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9337 path.
9338 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9339 * sysdeps/sparc/sparc64/multiarch/Makefile
9340 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9341 crypt subdir.
9342 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9343 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9344 multiarch changes.
9345 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9346 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9347 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9348 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9349 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9350 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9351 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9352 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9353 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9354 file.
9355 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9356 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9357 file.
9358 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9359
8ca89318
JM
93602012-11-13 Joseph Myers <joseph@codesourcery.com>
9361
e27d476a
JM
9362 * timezone/tzselect.ksh: Update from tzcode git revision
9363 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9364 * timezone/zdump.c: Likewise.
9365 * timezone/zic.c: Likewise.
9366 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9367 in TZVERSION setting, not $(PKGVERSION).
9368 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9369 REPORT_BUGS_TO settings.
9370
8ca89318
JM
9371 [BZ #14838]
9372 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9373 macro.
9374
47594329
MS
93752012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9376
9377 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9378 detection to immediately after _FP_ROUND().
9379 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9380 bits are 0.
9381
640ac3f1
DM
93822012-11-11 David S. Miller <davem@davemloft.net>
9383
9384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9385 inttypes.h
9386 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9387 __close rather than their public counterparts.
9388
3d2577bb
JM
93892012-11-10 Joseph Myers <joseph@codesourcery.com>
9390
9391 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9392 file.
9393 [UNIX98] (sem_timedwait): Do not expect.
9394 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9395 [XPG4 || UNIX98] (sockatmark): Do not expect.
9396 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9397 (clock_getcpuclockid): Do not expect.
9398 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9399 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9400 Do not expect.
9401 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9402 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9403 [UNIX98] (vwscanf): Likewise.
9404 [UNIX98] (vswscanf): Likewise.
9405
fb1ae1ee
JM
94062012-11-09 Joseph Myers <joseph@codesourcery.com>
9407
9ec6f8bd
JM
9408 * timezone/version.h: Remove file.
9409 * timezone/README: Do not refer to version.h.
9410 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9411 $(objpfx)version.h.
9412 ($(objpfx)zdump.o): Likewise.
c3f81911 9413 ($(objpfx)version.h): New target.
9ec6f8bd 9414
0aa8f8a1
JM
9415 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9416 2012i.
9417 * timezone/README: Don't mention modification to tzselect.ksh.
9418 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9419 work on unmodified tzselect.ksh. Substitute version numbers in
9420 tzselect.ksh.
9421
4e87147f
JM
9422 * Makefile (format-me): Remove.
9423 (INSTALL): Adjust indentation. Use commands directly instead of
9424 using $(format-me).
9425
8b748aed
JM
9426 * aclocal.m4 (ACX_PKGVERSION): New macro.
9427 (ACX_BUGURL): Likewise.
9428 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9429 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9430 (REPORT_BUGS_TO): Likewise.
9431 * configure: Regenerated.
9432 * config.h.in (PKGVERSION): New macro.
9433 (REPORT_BUGS_TO): Likewise.
9434 * config.make.in (PKGVERSION): New variable.
9435 (PKGVERSION_TEXI): Likewise.
9436 (REPORT_BUGS_TO): Likewise.
9437 (REPORT_BUGS_TEXI): Likewise.
9438 * Makefile (format-me): Use -I$(common-objpfx)manual.
9439 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9440 ($(common-objpfx)manual/%): New target.
9441 (manual/%): Remove target.
9442 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9443 (print_version): Use PKGVERSION.
9444 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9445 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9446 and REPORT_BUGS_TO.
9447 ($(objpfx)xtrace): Likewise.
9448 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9449 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9450 (print_version): Use PKGVERSION.
9451 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9452 (do_version): Use PKGVERSION.
9453 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9454 REPORT_BUGS_TO.
9455 (common-ldd-rewrite): Likewise.
9456 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9457 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9458 (print_version): Use PKGVERSION.
9459 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9460 * elf/pldd.c (argp_program_bug_address): Remove variable.
9461 (more_help): New function.
9462 (argp): Use more_help.
9463 (print_version): Use PKGVERSION.
9464 * elf/sln.c (main): Use PKGVERSION.
9465 (usage): Use REPORT_BUGS_TO.
9466 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9467 (top level): Use PKGVERSION.
9468 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9469 (print_version): Use PKGVERSION.
9470 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9471 (print_version): Use PKGVERSION.
9472 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9473 (print_version): Use PKGVERSION.
9474 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9475 (print_version): Use PKGVERSION.
9476 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9477 (print_version): Use PKGVERSION.
9478 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9479 (print_version): Use PKGVERSION.
9480 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9481 and BUGURL.
9482 ($(objpfx)memusage): Likewise.
9483 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9484 (do_version): Use PKGVERSION.
9485 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9486 (print_version): Use PKGVERSION.
9487 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9488 ($PKGVERSION): New variable.
9489 ($REPORT_BUGS_TO): Likewise.
9490 (usage): Use $REPORT_BUGS_TO.
9491 (top level): Use $PKGVERSION.
9492 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9493 ($(objpfx)pkgvers.texi): New rule.
9494 ($(objpfx)stamp-pkgvers): Likewise.
9495 * manual/install.texi: Include pkgvers.texi.
9496 (--with-pkgversion): Document new configure option.
9497 (--with-bugurl): Likewise.
9498 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9499 than necessarily for this particular distribution. Use
9500 REPORT_BUGS_TO for where to report bugs.
9501 * INSTALL: Regenerated.
9502 * manual/libc.texinfo: Include pkgvers.texi.
9503 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9504 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9505 (print_version): Use PKGVERSION.
9506 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9507 (print_version): Use PKGVERSION.
9508 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9509 (print_version): Use PKGVERSION.
9510 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9511 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9512 macro.
9513 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9514 (print_version): Use PKGVERSION.
9515 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9516 (print_version): Use PKGVERSION.
9517 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9518 and PKGVERSION.
9519
92e4b6a9
JM
9520 * timezone/checktab.awk: Update from tzcode 2012i.
9521 * timezone/ialloc.c: Likewise.
9522 * timezone/private.h: Likewise.
9523 * timezone/scheck.c: Likewise.
9524 * timezone/tzfile.h: Likewise.
9525 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9526 (TZVERSION): Hardcode tzcode version number.
9527 * timezone/zdump.c: Update from tzcode 2012i.
9528 * timezone/zic.c: Likewise.
9529 * timezone/version.h: New file.
9530 * timezone/README: Describe version.h. Update upstream location.
9531
9bde902c
JM
9532 [BZ #14824]
9533 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9534 (mktemp): Enable declaration.
9535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9539 Likewise.
9540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9541 Likewise.
9542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9543 Likewise.
9544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9545 Likewise.
9546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9547 Likewise.
9548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9549 Likewise.
9550
fb1ae1ee
JM
9551 [BZ #14821]
9552 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9553 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9554 for copies of such integer values.
9555 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9556 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9557
2c1adbcb
AJ
95582012-11-09 Andreas Jaeger <aj@suse.de>
9559
9560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9561 definitions and declarations that are provided by
9562 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9563
d0f8457e
AK
95642012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9565
3a235abb 9566 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9567 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9568 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9569 definition.
9570
57241e26
MS
95712012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9572
9573 * elf/elf.h: Update comment before AArch64 relocations.
9574
60e8270d
DM
95752012-11-07 David S. Miller <davem@davemloft.net>
9576
9577 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9578 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9579 (__start_context): Declare.
9580 (__makecontext_ret): Delete.
9581 (__makecontext): Hook up __start_context instead of
9582 __makecontext_ret.
9583 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9584 (sysdep_routines): Add __start_context when in stdlib.
9585
0fbb0fbc
JM
95862012-11-07 Joseph Myers <joseph@codesourcery.com>
9587
9588 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9589 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9590 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9591 hardcoded "nm".
9592 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9593 (READELF): New variable. Use it instead of hardcoded "readelf".
9594
eb48db7e
L
95952012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9598 * sysdeps/x86/Makefile: Here.
9599 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9600 * sysdeps/x86/tst-xmmymm.sh: This.
9601
05bcf62a
JM
96022012-11-07 Joseph Myers <joseph@codesourcery.com>
9603
c4b6cf53
JM
9604 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9605 expectations.
9606 [UNIX98] (pthread_barrier_t): Do not expect.
9607 [UNIX98] (pthread_barrierattr_t): Likewise.
9608 [UNIX98] (pthread_spinlock_t): Likewise.
9609 [UNIX98] (pthread_barrier_destroy): Likewise.
9610 [UNIX98] (pthread_barrier_init): Likewise.
9611 [UNIX98] (pthread_barrier_wait): Likewise.
9612 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9613 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9614 [UNIX98] (pthread_barrierattr_init): Likewise.
9615 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9616 [UNIX98] (pthread_getcpuclockid): Likewise.
9617 [UNIX98] (pthread_mutex_timedlock): Likewise.
9618 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9619 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9620 [UNIX98] (pthread_sigmask): Likewise.
9621 [UNIX98] (pthread_spin_destroy): Likewise.
9622 [UNIX98] (pthread_spin_init): Likewise.
9623 [UNIX98] (pthread_spin_lock): Likewise.
9624 [UNIX98] (pthread_spin_trylock): Likewise.
9625 [UNIX98] (pthread_spin_unlock): Likewise.
9626 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9627 Do not expect.
9628 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9629 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9630 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9631 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9632 [XPG3 || XPG4] (pthread_key_t): Likewise.
9633 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9634 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9635 [XPG3 || XPG4] (pthread_once_t): Likewise.
9636 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9637 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9638 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9639 [XPG3 || XPG4] (pthread_t): Likewise.
9640
cbe6e120
JM
9641 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9642 not expect.
9643 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9644
1b126443
JM
9645 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9646 Change function return type to int.
9647
b961a573
JM
9648 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9649 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9650 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9651 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9652 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9653 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9654 [!POSIX] (posix_madvise): Likewise.
9655 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9656 && !UNIX98].
9657 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9658 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9659 (mode_t): Likewise.
9660 (posix_mem_offset): Likewise.
9661 (posix_typed_mem_get_info): Likewise.
9662 (posix_typed_mem_open): Likewise.
9663
9e188909
JM
9664 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9665 Change condition to [XOPEN2K8].
9666
05bcf62a
JM
9667 * conform/conformtest.pl: Preprocess allow-header data with -x c
9668 instead of from stdin.
9669 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9670 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9671 [C99-based standards] (cerfc): Likewise.
9672 [C99-based standards] (cexp2): Likewise.
9673 [C99-based standards] (cexpm1): Likewise.
9674 [C99-based standards] (clog10): Likewise.
9675 [C99-based standards] (clog1p): Likewise.
9676 [C99-based standards] (clog2): Likewise.
9677 [C99-based standards] (clgamma): Likewise.
9678 [C99-based standards] (ctgamma): Likewise.
9679 [C99-based standards] (cerff): Likewise.
9680 [C99-based standards] (cerfcf): Likewise.
9681 [C99-based standards] (cexp2f): Likewise.
9682 [C99-based standards] (cexpm1f): Likewise.
9683 [C99-based standards] (clog10f): Likewise.
9684 [C99-based standards] (clog1pf): Likewise.
9685 [C99-based standards] (clog2f): Likewise.
9686 [C99-based standards] (clgammaf): Likewise.
9687 [C99-based standards] (ctgammaf): Likewise.
9688 [C99-based standards] (cerfl): Likewise.
9689 [C99-based standards] (cerfcl): Likewise.
9690 [C99-based standards] (cexp2l): Likewise.
9691 [C99-based standards] (cexpm1l): Likewise.
9692 [C99-based standards] (clog10l): Likewise.
9693 [C99-based standards] (clog1pl): Likewise.
9694 [C99-based standards] (clog2l): Likewise.
9695 [C99-based standards] (clgammal): Likewise.
9696 [C99-based standards] (ctgammal): Likewise.
9697 * conform/data/inttypes.h-data [C99-based standards]: Include
9698 stdint.h-data. Remove all expectations for stdint.h contents.
9699 [C99-based standards] (PRI*): Do not allow.
9700 [C99-based standards] (SCN*): Likewise.
9701 [C99-based standards] (*_t): Likewise.
9702 [C99-based-standards] (PRId8): Expect macro.
9703 [C99-based-standards] (PRIi8): Likewise.
9704 [C99-based-standards] (PRIo8): Likewise.
9705 [C99-based-standards] (PRIu8): Likewise.
9706 [C99-based-standards] (PRIx8): Likewise.
9707 [C99-based-standards] (PRIX8): Likewise.
9708 [C99-based-standards] (SCNd8): Likewise.
9709 [C99-based-standards] (SCNi8): Likewise.
9710 [C99-based-standards] (SCNo8): Likewise.
9711 [C99-based-standards] (SCNu8): Likewise.
9712 [C99-based-standards] (SCNx8): Likewise.
9713 [C99-based-standards] (PRIdLEAST8): Likewise.
9714 [C99-based-standards] (PRIiLEAST8): Likewise.
9715 [C99-based-standards] (PRIoLEAST8): Likewise.
9716 [C99-based-standards] (PRIuLEAST8): Likewise.
9717 [C99-based-standards] (PRIxLEAST8): Likewise.
9718 [C99-based-standards] (PRIXLEAST8): Likewise.
9719 [C99-based-standards] (SCNdLEAST8): Likewise.
9720 [C99-based-standards] (SCNiLEAST8): Likewise.
9721 [C99-based-standards] (SCNoLEAST8): Likewise.
9722 [C99-based-standards] (SCNuLEAST8): Likewise.
9723 [C99-based-standards] (SCNxLEAST8): Likewise.
9724 [C99-based-standards] (PRIdFAST8): Likewise.
9725 [C99-based-standards] (PRIiFAST8): Likewise.
9726 [C99-based-standards] (PRIoFAST8): Likewise.
9727 [C99-based-standards] (PRIuFAST8): Likewise.
9728 [C99-based-standards] (PRIxFAST8): Likewise.
9729 [C99-based-standards] (PRIXFAST8): Likewise.
9730 [C99-based-standards] (SCNdFAST8): Likewise.
9731 [C99-based-standards] (SCNiFAST8): Likewise.
9732 [C99-based-standards] (SCNoFAST8): Likewise.
9733 [C99-based-standards] (SCNuFAST8): Likewise.
9734 [C99-based-standards] (SCNxFAST8): Likewise.
9735 [C99-based-standards] (PRId16): Likewise.
9736 [C99-based-standards] (PRIi16): Likewise.
9737 [C99-based-standards] (PRIo16): Likewise.
9738 [C99-based-standards] (PRIu16): Likewise.
9739 [C99-based-standards] (PRIx16): Likewise.
9740 [C99-based-standards] (PRIX16): Likewise.
9741 [C99-based-standards] (SCNd16): Likewise.
9742 [C99-based-standards] (SCNi16): Likewise.
9743 [C99-based-standards] (SCNo16): Likewise.
9744 [C99-based-standards] (SCNu16): Likewise.
9745 [C99-based-standards] (SCNx16): Likewise.
9746 [C99-based-standards] (PRIdLEAST16): Likewise.
9747 [C99-based-standards] (PRIiLEAST16): Likewise.
9748 [C99-based-standards] (PRIoLEAST16): Likewise.
9749 [C99-based-standards] (PRIuLEAST16): Likewise.
9750 [C99-based-standards] (PRIxLEAST16): Likewise.
9751 [C99-based-standards] (PRIXLEAST16): Likewise.
9752 [C99-based-standards] (SCNdLEAST16): Likewise.
9753 [C99-based-standards] (SCNiLEAST16): Likewise.
9754 [C99-based-standards] (SCNoLEAST16): Likewise.
9755 [C99-based-standards] (SCNuLEAST16): Likewise.
9756 [C99-based-standards] (SCNxLEAST16): Likewise.
9757 [C99-based-standards] (PRIdFAST16): Likewise.
9758 [C99-based-standards] (PRIiFAST16): Likewise.
9759 [C99-based-standards] (PRIoFAST16): Likewise.
9760 [C99-based-standards] (PRIuFAST16): Likewise.
9761 [C99-based-standards] (PRIxFAST16): Likewise.
9762 [C99-based-standards] (PRIXFAST16): Likewise.
9763 [C99-based-standards] (SCNdFAST16): Likewise.
9764 [C99-based-standards] (SCNiFAST16): Likewise.
9765 [C99-based-standards] (SCNoFAST16): Likewise.
9766 [C99-based-standards] (SCNuFAST16): Likewise.
9767 [C99-based-standards] (SCNxFAST16): Likewise.
9768 [C99-based-standards] (PRId32): Likewise.
9769 [C99-based-standards] (PRIi32): Likewise.
9770 [C99-based-standards] (PRIo32): Likewise.
9771 [C99-based-standards] (PRIu32): Likewise.
9772 [C99-based-standards] (PRIx32): Likewise.
9773 [C99-based-standards] (PRIX32): Likewise.
9774 [C99-based-standards] (SCNd32): Likewise.
9775 [C99-based-standards] (SCNi32): Likewise.
9776 [C99-based-standards] (SCNo32): Likewise.
9777 [C99-based-standards] (SCNu32): Likewise.
9778 [C99-based-standards] (SCNx32): Likewise.
9779 [C99-based-standards] (PRIdLEAST32): Likewise.
9780 [C99-based-standards] (PRIiLEAST32): Likewise.
9781 [C99-based-standards] (PRIoLEAST32): Likewise.
9782 [C99-based-standards] (PRIuLEAST32): Likewise.
9783 [C99-based-standards] (PRIxLEAST32): Likewise.
9784 [C99-based-standards] (PRIXLEAST32): Likewise.
9785 [C99-based-standards] (SCNdLEAST32): Likewise.
9786 [C99-based-standards] (SCNiLEAST32): Likewise.
9787 [C99-based-standards] (SCNoLEAST32): Likewise.
9788 [C99-based-standards] (SCNuLEAST32): Likewise.
9789 [C99-based-standards] (SCNxLEAST32): Likewise.
9790 [C99-based-standards] (PRIdFAST32): Likewise.
9791 [C99-based-standards] (PRIiFAST32): Likewise.
9792 [C99-based-standards] (PRIoFAST32): Likewise.
9793 [C99-based-standards] (PRIuFAST32): Likewise.
9794 [C99-based-standards] (PRIxFAST32): Likewise.
9795 [C99-based-standards] (PRIXFAST32): Likewise.
9796 [C99-based-standards] (SCNdFAST32): Likewise.
9797 [C99-based-standards] (SCNiFAST32): Likewise.
9798 [C99-based-standards] (SCNoFAST32): Likewise.
9799 [C99-based-standards] (SCNuFAST32): Likewise.
9800 [C99-based-standards] (SCNxFAST32): Likewise.
9801 [C99-based-standards] (PRId64): Likewise.
9802 [C99-based-standards] (PRIi64): Likewise.
9803 [C99-based-standards] (PRIo64): Likewise.
9804 [C99-based-standards] (PRIu64): Likewise.
9805 [C99-based-standards] (PRIx64): Likewise.
9806 [C99-based-standards] (PRIX64): Likewise.
9807 [C99-based-standards] (SCNd64): Likewise.
9808 [C99-based-standards] (SCNi64): Likewise.
9809 [C99-based-standards] (SCNo64): Likewise.
9810 [C99-based-standards] (SCNu64): Likewise.
9811 [C99-based-standards] (SCNx64): Likewise.
9812 [C99-based-standards] (PRIdLEAST64): Likewise.
9813 [C99-based-standards] (PRIiLEAST64): Likewise.
9814 [C99-based-standards] (PRIoLEAST64): Likewise.
9815 [C99-based-standards] (PRIuLEAST64): Likewise.
9816 [C99-based-standards] (PRIxLEAST64): Likewise.
9817 [C99-based-standards] (PRIXLEAST64): Likewise.
9818 [C99-based-standards] (SCNdLEAST64): Likewise.
9819 [C99-based-standards] (SCNiLEAST64): Likewise.
9820 [C99-based-standards] (SCNoLEAST64): Likewise.
9821 [C99-based-standards] (SCNuLEAST64): Likewise.
9822 [C99-based-standards] (SCNxLEAST64): Likewise.
9823 [C99-based-standards] (PRIdFAST64): Likewise.
9824 [C99-based-standards] (PRIiFAST64): Likewise.
9825 [C99-based-standards] (PRIoFAST64): Likewise.
9826 [C99-based-standards] (PRIuFAST64): Likewise.
9827 [C99-based-standards] (PRIxFAST64): Likewise.
9828 [C99-based-standards] (PRIXFAST64): Likewise.
9829 [C99-based-standards] (SCNdFAST64): Likewise.
9830 [C99-based-standards] (SCNiFAST64): Likewise.
9831 [C99-based-standards] (SCNoFAST64): Likewise.
9832 [C99-based-standards] (SCNuFAST64): Likewise.
9833 [C99-based-standards] (SCNxFAST64): Likewise.
9834 [C99-based-standards] (PRIdMAX): Likewise.
9835 [C99-based-standards] (PRIiMAX): Likewise.
9836 [C99-based-standards] (PRIoMAX): Likewise.
9837 [C99-based-standards] (PRIuMAX): Likewise.
9838 [C99-based-standards] (PRIxMAX): Likewise.
9839 [C99-based-standards] (PRIXMAX): Likewise.
9840 [C99-based-standards] (SCNdMAX): Likewise.
9841 [C99-based-standards] (SCNiMAX): Likewise.
9842 [C99-based-standards] (SCNoMAX): Likewise.
9843 [C99-based-standards] (SCNuMAX): Likewise.
9844 [C99-based-standards] (SCNxMAX): Likewise.
9845 [C99-based-standards] (PRIdPTR): Likewise.
9846 [C99-based-standards] (PRIiPTR): Likewise.
9847 [C99-based-standards] (PRIoPTR): Likewise.
9848 [C99-based-standards] (PRIuPTR): Likewise.
9849 [C99-based-standards] (PRIxPTR): Likewise.
9850 [C99-based-standards] (PRIXPTR): Likewise.
9851 [C99-based-standards] (SCNdPTR): Likewise.
9852 [C99-based-standards] (SCNiPTR): Likewise.
9853 [C99-based-standards] (SCNoPTR): Likewise.
9854 [C99-based-standards] (SCNuPTR): Likewise.
9855 [C99-based-standards] (SCNxPTR): Likewise.
9856 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9857 allow.
9858 * conform/data/stdint.h-data: Update comments to clarify
9859 requirements.
9860 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9861 type.
9862 [C99-based standards] (INT8_MAX): Likewise.
9863 [C99-based standards] (INT16_MIN): Likewise.
9864 [C99-based standards] (INT16_MAX): Likewise.
9865 [C99-based standards] (INT32_MIN): Likewise.
9866 [C99-based standards] (INT32_MAX): Likewise.
9867 [C99-based standards] (INT64_MIN): Likewise.
9868 [C99-based standards] (INT64_MAX): Likewise.
9869 [C99-based standards] (UINT8_MAX): Likewise.
9870 [C99-based standards] (UINT16_MAX): Likewise.
9871 [C99-based standards] (UINT32_MAX): Likewise.
9872 [C99-based standards] (UINT64_MAX): Likewise.
9873 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9874 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9875 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9876 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9877 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9878 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9879 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9880 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9881 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9882 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9883 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9884 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9885 [C99-based standards] (INT_FAST8_MIN): Likewise.
9886 [C99-based standards] (INT_FAST8_MAX): Likewise.
9887 [C99-based standards] (INT_FAST16_MIN): Likewise.
9888 [C99-based standards] (INT_FAST16_MAX): Likewise.
9889 [C99-based standards] (INT_FAST32_MIN): Likewise.
9890 [C99-based standards] (INT_FAST32_MAX): Likewise.
9891 [C99-based standards] (INT_FAST64_MIN): Likewise.
9892 [C99-based standards] (INT_FAST64_MAX): Likewise.
9893 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9894 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9895 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9896 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9897 [C99-based standards] (INTPTR_MIN): Likewise.
9898 [C99-based standards] (INTPTR_MAX): Likewise.
9899 [C99-based standards] (UINTPTR_MAX): Likewise.
9900 [C99-based standards] (INTMAX_MIN): Likewise.
9901 [C99-based standards] (INTMAX_MAX): Likewise.
9902 [C99-based standards] (UINTMAX_MAX): Likewise.
9903 [C99-based standards] (PTRDIFF_MIN): Likewise.
9904 [C99-based standards] (PTRDIFF_MAX): Likewise.
9905 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9906 [C99-based standards] (SIZE_MAX): Likewise.
9907 [C99-based standards] (WCHAR_MAX): Likewise.
9908 [C99-based standards] (WINT_MAX): Likewise.
9909 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9910 constraint on value.
9911 [C99-based standards] (WCHAR_MIN): Likewise.
9912 [C99-based standards] (WINT_MIN): Likewise.
9913 [C99-based standards] (*_t): Allow.
9914 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9915 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9916 Include math.h-data and complex.h-data. Remove all expectations
9917 of math.h and complex.h contents.
9918 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9919 at end of line.
9920 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9921 (struct tm): Expect tag.
9922 [C99-based-standards] (wcstof): Expect function.
9923 [C99-based-standards] (wcstold): Likewise.
9924 [C99-based-standards] (wcstoll): Likewise.
9925 [C99-based-standards] (wcstoull): Likewise.
9926 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9927 macro-int-constant. Specify type.
9928 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9929 constraint on value.
9930 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9931 Specify type.
9932 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9933 Specify value.
9934 [ISO C standards]: Do not allow headers.
9935 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9936 wcs[abcdefghijklmnopqrstuvwxyz]*.
9937 [ISO C standards] (*_t): Do not allow.
9938 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9939 Expect function.
9940 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9941 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9942 Specify type.
9943 [ISO C standards]: Do not allow headers.
9944 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9945 is[abcdefghijklmnopqrstuvwxyz]*.
9946 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9947 to[abcdefghijklmnopqrstuvwxyz]*.
9948 [ISO C standards] (*_t): Do not allow.
9949 * conform/data/stdalign.h-data: New file.
9950 * conform/data/stdbool.h-data: Likewise.
9951 * conform/data/stdnoreturn.h-data: Likewise.
9952
7514feb8
RM
99532012-11-07 Roland McGrath <roland@hack.frob.com>
9954
9955 [BZ #14815]
9956 * manual/filesys.texi (Directory Entries): Typo fix.
9957 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9958
19b2ecfc
MS
99592012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9960
9961 * elf/elf.h (EM_AARCH64): New macro.
9962 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9963 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9964 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9965 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9966 (R_AARCH64_TLSDESC): Likewise.
9967 (NT_ARM_TLS): Likewise.
9968 (NT_ARM_HW_BREAK): Likewise.
9969 (NT_ARM_HW_WATCH): Likewise.
9970
60e235ee
JM
99712012-11-07 Joseph Myers <joseph@codesourcery.com>
9972
9973 [BZ #14811]
9974 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9975 (__ieee754_powl): Saturate nonzero exponents with absolute value
9976 below 0x1p-79 to +/- 0x1p-79.
9977 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9978 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9979 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9980 nonzero exponents with absolute value below 0x1p-32 to +/-
9981 0x1p-32.
9982 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9983 (__ieee754_powl): Saturate nonzero exponents with absolute value
9984 below 0x1p-79 to +/- 0x1p-79.
9985 * math/libm-test.inc (pow_test): Add more tests.
9986
0ab234b7
AK
99872012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9988
9989 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9990 _dl_s390_cap_flags with kernel. Increase string length.
9991 (_dl_s390_platforms): Add z196 and zEC12.
9992
45832f74
JM
99932012-11-07 Joseph Myers <joseph@codesourcery.com>
9994
9995 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9996 Change XOPEN21K to XOPEN2K.
9997
19218757
MK
99982012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9999
10000 * string/memmove.c: Use memcpy when possible.
10001
c5f45721
AJ
100022012-11-06 Andreas Jaeger <aj@suse.de>
10003
10004 * po/eo.po: Update from translation team.
10005
82477c28
JM
100062012-11-06 Joseph Myers <joseph@codesourcery.com>
10007
10008 [BZ #14793]
10009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10010 exponent and small x and y exponents, scale x or y up. Increase
10011 by 2 the exponent used in scaling up.
10012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10014 * math/libm-test.inc (fma_test): Add more tests.
10015 (fma_test_towardzero): Likewise.
10016 (fma_test_downward): Likewise.
10017 (fma_test_upward): Likewise.
10018
99252c8c
JM
100192012-11-05 Joseph Myers <joseph@codesourcery.com>
10020
acfa885f
JM
10021 [BZ #14805]
10022 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10023 fenv_t *.
10024
99252c8c
JM
10025 [BZ #14801]
10026 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10027 namespace for names of struct fields.
10028 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10029 fenv_t fields.
10030 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10031 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10032
d6d98dea
ST
100332012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10034
10035 [BZ #3665]
10036 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10037
e10bb107
TS
100382012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10039
10040 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10041 PTR_DEMANGLE.
10042
10043 [BZ #5246]
10044 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10045 PTR_DEMANGLE.
10046
a0c2940d
JM
100472012-11-04 Joseph Myers <joseph@codesourcery.com>
10048
10049 [BZ #14797]
10050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10051 definitely overflow as x * y not x * y + z.
10052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10053 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10054 * math/libm-test.inc (fma_test): Add more tests.
10055 (fma_test_towardzero): Likewise.
10056 (fma_test_downward): Likewise.
10057 (fma_test_upward): Likewise.
10058
b830319d
TS
100592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10060
10061 [BZ #157]
10062
10063 * include/stub-tag.h: Remove file.
10064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10065 '#include' of it.
10066 * manual/maint.texi (Porting): Don't reference it.
10067 * Makerules ($(objpfx)stubs): Likewise.
10068 * dirent/closedir.c: Don't include <stub-tag.h>.
10069 * dirent/dirfd.c: Likewise.
10070 * dirent/fdopendir.c: Likewise.
10071 * dirent/getdents.c: Likewise.
10072 * dirent/getdents64.c: Likewise.
10073 * dirent/opendir.c: Likewise.
10074 * dirent/readdir.c: Likewise.
10075 * dirent/readdir64.c: Likewise.
10076 * dirent/readdir64_r.c: Likewise.
10077 * dirent/readdir_r.c: Likewise.
10078 * dirent/rewinddir.c: Likewise.
10079 * dirent/seekdir.c: Likewise.
10080 * dirent/telldir.c: Likewise.
10081 * gmon/profil.c: Likewise.
10082 * grp/setgroups.c: Likewise.
10083 * inet/if_index.c: Likewise.
10084 * io/access.c: Likewise.
10085 * io/chdir.c: Likewise.
10086 * io/chmod.c: Likewise.
10087 * io/chown.c: Likewise.
10088 * io/close.c: Likewise.
10089 * io/dup.c: Likewise.
10090 * io/dup2.c: Likewise.
10091 * io/dup3.c: Likewise.
10092 * io/euidaccess.c: Likewise.
10093 * io/faccessat.c: Likewise.
10094 * io/fchdir.c: Likewise.
10095 * io/fchmod.c: Likewise.
10096 * io/fchmodat.c: Likewise.
10097 * io/fchown.c: Likewise.
10098 * io/fchownat.c: Likewise.
10099 * io/fcntl.c: Likewise.
10100 * io/flock.c: Likewise.
10101 * io/fstatfs.c: Likewise.
10102 * io/fstatfs64.c: Likewise.
10103 * io/fstatvfs.c: Likewise.
10104 * io/fstatvfs64.c: Likewise.
10105 * io/futimens.c: Likewise.
10106 * io/fxstat.c: Likewise.
10107 * io/fxstat64.c: Likewise.
10108 * io/fxstatat.c: Likewise.
10109 * io/fxstatat64.c: Likewise.
10110 * io/getcwd.c: Likewise.
10111 * io/isatty.c: Likewise.
10112 * io/lchmod.c: Likewise.
10113 * io/lchown.c: Likewise.
10114 * io/link.c: Likewise.
10115 * io/linkat.c: Likewise.
10116 * io/lseek.c: Likewise.
10117 * io/lseek64.c: Likewise.
10118 * io/lxstat64.c: Likewise.
10119 * io/mkdir.c: Likewise.
10120 * io/mkdirat.c: Likewise.
10121 * io/mkfifo.c: Likewise.
10122 * io/mkfifoat.c: Likewise.
10123 * io/open.c: Likewise.
10124 * io/open64.c: Likewise.
10125 * io/openat.c: Likewise.
10126 * io/openat64.c: Likewise.
10127 * io/pipe.c: Likewise.
10128 * io/pipe2.c: Likewise.
10129 * io/poll.c: Likewise.
10130 * io/posix_fadvise.c: Likewise.
10131 * io/posix_fadvise64.c: Likewise.
10132 * io/posix_fallocate.c: Likewise.
10133 * io/posix_fallocate64.c: Likewise.
10134 * io/read.c: Likewise.
10135 * io/readlink.c: Likewise.
10136 * io/readlinkat.c: Likewise.
10137 * io/rmdir.c: Likewise.
10138 * io/sendfile.c: Likewise.
10139 * io/sendfile64.c: Likewise.
10140 * io/statfs.c: Likewise.
10141 * io/statfs64.c: Likewise.
10142 * io/statvfs.c: Likewise.
10143 * io/statvfs64.c: Likewise.
10144 * io/symlink.c: Likewise.
10145 * io/symlinkat.c: Likewise.
10146 * io/ttyname.c: Likewise.
10147 * io/ttyname_r.c: Likewise.
10148 * io/umask.c: Likewise.
10149 * io/unlink.c: Likewise.
10150 * io/unlinkat.c: Likewise.
10151 * io/utime.c: Likewise.
10152 * io/utimensat.c: Likewise.
10153 * io/write.c: Likewise.
10154 * io/xmknod.c: Likewise.
10155 * io/xmknodat.c: Likewise.
10156 * io/xstat.c: Likewise.
10157 * io/xstat64.c: Likewise.
10158 * login/getpt.c: Likewise.
10159 * login/grantpt.c: Likewise.
10160 * login/unlockpt.c: Likewise.
10161 * math/e_acoshl.c: Likewise.
10162 * math/e_acosl.c: Likewise.
10163 * math/e_asinl.c: Likewise.
10164 * math/e_atan2l.c: Likewise.
10165 * math/e_atanhl.c: Likewise.
10166 * math/e_coshl.c: Likewise.
10167 * math/e_expl.c: Likewise.
10168 * math/e_fmodl.c: Likewise.
10169 * math/e_gammal_r.c: Likewise.
10170 * math/e_hypotl.c: Likewise.
10171 * math/e_j0l.c: Likewise.
10172 * math/e_j1l.c: Likewise.
10173 * math/e_jnl.c: Likewise.
10174 * math/e_lgammal_r.c: Likewise.
10175 * math/e_log10l.c: Likewise.
10176 * math/e_log2l.c: Likewise.
10177 * math/e_logl.c: Likewise.
10178 * math/e_powl.c: Likewise.
10179 * math/e_rem_pio2l.c: Likewise.
10180 * math/e_sinhl.c: Likewise.
10181 * math/e_sqrtl.c: Likewise.
10182 * math/fclrexcpt.c: Likewise.
10183 * math/fedisblxcpt.c: Likewise.
10184 * math/feenablxcpt.c: Likewise.
10185 * math/fegetenv.c: Likewise.
10186 * math/fegetexcept.c: Likewise.
10187 * math/fegetround.c: Likewise.
10188 * math/feholdexcpt.c: Likewise.
10189 * math/fesetenv.c: Likewise.
10190 * math/fesetround.c: Likewise.
10191 * math/feupdateenv.c: Likewise.
10192 * math/fgetexcptflg.c: Likewise.
10193 * math/fraiseexcpt.c: Likewise.
10194 * math/fsetexcptflg.c: Likewise.
10195 * math/ftestexcept.c: Likewise.
10196 * math/k_cosl.c: Likewise.
10197 * math/k_rem_pio2l.c: Likewise.
10198 * math/k_sinl.c: Likewise.
10199 * math/k_tanl.c: Likewise.
10200 * math/s_asinhl.c: Likewise.
10201 * math/s_atanl.c: Likewise.
10202 * math/s_cbrtl.c: Likewise.
10203 * math/s_erfl.c: Likewise.
10204 * math/s_expm1l.c: Likewise.
10205 * math/s_log1pl.c: Likewise.
10206 * math/s_tanhl.c: Likewise.
10207 * misc/acct.c: Likewise.
10208 * misc/brk.c: Likewise.
10209 * misc/chflags.c: Likewise.
10210 * misc/chroot.c: Likewise.
10211 * misc/fchflags.c: Likewise.
10212 * misc/fgetxattr.c: Likewise.
10213 * misc/flistxattr.c: Likewise.
10214 * misc/fremovexattr.c: Likewise.
10215 * misc/fsetxattr.c: Likewise.
10216 * misc/fsync.c: Likewise.
10217 * misc/ftruncate.c: Likewise.
10218 * misc/futimes.c: Likewise.
10219 * misc/futimesat.c: Likewise.
10220 * misc/getdomain.c: Likewise.
10221 * misc/getdtsz.c: Likewise.
10222 * misc/gethostid.c: Likewise.
10223 * misc/gethostname.c: Likewise.
10224 * misc/getloadavg.c: Likewise.
10225 * misc/getpagesize.c: Likewise.
10226 * misc/getsysstats.c: Likewise.
10227 * misc/getxattr.c: Likewise.
10228 * misc/gtty.c: Likewise.
10229 * misc/ioctl.c: Likewise.
10230 * misc/lgetxattr.c: Likewise.
10231 * misc/listxattr.c: Likewise.
10232 * misc/llistxattr.c: Likewise.
10233 * misc/lremovexattr.c: Likewise.
10234 * misc/lsetxattr.c: Likewise.
10235 * misc/lutimes.c: Likewise.
10236 * misc/madvise.c: Likewise.
10237 * misc/mincore.c: Likewise.
10238 * misc/mlock.c: Likewise.
10239 * misc/mlockall.c: Likewise.
10240 * misc/mmap.c: Likewise.
10241 * misc/mprotect.c: Likewise.
10242 * misc/msync.c: Likewise.
10243 * misc/munlock.c: Likewise.
10244 * misc/munlockall.c: Likewise.
10245 * misc/munmap.c: Likewise.
10246 * misc/preadv.c: Likewise.
10247 * misc/preadv64.c: Likewise.
10248 * misc/ptrace.c: Likewise.
10249 * misc/pwritev.c: Likewise.
10250 * misc/pwritev64.c: Likewise.
10251 * misc/readv.c: Likewise.
10252 * misc/reboot.c: Likewise.
10253 * misc/remap_file_pages.c: Likewise.
10254 * misc/removexattr.c: Likewise.
10255 * misc/revoke.c: Likewise.
10256 * misc/select.c: Likewise.
10257 * misc/setdomain.c: Likewise.
10258 * misc/setegid.c: Likewise.
10259 * misc/seteuid.c: Likewise.
10260 * misc/sethostid.c: Likewise.
10261 * misc/sethostname.c: Likewise.
10262 * misc/setregid.c: Likewise.
10263 * misc/setreuid.c: Likewise.
10264 * misc/setxattr.c: Likewise.
10265 * misc/sstk.c: Likewise.
10266 * misc/stty.c: Likewise.
10267 * misc/swapoff.c: Likewise.
10268 * misc/swapon.c: Likewise.
10269 * misc/sync.c: Likewise.
10270 * misc/syncfs.c: Likewise.
10271 * misc/syscall.c: Likewise.
10272 * misc/truncate.c: Likewise.
10273 * misc/ualarm.c: Likewise.
10274 * misc/usleep.c: Likewise.
10275 * misc/ustat.c: Likewise.
10276 * misc/utimes.c: Likewise.
10277 * misc/vhangup.c: Likewise.
10278 * misc/writev.c: Likewise.
10279 * posix/_exit.c: Likewise.
10280 * posix/alarm.c: Likewise.
10281 * posix/execve.c: Likewise.
10282 * posix/fexecve.c: Likewise.
10283 * posix/fork.c: Likewise.
10284 * posix/fpathconf.c: Likewise.
10285 * posix/getaddrinfo.c: Likewise.
10286 * posix/getegid.c: Likewise.
10287 * posix/geteuid.c: Likewise.
10288 * posix/getgid.c: Likewise.
10289 * posix/getgroups.c: Likewise.
10290 * posix/getlogin.c: Likewise.
10291 * posix/getlogin_r.c: Likewise.
10292 * posix/getpgid.c: Likewise.
10293 * posix/getpid.c: Likewise.
10294 * posix/getppid.c: Likewise.
10295 * posix/getresgid.c: Likewise.
10296 * posix/getresuid.c: Likewise.
10297 * posix/getsid.c: Likewise.
10298 * posix/getuid.c: Likewise.
10299 * posix/glob64.c: Likewise.
10300 * posix/nanosleep.c: Likewise.
10301 * posix/pathconf.c: Likewise.
10302 * posix/pause.c: Likewise.
10303 * posix/posix_madvise.c: Likewise.
10304 * posix/pread.c: Likewise.
10305 * posix/pread64.c: Likewise.
10306 * posix/pwrite.c: Likewise.
10307 * posix/pwrite64.c: Likewise.
10308 * posix/sched_getaffinity.c: Likewise.
10309 * posix/sched_getp.c: Likewise.
10310 * posix/sched_gets.c: Likewise.
10311 * posix/sched_primax.c: Likewise.
10312 * posix/sched_primin.c: Likewise.
10313 * posix/sched_rr_gi.c: Likewise.
10314 * posix/sched_setaffinity.c: Likewise.
10315 * posix/sched_setp.c: Likewise.
10316 * posix/sched_sets.c: Likewise.
10317 * posix/sched_yield.c: Likewise.
10318 * posix/setgid.c: Likewise.
10319 * posix/setlogin.c: Likewise.
10320 * posix/setpgid.c: Likewise.
10321 * posix/setresgid.c: Likewise.
10322 * posix/setresuid.c: Likewise.
10323 * posix/setsid.c: Likewise.
10324 * posix/setuid.c: Likewise.
10325 * posix/sleep.c: Likewise.
10326 * posix/spawni.c: Likewise.
10327 * posix/sysconf.c: Likewise.
10328 * posix/times.c: Likewise.
10329 * posix/wait.c: Likewise.
10330 * posix/wait3.c: Likewise.
10331 * posix/wait4.c: Likewise.
10332 * posix/waitpid.c: Likewise.
10333 * resolv/gai_sigqueue.c: Likewise.
10334 * resource/getpriority.c: Likewise.
10335 * resource/getrlimit.c: Likewise.
10336 * resource/getrusage.c: Likewise.
10337 * resource/nice.c: Likewise.
10338 * resource/setpriority.c: Likewise.
10339 * resource/setrlimit.c: Likewise.
10340 * resource/ulimit.c: Likewise.
10341 * rt/aio_cancel.c: Likewise.
10342 * rt/aio_fsync.c: Likewise.
10343 * rt/aio_read.c: Likewise.
10344 * rt/aio_sigqueue.c: Likewise.
10345 * rt/aio_suspend.c: Likewise.
10346 * rt/aio_write.c: Likewise.
10347 * rt/clock_getres.c: Likewise.
10348 * rt/clock_gettime.c: Likewise.
10349 * rt/clock_nanosleep.c: Likewise.
10350 * rt/clock_settime.c: Likewise.
10351 * rt/lio_listio.c: Likewise.
10352 * rt/mq_close.c: Likewise.
10353 * rt/mq_getattr.c: Likewise.
10354 * rt/mq_notify.c: Likewise.
10355 * rt/mq_open.c: Likewise.
10356 * rt/mq_receive.c: Likewise.
10357 * rt/mq_send.c: Likewise.
10358 * rt/mq_setattr.c: Likewise.
10359 * rt/mq_timedreceive.c: Likewise.
10360 * rt/mq_timedsend.c: Likewise.
10361 * rt/mq_unlink.c: Likewise.
10362 * rt/shm_open.c: Likewise.
10363 * rt/shm_unlink.c: Likewise.
10364 * rt/timer_create.c: Likewise.
10365 * rt/timer_delete.c: Likewise.
10366 * rt/timer_getoverr.c: Likewise.
10367 * rt/timer_gettime.c: Likewise.
10368 * rt/timer_settime.c: Likewise.
10369 * setjmp/__longjmp.c: Likewise.
10370 * setjmp/setjmp.c: Likewise.
10371 * signal/kill.c: Likewise.
10372 * signal/killpg.c: Likewise.
10373 * signal/raise.c: Likewise.
10374 * signal/sigaction.c: Likewise.
10375 * signal/sigaltstack.c: Likewise.
10376 * signal/sigblock.c: Likewise.
10377 * signal/sigignore.c: Likewise.
10378 * signal/sigintr.c: Likewise.
10379 * signal/signal.c: Likewise.
10380 * signal/sigpause.c: Likewise.
10381 * signal/sigpending.c: Likewise.
10382 * signal/sigqueue.c: Likewise.
10383 * signal/sigreturn.c: Likewise.
10384 * signal/sigset.c: Likewise.
10385 * signal/sigsetmask.c: Likewise.
10386 * signal/sigstack.c: Likewise.
10387 * signal/sigsuspend.c: Likewise.
10388 * signal/sigtimedwait.c: Likewise.
10389 * signal/sigvec.c: Likewise.
10390 * signal/sigwait.c: Likewise.
10391 * signal/sigwaitinfo.c: Likewise.
10392 * signal/sysv_signal.c: Likewise.
10393 * socket/accept.c: Likewise.
10394 * socket/accept4.c: Likewise.
10395 * socket/bind.c: Likewise.
10396 * socket/connect.c: Likewise.
10397 * socket/getpeername.c: Likewise.
10398 * socket/getsockname.c: Likewise.
10399 * socket/getsockopt.c: Likewise.
10400 * socket/isfdtype.c: Likewise.
10401 * socket/listen.c: Likewise.
10402 * socket/recv.c: Likewise.
10403 * socket/recvfrom.c: Likewise.
10404 * socket/recvmsg.c: Likewise.
10405 * socket/send.c: Likewise.
10406 * socket/sendmsg.c: Likewise.
10407 * socket/sendto.c: Likewise.
10408 * socket/setsockopt.c: Likewise.
10409 * socket/shutdown.c: Likewise.
10410 * socket/sockatmark.c: Likewise.
10411 * socket/socket.c: Likewise.
10412 * socket/socketpair.c: Likewise.
10413 * stdio-common/ctermid.c: Likewise.
10414 * stdio-common/cuserid.c: Likewise.
10415 * stdio-common/remove.c: Likewise.
10416 * stdio-common/rename.c: Likewise.
10417 * stdio-common/renameat.c: Likewise.
10418 * stdio-common/tempname.c: Likewise.
10419 * stdlib/getcontext.c: Likewise.
10420 * stdlib/makecontext.c: Likewise.
10421 * stdlib/setcontext.c: Likewise.
10422 * stdlib/swapcontext.c: Likewise.
10423 * stdlib/system.c: Likewise.
10424 * streams/fattach.c: Likewise.
10425 * streams/fdetach.c: Likewise.
10426 * streams/getmsg.c: Likewise.
10427 * streams/getpmsg.c: Likewise.
10428 * streams/putmsg.c: Likewise.
10429 * streams/putpmsg.c: Likewise.
10430 * sysdeps/unix/bsd/getpt.c: Likewise.
10431 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10432 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10433 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10435 Likewise.
10436 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10437 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10438 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10439 * sysvipc/msgctl.c: Likewise.
10440 * sysvipc/msgget.c: Likewise.
10441 * sysvipc/msgrcv.c: Likewise.
10442 * sysvipc/msgsnd.c: Likewise.
10443 * sysvipc/semctl.c: Likewise.
10444 * sysvipc/semget.c: Likewise.
10445 * sysvipc/semop.c: Likewise.
10446 * sysvipc/semtimedop.c: Likewise.
10447 * sysvipc/shmat.c: Likewise.
10448 * sysvipc/shmctl.c: Likewise.
10449 * sysvipc/shmdt.c: Likewise.
10450 * sysvipc/shmget.c: Likewise.
10451 * termios/tcdrain.c: Likewise.
10452 * termios/tcflow.c: Likewise.
10453 * termios/tcflush.c: Likewise.
10454 * termios/tcgetattr.c: Likewise.
10455 * termios/tcgetpgrp.c: Likewise.
10456 * termios/tcsendbrk.c: Likewise.
10457 * termios/tcsetattr.c: Likewise.
10458 * termios/tcsetpgrp.c: Likewise.
10459 * time/adjtime.c: Likewise.
10460 * time/clock.c: Likewise.
10461 * time/getitimer.c: Likewise.
10462 * time/gettimeofday.c: Likewise.
10463 * time/setitimer.c: Likewise.
10464 * time/settimeofday.c: Likewise.
10465 * time/stime.c: Likewise.
10466 * time/time.c: Likewise.
10467
104682012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10469
a20492cf
PT
10470 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10471 /usr/old/bin.
10472
72e182e3
PT
10473 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10474 instead of spaces.
10475 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10476
fbeafede
JM
104772012-11-03 Joseph Myers <joseph@codesourcery.com>
10478
5b5b04d6
JM
10479 [BZ #14796]
10480 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10481 FE_TONEAREST before applying Dekker multiplication and Knuth
10482 addition. Clear inexact exceptions and check for exact zero
10483 results afterwards.
10484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10485 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10487 * math/libm-test.inc (fma_test): Add more tests.
10488 (fma_test_towardzero): Likewise.
10489 (fma_test_downward): Likewise.
10490 (fma_test_upward): Likewise.
10491 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10492 function.
10493 (libc_fesetround): New macro.
10494 (libc_fesetroundf): Likewise.
10495 (libc_fesetroundl): Likewise.
10496 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10497 function.
10498 (libc_fesetround_387): Likewise.
10499 (libc_fesetroundf): New macro.
10500 (libc_fesetround): Likewise.
10501 (libc_fesetroundl): Likewise.
10502 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10503 function.
10504 (libc_fesetroundf): New macro.
10505 (libc_fesetround): Likewise.
10506 (libc_fesetroundl): Likewise.
10507 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10508 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10509 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10510 libm_hidden_ver.
10511 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10512 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10513 libm_hidden_def.
10514 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10515 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10516 libm_hidden_ver.
10517 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10518 libm_hidden_def.
10519
fbeafede
JM
10520 [BZ #3439]
10521 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10522 integer constant usable in #if and use that to give value to enum
10523 constant.
10524 (FE_DIVBYZERO): Likewise.
10525 (FE_UNDERFLOW): Likewise.
10526 (FE_OVERFLOW): Likewise.
10527 (FE_INVALID): Likewise.
10528 (FE_INVALID_SNAN): Likewise.
10529 (FE_INVALID_ISI): Likewise.
10530 (FE_INVALID_IDI): Likewise.
10531 (FE_INVALID_ZDZ): Likewise.
10532 (FE_INVALID_IMZ): Likewise.
10533 (FE_INVALID_COMPARE): Likewise.
10534 (FE_INVALID_SOFTWARE): Likewise.
10535 (FE_INVALID_SQRT): Likewise.
10536 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10537 (FE_TONEAREST): Likewise.
10538 (FE_TOWARDZERO): Likewise.
10539 (FE_UPWARD): Likewise.
10540 (FE_DOWNWARD): Likewise.
10541 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10542 (FE_DIVBYZERO): Likewise.
10543 (FE_OVERFLOW): Likewise.
10544 (FE_UNDERFLOW): Likewise.
10545 (FE_INEXACT): Likewise.
10546 (FE_TONEAREST): Likewise.
10547 (FE_DOWNWARD): Likewise.
10548 (FE_UPWARD): Likewise.
10549 (FE_TOWARDZERO): Likewise.
10550 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10551 (FE_UNDERFLOW): Likewise.
10552 (FE_OVERFLOW): Likewise.
10553 (FE_DIVBYZERO): Likewise.
10554 (FE_INVALID): Likewise.
10555 (FE_TONEAREST): Likewise.
10556 (FE_TOWARDZERO): Likewise.
10557 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10558 (FE_OVERFLOW): Likewise.
10559 (FE_UNDERFLOW): Likewise.
10560 (FE_DIVBYZERO): Likewise.
10561 (FE_INEXACT): Likewise.
10562 (FE_TONEAREST): Likewise.
10563 (FE_TOWARDZERO): Likewise.
10564 (FE_UPWARD): Likewise.
10565 (FE_DOWNWARD): Likewise.
10566 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10567 (FE_DIVBYZERO): Likewise.
10568 (FE_OVERFLOW): Likewise.
10569 (FE_UNDERFLOW): Likewise.
10570 (FE_INEXACT): Likewise.
10571 (FE_TONEAREST): Likewise.
10572 (FE_DOWNWARD): Likewise.
10573 (FE_UPWARD): Likewise.
10574 (FE_TOWARDZERO): Likewise.
10575
105ca950
CM
105762012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10577
10578 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10579
a542b389
AS
105802012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10581
10582 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10583 commands. Quote $PWD.
10584 (blacklist_exports): Don't use remove_newlines. Replace "declare
10585 -x" by "export".
10586 (remove_newlines): Remove.
10587
f62c8abc
L
105882012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10591 * stdlib/stdlib.h (atof): Moved to ...
10592 * include/bits/stdlib-float.h: Here. New file.
10593 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10594 * stdlib/bits/stdlib-float.h: New file.
10595 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10596 -mno-sse -mno-mmx.
10597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10598 <xmmintrin.h>.
10599
0155d5b2
JM
106002012-11-02 Joseph Myers <joseph@codesourcery.com>
10601
a68d0680
JM
10602 * conform/conformtest.pl (@headers): Add fenv.h.
10603 * conform/data/fenv.h-data: New file.
10604 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10605 include of <math/fenv.h>.
10606
caf7f573
JM
10607 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10608 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10609 && !UNIX98]. Enables tests for XOPEN2K8.
10610 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10611 POSIX2008]: Likewise.
10612
6c073ad6
JM
10613 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10614 (struct rusage): Do not expect type or its members.
10615
0155d5b2
JM
10616 [BZ #3439]
10617 * math/math.h (FP_NAN): Define macro to integer constant usable in
10618 #if and use that to give value to enum constant.
10619 (FP_INFINITE): Likewise.
10620 (FP_ZERO): Likewise.
10621 (FP_SUBNORMAL): Likewise.
10622 (FP_NORMAL): Likewise.
10623
b5dcacb4
AS
106242012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10625
10626 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10627 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10628 arguments.
10629
f7934be8
RM
106302012-11-02 Roland McGrath <roland@hack.frob.com>
10631
10632 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10633 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10634 autoconf-time if not.
10635 * configure.in: Remove AC_PREREQ.
10636
d7d08bde
TMQMF
106372012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10638
10639 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10640 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10641 of the internal implementation.
10642
dcdae19a
JM
106432012-11-02 Joseph Myers <joseph@codesourcery.com>
10644
10645 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10646 except include of <misc/sys/syslog.h>.
10647
d6cffd3e
AS
106482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10649
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10651 function returns with a NULL context exit with zero.
10652
b3563932
TMQMF
106532012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10654
10655 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10656
b288a93d
L
106572012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10660 (run_program_cmd): This.
10661 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10662 (tst_langinfo): New variable. Use it.
10663
a2421a68
SAS
106642012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10665
10666 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10667 floating point opcodes.
10668
6f796e1b
TS
106692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10670
7402596b
TS
10671 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10672 variable.
10673
d0d4f868
TS
10674 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10675
6f796e1b
TS
10676 * sysdeps/mach/hurd/powerpc: Remove directory.
10677 * sysdeps/mach/powerpc: Likewise.
10678
4da224a2
AS
106792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10680
10681 * scripts/check-local-headers.sh: Ignore c++ headers.
10682
341dd673
TS
106832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10684
10685 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10686 __libc_cleanup_region_start argument.
10687
473611b2
JM
106882012-11-01 Joseph Myers <joseph@codesourcery.com>
10689
10690 [BZ #14784]
10691 [BZ #14785]
10692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10693 x * y using scaling, not as x * y + z.
10694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10695 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10696 * math/libm-test.inc (fma_test): Add more tests.
10697 (fma_test_towardzero): Likewise.
10698 (fma_test_downward): Likewise.
10699 (fma_test_upward): Likewise.
10700
4078da3d
TS
107012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10702
10703 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10704
903252aa
JM
107052012-10-31 Joseph Myers <joseph@codesourcery.com>
10706
10707 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10708 New variable.
10709
cbc818d0
TS
107102012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10711
10712 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10713
5a03cb1e
AS
107142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10715
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10717 Fix sort order.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10719 Likewise.
10720
90aff2ff
TMQMF
107212012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10722
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10724 Fix the order of the list for glibc 2.17.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10726 Likewise.
10727
1818fcb7
AS
107282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10729
10730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10731
ef82f4da
JM
107322012-10-31 Joseph Myers <joseph@codesourcery.com>
10733
16a0e2ec
JM
10734 [BZ #14610]
10735 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10736 for low part of x being zero before using __atanl (y).
10737 * math/libm-test.inc (atan2_test): Add another test.
10738
0eb69512
JM
10739 * manual/install.texi (Configuring and compiling): Document
10740 general use of test-wrapper and test-wrapper-env.
10741 * INSTALL: Regenerated.
10742
ef82f4da
JM
10743 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10744 (__fma): Do not extract and scale down low bits on after-rounding
10745 systems when result rounded to normal precision would have normal
10746 exponent.
10747 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10748 (__fmal): Do not extract and scale down low bits on after-rounding
10749 systems when result rounded to normal precision would have normal
10750 exponent.
10751 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10752 (__fmal): Do not extract and scale down low bits on after-rounding
10753 systems when result rounded to normal precision would have normal
10754 exponent.
10755 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10756 macro.
10757 (fma_test): Add more tests.
10758 (fma_test_towardzero): Likewise.
10759 (fma_test_downward): Likewise.
10760 (fma_test_upward): Likewise.
10761
954ef0d9
L
107622012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10763
10764 * sysdeps/i386/tininess.h: Renamed to ...
10765 * sysdeps/x86/tininess.h: This.
10766 * sysdeps/x86_64/tininess.h: Removed.
10767
df61ffb2
JM
107682012-10-30 Joseph Myers <joseph@codesourcery.com>
10769
10770 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10771 input. Use $(build-program-cmd).
10772 ($(objpfx)tst-array1-static.out): Likewise.
10773 ($(objpfx)tst-array2.out): Likewise.
10774 ($(objpfx)tst-array3.out): Likewise.
10775 ($(objpfx)tst-array4.out): Likewise.
10776 ($(objpfx)tst-array5.out): Likewise.
10777 ($(objpfx)tst-array5-static.out): Likewise.
10778
01767843
CM
107792012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10780
47cc1490
CM
10781 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10782 if defined.
10783
01767843
CM
10784 * nss/nsswitch.h (nss_interface_function): Provide new
10785 macro for use with NSS functions.
10786 * grp/initgroups.c: Use new macro.
10787 * nss/getXXbyYY.c: Likewise.
10788 * nss/getXXbyYY_r.c: Likewise.
10789 * nss/getXXent.c: Likewise.
10790 * nss/getXXent_r.c: Likewise.
10791 * sysdeps/posix/getaddrinfo.c: Likewise.
10792
8321aa97
AJ
107932012-10-30 Andreas Jaeger <aj@suse.de>
10794
10795 * po/ru.po: Update Russion translation from translation project.
10796
2a27fd6d
JM
107972012-10-30 Joseph Myers <joseph@codesourcery.com>
10798
8627a232
JM
10799 [BZ #14152]
10800 [BZ #14783]
10801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10802 result and shift together with sticky bit instead of replicating
10803 round-to-nearest rounding.
10804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10806 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10807 missing underflow exceptions.
10808 (fma_test_towardzero): Add more tests.
10809 (fma_test_downward): Likewise.
10810 (fma_test_upward): Likewise.
10811
2a27fd6d
JM
10812 [BZ #14047]
10813 * sysdeps/generic/tininess.h: New file.
10814 * sysdeps/i386/tininess.h: Likewise.
10815 * sysdeps/sh/tininess.h: Likewise.
10816 * sysdeps/x86_64/tininess.h: Likewise.
10817 * stdlib/tst-strtod-underflow.c: Likewise.
10818 * stdlib/tst-tininess.c: Likewise.
10819 * stdlib/strtod_l.c: Include <tininess.h>.
10820 (round_and_return): Do not set errno for exact underflow cases.
10821 Force an underflow exception when setting errno for underflow.
10822 Determine underflow based on rounding to normal precision if
10823 TININESS_AFTER_ROUNDING.
10824 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10825 ERANGE for exact underflow cases.
10826 * stdlib/Makefile (tests): Add tst-tininess and
10827 tst-strtod-underflow.
10828 ($(objpfx)tst-tininess): Use $(link-libm).
10829 ($(objpfx)tst-strtod-underflow): Likewise.
10830
e7170363
AJ
108312012-10-30 Andreas Jaeger <aj@suse.de>
10832
e5088dc6
AJ
10833 [BZ#14767]
10834 * elf/Makefile (tests): Remove conditional for have-initfini-array
10835 since this is now always required and the variable does not exist
10836 anymore.
10837 (tests-static): Likewise.
10838 (modules-names): Likewise.
10839
e7170363 10840 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10841
10842 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10843 merged with constructor/destructor.
10844 (init_array): Likewise.
10845 * elf/tst-array2dep.c (fini_array): Likewise.
10846 (init_array): Likewise.
10847
60457d8a
MF
108482012-10-29 Mike Frysinger <vapier@gentoo.org>
10849
10850 * manual/message.texi: Delete @cartouche tags.
10851
8bece752
PT
108522012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10853
94ce799f
PT
10854 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10855 EOPNOTSUPP.
10856 * sysdeps/mach/hurd/fsync.c: Likewise.
10857
8bece752
PT
10858 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10859 [_POSIX_REALTIME_SIGNALS]: Change condition to
10860 [_POSIX_REALTIME_SIGNALS > 0].
10861
86ebe6b1
AJ
108622012-10-27 Andreas Jaeger <aj@suse.de>
10863
10864 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10865 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10866 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10867 [__WORDSIZE != 64]: Likewise.
10868
54399c08
L
108692012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10870
10871 * iconvdata/tst-table.sh: Remove ${SHELL}.
10872 * iconvdata/tst-tables.sh: Likewise.
10873
e2211bed
DM
108742012-10-25 David S. Miller <davem@davemloft.net>
10875
10876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10877 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10878 of strtoull.
10879
f303f97c
DM
10880 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10881 ifunc-impl-list.c
10882 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10883 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10884 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10885 file.
10886
1e9d84cd
RM
108872012-10-25 Roland McGrath <roland@hack.frob.com>
10888
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10890 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10891 __getdirentries.
10892
df381762
JM
108932012-10-25 Joseph Myers <joseph@codesourcery.com>
10894 Jim Blandy <jimb@codesourcery.com>
10895
10896 * scripts/cross-test-ssh.sh: New file.
10897 * manual/install.texi (Configuring and compiling): Document use of
10898 cross-test-ssh.sh.
10899 * INSTALL: Regenerated.
10900
bff64913
PT
109012012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10902
10903 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10904 EOPNOTSUPP.
10905
25fe8932
JM
109062012-10-25 Joseph Myers <joseph@codesourcery.com>
10907
10908 * Makeconfig (run-program-prefix): Fix comment.
10909
cc1290d0
JM
109102012-10-24 Joseph Myers <joseph@codesourcery.com>
10911 Jim Blandy <jimb@codesourcery.com>
10912
10913 * Makeconfig (test-wrapper): New variable,
10914 (test-wrapper-env): Likewise.
10915 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10916 (run-built-tests): Define to yes.
10917 (run-program-prefix): Use $(test-wrapper).
10918 (built-program-cmd): Likewise.
10919 * Rules (make-test-out): Use $(test-wrapper-env) and
10920 $(host-built-program-cmd).
10921 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10922 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10923 tst-pathopt.sh.
10924 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10925 $(test-wrapper-env) to tst-rtld-load-self.sh.
10926 ($(objpfx)order2.out): Use $(test-wrapper).
10927 ($(objpfx)tst-initorder.out): Likewise.
10928 ($(objpfx)tst-initorder2.out): Likewise.
10929 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10930 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10931 (test_wrapper_env): New variable. Use it to run ld.so.
10932 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10933 Use it to run ld.so.
10934 (test_wrapper_env): Likewise.
10935 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10936 $(test-wrapper) to run-iconv-test.sh.
10937 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10938 (ICONV): Use $test_wrapper.
10939 * posix/Makefile ($(objpfx)globtest.out): Pass
10940 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10941 globtest.sh, not $(run-program-prefix).
10942 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10943 (test_wrapper): Likewise.
10944 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10945 set together with run_via_rtld_prefix.
10946 (run_program_prefix): Define in terms of test_wrapper and
10947 run_via_rtld_prefix.
10948
6e6249d0
RM
109492012-10-24 Roland McGrath <roland@hack.frob.com>
10950
10951 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10952 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10953 Targets removed.
10954
10955 [BZ #14743]
10956 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10957 Declare __clock_getres, __clock_gettime, __clock_settime,
10958 __clock_nanosleep, and __clock_getcpuclockid.
10959 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10960 Remove librt_hidden_def (clock_gettime).
10961 * sysdeps/unix/clock_gettime.c: Likewise.
10962 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10963 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10964 * rt/clock_getres.c: Define __clock_getres as an alias.
10965 * sysdeps/posix/clock_getres.c: Likewise.
10966 * rt/clock_settime.c: Define __clock_settime as an alias.
10967 * sysdeps/unix/clock_settime.c: Likewise.
10968 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10969 * sysdeps/unix/clock_nanosleep.c: Likewise.
10970 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10971 * rt/clock-compat.c: New file.
10972 * rt/Makefile (librt-routines): Add clock-compat and move
10973 $(clock-routines) to ...
10974 (routines): ... here, new variable.
10975 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10976 Don't add get_clockfreq here.
10977 * rt/Versions (libc: GLIBC_2.17): New version set.
10978 Add clock_* symbols here.
10979 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10980 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10981 (GLIBC_2.17): Add clock_* symbols.
10982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10986 Likewise.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10988 Likewise.
10989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10993 * NEWS: Mention the move.
10994
10995 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10996 Use __open, __read, __close rather than their public counterparts.
10997 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10998 (__get_clockfreq_via_cpuinfo): Likewise.
10999 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11000 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11001
11002 * config.h.in (HAVE_IFUNC): New #undef.
11003 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11004 was successful.
11005 * configure: Regenerated.
11006
0cae3f4b
MF
110072012-10-24 Mike Frysinger <vapier@gentoo.org>
11008
11009 * configure.in: Move READELF check to start of file.
11010 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11011 libc_cv_asm_gnu_indirect_function in the process.
11012 * configure: Regenerated.
11013
8175a253
MF
110142012-10-24 Mike Frysinger <vapier@gentoo.org>
11015
11016 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11017 send the output to /dev/null.
11018 (libc_cv_cc_with_libunwind): Likewise.
11019 (libc_cv_as_noexecstack): Likewise.
11020 * configure: Regenerate.
11021
0708a7d1
JM
110222012-10-24 Joseph Myers <joseph@codesourcery.com>
11023
10b40d85
JM
11024 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11025
0708a7d1
JM
11026 * posix/globtest.sh (TMPDIR): Do not set.
11027 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11028 (testout): Likewise.
11029
9fddec1a
AJ
110302012-10-24 Andreas Jaeger <aj@suse.de>
11031
3a8db22f
AJ
11032 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11033 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11034 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11035 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11036 posix_fadvise64, posix_fallocate64.
11037
9fddec1a
AJ
11038 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11039 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11040 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11041 Likewise.
11042 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11043 Likewise.
11044 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11045
11046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11047 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11048 <bits/fcntl-linux.h>.
11049 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11050
11051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11052 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11053 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11054 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11055 [__WORDSIZE != 64]: Likewise.
11056
ebfd1bbd
JM
110572012-10-23 Joseph Myers <joseph@codesourcery.com>
11058
03ac099f
JM
11059 * Makeconfig (run-built-tests): New variable.
11060 * Rules [$(cross-compiling) = yes]: Change condition to
11061 [$(run-built-tests) = no].
11062 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11063 to [$(run-built-tests) = yes].
11064 * elf/Makefile [$(cross-compiling) = no]: Likewise
11065 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11066 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11067 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11068 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11069 * io/Makefile [$(cross-compiling) = no]: Likewise.
11070 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11071 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11072 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11073 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11074 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11075 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11076 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11077 * string/Makefile [$(cross-compiling) = no]: Likewise.
11078
ebfd1bbd
JM
11079 * posix/Makefile ($(objpfx)globtest.out): Pass
11080 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11081 $(rtld-installed-name).
11082 * posix/globtest.sh (elf_objpfx): Remove variable.
11083 (rtld_installed_name): Likewise.
11084 (library_path): Likewise.
11085 (run_program_prefix): New variable. Use for running globtest
11086 binary.
11087
166bca24
JB
110882012-10-23 Jim Blandy <jimb@codesourcery.com>
11089 Joseph Myers <joseph@codesourcery.com>
11090
11091 * Makeconfig (host-built-program-cmd): New variable.
11092 * elf/Makefile (tst-stackguard1-ARGS): Use
11093 $(host-built-program-cmd).
11094 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11095 (tst-spawn-ARGS): Likewise.
11096 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11097
88866099
JM
110982012-10-23 Joseph Myers <joseph@codesourcery.com>
11099 Jim Blandy <jimb@codesourcery.com>
11100
11101 * Makeconfig (run-via-rtld-prefix): New variable.
11102 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11103 (built-program-cmd): Likewise.
11104
b4b4c296
AJ
111052012-10-22 Andreas Jaeger <aj@suse.de>
11106
11107 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11108 __O_RSYNC if it exists, otherwise to O_SYNC.
11109
6fb54a22
JB
111102012-10-22 Jim Blandy <jimb@codesourcery.com>
11111 Joseph Myers <joseph@codesourcery.com>
11112
11113 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11114 /dev/null.
11115 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11116 from /dev/null
11117 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11118 /dev/null.
11119
481b90b9
AJ
111202012-10-22 Andreas Jaeger <aj@suse.de>
11121
2a0e2669
AJ
11122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11123 Define always.
11124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11125
76e38f9a
AJ
11126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11127 bits/fcntl-linux.h.
11128
7cd37b43
AJ
11129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11130 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11131
481b90b9
AJ
11132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11133 to __O_LARGEFILE.
11134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11135 to __O_LARGEFILE.
11136
aba75984
JB
111372012-10-21 Jim Blandy <jimb@codesourcery.com>
11138 Joseph Myers <joseph@codesourcery.com>
11139
11140 * config.make.in (NM): New variable.
11141
88d4247f
AJ
111422012-10-21 Andreas Jaeger <aj@suse.de>
11143
11144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11145 definitions and declarations that are provided by
11146 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11147
f2eed205
L
111482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11149
11150 [BZ #14683]
11151 * elf/Makefile (tests-static): Add tst-leaks1-static.
11152 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11153 ($(objpfx)tst-leaks1-static): New rule.
11154 ($(objpfx)tst-leaks1-static-mem): Likewise.
11155 (tst-leaks1-static-ENV): New macro.
11156 * elf/dl-open.c (dl_open_worker): Check the main application
11157 only if SHARED is defined.
11158 * elf/tst-leaks1-static.c: New file.
11159
335e6931
AJ
111602012-10-20 Andreas Jaeger <aj@suse.de>
11161
11162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11163 generic values for Linux.
11164 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11165 and declarations that are provided by <bits/fcntl-linux.h> and
11166 include <bits/fcntl-linux.h>.
11167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11168 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11169
ac5c94d3
RM
111702012-10-20 Roland McGrath <roland@hack.frob.com>
11171
11172 * io/fcntl.h: Move include of <bits/types.h> to the top and
11173 include it unconditionally.
11174
de54b33a
L
111752012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11176
228cfb01
L
11177 * wcsmbs/Makefile (tests-ifunc): New variable.
11178 (tests): Add $(tests-ifunc).
11179 * wcsmbs/test-wcschr-ifunc.c: New file.
11180 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11181 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11182 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11183 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11184 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11185
69f07e5f
L
11186 * string/Makefile (tests-ifunc): New variable.
11187 (tests): Add $(tests-ifunc).
11188 * string/test-memccpy.c (TEST_NAME): New macro.
11189 * string/test-memchr.c (TEST_NAME): Likewise.
11190 * string/test-memcmp.c (TEST_NAME): Likewise.
11191 * string/test-memcpy.c (TEST_NAME): Likewise.
11192 * string/test-memmem.c (TEST_NAME): Likewise.
11193 * string/test-memmove.c (TEST_NAME): Likewise.
11194 * string/test-memset.c (TEST_NAME): Likewise.
11195 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11196 * string/test-stpcpy.c (TEST_NAME): Likewise.
11197 * string/test-stpncpy.c (TEST_NAME): Likewise.
11198 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11199 * string/test-strcasestr.c (TEST_NAME): Likewise.
11200 * string/test-strcat.c (TEST_NAME): Likewise.
11201 * string/test-strchr.c (TEST_NAME): Likewise.
11202 * string/test-strcmp.c(TEST_NAME): Likewise.
11203 * string/test-strcpy.c (TEST_NAME): Likewise.
11204 * string/test-strcspn.c (TEST_NAME): Likewise.
11205 * string/test-strlen.c (TEST_NAME): Likewise.
11206 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11207 * string/test-strncmp.c (TEST_NAME): Likewise.
11208 * string/test-strncpy.c (TEST_NAME): Likewise.
11209 * string/test-strnlen.c (TEST_NAME): Likewise.
11210 * string/test-strpbrk.c (TEST_NAME): Likewise.
11211 * string/test-strrchr.c (TEST_NAME): Likewise.
11212 * string/test-strspn.c (TEST_NAME): Likewise.
11213 * string/test-strstr.c (TEST_NAME): Likewise.
11214 * string/test-bcopy-ifunc.c: New file.
11215 * string/test-bzero-ifunc.c: Likewise.
11216 * string/test-memccpy-ifunc.c: Likewise.
11217 * string/test-memchr-ifunc.c: Likewise.
11218 * string/test-memcmp-ifunc.c: Likewise.
11219 * string/test-memcpy-ifunc.c: Likewise.
11220 * string/test-memmem-ifunc.c: Likewise.
11221 * string/test-memmove-ifunc.c: Likewise.
11222 * string/test-mempcpy-ifunc.c: Likewise.
11223 * string/test-memset-ifunc.c: Likewise.
11224 * string/test-rawmemchr-ifunc.c: Likewise.
11225 * string/test-stpcpy-ifunc.c: Likewise.
11226 * string/test-stpncpy-ifunc.c: Likewise.
11227 * string/test-strcasecmp-ifunc.c: Likewise.
11228 * string/test-strcasestr-ifunc.c: Likewise.
11229 * string/test-strcat-ifunc.c: Likewise.
11230 * string/test-strchr-ifunc.c: Likewise.
11231 * string/test-strchrnul-ifunc.c: Likewise.
11232 * string/test-strcmp-ifunc.c: Likewise.
11233 * string/test-strcpy-ifunc.c: Likewise.
11234 * string/test-strcspn-ifunc.c: Likewise.
11235 * string/test-strlen-ifunc.c: Likewise.
11236 * string/test-strncasecmp-ifunc.c: Likewise.
11237 * string/test-strncat-ifunc.c: Likewise.
11238 * string/test-strncmp-ifunc.c: Likewise.
11239 * string/test-strncpy-ifunc.c: Likewise.
11240 * string/test-strnlen-ifunc.c: Likewise.
11241 * string/test-strpbrk-ifunc.c: Likewise.
11242 * string/test-strrchr-ifunc.c: Likewise.
11243 * string/test-strspn-ifunc.c: Likewise.
11244 * string/test-strstr-ifunc.c: Likewise.
11245
de54b33a
L
11246 * debug/Makefile (tests-ifunc): New variable.
11247 (tests): Add $(tests-ifunc).
11248 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11249 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11250 * debug/test-stpcpy_chk-ifunc.c: New file.
11251 * debug/test-strcpy_chk-ifunc.c: Likewise.
11252
88481c16
SP
112532012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11254
11255 [BZ #13601]
11256 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11257 header is not read in.
11258
135948bd
JM
112592012-10-19 Joseph Myers <joseph@codesourcery.com>
11260
89f1c388
JM
11261 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11262 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11263 directly. Pass built executable to script as
11264 $(built-program-cmd).
11265 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11266 $testprogram without using LD_LIBRARY_PATH and $ldso.
11267
e40a0d21
JM
11268 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11269 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11270 $(rtld-installed-name).
11271 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11272 (rtld_installed_name): Likewise.
11273 (library_path): Likewise.
11274 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11275 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11276 $(run-program-prefix) to tst-tables.sh.
11277 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11278 it to run tst-table-from and tst-table-to.
11279 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11280 Pass it to tst-table.sh.
11281 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11282 $(run-program-prefix) to tst-gettext.sh.
11283 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11284 tst-translit.sh.
11285 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11286 tst-gettext2.sh.
11287 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11288 to run tst-gettext.
11289 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11290 to run tst-gettext2.
11291 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11292 to run tst-translit.
11293 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11294 $(run-program-prefix) to tst-mtrace.sh.
11295 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11296 to run tst-mtrace.
11297 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11298 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11299 $(rtld-installed-name).
11300 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11301 (rtld_installed_name): Likewise.
11302 (run_program_prefix): New variable. Use it to run wordexp-test.
11303
728e272a
JM
11304 * Makeconfig (ARCH): Remove all definitions.
11305 (machine): Likewise.
11306 [ARCH]: Remove conditional code.
11307 [!objdir]: Give error.
11308 [!objdir] (objpfx): Remove.
11309 [!objdir] (common-objpfx): Likewise.
11310 [!objdir] (common-objdir): Likewise.
11311 * configure.in (config_makefile): Remove. Hardcode Makefile in
11312 AC_CONFIG_FILES call.
11313 * configure: Regenerated.
11314
d528cdcf
JM
11315 [BZ #13888]
11316 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11317 or TMPDIR.
11318 (testout): Likewise.
11319
135948bd
JM
11320 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11321 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11322 $(rtld-installed-name).
11323 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11324 (rtld_installed_name): Likwise.
11325 (runit): Remove function.
11326 (run_getconf): New variable, Use it for running getconf binary.
11327
38c78296
L
113282012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 [BZ #14716]
11331 * string/test-memmem.c (check_result): New function.
11332 (do_one_test): Use it.
11333 (check1): New function.
11334 (test_main): Use it.
11335
d077f65f
MT
113362012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11337
11338 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11339
ced52c71
JM
113402012-10-18 Joseph Myers <joseph@codesourcery.com>
11341
11342 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11343 (_G_LSEEK64): Likewise.
11344 (_G_MMAP64): Likewise.
11345 (_G_FSTAT64): Likewise.
11346 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11347 (_G_LSEEK64): Likewise.
11348 (_G_MMAP64): Likewise.
11349 (_G_FSTAT64): Likewise.
11350 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11351 unconditional. Call __mmap64 directly.
11352 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11353 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11354 __lseek64 directly.
11355 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11356 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11357 __mmap64 directly.
11358 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11359 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11360 __lseek64 directly.
11361 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11362 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11363 __lseek64 directly.
11364 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11365 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11366 __lseek64 directly.
11367 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11368 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11369 __fxstat64 directly.
11370 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11371 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11372 unconditional.
11373 (freopen64) [!_G_OPEN64]: Remove conditional code.
11374 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11375 unconditional.
11376 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11377 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11378 unconditional.
11379 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11380 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11381 unconditional.
11382 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11383 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11384 unconditional.
11385 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11386 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11387 unconditional.
11388 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11389 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11390 unconditional.
11391 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11392 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11393 unconditional.
11394 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11395
b741de23
SP
113962012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11397
11398 [BZ #12140]
11399 * manual/memory.texi (Malloc Tunable Parameters): Add note
11400 about free list pointers overwriting some perturb bytes.
11401 Wording suggested by Roland McGrath.
11402
f9b9d9c9
JM
114032012-10-17 Joseph Myers <joseph@codesourcery.com>
11404
11405 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11406 (lgamma_test): Likewise.
11407 (tgamma_test): Likewise.
11408
172a631a
FW
114092012-10-16 Florian Weimer <fweimer@redhat.com>
11410
11411 [BZ #14700]
11412 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11413 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11414
e9f37252
MK
114152012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11416
11417 * NEWS: Mention BZ #14716.
11418 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11419 when removing AVAILABLE1_USES_J macro.
11420
d394eb74
L
114212012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11422
11423 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11424 (__bswap_64): __uint64_t for unsigned 64-bit int.
11425
ca38dc17
AS
114262012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11427
11428 * include/string.h (memmem): Declare libc hidden alias.
11429 * string/memmem.c (memmem): Define libc hidden alias.
11430 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11431 __read, __close instead of open, read, close.
11432
9a387d1f
L
114332012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11434
ac49ecaf
L
11435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11436 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11437 global and hidden.
11438 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11439 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11440 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11441 Likewise.
11442 (__rawmemchr_sse2): Likewise.
11443 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11444 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11445 (__strchr_sse2): Likewise.
11446 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11447 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11448 (__strcasecmp_sse2): Likewise.
11449 (__strncasecmp_sse2): Likewise.
11450 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11451 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11452 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11453 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11454 (__strrchr_sse2): Likewise.
11455 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11456 ifunc-impl-list.c.
11457 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11458 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11459 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11460 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11461 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11462 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11463 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11464 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11465 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11466 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11467 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11468 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11469 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11470 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11471 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11472 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11473 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11474 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11475 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11476 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11477 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11478 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11479 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11480 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11481 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11482 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11483 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11484 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11485 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11486 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11487
b090e8ea
L
11488 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11489 global and hidden.
11490 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11491 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11492 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11493 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11494 Likewise.
11495 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11496 Likewise.
11497 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11498 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11499 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11500 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11501 ifunc-impl-list.c.
11502 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11505 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11508 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11509 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11510 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11511 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11512 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11513 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11514 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11515 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11516 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11518 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11519 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11520 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11521 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11522 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11523 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11525 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11526 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11527 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11536 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11543
11dd4af6
L
11544 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11545 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11546 * include/ifunc-impl-list.h: New file.
11547 * misc/ifunc-impl-list.c: Likewise.
11548 * misc/Makefile (routines): Add ifunc-impl-list.
11549 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11550 * string/test-string.h: Include <ifunc-impl-list.h>.
11551 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11552 impl_array): New variables.
11553 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11554 are defined.
11555 (test_init): Call __libc_ifunc_impl_list to initialize
11556 func_list if TEST_IFUNC and TEST_NAME are defined.
11557
9a387d1f
L
11558 * string/Makefile (strop-tests): Add bcopy and bzero.
11559 * string/test-bcopy.c: New file.
11560 * string/test-bzero.c: Likewise.
11561 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11562 defined.
11563 * string/test-memset.c: Support bzero test if TEST_BZERO is
11564 defined.
11565 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11566 __libc_memmove.
11567 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11568 __libc_memset.
11569 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11570 of memset.
11571
472371b9
JM
115722012-10-10 Joseph Myers <joseph@codesourcery.com>
11573
1e4a9536
JM
11574 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11575 * configure: Regenerated.
11576
d173d12e
JM
11577 * Makeconfig (+link-static-before-libc): Don't include
11578 $(link-static-libc).
11579
472371b9
JM
11580 * libio/libio.h (_IO_pos_t): Remove.
11581
89a3ad0b
AO
115822012-10-10 Alexandre Oliva <aoliva@redhat.com>
11583
11584 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11585 McGrath.
11586
e7451425
AO
115872012-10-10 Alexandre Oliva <aoliva@redhat.com>
11588
11589 * crypt/crypt-entry.c: Include fips-private.h.
11590 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11591 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11592 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11593 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11594
4ba74a35
AO
115952012-10-10 Alexandre Oliva <aoliva@redhat.com>
11596
11597 * crypt/crypt-private.h: Include stdbool.h.
11598 (_ufc_setup_salt_r): Return bool.
11599 * crypt/crypt-entry.c: Include errno.h.
11600 (__crypt_r): Return NULL with EINVAL for bad salt.
11601 * crypt/crypt_util.c (bad_for_salt): New.
11602 (_ufc_setup_salt_r): Check that salt is long enough and within
11603 the specified alphabet.
11604 * crypt/badsalttest.c: New file.
11605 * crypt/Makefile (tests): Add it.
11606 ($(objpfx)badsalttest): New.
11607
f96f1242
MK
116082012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11609
11610 * NEWS: Add entry for BZ #14602.
11611
0e8e0c1c
JM
116122012-10-09 Joseph Myers <joseph@codesourcery.com>
11613
11614 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11615 type-generic.
11616 * math/libm-test.inc: Update comment listing what functions and
11617 macros are tested.
11618 (isgreater_test): New function.
11619 (isgreaterequal_test): Likewise.
11620 (isless_test): Likewise.
11621 (islessequal_test): Likewise.
11622 (islessgreater_test): Likewise.
11623 (isunordered_test): Likewise.
11624 (main): Call the new functions.
11625
273edc5e
RM
116262012-10-09 Roland McGrath <roland@hack.frob.com>
11627
b8493de0
RM
11628 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11629 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11630 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11631 * sysdeps/i386/configure: Regenerated.
11632 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11633 * sysdeps/mach/configure: Regenerated.
11634 * sysdeps/mach/hurd/configure: Regenerated.
11635 * sysdeps/powerpc/configure: Regenerated.
11636 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11637 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11638 * sysdeps/s390/s390-32/configure: Regenerated.
11639 * sysdeps/s390/s390-64/configure: Regenerated.
11640 * sysdeps/sh/configure: Regenerated.
11641 * sysdeps/sparc/configure: Regenerated.
11642 * sysdeps/unix/sysv/linux/configure: Regenerated.
11643 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11644 * sysdeps/x86_64/configure: Regenerated.
11645
273edc5e
RM
11646 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11647 defined. Don't check if MAP is NULL.
11648
c8450f70
JM
116492012-10-09 Joseph Myers <joseph@codesourcery.com>
11650
11651 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11652 (_G_stat64): Likewise.
11653 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11654 (_G_stat64): Likewise.
11655 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11656 instead of struct _G_stat64.
11657 * libio/fileops.c (mmap_remap_check): Likewise.
11658 (decide_maybe_mmap): Likewise.
11659 (_IO_new_file_seekoff): Likewise.
11660 (_IO_file_stat): Likewise.
11661 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11662 _G_off64_t.
11663 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11664 instead of struct _G_stat64.
11665 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11666
57e605ba
MK
116672012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11668
11669 [BZ #14602]
11670 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11671 Replace with ...
11672 (CHECK_EOL): New macro.
11673 (two_way_short_needle): Check beginning of haystack for EOL. Use
11674 CHECK_EOL.
11675 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11676 Replace with CHECK_EOL.
11677 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11678 Replace with CHECK_EOL.
11679
ef1bb361
JM
116802012-10-08 Joseph Myers <joseph@codesourcery.com>
11681
11682 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11683 type-generic.
11684 * math/libm-test.inc: Update comment listing what functions and
11685 macros are tested.
11686 (finite_test): New function.
11687 (isinf_test): Likewise.
11688 (isnan_test): Likewise.
11689 (fpclassify_test): Test subnormal input.
11690 (isfinite_test): Likewise.
11691 (isnormal_test): Likewise.
11692 (main): Call the new functions.
11693
55f11534
JN
116942012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11695
11696 [BZ #14660]
11697 * Makerules (%.dynsym): Force C locale when running
11698 $(OBJDUMP) --dynamic-syms.
11699
1ab29350
AS
117002012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11701
11702 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11703 <stdint.h>.
11704
f1ecb7ef
DM
117052012-10-06 David S. Miller <davem@davemloft.net>
11706
11707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11708 upper 32-bits of the length value in %o2 since we use branch-on-register
11709 tests which consider the entire 64-bit register.
11710
5d41d91a
L
117112012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11712
11713 * string/test-strstr.c (check2): Add a test for page boundary.
11714
3baddb72
DM
117152012-10-05 David S. Miller <davem@davemloft.net>
11716
11717 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11719 file.
11720 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11721 sysdep_routines.
11722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11723 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11724 and bzero when HWCAP_SPARC_CRYPTO is present.
11725
9cee5585
L
117262012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11727
d7e0dab9
L
11728 [BZ #14602]
11729 * string/test-strstr.c (check2): New function.
11730 (test_main): Call check2.
11731
03759f47
L
11732 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11733 and bug-strchr1.
11734 * string/bug-strcasestr1.c (do_test): Moved to ...
11735 * string/test-strcasestr.c (check1): Here. New function.
11736 (do_one_test): Break out result checking code into ...
11737 (check_result): This. New function.
11738 (do_one_test): Call check_result.
11739 (test_main): Call check1.
11740 * string/bug-strchr1.c (do_test): Moved to ...
11741 * string/test-strchr.c (check1): Here. New function.
11742 (do_one_test): Break out result checking code into ...
11743 (check_result): This. New function.
11744 (do_one_test): Call check_result.
11745 (test_main): Call check1.
11746 * string/bug-strstr1.c (main): Moved to ...
046f153e 11747 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11748 (do_one_test): Break out result checking code into ...
11749 (check_result): This. New function.
11750 (do_one_test): Call check_result.
11751 (test_main): Call check1.
11752 * string/bug-strcasestr1.c: Removed.
11753 * string/bug-strchr1.c: Likewise.
11754 * string/bug-strstr1.c: Likewise.
11755
53cea63e
L
11756 * elf/Makefile (dl-routines): Add hwcaps.
11757 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11758 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11759 (_dl_important_hwcaps): Moved to ...
11760 * elf/dl-hwcaps.c: Here. New file.
11761 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11762
9cee5585 11763 [BZ #14557]
bb859b06
L
11764 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11765 if IS_IN_rtld isn't defined.
11766
9cee5585
L
11767 * elf/dl-support.c (_dl_sysinfo_map): New.
11768 Include "get-dynamic-info.h" and "setup-vdso.h".
11769 (_dl_non_dynamic_init): Call setup_vdso.
11770 * elf/dynamic-link.h: Don't include <assert.h>.
11771 (elf_get_dynamic_info): Moved to ...
11772 * elf/get-dynamic-info.h: Here. New file.
11773 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11774 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11775 * elf/setup-vdso.h: Here. New file.
11776 * elf/rtld.c: Include "setup-vdso.h".
11777 (dl_main): Call setup_vdso.
11778
23c31b76
JM
117792012-10-05 Joseph Myers <joseph@codesourcery.com>
11780
28234b07
JM
11781 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11782 creal in comment listing functions tested. List finite, isinf,
11783 isnan, isless, islessequal, isgreater, isgreaterequal,
11784 islessgreater, isunordered, lgamma_r and pow10 as functions and
11785 macros not tested. Mention which functions not tested are aliases
11786 for other functions. Fix typo. Note that signs of NaNs are not
11787 tested.
11788
23c31b76
JM
11789 * scripts/config.guess: Update from config.git.
11790 * scripts/config.sub: Likewise.
11791
9043e228
RM
117922012-10-04 Roland McGrath <roland@hack.frob.com>
11793
11794 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11795 * misc/madvise.c (madvise): Renamed to __madvise.
11796 Make madvise a weak alias.
11797 * include/sys/mman.h: Declare __madvise.
11798 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11799 * sysdeps/unix/syscalls.list
11800 (madvise): Make __madvise the strong name, and madvise a weak alias.
11801 * sysdeps/unix/sysv/linux/syscalls.list
11802 (madvise, mmap): Remove redundant entries.
11803 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11804 * malloc/malloc.c (mtrim): Likewise.
11805 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11806
f57f8055
RM
118072012-10-03 Roland McGrath <roland@hack.frob.com>
11808
11809 * sysdeps/mach/hurd/dl-cache.c: File removed.
11810 * config.h.in (USE_LDCONFIG): New #undef.
11811 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11812 * configure: Regenerated.
11813 * elf/Makefile (dl-routines): Add dl-cache only under
11814 [$(use-ldconfig) = yes].
11815 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11816 cache on [USE_LDCONFIG].
11817 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11818 [USE_LDCONFIG].
11819 * elf/rtld.c (dl_main): Likewise.
11820
5bb0c10a
PT
118212012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11822
11823 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11824 _SC_LEVEL4_CACHE_LINESIZE.
11825
010188c6
RM
118262012-10-03 Roland McGrath <roland@hack.frob.com>
11827
11828 * sysdeps/unix/bsd/confstr.h: File removed.
11829
b6c5ec07
AO
118302012-10-02 Alexandre Oliva <aoliva@redhat.com>
11831
11832 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11833 sys/sdt-config.h.
11834
408223d4
RM
118352012-10-02 Roland McGrath <roland@hack.frob.com>
11836
11837 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11838 Make 'mapoff' field ElfW(Off) rather than off_t.
11839
bb9510dc
DL
118402012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11841
fc997c6e
DL
11842 * nscd/Makefile: Remove nscd-cflags and all its users.
11843 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11844 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11845
bb9510dc
DL
11846 [BZ #10631]
11847 * malloc.c (malloc_printerr): Clarify error message.
11848
05699367
L
118492012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11850
11851 [BZ #14648]
11852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11853 Set bit_FMA_Usable if FMA is supported.
11854 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11855 macro.
11856 (bit_FMA4_Usable): Updated.
11857 (index_FMA_Usable): New macro.
11858 (CPUID_FMA): Likewise
11859 (HAS_FMA): Defined with bit_FMA_Usable.
11860
51367701
RM
118612012-10-01 Roland McGrath <roland@hack.frob.com>
11862
11863 * bits/types.h (__swblk_t): Type removed.
11864 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11865 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11867 (__SWBLK_T_TYPE): Likewise.
11868 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11869 (__SWBLK_T_TYPE): Likewise.
11870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11871 (__SWBLK_T_TYPE): Likewise.
11872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11873 (__SWBLK_T_TYPE): Likewise.
11874
4d57bf63 118752012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11876 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11877
11878 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11879 (xdr_mapname): Use YPMAXMAP as maxsize.
11880 (xdr_peername): Use YPMAXPEER as maxsize.
11881 (xdr_keydat): Use YPAXRECORD as maxsize.
11882 (xdr_valdat): Use YPMAXRECORD as maxsize.
11883
93c65d43
RM
118842012-10-01 Roland McGrath <roland@hack.frob.com>
11885
497a03d6
RM
11886 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11887
93c65d43
RM
11888 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11889 * csu/init-first.c: ... here.
11890 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11891 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11892 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11893 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11894 * sysdeps/i386/init-first.c: File removed.
11895 * sysdeps/sh/init-first.c: File removed.
11896
bec749fd
JM
118972012-10-01 Joseph Myers <joseph@codesourcery.com>
11898
11899 [BZ #14645]
11900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11901 if x * y might underflow to zero and z is zero.
11902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11903 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11904 * math/libm-test.inc (min_subnorm_value): New variable.
11905 (fma_test): Add more tests.
11906 (fma_test_towardzero): Likewise.
11907 (fma_test_downward): Likewise
11908 (fma_test_upward): Likewise.
11909 (initialize): Set min_subnorm_value.
11910
8ec5b013
JM
119112012-09-29 Joseph Myers <joseph@codesourcery.com>
11912
11913 [BZ #14638]
11914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11915 0 + 0.
11916 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11917 mode for addition resulting in exact zero.
11918 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11920 exact 0 + 0.
11921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11923 * math/libm-test.inc (fma_test): Add more tests.
11924 (fma_test_towardzero): New function.
11925 (fma_test_downward): Likewise.
11926 (fma_test_upward): Likewise.
11927 (main): Call the new functions.
11928
b1fa802e
DM
119292012-09-28 David S. Miller <davem@davemloft.net>
11930
11931 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11932
d3b9fd9e
RM
119332012-09-28 Roland McGrath <roland@hack.frob.com>
11934
ea4d37b3
RM
11935 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11936 instead of SIGALRM.
11937
ac51c949
RM
11938 * sysdeps/gnu/_G_config.h: Moved to ...
11939 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11940 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11941 * sysdeps/generic/_G_config.h: ... here.
11942
28c195f7
RM
11943 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11944
848917f9
RM
11945 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11946
6bacf05b
RM
11947 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11948 Conditionalize target on [libnss_test1.so-version].
11949
91363dbb
RM
11950 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11951
cc87f7d8
RM
11952 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11953 (elfobjdir): Move out of conditionals.
11954
b1c608fe
RM
11955 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11956 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11957 (__nss_lookup_function): Conditionalize label remove_from_tree on
11958 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11959
1d9a6d96
DM
119602012-09-28 David S. Miller <davem@davemloft.net>
11961
11962 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11963 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11964 file.
11965 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11966 sysdep_routines.
11967 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11969 when HWCAP_SPARC_CRYPTO is present.
11970
72581615
PT
119712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11972
11973 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11974
715a900c
JL
119752012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11976
11977 [BZ #6530]
11978 * stdio-common/vfprintf.c (process_string_arg): Revert
11979 2000-07-22 change.
11980
119812011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11982
11983 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11984 for testcase.
11985 * stdio-common/tst-sprintf.c: Include <locale.h>
11986 (main): Test sprintf's handling of incomplete multibyte
11987 characters.
11988
9bac1d86
L
119892012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11990
11991 * elf/dl-runtime.c (VERSYMIDX): Removed.
11992 * elf/dl-version.c (VERSYMIDX): Likewise.
11993 * elf/do-rel.h (VERSYMIDX): Likewise.
11994 (VALIDX): Likewise.
11995 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11996 * elf/rtld.c (VALIDX): Likewise.
11997 (ADDRIDX): Likewise.
9bac1d86
L
11998 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11999 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12000 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12001 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12002 (VALIDX): Likewise.
12003 (ADDRIDX): Likewise.
9bac1d86 12004
b31606c0
PT
120052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12006
12007 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12008
11541177
JL
120092012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12010
12011 [BZ #11438]
12012 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12013 to global scope.
12014 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12015 addresses are in the same scope as 192.0.2/24.
12016 * posix/gai.conf: Document new scope table defaults.
12017
adb26fae
SP
120182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12019
12020 [BZ #5298]
12021 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12022 for ftell. Compute offsets from write pointers instead.
12023 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12024
4573c6b0
SP
120252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12026
12027 [BZ #14543]
12028 * libio/Makefile (tests): New test case tst-fseek.
12029 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12030 combination works in wide mode.
12031 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12032 state when the external buffer state changes.
12033
aa9bbfe6
DM
120342012-09-27 David S. Miller <davem@davemloft.net>
12035
12036 [BZ #14376]
12037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12038 pass reloc->r_addend in as the 'high' argument to
12039 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12040
784421e7
DM
12041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12042
c39bc8b8
PT
120432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12044
12045 * rt/tst-aio2.c: Include <pthread.h>.
12046 * rt/tst-aio3.c: Likewise.
12047
1ccc2399
SE
120482012-09-27 Steve Ellcey <sellcey@mips.com>
12049
12050 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12051
31ed4153
L
120522012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12053
25f5f885
L
12054 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12055 contents on [SHARED].
31ed4153 12056
b7bfe116
MP
120572012-09-26 Marek Polacek <polacek@redhat.com>
12058
12059 [BZ #14530]
12060 [BZ #13741]
12061 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12062 for C++ and GCC <4.3 as well as for non GCC compilers.
12063
43c4edba
MT
120642012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12065
12066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12067
6a1bf82f
RM
120682012-09-25 Roland McGrath <roland@hack.frob.com>
12069
12070 * Makefile.in (all, install): Declare with .PHONY.
12071 Reported by Michael Hope <michael.hope@linaro.org>.
12072
8ad11b9a
TMQMF
120732012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12074
12075 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12076 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12077 system header.
12078 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12079 Likewise.
12080 (sydep_routines): Add the new and the internal functions.
12081 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12082 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12084 (GLIBC_2.17): Add the new function.
12085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12086 (GLIBC_2.17): Likewise.
12087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12088 (GLIBC_2.17): Likewise.
12089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12090 (GLIBC_2.17): Likewise.
12091 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12092
7e2fca8d
AM
120932012-09-25 Alan Modra <amodra@gmail.com>
12094
12095 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12096 Add release barrier before setting once_control to say
12097 initialisation is done. Add hints on lwarx. Use macro in
12098 place of isync.
12099 (clear_once_control): Add release barrier.
12100
b87c4b24
JM
121012012-09-25 Joseph Myers <joseph@codesourcery.com>
12102
d032e0d2
JM
12103 [BZ #13629]
12104 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12105 specially.
12106 * math/s_clog10.c (__clog10): Likewise.
12107 * math/s_clog10f.c (__clog10f): Likewise.
12108 * math/s_clog10l.c (__clog10l): Likewise.
12109 * math/s_clogf.c (__clogf): Likewise.
12110 * math/s_clogl.c (__clogl): Likewise.
12111 * math/Makefile (libm-calls): Add x2y2m1.
12112 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12113 (__x2y2m1): Likewise.
12114 (__x2y2m1l): Likewise.
12115 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12116 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12117 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12118 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12119 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12120 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12121 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12124
b87c4b24
JM
12125 [BZ #14621]
12126 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12127 int as type of variable DEPTH.
12128 (glob): Use size_t instead of int as type of variables NEWCOUNT
12129 and OLD_PATHC.
12130
6d3bf199
LD
121312012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12132
22bf5c17
LD
12133 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12134 Add s_sincosf-sse2.
12135 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12136 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12137 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12138 macros for using routine as __sincosf_ia32.
12139 Use macro for function declaration and weak_alias.
12140 * sysdeps/i386/fpu/libm-test-ulps: Update.
12141
12142 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12144
12145 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12146 subnormal argument.
12147 * math/s_cexpf.c (__cexpf): Likewise.
12148 * math/s_csinf.c (__csinf): Likewise.
12149 * math/s_csinhf.c (__csinhf): Likewise.
12150 * math/s_ctanf.c (__ctanf): Likewise.
12151 * math/s_ctanhf.c (__ctanhf): Likewise.
12152 * math/s_ccosh.c (__ccoshf): Likewise.
12153 * math/s_cexp.c (__cexpl): Likewise.
12154 * math/s_csin.c (__csin): Likewise.
12155 * math/s_csinh.c (__csinh): Likewise.
12156 * math/s_ctan.c (__ctan): Likewise.
12157 * math/s_ctanh.c (ctanh): Likewise.
12158 * math/s_ccoshl.c (__ccoshl): Likewise.
12159 * math/s_cexpl.c (__cexpl): Likewise.
12160 * math/s_csinl.c (__csinl): Likewise.
12161 * math/s_csinhl.c (__csinhl): Likewise.
12162 * math/s_ctanl.c (__ctanl): Likewise.
12163 * math/s_ctanhl.c (__ctanhl): Likewise.
12164
203e5603
JM
121652012-09-25 Joseph Myers <joseph@codesourcery.com>
12166
12167 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12168 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12169 (_IO_off_t): Define to __off_t, not _G_off_t.
12170 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12171 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12172 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12173 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12174 type of __dummy and __dummy2 fields.
12175 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12176 (_G_ssize_t): Likewise.
12177 (_G_off_t): Likewise.
12178 (_G_pid_t): Likewise.
12179 (_G_uid_t): Likewise.
12180 (_G_wchar_t): Likewise.
12181 (_G_wint_t): Likewise.
12182 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12183 (_G_ssize_t): Likewise.
12184 (_G_off_t): Likewise.
12185 (_G_pid_t): Likewise.
12186 (_G_uid_t): Likewise.
12187 (_G_wchar_t): Likewise.
12188 (_G_wint_t): Likewise.
12189 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12190 (_G_ssize_t): Likewise.
12191 (_G_off_t): Likewise.
12192 (_G_pid_t): Likewise.
12193 (_G_uid_t): Likewise.
12194 (_G_wchar_t): Likewise.
12195 (_G_wint_t): Likewise.
12196
9fab36eb
SP
121972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12198
12199 * malloc/arena.c: Include malloc-sysdep.h.
12200 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12201 is sufficient to shrink the heap or an unmap is needed.
12202 * sysdeps/generic/malloc-sysdep.h: New file. Define
12203 new function check_may_shrink_heap.
12204 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12205 new function check_may_shrink_heap.
12206
2b4f00d1
SP
122072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12208
12209 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12210 comments.
12211
9a9028b1
DL
122122012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12213
57c69bef
DL
12214 * catgets/test-gencat.sh: Add "set -e".
12215 * elf/tst-pathopt.sh: Likewise.
12216 * grp/tst_fgetgrent.sh: Likewise.
12217 * iconvdata/run-iconv-test.sh: Likewise.
12218 * intl/tst-gettext.sh: Likewise.
12219 * intl/tst-gettext2.sh: Likewise.
12220 * intl/tst-gettext4.sh: Likewise.
12221 * intl/tst-gettext6.sh: Likewise.
12222 * intl/tst-translit.sh: Likewise.
12223 * io/ftwtest-sh: Likewise.
12224 * libio/test-freopen.sh: Likewise.
12225 * malloc/tst-mtrace.sh: Likewise.
12226 * posix/globtest.sh: Likewise.
12227 * posix/tst-getconf.sh: Likewise.
12228 * posix/wordexp-tst.sh: Likewise.
12229 * stdio-common/tst-printf.sh: Likewise.
12230 * stdio-common/tst-unbputc.sh: Likewise.
12231 * stdlib/tst-fmtmsg.sh: Likewise.
12232 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12233 * catgets/Makefile: Do not specify -e option when running
12234 testsuite shell scripts.
12235 * elf/Makefile: Likewise.
12236 * grp/Makefile: Likewise.
12237 * iconvdata/Makefile: Likewise.
12238 * intl/Makefile: Likewise.
12239 * io/Makefile: Likewise.
12240 * libio/Makefile: Likewise.
12241 * malloc/Makefile: Likewise.
12242 * posix/Makefile: Likewise.
12243 * stdio-common/Makefile: Likewise.
12244 * stdlib/Makefile: Likewise.
12245 * sysdeps/x86_64/Makefile: Likewise.
12246
9a9028b1
DL
12247 * io/ftwtest-sh: Add copyright header.
12248 * posix/globtest.sh: Likewise.
12249 * posix/tst-getconf.sh: Likewise.
12250 * posix/wordexp-tst.sh: Likewise.
12251 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12252
ced6f16e
L
122532012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12254
94b32c39
L
12255 [BZ #13679]
12256 * Makeconfig (+link): Defined as $(+link-static) if
12257 $(build-shared) isn't yes.
12258 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12259 isn't yes.
12260 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12261
189e935b
L
12262 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12263
ced6f16e
L
12264 [BZ #14562]
12265 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12266 new chunk size with MALLOC_ALIGN_MASK.
12267
a9f8e53a
JM
122682012-09-24 Joseph Myers <joseph@codesourcery.com>
12269
12270 [BZ #5044]
12271 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12272 <rounding-mode.h>.
12273 (__printf_fphex): Determine rounding using get_rounding_mode and
12274 round_away.
12275 * stdio-common/tst-printf-round.c (struct hex_test): New
12276 structure.
12277 (hex_tests): New variable.
12278 (test_hex_in_one_mode): New function.
12279 (do_test): Also run tests for hex float output.
12280
43153109
JM
122812012-09-21 Joseph Myers <joseph@codesourcery.com>
12282
12283 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12284 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12285 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12286 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12287 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12288 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12289 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12291
8a26625d
JM
122922012-09-20 Joseph Myers <joseph@codesourcery.com>
12293
12294 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12295 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12296 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12297 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12298
f3fd569c
DL
122992012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12300
12301 [BZ #14579]
12302 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12303 mode only.
12304 * elf/tst-rtld-load-self.sh: New test.
12305 * elf/Makefile: Run it.
12306
63bbedd4
JM
123072012-09-18 Joseph Myers <joseph@codesourcery.com>
12308
12309 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12310 (tst-writev-ENV): Remove.
12311 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12312
626f8b6a
CM
123132012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12314
12315 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12316
b7aaa4d6
JM
123172012-09-17 Joseph Myers <joseph@codesourcery.com>
12318
12319 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12320 unconditional.
12321 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12322 Likewise.
12323 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12324 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12325 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12326 Likewise.
12327
65513990
L
123282012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12329
12330 [BZ #14587]
12331 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12332 * config.make.in (have-cpp-asm-debuginfo): Removed.
12333 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12334 * configure: Regenerated.
12335
784761be
JM
123362012-09-14 Joseph Myers <joseph@codesourcery.com>
12337
12338 [BZ #5044]
12339 * stdio-common/printf_fp.c: Include <stdbool.h> and
12340 <rounding-mode.h>.
12341 (___printf_fp): Determine rounding using get_rounding_mode and
12342 round_away.
12343 * stdio-common/tst-printf-round.c: New file.
12344 * stdio-common/Makefile (tests): Add tst-printf-round.
12345 (link-libm): New variable.
12346 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12347
9503345f
L
123482012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12349
12350 [BZ #14576]
12351 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12352 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12353 Likewise.
12354 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12355 Likewise.
12356
ad35fc00
JM
123572012-09-13 Joseph Myers <joseph@codesourcery.com>
12358
12359 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12360 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12361 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12363
6c9b0f68
JM
123642012-09-12 Joseph Myers <joseph@codesourcery.com>
12365
12366 [BZ #14518]
12367 * include/rounding-mode.h: New file.
12368 * sysdeps/generic/get-rounding-mode.h: Likewise.
12369 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12370 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12371 (MAX_VALUE): New macro.
12372 (MIN_VALUE): Likewise.
12373 (overflow_value): New function.
12374 (underflow_value): Likewise.
12375 (round_and_return): Use overflow_value and underflow_value to
12376 determine return values in overflow and underflow cases. Use
12377 round_away to determine rounding depending on rounding mode.
12378 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12379 determine return values in overflow and underflow cases.
12380 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12381 (struct test_results): New structure.
12382 (struct test): Use struct test_results to store expected results
12383 for all rounding modes.
12384 (TEST): Include expected results for all rounding modes.
12385 (test_in_one_mode): New function.
12386 (do_test): Use test_in_one_mode to compute and check results.
12387 Check results for all rounding modes.
12388 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12389 $(link-libm).
12390
19fcedd5
AM
123912012-12-09 Allan McRae <allan@archlinux.org>
12392
1e9d84cd 12393 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12394
8bbfd2f1
JM
123952012-09-11 Joseph Myers <joseph@codesourcery.com>
12396
12397 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12398 (_G_int32_t): Likewise.
12399 (_G_uint16_t): Likewise.
12400 (_G_uint32_t): Likewise.
12401 (_G_HAVE_BOOL): Likewise.
12402 (_G_HAVE_ATEXIT): Likewise.
12403 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12404 (_G_HAVE_IO_FILE_OPEN): Likewise.
12405 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12406 (_G_int32_t): Likewise.
12407 (_G_uint16_t): Likewise.
12408 (_G_uint32_t): Likewise.
12409 (_G_HAVE_BOOL): Likewise.
12410 (_G_HAVE_ATEXIT): Likewise.
12411 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12412 (_G_HAVE_IO_FILE_OPEN): Likewise.
12413 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12414 (_G_int32_t): Likewise.
12415 (_G_uint16_t): Likewise.
12416 (_G_uint32_t): Likewise.
12417 (_G_HAVE_BOOL): Likewise.
12418 (_G_HAVE_ATEXIT): Likewise.
12419 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12420 (_G_HAVE_IO_FILE_OPEN): Likewise.
12421
b1dc5912
L
124222012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12423
12424 * csu/libc-tls.c: Update copyright years.
12425
0e886ef9
JM
124262012-09-10 Joseph Myers <joseph@codesourcery.com>
12427
28361c5e
JM
12428 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12429 [!_G_USING_THUNKS]: Remove conditional code.
12430 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12431 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12432
0e886ef9
JM
12433 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12434 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12435 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12436 (_G_VTABLE_LABEL_PREFIX): Likewise.
12437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12438 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12440 (_G_VTABLE_LABEL_PREFIX): Likewise.
12441 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12442 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12443 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12444 (_G_VTABLE_LABEL_PREFIX): Likewise.
12445 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12446
bcba7aa2
L
124472012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12448
12449 * libio/Makefile: Include ../Makeconfig before tests.
12450 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12451 only if $(build-shared) is yes.
12452
06585ee8
L
12453 * iconv/gconv_db.c: Update copyright years.
12454
80ccd52c
LD
124552012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12456
12457 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12458 unwind info if defined PIC. Fix special cases description.
12459 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12460
12461 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12462 DP_HI_MASK entry.
12463 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12464
691bc9c1
L
124652012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12466
3d9b46b3
L
12467 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12468
de2139a9
L
12469 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12470 is NULL.
12471
5ca78dd0
L
12472 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12473 (LDLIBS-tst-chk4): This.
12474 (LDFLAGS-tst-chk5): Renamed to ...
12475 (LDLIBS-tst-chk5): This.
12476 (LDFLAGS-tst-chk6): Renamed to ...
12477 (LDLIBS-tst-chk6): This.
12478 (LDFLAGS-tst-lfschk4): Renamed to ...
12479 (LDLIBS-tst-lfschk4): This.
12480 (LDFLAGS-tst-lfschk5): Renamed to ...
12481 (LDLIBS-tst-lfschk5): This.
12482 (LDFLAGS-tst-lfschk6): Renamed to ...
12483 (LDLIBS-tst-lfschk6): This.
12484
691bc9c1
L
12485 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12486 on $(common-objpfx)soversions.mk.
12487
65cafb1c
JM
124882012-09-07 Joseph Myers <joseph@codesourcery.com>
12489
12490 [BZ #10014]
12491 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12492 example host name.
12493
c78ab094
SP
124942012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12495
12496 * malloc/arena.c (arena_get_retry): New function that gets
12497 another arena for the caller to try its request on.
12498 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12499 current arena cannot fulfill the request.
12500 (__libc_memalign): Likewise.
12501 (__libc_memalign): Likewise.
12502 (__libc_pvalloc): Likewise.
12503 (__libc_calloc): Likewise.
12504
01f49f59
JT
125052012-09-05 John Tobey <john.tobey@gmail.com>
12506
12507 [BZ #13542]
12508 * manual/arith.texi (Operations on Complex): Fix description
12509 of carg branch cut.
12510
4c23fed5
JM
125112012-09-06 Joseph Myers <joseph@codesourcery.com>
12512
1d3c8572
JM
12513 [BZ #10014]
12514 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12515 host name.
12516
4c23fed5
JM
12517 [BZ #10038]
12518 * manual/memory.texi (Memory): Make order of menu items match
12519 order of sections.
12520
04570aaa
L
125212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12524 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12525 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12526
b80af2f4
L
125272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12528
12529 * csu/libc-tls.c (static_dtv): Renamed to ...
12530 (_dl_static_dtv): This. Make it global.
12531 (_dl_initial_dtv): Removed.
12532 (__libc_setup_tls): Updated.
12533 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12534 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12535 DL_INITIAL_DTV.
12536
2abe9f15
PM
125372012-09-06 Petr Machata <pmachata@redhat.com>
12538
12539 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12540 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12541 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12542 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12543
0948c3af
L
125442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 [BZ #14545]
12547 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12548 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12549 freeing dtv[-1].
12550
a5055ad1
L
125512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 [BZ #14544]
12554 * Makeconfig (link-static-before-libc): Replace $(+prector)
12555 with $(+prectorT).
12556 (link-static-after-libc): Replace $(+postctor) with
12557 $(+postctorT).
12558 (link-bounded): Replace $(+prector)/$(+postctor) with
12559 $(+prectorT)/$(+postctorT).
12560 (+prectorT): New macro.
12561 (+postctorT): Likewise.
12562
ed8c2ecd
JM
125632012-09-06 Joseph Myers <joseph@codesourcery.com>
12564
12565 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12566 (round_str): Handle values above the maximum for IBM long double
12567 as inexact.
12568 * stdlib/tst-strtod-round.c (tests): Regenerated.
12569
14c996c8
AK
125702012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12571
12572 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12573 assembler flag.
12574 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12575 zarch_nohighgprs around the zarch optimized routines.
12576 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12577 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12578 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12579 for zarch.
12580
430d6ce6
DM
125812012-09-05 David S. Miller <davem@davemloft.net>
12582
12583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12584
ff04dda4
DM
12585 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12586 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12587 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12588 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12589 entries.
12590
24d4e01b
AO
125912012-09-05 Alexandre Oliva <aoliva@redhat.com>
12592
12593 * malloc/arena.c: Fold copyright years.
12594 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12595
61d58174
AO
125962012-09-05 Alexandre Oliva <aoliva@redhat.com>
12597
12598 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12599
20196a5e
AO
126002012-09-05 Alexandre Oliva <aoliva@redhat.com>
12601
12602 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12603
5c447383
AO
126042012-09-05 Alexandre Oliva <aoliva@redhat.com>
12605
12606 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12607 change internal state upon failure.
12608
fad64255
AO
126092012-09-05 Alexandre Oliva <aoliva@redhat.com>
12610
12611 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12612 * malloc/memusage.c (mmap): Likewise.
12613 (mmap64, mremap): Likewise. Adjust name in comment.
12614
1ffb8c90
SP
126152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12616
12617 * libio/fileops.c: Fix typos in comments.
12618 * libio/oldfileops.c: Likewise.
12619 * libio/wfileops.c: Likewise.
12620
6ef9cc37
SP
126212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12622
12623 [BZ #1349]
12624 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12625 (tst-malloc-usable-ENV): Set environment for test case.
12626 * malloc/hooks.c (malloc_check_get_size): New function to get
12627 requested size.
12628 * malloc/malloc.c (musable): Use malloc_check_get_size.
12629 * malloc/tst-malloc-usable.c: New test case.
12630
4d038ae3
AS
126312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12632
12633 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12634
c4e85184
AM
126352012-09-05 Allan McRae <allan@archlinux.org>
12636
b9dafc56 12637 [BZ #13966]
c4e85184
AM
12638 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12639 determine header location.
12640 * configure: Regenerated.
12641
e1343020
AS
126422012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12643
12644 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12645 float format.
12646 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12647 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12648 format.
e1343020
AS
12649 (test): Regenerate.
12650
0a9f1987
DM
126512012-09-04 David S. Miller <davem@davemloft.net>
12652
12653 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12654 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12655 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12656
29237804
FW
126572012-09-04 Florian Weimer <fweimer@redhat.com>
12658
12659 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12660 failures.
12661
edb3cb88
FW
12662 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12663
60160d83
JM
126642012-09-04 Joseph Myers <joseph@codesourcery.com>
12665
12666 [BZ #9914]
12667 * libio/iogetdelim.c: Include <limits.h>.
12668 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12669 + len + 1 would overflow.
12670
bcd6c8dc
AJ
126712012-09-03 Andreas Jaeger <aj@suse.de>
12672
12673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12674 * sysdeps/i386/fpu/libm-test-ulps: Update.
12675
4ffffbd2
LD
126762012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12677
12678 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12679 Add s_sinf-sse2, s_conf-sse2.
12680
12681 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12682 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12683 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12684 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12685
12686 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12687 for using routine as __sinf_ia32.
12688 Use macro for function declaration and weak_alias.
12689 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12690 for using routine as __cosf_ia32.
12691 Use macro for function declaration and weak_alias.
12692
12693 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12694 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12695
12696 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12697 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12699
12700 * math/libm-test.inc (cos_test): Add more test cases.
12701 (sin_test): Likewise.
12702 (sincos_test): Likewise.
12703
511fa286
AK
127042012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12705
12706 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12707 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12708 hidden.
12709 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12710
5f30cfec
L
127112012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12712
12713 [BZ #14538]
12714 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12715 first element of the GOT.
12716 (elf_machine_load_address): Return the difference between
12717 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12718
0786794f
AM
127192012-09-01 Allan McRae <allan@archlinux.org>
12720
5f30cfec
L
12721 [BZ #13412]
12722 * configure.in (AWK): Require gawk version 3.0 or later.
12723 * configure: Regenerated.
0786794f 12724
26889eac
JM
127252012-09-01 Joseph Myers <joseph@codesourcery.com>
12726
12727 * sysdeps/unix/sysv/linux/kernel-features.h
12728 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12729 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12730 [__NR_clock_getres]: Make code unconditional.
12731 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12732 (clock_getcpuclockid): Remove code left unreachable by removal of
12733 conditionals.
12734 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12735 code unconditional.
12736 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12737 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12739 Make code unconditional.
12740 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12741 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12742 * sysdeps/unix/sysv/linux/clock_settime.c
12743 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12744 conditional code.
12745 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12746 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12747
d22e28b0
L
127482012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 [BZ #14476]
12751 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12752 scripts/test-installation.pl.
12753
12754 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12755 and $ld_so_version if it is set.
12756
050af9c4
SP
127572012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12758
12759 [BZ #14516]
12760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12761 failure if reading from procfs failed.
12762 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12763
ad845c0b
JM
127642012-08-27 Joseph Myers <joseph@codesourcery.com>
12765
12766 * sysdeps/unix/sysv/linux/kernel-features.h
12767 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12768 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12769 Remove conditional code.
12770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12771 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12772 Remove conditional code.
12773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12774 * sysdeps/unix/sysv/linux/i386/fxstat.c
12775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12777 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12778 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12780 * sysdeps/unix/sysv/linux/i386/lxstat.c
12781 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12783 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12784 Remove conditional code.
12785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12786 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12787 Remove conditional code.
12788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12789 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12790 <kernel-features.h>.
12791 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12792 Remove.
12793 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12794 Remove conditional code.
12795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12796 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12797 Remove conditional.
12798
5dbf56af
MF
127992012-08-27 Mike Frysinger <vapier@gentoo.org>
12800
12801 [BZ #5400]
12802 * NEWS: Add fixed bug number.
12803
d6e70f43
JM
128042012-08-27 Joseph Myers <joseph@codesourcery.com>
12805
7efb4737
JM
12806 [BZ #14519]
12807 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12808 underflowing exponent in case of negative sign.
12809 * stdlib/tst-strtod-round-data: Add more tests.
12810 * stdlib/tst-strtod-round.c (tests): Regenerated.
12811
af92131a
JM
12812 [BZ #3479]
12813 * stdlib/strtod_l.c (NDIG): Remove.
12814 (HEXNDIG): Likewise.
12815 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12816 smallest representable value.
12817 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12818 lie within an exact representation of 1/2 ulp of the result.
12819 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12820 unconditionally.
12821 (TENS_P9_IDX): Define unconditionally.
12822 (TENS_P9_SIZE): Likewise.
12823 (TENS_P10_IDX): Likewise.
12824 (TENS_P10_SIZE): Likewise.
12825 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12826 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12827 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12828 entries for 10^2^13 and 10^2^14.
12829 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12830 (TENS_P13_IDX): Define.
12831 (TENS_P13_SIZE): Likewise.
12832 (TENS_P14_IDX): Likewise.
12833 (TENS_P14_SIZE): Likewise.
12834 (_fpioconst_pow10): Change array size to
12835 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12836 unconditional.
12837 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12838 1024]: Add entries for 10^2^13 and 10^2^14.
12839 [LAST_POW10 > _LAST_POW10]: Remove #error.
12840 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12841 (_fpioconst_pow10): Change array size to
12842 FPIOCONST_POW10_ARRAY_SIZE.
12843 * stdlib/gen-fpioconst.c: New file.
12844 * stdlib/gen-tst-strtod-round.c: Likewise.
12845 * stdlib/tst-strtod-round-data: Likewise.
12846 * stdlib/tst-strtod-round.c: Likewise.
12847 * stdlib/Makefile (tests): Add tst-strtod-round.
12848
d6e70f43
JM
12849 [BZ #14459]
12850 * stdlib/strtod_l.c: Include <stdint.h>.
12851 (NDEBUG): Do not define.
12852 (round_and_return): Change EXPONENT parameter to type intmax_t.
12853 Rearrange calculations to avoid internal overflow possibilities.
12854 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12855 Rearrange calculations to avoid internal overflow possibilities.
12856 Assert that number fits inside MPNSIZE limbs.
12857 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12858 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12859 calculations and add assertions to avoid internal overflow
12860 possibilities. Add casts to avoid signed/unsigned operations.
12861 * stdlib/tst-strtod-overflow.c: New file.
12862 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12863
1f529f7d
MP
128642012-08-25 Marek Polacek <polacek@redhat.com>
12865
12866 * time/time.h: Fix some typos in comments.
12867
59a629f1
RM
128682012-08-23 Roland McGrath <roland@hack.frob.com>
12869
12870 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12871 * posix/tst-rfc3484-2.c: Likewise.
12872 * posix/tst-rfc3484-3.c: Likewise.
12873
d3bafbc9
SM
128742012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12875
12876 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12877 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12878
4efcc022
JM
128792012-08-23 Joseph Myers <joseph@codesourcery.com>
12880
12881 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12882 #include of fxstatat64.c.
12883
3cc3ef96
RM
128842012-08-22 Roland McGrath <roland@hack.frob.com>
12885
f04e2132
RM
12886 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12887 * shadow/getspent_r.c: Likewise.
12888 * shadow/getspnam.c: Likewise.
12889 * shadow/getspnam_r.c: Likewise.
12890 * gshadow/getsgent.c: Likewise.
12891 * gshadow/getsgent_r.c: Likewise.
12892 * gshadow/getsgnam.c: Likewise.
12893 * gshadow/getsgnam_r.c: Likewise.
12894 * inet/getnetbyad.c: Likewise.
12895 * inet/getnetbyad_r.c: Likewise.
12896 * inet/getnetbynm.c: Likewise.
12897 * inet/getnetbynm_r.c: Likewise.
12898 * inet/getnetent.c: Likewise.
12899 * inet/getnetent_r.c: Likewise.
12900 * inet/getproto.c: Likewise.
12901 * inet/getproto_r.c: Likewise.
12902 * inet/getprtent.c: Likewise.
12903 * inet/getprtent_r.c: Likewise.
12904 * inet/getprtname.c: Likewise.
12905 * inet/getprtname_r.c: Likewise.
12906 * inet/getrpcbyname.c: Likewise.
12907 * inet/getrpcbyname_r.c: Likewise.
12908 * inet/getrpcbynumber.c: Likewise.
12909 * inet/getrpcbynumber_r.c: Likewise.
12910 * inet/getrpcent.c: Likewise.
12911 * inet/getrpcent_r.c: Likewise.
12912 * inet/getaliasent.c: Likewise.
12913 * inet/getaliasent_r.c: Likewise.
12914 * inet/getaliasname.c: Likewise.
12915 * inet/getaliasname_r.c: Likewise.
12916 * nscd/getgrgid_r.c: Likewise.
12917 * nscd/getgrnam_r.c: Likewise.
12918 * nscd/gethstbyad_r.c: Likewise.
12919 * nscd/gethstbynm3_r.c: Likewise.
12920 * nscd/getpwnam_r.c: Likewise.
12921 * nscd/getpwuid_r.c: Likewise.
12922 * nscd/getsrvbynm_r.c: Likewise.
12923 * nscd/getsrvbypt_r.c: Likewise.
12924 * nscd/gai.c: Likewise.
12925
c53d909c
RM
12926 * configure.in (build_nscd): New substituted variable, set
12927 by --disable-build-nscd and defaults to $use_nscd.
12928 * configure: Regenerated.
12929 * config.make.in (build-nscd): New substituted variable.
12930 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12931 Change conditional to require [$(build-nscd) = yes] as well.
12932 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12933
3cc3ef96
RM
12934 [BZ# 13696]
12935 * configure.in (use_nscd): New substituted variable, set by
12936 --disable-nscd. If enabled, define USE_NSCD.
12937 * configure: Regenerated.
12938 * config.h.in: Add USE_NSCD.
12939 * config.make.in (use-nscd): New substituted variable.
12940 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12941 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12942 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12943 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12944 (CFLAGS-getgrnam_r.c): Likewise.
12945 (CFLAGS-initgroups.c): Likewise.
12946 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12947 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12948 Variables removed.
12949 * inet/getnetgrent_r.c
12950 (nscd_setnetgrent): New function, broken out of ...
12951 (setnetgrent): ... here. Call it.
12952 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12953 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12954 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12955 * nscd/Makefile (routines, aux): Move definitions after include of
12956 Makeconfig. Conditionalize on [$(use-nscd) != no].
12957 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12958 Conditionalize on [USE_NSCD].
12959 (is_nscd, nscd_init_cb): Likewise.
12960 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12961 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12962 * nss/nss_db/db-init.c: Likewise.
12963 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12964 [USE_NSCD].
12965 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12966 (make_request): Use it.
12967 (cache_valid_p): New function.
12968 (__check_pf): Use it.
12969 * NEWS: Add item for --disable-nscd.
12970
07e51550
DL
129712012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12972
12973 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12974 to support sed >= 4.2.1-20-ga9bf076.
12975 * configure: Regenerated.
12976
35a5b08b
RM
129772012-08-22 Roland McGrath <roland@hack.frob.com>
12978
12979 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12980 Conditionalize whole body on [IREL].
12981
8479f23a
JL
129822012-08-22 Jeff Law <law@redhat.com>
12983
12984 [BZ #14505]
12985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12986 if the family is PF_UNSPEC.
12987
48da0b21
MF
129882012-08-22 Mike Frysinger <vapier@gentoo.org>
12989
12990 * Makerules (lib-version): Rename from V.
12991 (install-lib-nosubdir): Change V to lib-version.
12992
15d0da8c
WS
129932012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12994
12995 [BZ #14252]
12996 * powerpc32/power6/wcschr.c: New file.
12997 * powerpc32/power6/wcscpy.c: New file.
12998 * powerpc32/power6/wcsrchr.c: New file.
12999 * powerpc64/power6/wcschr.c: New file.
13000 * powerpc64/power6/wcscpy.c: New file.
13001 * powerpc64/power6/wcsrchr.c: New file.
13002
bcca0895
MK
130032012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13004
13005 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13006 (two_way_short_needle): Use it.
5a4aaa33
RM
13007 * string/strstr.c (AVAILABLE1_USES_J): Define.
13008 * string/strcasestr.c: Likewise.
99677e57
MK
13009
13010 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13011 array references.
13012 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13013
400726de
MK
13014 [BZ #11607]
13015 * NEWS: Add an entry.
13016 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13017 define their defaults.
13018 (two_way_short_needle): Detect end-of-string on-the-fly.
13019 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13020 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13021 * string/bug-strcasestr1.c: New test.
13022 * string/Makefile: Run it.
13023
20a71f2c
MK
130242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13025
13026 [BZ #11607]
13027 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13028 the first character.
13029
21ad0558
RM
130302012-08-21 Roland McGrath <roland@hack.frob.com>
13031
13032 * csu/elf-init.c (__libc_csu_irel): Function removed.
13033 * csu/libc-start.c (apply_irel): New function.
13034 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13035
0e1d9911
JM
130362012-08-21 Joseph Myers <joseph@codesourcery.com>
13037
13038 * sysdeps/unix/sysv/linux/kernel-features.h
13039 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13040 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13041 <kernel-features.h>.
13042 [__NR_fadvise64_64]: Make code unconditional.
13043 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13044 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13045 !__NR_fadvise64_64)]: Likewise.
13046 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13047 !__NR_fadvise64_64))]: Likewise.
13048 [__NR_fadvise64]: Make code unconditional.
13049 [!__NR_fadvise64]: Remove conditional code.
13050 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13051 <kernel-features.h>.
13052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13053 unconditional.
13054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13055 conditional code.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13057 not include <kernel-features.h>.
13058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13059 unconditional.
13060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13061 conditional code.
13062 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13063 include <kernel-features.h>.
13064 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13065 unconditional.
13066 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13067 conditional code.
13068
14a50c9d
WS
130692012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13070
13071 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13072 slight instruction rearrangements per scrollpipe analysis.
13073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13074
c0f4faf0
RM
130752012-08-20 Roland McGrath <roland@hack.frob.com>
13076
696da859
RM
13077 * manual/syslog.texi (syslog; vsyslog, closelog):
13078 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13079 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13080
c0f4faf0
RM
13081 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13082 DSOCAPS to match condition on defining it.
13083
348363b2
JM
130842012-08-20 Joseph Myers <joseph@codesourcery.com>
13085
a35cbf28
JM
13086 * sysdeps/unix/sysv/linux/kernel-features.h
13087 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13092 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13093 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13095 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13096 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13097
445f7ecd
JM
13098 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13099 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13100
348363b2
JM
13101 * sysdeps/unix/sysv/linux/kernel-features.h
13102 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13103 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13104 unconditional.
13105 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13106 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13107 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13108 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13109 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13110 Make code unconditional.
13111 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13112 (__mmap64) [!__NR_mmap2]: Likewise.
13113 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13114 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13115 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13116 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13117 [__NR_mmap2]: Make code unconditional.
13118 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13119 (__mmap64) [!__NR_mmap2]: Likewise.
13120
bc5bc0e5
AK
131212012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13122
13123 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13124
88d506de
AJ
131252012-08-18 Andreas Jaeger <aj@suse.de>
13126
13127 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13128
493387d2
MF
131292012-08-18 Mike Frysinger <vapier@gentoo.org>
13130
13131 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13132 * include/unistd.h (__have_sock_cloexec): Likewise.
13133 (__have_pipe2): Likewise.
13134 (__have_dup3): Likewise.
13135
a277af22
MF
131362012-08-18 Mike Frysinger <vapier@gentoo.org>
13137
13138 [BZ #9685]
13139 * include/unistd.h (__have_pipe2): Change define into an extern int.
13140 (__have_dup3): Likewise.
13141 * socket/have_sock_cloexec.c: Include fcntl.h.
13142 (__have_pipe2): New variable.
13143 (__have_dup3): Likewise.
13144
fdab8fd3
MF
131452012-08-17 Mike Frysinger <vapier@gentoo.org>
13146
13147 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13148
31035e80
MP
131492012-08-17 Marek Polacek <polacek@redhat.com>
13150
13151 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13152 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13153
3bd9e993
RM
131542012-08-17 Roland McGrath <roland@hack.frob.com>
13155
c91c505f
RM
13156 * configure.in: Add AC_SUBST for sysheaders.
13157 * configure: Regenerated.
13158 * config.make.in (sysheaders): New substituted variable.
13159
7c6f9d53
RM
13160 * sysdeps/unix/mkfifo.c: Moved ...
13161 * sysdeps/posix/mkfifo.c: ... here.
13162 * sysdeps/unix/mkfifoat.c: Moved ...
13163 * sysdeps/posix/mkfifoat.c: ... here.
13164
13165 * sysdeps/unix/utime.c: Moved ...
13166 * sysdeps/posix/utime.c: ... here.
13167
13168 * sysdeps/unix/time.c: Moved ...
13169 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13170 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13171 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13172
13173 * sysdeps/unix/nice.c: Moved ...
13174 * sysdeps/posix/nice.c: ... here.
13175
13176 * sysdeps/unix/alarm.c: Moved ...
13177 * sysdeps/posix/alarm.c: ... here.
13178
3bd9e993
RM
13179 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13180
d1f09384
JL
131812012-08-17 Jeff Law <law@redhat.com>
13182
13183 * intl/Makefile (codeset_mo): New variable.
13184 ($(codeset_mo)): New target.
13185 (tst-codeset.out): Depend on that. Remove explicit rule.
13186 (tst-gettext3.out, tst-gettext5.out): Likewise.
13187 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13188 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13189 * intl/tst-codeset.sh: Remove.
13190 * intl/tst-gettext3.sh: Likewise.
13191 * intl/tst-gettext5.sh: Likewise.
13192
2ae1ae5c
RM
131932012-08-17 Roland McGrath <roland@hack.frob.com>
13194
c31fdb83
RM
13195 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13196 * sysdeps/unix/syscalls.list: ... here.
13197
a0844057
RM
13198 * sysdeps/posix/getaddrinfo.c
13199 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13200 (gaiconf_init, gaiconf_reload): Use them.
13201 [!_STATBUF_ST_NSEC]
13202 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13203 Define using time_t rather than struct timespec.
13204
750c1f2a
RM
13205 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13206 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13207 Macros removed.
13208 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13209 [!NO_THREADS].
13210 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13211 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13212 Likewise.
13213
2ae1ae5c
RM
13214 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13215 __libc_cleanup_push argument.
13216
e66a42f5
RM
13217 * bits/param.h: New file.
13218 * misc/sys/param.h: New file.
13219 * include/sys/param.h: New file.
13220 * misc/Makefile (headers): Add bits/param.h.
13221 * sysdeps/generic/sys/param.h: File removed.
13222 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13223 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13224 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13225 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13226
b7c08a66
RM
13227 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13228 last change.
13229
b2e1c562
RM
13230 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13231 [_IO_MTSAFE_IO].
13232 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13233 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13234 New macros.
13235
c75ccd4c
RM
13236 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13237 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13238 rather than -D_IO_MTSAFE_IO conditionally.
13239 * stdio-common/Makefile (CPPFLAGS): Likewise.
13240 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13241 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13242 Use $(libio-mtsafe).
13243 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13244 of -D_IO_MTSAFE_IO.
13245 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13246 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13247 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13248 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13249 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13250 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13251 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13252 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13253 (CFLAGS-fread_u_chk.c): Likewise.
13254 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13255 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13256 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13257 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13258 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13259 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13260 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13261 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13262 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13263
13264 * libio/Makefile: Test [$(libc-reentrant) = yes]
13265 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13266
13267 * Makeconfig
13268 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13269 * sysdeps/pthread/configure: File removed.
13270 * sysdeps/pthread/Makeconfig: New file.
13271 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13272 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13273
d9195db8
GB
132742012-08-16 Gary Benson <gbenson@redhat.com>
13275
13276 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13277 unmapping the first object in a namespace.
13278
86466cd9
RM
132792012-08-16 Roland McGrath <roland@hack.frob.com>
13280
13281 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13282 (__internal_setnetgrent): ... this. Add internal_function to
13283 definition. Add libc_hidden_def.
13284 (setnetgrent): Update caller.
13285 (internal_endnetgrent): Renamed to ...
13286 (__internal_endnetgrent): ... this. Add internal_function to
13287 definition. Add libc_hidden_def.
13288 (endnetgrent): Update caller.
13289 (internal_getnetgrent_r): Renamed to ...
13290 (__internal_getnetgrent_r): ... this. Add internal_function to
13291 definition. Add libc_hidden_def.
13292 (__getnetgrent_r): Update caller.
13293 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13294
c3c8283c
JM
132952012-08-16 Joseph Myers <joseph@codesourcery.com>
13296
13297 * stdlib/longlong.h: Update from GCC.
13298
db1ee0a8
RM
132992012-08-16 Roland McGrath <roland@hack.frob.com>
13300
13301 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13302 on _QL, which is set by umul_ppmm but never used.
13303 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13304 variables, which are set by GMP macros but never used.
13305 * stdio-common/_itowa.c (_itowa): Likewise.
13306 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13307 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13308
30f69637
CD
133092012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13310
13311 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13312 struct La_sh_regs is not constant.
13313 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13314 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13315 and struct La_sparc64_regs are not constant.
13316
93a78ac4
JM
133172012-08-16 Joseph Myers <joseph@codesourcery.com>
13318
13319 * sysdeps/unix/sysv/linux/kernel-features.h
13320 (__ASSUME_POSIX_TIMERS): Remove.
13321 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13323 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13324 Make code unconditional.
13325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13326 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13327 Make code unconditional.
13328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13329 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13330 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13331 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13332 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13333 Make code unconditional.
13334 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13335 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13336 (__libc_missing_posix_timers): Remove.
13337
dd924cd7
RM
133382012-08-15 Roland McGrath <roland@hack.frob.com>
13339
4b4f2771
RM
13340 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13341 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13342
601c888b
RM
13343 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13344
176790a7
RM
13345 * elf/dl-sym.c: Include <stdlib.h>.
13346
329bc018
RM
13347 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13348 constants, which avoids warnings in 32-bit builds.
13349
e04e272d
RM
13350 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13351 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13352
952bf94a
RM
13353 * misc/lseek.c: File moved to ...
13354 * io/lseek.c: ... here.
13355
7c99b50a
RM
13356 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13357
dd924cd7
RM
13358 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13359 shifting LEN more than 31 bits at once.
13360
b3f479a8
LD
133612012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13362
13363 [BZ #14195]
8c4ae0d4
RM
13364 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13365 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13366 * string/test-strncasecmp.c (check1): Renamed to...
13367 (bz12205): ...this.
13368 (bz14195): Add new testcase for two empty input strings and N > 0.
13369 (test_main): Call new testcase, adapt for renamed function.
13370
9c55864e
AJ
133712012-08-15 Andreas Jaeger <aj@suse.de>
13372
13373 [BZ #14090]
13374 * crypt/md5test2.c: New test, based on test supplied by Serge
13375 Belyshev <belyshev@depni.sinp.msu.ru>.
13376 * crypt/Makefile (xtests): Add md5test-giant..
13377 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13378
02dcb6c5
PE
133792012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13380
13381 [BZ #14090]
13382 * crypt/md5.c (md5_process_block): Don't assume the buffer
13383 length is less than 2**32.
13384 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13385 length is less than 2**64.
13386
a3f95dcc
RM
133872012-08-15 Roland McGrath <roland@hack.frob.com>
13388
be75d758
RM
13389 * string/str-two-way.h: Include <sys/param.h>.
13390 (MAX): Macro removed.
13391
7312ca90
RM
13392 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13393 Move #define and #undef of memmove to just before and after
13394 including <string.h>.
13395
9a0a5486
RM
13396 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13397 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13398 and after including <string.h>. Move declarations of
13399 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13400 to before #include "string/memmove.c".
13401
67cc348d
RM
13402 * include/dirent.h: Declare __getdirentries.
13403
a3f95dcc
RM
13404 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13405 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13406
ca98e171
MF
134072012-08-14 Mike Frysinger <vapier@gentoo.org>
13408
13409 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13410 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13411 * sysdeps/i386/configure: Regenerated.
13412 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13413 STABS_CURRENT_FILE, and STABS_FUN.
13414 (END): Remove call to STABS_FUN_END.
13415 (STABS_CURRENT_FILE1): Delete.
13416 (STABS_CURRENT_FILE): Likewise.
13417 (STABS_FUN): Likewise.
13418 (STABS_FUN_END): Likewise.
13419 (STABS_FUN2): Likewise.
13420 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13421 * sysdeps/x86_64/configure: Regenerated.
13422
5908bf46
RM
134232012-08-14 Roland McGrath <roland@hack.frob.com>
13424
13425 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13426 * elf/dl-lookup.c: Likewise.
5908bf46 13427
f2c05b9e
JM
134282012-08-14 Joseph Myers <joseph@codesourcery.com>
13429
13430 * sysdeps/unix/sysv/linux/kernel-features.h
13431 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13432 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13433 unconditionally.
13434 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13435 unconditionally.
13436 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13437 condition on __ASSUME_CLONE_THREAD_FLAGS.
13438
e11f5155
AJ
134392012-08-14 Andreas Jaeger <aj@suse.de>
13440
13441 * sysdeps/i386/fpu/libm-test-ulps: Update.
13442
51a9ba86
MK
134432012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13444
2fdd4f78
AJ
13445 * include/atomic.h (atomic_exchange_and_add): Split into ...
13446 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13447 New atomic macros.
51a9ba86 13448
ba6cba9e
MT
134492012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13450
13451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13452
42443a47
JL
134532012-08-13 Jeff Law <law@redhat.com>
13454
13455 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13456 null byte in the output string.
13457
121dce05
JM
134582012-08-10 Joseph Myers <joseph@codesourcery.com>
13459
13460 * sysdeps/unix/sysv/linux/kernel-features.h
13461 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13462 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13463 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13464 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13465 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13466 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13467 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13468
bf51f568
JL
134692012-08-09 Jeff Law <law@redhat.com>
13470
13471 [BZ #13939]
13472 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13473 When avoid_arena is set, don't retry in the that arena. Pick the
13474 next one, whatever it might be.
13475 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13476 (arena_lock): Pass in new parameter to arena_get2.
13477 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13478 arena_get2.
13479 (__libc_malloc): Unify retrying after main arena failure with
13480 __libc_memalign version.
13481 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13482
f85fa270
L
134832012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13484
13485 [BZ #14166]
13486 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13487 to __redirect_strstr.
13488 (__strstr_sse42): Use typeof __redirect_strstr.
13489 (__strstr_ia32): Likewise.
13490 (__libc_strstr): New prototype.
13491 (strstr): Renamed to ...
13492 (__libc_strstr): This.
13493 (strstr): New strong alias of __libc_strstr.
13494 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13495 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13496 __redirect_time.
13497 Include <time.h>.
13498 (__libc_time): New prototype.
13499 (time_ifunc): Replace time with __libc_time.
13500 (time): New strong alias and hidden definition of __libc_time.
13501 (__GI_time): Remove strong alias.
13502 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13503 Include <stddef.h>.
13504 (memmove): Redefined to __redirect_memmove.
13505 (__memmove_sse2): Use typeof __redirect_memmove.
13506 (__memmove_ssse3): Likewise.
13507 (__memmove_ssse3_back): Likewise.
13508 (__libc_memmove): New prototype.
13509 (memmove): Renamed to ...
13510 (__libc_memmove): This.
13511 (memmove): New strong alias of __libc_memmove.
13512
33b4a91e
MS
135132012-08-08 Mark Salter <msalter@redhat.com>
13514
13515 * elf/elf.h
13516 (R_MN10300_TLS_GD): Define.
13517 (R_MN10300_TLS_LD): Likewise.
13518 (R_MN10300_TLS_LDO): Likewise.
13519 (R_MN10300_TLS_GOTIE): Likewise.
13520 (R_MN10300_TLS_IE): Likewise.
13521 (R_MN10300_TLS_LE): Likewise.
13522 (R_MN10300_TLS_DTPMOD): Likewise.
13523 (R_MN10300_TLS_DTPOFF): Likewise.
13524 (R_MN10300_TLS_TPOFF): Likewise.
13525 (R_MN10300_SYM_DIFF): Likewise.
13526 (R_MN10300_ALIGN): Likewise.
13527 (R_MN10300_NUM): Update.
13528
b36137f1
JM
135292012-08-08 Joseph Myers <joseph@codesourcery.com>
13530
13531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13532 Remove.
13533
cdd915fd
RM
135342012-08-08 Roland McGrath <roland@hack.frob.com>
13535
a2433aac
RM
13536 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13537
cdd915fd
RM
13538 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13539 sysdeps/unix -> sysdeps/posix move.
13540 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13541
bf9b740a
AM
135422012-08-07 Allan McRae <allan@archlinux.org>
13543
13544 [BZ #14303]
13545 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13546 (SUNOS_CPP): Likewise.
13547 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13548 not found.
13549 (open_input): Call CPP using execvp.
13550
93df14ee
JM
135512012-08-07 Joseph Myers <joseph@codesourcery.com>
13552
13553 * sysdeps/unix/sysv/linux/kernel-features.h
13554 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13555 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13556 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13557 (__ASSUME_WAITID_SYSCALL): Likewise.
13558 * sysdeps/unix/sysv/linux/dl-execstack.c
13559 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13560 code unconditional.
13561 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13562 conditional code.
13563 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13564 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13565 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13566 code.
13567 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13568 unconditional.
13569 [__ASSUME_WAITID_SYSCALL]: Likewise.
13570 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13571
d34689de
RM
135722012-08-07 Roland McGrath <roland@hack.frob.com>
13573
a281decc
RM
13574 * sysdeps/unix/closedir.c: Renamed to ...
13575 * sysdeps/posix/closedir.c: ... here.
13576 * sysdeps/unix/dirfd.c: Renamed to ...
13577 * sysdeps/posix/dirfd.c: ... here.
13578 * sysdeps/unix/dirstream.h: Renamed to ...
13579 * sysdeps/posix/dirstream.h: ... here.
13580 * sysdeps/unix/fdopendir.c: Renamed to ...
13581 * sysdeps/posix/fdopendir.c: ... here.
13582 * sysdeps/unix/opendir.c: Renamed to ...
13583 * sysdeps/posix/opendir.c: ... here.
13584 * sysdeps/unix/readdir.c: Renamed to ...
13585 * sysdeps/posix/readdir.c: ... here.
13586 * sysdeps/unix/readdir_r.c: Renamed to ...
13587 * sysdeps/posix/readdir_r.c: ... here.
13588 * sysdeps/unix/rewinddir.c: Renamed to ...
13589 * sysdeps/posix/rewinddir.c: ... here.
13590 * sysdeps/unix/seekdir.c: Renamed to ...
13591 * sysdeps/posix/seekdir.c: ... here.
13592 * sysdeps/unix/telldir.c: Renamed to ...
13593 * sysdeps/posix/telldir.c: ... here.
13594 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13595 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13596 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13597 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13598
22895b47
RM
13599 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13600 * bits/fcntl.h: ... here.
13601
707a53b6
RM
13602 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13603 not 0.
13604 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13605 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13606 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13607 (struct flock): Move l_start, l_len to the beginning.
13608 Use __pid_t for l_pid.
13609 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13610 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13611 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13612 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13613 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13614 [__USE_LARGEFILE64] (struct flock64): New type.
13615 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13616
f0bd3e25
RM
13617 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13618 * bits/dirent.h: ... here.
13619
d34689de
RM
13620 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13621 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13622
6dad2c06
JM
136232012-08-07 Joseph Myers <joseph@codesourcery.com>
13624
13625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13626 Change from 2.6.0 to 2.6.16.
13627 * sysdeps/unix/sysv/linux/configure: Regenerated.
13628 * sysdeps/unix/sysv/linux/kernel-features.h
13629 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13630 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13631 version.
13632 (__ASSUME_UTIMES): Likewise.
13633 (__ASSUME_CLONE_STOPPED): Remove.
13634 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13635 architectures, not kernel version.
13636 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13637 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13638 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13639 (__ASSUME_WAITID_SYSCALL): Likewise.
13640 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13641 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13642 * README: State 2.6.16 as minimum Linux kernel version. Do not
13643 refer to older versions.
13644
03af9520
RM
136452012-08-06 Roland McGrath <roland@hack.frob.com>
13646
8e49df1d
RM
13647 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13648 Define alphasort64 as an alias.
13649 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13650 Define versionsort64 as an alias.
13651 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13652 Define scandir64 as an alias.
13653 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13654 Define scandirat64 as an alias.
13655 * dirent/alphasort64.c (alphasort64):
13656 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13657 * dirent/versionsort64.c: Likewise.
13658 * dirent/scandir64.c: Likewise.
13659 * dirent/scandirat64.c: Likewise.
13660 * sysdeps/wordsize-64/alphasort.c: File removed.
13661 * sysdeps/wordsize-64/alphasort64.c: File removed.
13662 * sysdeps/wordsize-64/scandir.c: File removed.
13663 * sysdeps/wordsize-64/scandir64.c: File removed.
13664 * sysdeps/wordsize-64/scandirat.c: File removed.
13665 * sysdeps/wordsize-64/scandirat64.c: File removed.
13666 * sysdeps/wordsize-64/versionsort.c: File removed.
13667 * sysdeps/wordsize-64/versionsort64.c: File removed.
13668 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13669 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13671 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13673 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13674 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13676
13677 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13679 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13681 [defined __arch64__ || defined __sparcv9]
13682 (__INO_T_MATCHES_INO64_T): New macro.
13683 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13684 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13685 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13686 * sysdeps/unix/sysv/linux/bits/dirent.h
13687 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13688 (_DIRENT_MATCHES_DIRENT64): New macro.
13689
03af9520
RM
13690 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13691 Define lockf64 as an alias.
13692 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13693 Define fseeko64 as an alias.
13694 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13695 Define ftello64 as an alias.
13696 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13697 Define _IO_fgetpos64 and fgetpos64 as aliases.
13698 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13699 Define _IO_fsetpos64 and fsetpos64 as aliases.
13700 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13701 Conditionalize body on this.
13702 * libio/fseeko64.c: Likewise.
13703 * libio/ftello64.c: Likewise.
13704 * libio/iofgetpos64.c: Likewise.
13705 * libio/iofsetpos64.c: Likewise.
13706 * sysdeps/wordsize-64/lockf.c: File removed.
13707 * sysdeps/wordsize-64/lockf64.c: File removed.
13708 * sysdeps/wordsize-64/fseeko.c: File removed.
13709 * sysdeps/wordsize-64/fseeko64.c: File removed.
13710 * sysdeps/wordsize-64/ftello.c: File removed.
13711 * sysdeps/wordsize-64/ftello64.c: File removed.
13712 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13713 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13714 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13715 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13716 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13717 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13718 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13719 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13720 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13721 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13722 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13724 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13726
13727 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13729 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13731 [defined __arch64__ || defined __sparcv9]
13732 (__OFF_T_MATCHES_OFF64_T): New macro.
13733 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13734 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13736 (__OFF_T_MATCHES_OFF64_T): New macro.
13737
c5757acd
L
137382012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13739
13740 * stdlib/secure-getenv.c (__secure_getenv): Replace
13741 GLIBC_2_16 with GLIBC_2_17.
13742
3a31811e
L
137432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13744
13745 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13746 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13747
faa2bccb
DM
137482012-08-03 David S. Miller <davem@davemloft.net>
13749
13750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13751
85fe1997
JM
137522012-08-03 Joseph Myers <joseph@codesourcery.com>
13753
13754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13755 Remove.
13756 (__ASSUME_CORRECT_SI_PID): Likewise.
13757 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13758 (__ASSUME_TMPFS_NAME): Likewise.
13759 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13760 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13761 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13762 (HAVE_AUX_SECURE): Make definition unconditional.
13763 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13764 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13765
4f75b7a0
RM
137662012-08-03 Roland McGrath <roland@hack.frob.com>
13767
13768 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13769 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13770 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13771 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13772 __eloop_threshold instead of SYMLOOP_MAX.
13773
13774 * sysdeps/generic/eloop-threshold.h: New file.
13775 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13776 of MAXSYMLINKS.
13777 * elf/chroot_canon.c (chroot_canon): Likewise.
13778
7aab07e4
JM
137792012-08-03 Joseph Myers <joseph@codesourcery.com>
13780
13781 [BZ #13717]
13782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13783 Change to 2.6.0 everywhere.
13784 * sysdeps/unix/sysv/linux/configure: Regenerated.
13785 * sysdeps/unix/sysv/linux/kernel-features.h
13786 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13787 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13788 kernel versions.
13789 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13790 (__ASSUME_FUTEX_REQUEUE): Remove.
13791 (__ASSUME_STATFS64): Define unconditionally.
13792 (__ASSUME_AT_SECURE): Likewise.
13793 (__ASSUME_CORRECT_SI_PID): Likewise.
13794 (__ASSUME_TGKILL): Define without depending on kernel version for
13795 i386.
13796 (__ASSUME_UTIMES): Likewise.
13797 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13798 kernel version.
13799 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13800 (__ASSUME_TMPFS_NAME): Likewise.
13801 * README: Update reference to Linux kernel versions.
13802
b67e9372
MP
138032012-08-02 Marek Polacek <polacek@redhat.com>
13804
1f529f7d 13805 [BZ# 14150]
b67e9372
MP
13806 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13807 libc_cv_asm_type_prefix with %.
13808 * configure: Regenerated.
d2441631
RM
13809 * include/libc-symbols.h: Remove comment about
13810 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13811 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13812 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13813 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13814 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13815 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13816 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13817 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13818 * elf/tst-unique2mod1.c: Likewise.
13819 * elf/tst-unique1mod2.c: Likewise.
13820 * elf/tst-unique1mod1.c: Likewise.
13821 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13822 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13823 Replace ASM_TYPE_DIRECTIVE with .type.
13824 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13825 * sysdeps/i386/sysdep.h: Likewise.
13826 * sysdeps/x86_64/sysdep.h: Likewise.
13827 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13829 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13830 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13831 * sysdeps/powerpc/powerpc32/sysdep.h:
13832 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13833 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13834 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13835 * sysdeps/i386/fpu/e_powf.S: Likewise.
13836 * sysdeps/i386/fpu/e_expl.S: Likewise.
13837 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13838 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13839 * sysdeps/i386/fpu/e_pow.S: Likewise.
13840 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13841 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13842 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13843 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13844 * sysdeps/i386/fpu/e_log2.S: Likewise.
13845 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13846 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13847 * sysdeps/i386/fpu/e_powl.S: Likewise.
13848 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13849 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13850 * sysdeps/i386/fpu/e_logl.S: Likewise.
13851 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13856 * sysdeps/i386/fpu/e_log.S: Likewise.
13857 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13858 * sysdeps/i386/fpu/e_logf.S: Likewise.
13859 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13860 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13861 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13862 * sysdeps/i386/fpu/e_log10.S: Likewise.
13863 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13864 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13865 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13866 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13867 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13868 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13869 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13870 * sysdeps/i386/i686/strtok.S: Likewise.
13871 * sysdeps/i386/i386-mcount.S: Likewise.
13872 * sysdeps/i386/strtok.S: Likewise.
13873 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13877 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13878 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13879 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13880 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13881 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13882 * sysdeps/x86_64/_mcount.S: Likewise.
13883 * sysdeps/x86_64/strtok.S: Likewise.
13884 * sysdeps/sh/_mcount.S: Likewise.
13885
2747bf9a
RM
138862012-08-01 Roland McGrath <roland@hack.frob.com>
13887
13888 * libio/iofopen.c: Include <fcntl.h>.
13889 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13890 (_IO_fopen64, fopen64): Define as aliases.
13891 * libio/iofopen64.c: Include <fcntl.h>.
13892 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13893 Conditionalize body on this.
13894 * sysdeps/wordsize-64/iofopen.c: File removed.
13895 * sysdeps/wordsize-64/iofopen64.c: File removed.
13896
3fb791b8
MP
138972012-08-01 Marek Polacek <polacek@redhat.com>
13898
13899 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13900 Use dlfcn directly instead of a variable.
13901 (binfmt-subdir): Do not define.
13902 (dlfcn): Likewise.
13903
a9f1039f
JM
139042012-08-01 Joseph Myers <joseph@codesourcery.com>
13905
23bddc06
JM
13906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13907 Remove all definitions.
13908 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13909 <kernel-features.h>.
13910 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13911 (miss_F_GETOWN_EX): Remove all definitions.
13912 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13913 macro definition.
13914 [!__ASSUME_FCNTL64]: Remove conditional code.
13915 [__ASSUME_FCNTL64]: Make code unconditional.
13916 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13917 <kernel-features.h>.
13918 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13919 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13920 (lockf64) [__NR_fcntl64]: Make code unconditional.
13921 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13922
a9f1039f
JM
13923 * sysdeps/unix/sysv/linux/kernel-features.h
13924 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13925 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13926 Make code unconditional.
13927 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13928 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13930 [__NR_vfork]: Make code unconditional.
13931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13934 [__NR_vfork]: Make code unconditional.
13935 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13936 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13937
09c0ee5f
RM
139382012-08-01 Roland McGrath <roland@hack.frob.com>
13939
48aec5b9
RM
13940 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13941 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13942
cd97c966
RM
13943 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13944 Define mkstemp64 as an alias.
3f55550c
RM
13945 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13946 Define mkstemps64 as an alias.
cd97c966
RM
13947 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13948 Define mkostemp64 as an alias.
b8625cfc
RM
13949 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13950 Define mkostemps64 as an alias.
cd97c966
RM
13951 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13952 Conditionalize body on this.
13953 * misc/mkostemp64.c: Likewise.
b8625cfc 13954 * misc/mkostemps64.c: Likewise.
3f55550c 13955 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13956 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13957 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13958 * sysdeps/wordsize-64/mkostemp.c: File removed.
13959 * sysdeps/wordsize-64/mkstemp.c: File removed.
13960 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13962 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13963 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13964
09c0ee5f
RM
13965 [BZ #14138]
13966 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13967 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13968 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13969 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13970
13971 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13972 compat_symbol macros from <shlib-compat.h> rather than the underlying
13973 default_symbol_version and symbol_version macros, so that DEFAULT
13974 lines in shlib-versions are respected.
13975 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13976
7e66ee51
FW
139772012-08-01 Florian Weimer <fweimer@redhat.com>
13978
13979 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13980 Declare with warn_unused_result.
13981 (setgid, setregid, setegid, setresgid): Likewise.
13982 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13983 Likewise.
13984 * WUR-REPORT: Remove set*id functions.
13985
d2a54255
PT
139862012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13987
13988 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13989
7ecdb005
RM
139902012-07-31 Roland McGrath <roland@hack.frob.com>
13991
b4180a5e 13992 [BZ #10191]
789bd351
RM
13993 * include/sys/socket.h (__libc_accept, __libc_accept4):
13994 Add attribute_hidden.
13995 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13996
40ce302d
RM
13997 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13998 use of PTR_MANGLE.
13999 * inet/getnetgrent_r.c (setup): Likewise.
14000
7ecdb005
RM
14001 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14002
e2eabb2c
DM
140032012-07-31 David S. Miller <davem@davemloft.net>
14004
14005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14006
d0419dbf
JM
140072012-07-31 Joseph Myers <joseph@codesourcery.com>
14008
14009 [BZ #13629]
14010 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14011 value between 1.0 and 2.0 and smaller part has absolute value less
14012 than 1.0.
14013 * math/s_clog10.c (__clog10): Likewise.
14014 * math/s_clog10f.c (__clog10f): Likewise.
14015 * math/s_clog10l.c (__clog10l): Likewise.
14016 * math/s_clogf.c (__clogf): Likewise.
14017 * math/s_clogl.c (__clogl): Likewise.
14018 * math/libm-test.inc (clog_test): Add more tests.
14019 (clog10_test): Likewise.
14020 * sysdeps/i386/fpu/libm-test-ulps: Update.
14021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14022
2bc13872
FW
140232012-07-31 Florian Weimer <fweimer@redhat.com>
14024
14025 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14026 Exit with zero in case no suitable GID is found, and write a
14027 message to standard error.
14028
bea9b193
RM
140292012-07-30 Roland McGrath <roland@hack.frob.com>
14030
14031 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14032 rather than to 1.
14033 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14034 (MAXPATHLEN): Removed.
14035 (NOGROUP, NODEV): New macros.
14036 (setbit, clrbit, isset, isclr): New macros.
14037 (howmany, roundup, powerof2): New macros.
14038 (DEV_BSIZE): New macro.
14039
14040 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14041 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14042
14043 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14044 definition on [!__NO_LONG_DOUBLE_MATH].
14045
14046 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14047 PTR_MANGLE and PTR_DEMANGLE.
14048
14049 * socket/accept4.c (accept4): Rename to __libc_accept4.
14050 Define accept4 as a weak alias.
14051
14052 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14053 on [_DIRENT_HAVE_D_TYPE].
14054 * io/ftw.c (ftw_dir): Likewise.
14055
14056 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14057
14058 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14059
14060 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14061 Use the BSD numbers rather than the arbitrary ones we had.
14062 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14063 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14064 (SIGXCPU, SIGXFSZ): New macros.
14065 (_NSIG): Now 32.
14066
14067 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14068 initializer on [_LIBC_REENTRANT].
14069
14070 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14071 definitions inside [_POSIX_MAPPED_FILES].
14072
14073 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14074
14075 * dirent/opendir.c: Include <fcntl.h>.
14076
14077 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14078 (__libc_getspecific): Likewise.
14079 (__libc_key_create): Likewise.
14080
14081 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14082 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14083 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14084 (tmpfile64): Define as alias.
14085 * sysdeps/wordsize-64/tmpfile.c: File removed.
14086 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14087 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14089
14090 * stdio-common/vfscanf.c: Include <stdbool.h>.
14091 * nss/makedb.c: Likewise.
14092 * stdio-common/_i18n_number.h: Likewise.
14093 * argp/argp-help.c: Likewise.
14094 * posix/wordexp.c: Likewise.
14095 * sysdeps/posix/spawni.c: Likewise.
14096 * nss/nss_files/files-initgroups.c: Likewise.
14097 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14098 * nss/nss_files/files-initgroups.c: Likewise.
14099 * nss/nss_db/db-netgrp.c: Likewise.
14100 * nss/nss_db/db-initgroups.c: Likewise.
14101 * io/fchmodat.c: Include <sys/stat.h>.
14102
14103 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14104 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14105
14106 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14107 [HAVE_MMAP].
14108
14109 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14110 Add multiple inclusion protection.
14111
e5abc686
DM
141122012-07-27 David S. Miller <davem@davemloft.net>
14113
14114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14115
815e6fa3
GB
141162012-07-27 Gary Benson <gbenson@redhat.com>
14117
14118 [BZ #14298]
14119 * elf/rtld.c: Include <stap-probe.h>.
14120 (dl_main): Added static probes "init_start" and "init_complete".
14121 * elf/dl-load.c: Include <stap-probe.h>.
14122 (lose): Take new parameter "nsid".
14123 Added static probe "map_failed".
14124 (_dl_map_object_from_fd): Pass namespace id to lose.
14125 Added static probe "map_start".
14126 (open_verify): Pass namespace id to lose.
14127 * elf/dl-open.c: Include <stap-probe.h>.
14128 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14129 and "reloc_complete".
14130 * elf/dl-close.c: Include <stap-probe.h>.
14131 (_dl_close_worker): Added static probes "unmap_start" and
14132 "unmap_complete".
14133 * elf/rtld-debugger-interface.txt: New file documenting the above.
14134
9f98c16c
RM
141352012-07-26 Roland McGrath <roland@hack.frob.com>
14136
14137 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14138 rather than a string variable.
14139 * sunrpc/rpc_main.c (h_output): Likewise.
14140 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14141
f3c22df3
PT
141422012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14143
14144 * inet/check_native.c: New file.
14145
3129cfc6
JM
141462012-07-26 Joseph Myers <joseph@codesourcery.com>
14147
da865e95
JM
14148 [BZ #13629]
14149 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14150 if larger part has absolute value 1.0.
14151 * math/s_clog10.c (__clog10): Likewise.
14152 * math/s_clog10f.c (__clog10f): Likewise.
14153 * math/s_clog10l.c (__clog10l): Likewise.
14154 * math/s_clogf.c (__clogf): Likewise.
14155 * math/s_clogl.c (__clogl): Likewise.
14156 * math/libm-test.inc (clog_test): Add more tests.
14157 (clog10_test): Likewise.
14158 * sysdeps/i386/fpu/libm-test-ulps: Update.
14159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14160
3129cfc6
JM
14161 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14162 (pltexit): Likewise.
14163 (La_regs): Likewise.
14164 (La_retval): Likewise.
14165 (int_retval): Likewise.
14166 Update #error for removed macros to refer only to definitions in
14167 tst-audit.h.
14168 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14169 macro.
14170 (pltexit): Likewise.
14171 (La_regs): Likewise.
14172 (La_retval): Likewise.
14173 (int_retval): Likewise.
14174 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14175 macro.
14176 (pltexit): Likewise.
14177 (La_regs): Likewise.
14178 (La_retval): Likewise.
14179 (int_retval): Likewise.
14180 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14181 macro.
14182 (pltexit): Likewise.
14183 (La_regs): Likewise.
14184 (La_retval): Likewise.
14185 (int_retval): Likewise.
14186 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14187 macro.
14188 (pltexit): Likewise.
14189 (La_regs): Likewise.
14190 (La_retval): Likewise.
14191 (int_retval): Likewise.
14192 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14193 macro.
14194 (pltexit): Likewise.
14195 (La_regs): Likewise.
14196 (La_retval): Likewise.
14197 (int_retval): Likewise.
14198 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14199 macro.
14200 (pltexit): Likewise.
14201 (La_regs): Likewise.
14202 (La_retval): Likewise.
14203 (int_retval): Likewise.
14204 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14205 macro definitions in tst-audit.h.
14206 * sysdeps/i386/tst-audit.h: New file.
14207 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14208 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14209 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14210 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14211 * sysdeps/sh/tst-audit.h: Likewise.
14212 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14213 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14214 * sysdeps/x86_64/tst-audit.h: Likewise.
14215
bfc07087
AJ
142162012-07-26 Andreas Jaeger <aj@suse.de>
14217
b1b2aaf8
AJ
14218 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14219 ptrace.
14220
14221 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14222 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14223 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14224 PTRACE_O_MASK.
14225 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14226 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14227 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14228
bfc07087
AJ
14229 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14230 value.
14231
14232 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14233 _sigsys.
14234 (si_call_addr, si_syscall, si_arch): Define new macro.
14235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14236 _sigsys.
14237 (si_call_addr, si_syscall, si_arch): Define new marcro.
14238 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14239 _sigsys.
14240 (si_call_addr, si_syscall, si_arch): Define new macro.
14241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14242 _sigsys.
14243 (si_call_addr, si_syscall, si_arch): Define new macro.
14244
89b4b02f
JM
142452012-07-25 Joseph Myers <joseph@codesourcery.com>
14246
14247 [BZ #13717]
14248 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14249 Change to 2.4.21 where previously 2.4.1.
14250 * sysdeps/unix/sysv/linux/configure: Regenerated.
14251 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14252 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14253 Linux kernel version.
14254 (__ASSUME_STD_AUXV): Remove.
14255 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14256 kernel version.
14257 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14258 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14259 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14260 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14261 (__ASSUME_NETLINK_SUPPORT): Likewise.
14262 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14263 (__no_netlink_support): Remove conditional definition.
14264 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14265 Remove.
14266 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14267 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14268 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14269 (if_nameindex_ioctl): Remove.
14270 (if_nameindex_netlink): Do not handle __no_netlink_support.
14271 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14272 code.
14273 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14274 Remove conditional code.
14275 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14276 code.
14277 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14278 unconditional.
14279 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14280 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14281 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14282 Remove.
14283 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14284 [!__ASSUME_STD_AUXV]: Remove conditional code.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14286 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14287 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14289 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14290 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14291 code.
14292 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14294 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14295 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14296 conditional code.
14297 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14299 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14300 code.
14301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14302 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14303 conditional code.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14305 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14306 code unconditional.
14307 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14308 conditional code.
14309 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14310 unconditional.
14311 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14312 conditional code.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14314 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14315 unconditional.
14316 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14317 conditional code.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14319 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14320 code unconditional.
14321 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14322 conditional code.
14323 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14324 unconditional.
14325 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14326 conditional code.
14327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14328 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14329 code unconditional.
14330 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14331 conditional code.
14332 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14333 unconditional.
14334 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14335 conditional code.
14336
842a39cd
AS
143372012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14338
14339 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14340 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14341 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14342 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14343 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14344 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14346 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14347 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14348 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14349 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14350 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14351 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14352 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14353 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14354 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14355 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14356 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14357 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14358 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14359 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14360 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14362
84b3fd84
FW
143632012-07-25 Florian Weimer <fweimer@redhat.com>
14364
14365 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14366 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14367 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14368 Introduce __libc_secure_getenv.
0c7936d5
FW
14369 * stdlib/Versions (2.17): Add secure_getenv
14370 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14371 * stdlib/secure-getenv.c: Rename __secure_getenv to
14372 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14373 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14374 * stdlib/tst-secure-getenv.c: New.
14375 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14376 * manual/startup.texi (Environment Access): Document
14377 secure_getenv.
84b3fd84
FW
14378 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14379 __libc_secure_getenv.
14380 * inet/ruserpass.c (ruserpass): Likewise.
14381 * malloc/mtrace.c (mtrace): Likewise.
14382 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14383 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14384 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14385 * sysdeps/posix/tempname.c: Likewise. Evaluate
14386 HAVE_SECURE_GETENV.
14387 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14388 __secure_getenv to __libc_secure_getenv.
84b3fd84 14389 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14391 Likewise.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14393 Likewise.
14394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14401
56e49b71
JM
144022012-07-25 Joseph Myers <joseph@codesourcery.com>
14403
14404 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14405 (struct La_i86_retval): Likewise.
14406 (struct La_x86_64_regs): Likewise.
14407 (struct La_x86_64_retval): Likewise.
14408 (struct La_x32_regs): Likewise.
14409 (struct La_x32_retval): Likewise.
14410 (struct La_ppc32_regs): Likewise.
14411 (struct La_ppc32_retval): Likewise.
14412 (struct La_ppc64_regs): Likewise.
14413 (struct La_ppc64_retval): Likewise.
14414 (struct La_sh_regs): Likewise.
14415 (struct La_sh_retval): Likewise.
14416 (struct La_s390_32_regs): Likewise.
14417 (struct La_s390_32_retval): Likewise.
14418 (struct La_s390_64_regs): Likewise.
14419 (struct La_s390_64_retval): Likewise.
14420 (struct La_sparc32_regs): Likewise.
14421 (struct La_sparc32_retval): Likewise.
14422 (struct La_sparc64_regs): Likewise.
14423 (struct La_sparc64_retval): Likewise.
14424 (struct audit_ifaces): Remove architecture-specific pltenter and
14425 pltexit members.
14426 * sysdeps/i386/ldsodefs.h: New file.
14427 * sysdeps/powerpc/ldsodefs.h: Likewise.
14428 * sysdeps/s390/ldsodefs.h: Likewise.
14429 * sysdeps/sh/ldsodefs.h: Likewise.
14430 * sysdeps/sparc/ldsodefs.h: Likewise.
14431 * sysdeps/x86_64/ldsodefs.h: Likewise.
14432
354691b7
MP
144332012-07-25 Marek Polacek <polacek@redhat.com>
14434
14435 [BZ #6808]
14436 * math/libm-test.inc (yn_test): Add another test.
14437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14438 to ERANGE when the result is +-Inf.
14439 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14440 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14441 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14442 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14443
bf9e2071
JM
144442012-07-24 Joseph Myers <joseph@codesourcery.com>
14445
14446 * conform/data/time.h-data (NULL): Use macro-constant. Require
14447 equal to 0.
14448 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14449 clock_t.
14450 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14451
57633811
TS
144522012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14453
14454 * configure.in <sysdeps resolving>: Correct printing
14455 Implies_before.
14456 * configure: Regenerate.
14457
c23c33b0
TS
144582012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14459
14460 * math/w_ilogb.c: Include <limits.h>.
14461 * math/w_ilogbl.c: Likewise.
14462
b5982523
JM
144632012-07-20 Joseph Myers <joseph@codesourcery.com>
14464
14465 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14466 va_copy. Document allowing for unavailable va_copy only as
14467 pre-C99 compatibility.
14468 * manual/string.texi (Copying and Concatenation): Use va_copy
14469 instead of __va_copy in concat example.
14470
ac4ea442
PT
144712012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14472
14473 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14474 (__sendto): Use create_address_port. Initialize APORT and deallocate
14475 it if not null.
14476
f98eafbd
PT
14477 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14478 with O_NOLINK passed to __file_name_lookup.
14479
898c7aab
PT
14480 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14481 with O_NOLINK passed to __file_name_lookup.
14482
0ced335a
PT
14483 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14484 negative N or less than NGIDS.
14485
b3404dbd
PT
14486 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14487 type to string_t. Set ERANGE as errno and return it if NAME is not big
14488 enough. Use memcpy instead of strncpy.
14489
0f48659e
JM
144902012-07-20 Joseph Myers <joseph@codesourcery.com>
14491
14492 * elf/Makefile (check-data): Remove.
14493 (localplt.data): New vpath directive.
14494 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14495 instead of $(check-data).
14496 * scripts/data/localplt-generic.data: Move to ...
14497 * sysdeps/generic/localplt.data: ... here.
14498 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14499 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14500 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14502 ... here.
14503 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14505 ... here.
14506 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14508 ... here.
14509 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14511 ... here.
14512 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14514 ... here.
14515 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14517 ... here.
14518
d37cbdaa
AZ
145192012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14520
14521 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14522 PPC32 and PPC64 files.
14523 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14524 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14525
46f85fc2
AK
145262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14527
14528 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14529 __makecontext_ret to ...
14530 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14531 ... here and call exit if uc_link is NULL. New file.
14532 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14533 __makecontext_ret.S.
14534 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14535 __makecontext_ret to ...
14536 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14537 ... here and call exit if uc_link is NULL. New file.
14538 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14539 __makecontext_ret.S.
14540
08f43f9b
AK
145412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14542
14543 * elf/elf.h (R_390_IRELATIVE): New definition.
14544 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14545 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14546 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14548 (elf_machine_lazy_rel): Likewise.
14549 * sysdeps/s390/dl-irel.h: New file.
14550 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14551 * sysdeps/s390/s390-64/memset.S: New asm code.
14552 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14553 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14555 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14556 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14557 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14559 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14560 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14561 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14562 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14563 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14564 * sysdeps/s390/s390-32/memset.S: New asm code.
14565 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14566
3b05db33
MP
145672012-07-17 Marek Polacek <polacek@redhat.com>
14568
14569 [BZ #14349]
14570 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14571 * sysdeps/s390/s390-64/configure.in: Likewise.
14572 * sysdeps/sparc/configure.in: Likewise.
14573 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14574 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14575 * sysdeps/i386/configure.in: Likewise.
14576 * sysdeps/x86_64/configure.in: Likewise.
14577 * sysdeps/sh/configure.in: Likewise.
14578 * sysdeps/s390/s390-32/configure: Regenerated.
14579 * sysdeps/s390/s390-64/configure: Likewise.
14580 * sysdeps/x86_64/configure: Likewise.
14581 * sysdeps/sh/configure: Likewise.
14582 * sysdeps/powerpc/powerpc64/configure: Likewise.
14583 * sysdeps/powerpc/powerpc32/configure: Likewise.
14584 * sysdeps/sparc/configure: Likwise.
14585 * sysdeps/i386/configure: Likewise.
14586
a66877c6
MP
14587 * elf/dl-open.c: Comment fixes.
14588
cfc82fd8
JM
145892012-07-17 Joseph Myers <joseph@codesourcery.com>
14590
bd29910a
JM
14591 * Makefile [CXX] (check-data): Remove.
14592 [CXX] (c++-types.data): New vpath directive.
14593 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14594 vpath. Do not allow for C++ type data being missing.
14595 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14596 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14597 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14598 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14599 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14600 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14601 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14603 ... here.
14604 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14606 ... here.
14607 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14609 ... here.
14610 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14612 ... here.
14613 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14615 ... here.
14616 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14618 ... here.
14619 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14621 ... here.
14622 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14624
cfc82fd8
JM
14625 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14626 definitions to architecture-specific files.
14627 (TLS_IE): Likewise.
14628 (TLS_LD): Likewise.
14629 (TLS_GD): Likewise.
14630 * sysdeps/i386/tls-macros.h: New file.
14631 * sysdeps/powerpc/tls-macros.h: Likewise.
14632 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14633 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14634 * sysdeps/sh/tls-macros.h: Likewise.
14635 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14636 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14637 * sysdeps/x86_64/tls-macros.h: Likewise.
14638
f7db3170
TS
146392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14640
07cbfc23
TS
14641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14642 zero value for regular exit case.
14643
f7db3170
TS
14644 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14645 (__start_context): Preserve zero value for regular exit case.
14646
dc97c227
TS
146472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14648 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14649
14650 * manual/setjmp.texi (setcontext): Clarify normal process
14651 termination when uc_link is the null pointer.
14652 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14653 exit call.
14654
d0cd7d02
AS
146552012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14656
14657 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14658 preprocessor. Test for each exception mask separately.
14659
dd318934
AJ
146602012-07-16 Andreas Jaeger <aj@suse.de>
14661
14662 * po/ru.po: Update from translation team.
14663
8048311a
JM
146642012-07-15 Joseph Myers <joseph@codesourcery.com>
14665
14666 * conform/data/string.h-data (NULL): Use macro-constant. Require
14667 equal to 0.
14668 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14669 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14670 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14671 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14672 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14673
b637d46e
AJ
146742012-07-13 Andreas Jaeger <aj@suse.de>
14675
14676 * po/fr.po: Update from translation team.
14677
541428fe
MP
146782012-07-12 Marek Polacek <polacek@redhat.com>
14679
14680 [BZ #14173]
14681 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14682 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14683 loop condition.
14684
ec332e94
JM
146852012-07-12 Joseph Myers <joseph@codesourcery.com>
14686
14687 [BZ #13717]
14688 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14689 Change to 2.4.1 where previously 2.4.0.
14690 * sysdeps/unix/sysv/linux/configure: Regenerated.
14691 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14692 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14693 version.
14694 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14695 (__ASSUME_AT_CLKTCK): Remove.
14696 (__ASSUME_AT_PAGESIZE): Likewise.
14697 (__ASSUME_AT_XID): Likewise.
14698 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14699 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14700 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14701 unconditionally.
14702 (HAVE_AUX_PAGESIZE): Likewise.
14703 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14704 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14705 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14706
7b6e99be
JB
147072012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14708
14709 [BZ #14307]
14710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14711 the temporary buffer used to invoke __gethostbyname2_r,
14712 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14713 host_data / struct gaih_addrtuple.
14714 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14715 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14716 header file nss/nsswitch.h.
14717 * nss/nsswitch.h (global scope): Add definition of implementation
14718 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14719 resolv/nss_dns/dns-host.c).
14720
608404eb
AJ
147212012-07-11 Andreas Jaeger <aj@suse.de>
14722
14723 * po/fr.po: Update from translation team.
14724
71220aca
AJ
14725 * po/sv.po: Update from translation team
14726 * po/fr.po: Another update from translation team.
14727
28cfe843
AZ
147282012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14729
14730 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14731 for subnormals or multiply small sinh result by itself.
14732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14734
6b90f981
DM
147352012-07-11 David S. Miller <davem@davemloft.net>
14736
14737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14738
c6825772
AS
147392012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14740
14741 [BZ #14347]
14742 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14743 (INTERNAL_MARK): Shift it here.
14744
7b8e0d49
MP
147452012-07-10 Marek Polacek <polacek@redhat.com>
14746
14747 [BZ #14151]
14748 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14749 libc_cv_asm_global_directive with .globl.
14750 * configure: Regenerated.
14751 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14752 with .globl.
14753 * sysdeps/i386/configure: Regenerated.
14754 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14755 with .globl.
14756 * sysdeps/x86_64/configure: Regenerated.
14757 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14758 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14759 * elf/tst-unique2mod2.c: Likewise.
14760 * elf/tst-unique2mod1.c: Likewise.
14761 * elf/tst-unique1mod2.c: Likewise.
14762 * elf/tst-unique1mod1.c: Likewise.
14763 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14764 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14765 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14766 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14767 * sysdeps/mach/sysdep.h: Likewise.
14768 * sysdeps/i386/sysdep.h: Likewise.
14769 * sysdeps/i386/i386-mcount.S: Likewise.
14770 * sysdeps/x86_64/_mcount.S: Likewise.
14771 * sysdeps/x86_64/sysdep.h: Likewise.
14772 * sysdeps/sh/_mcount.S: Likewise.
14773 * sysdeps/sh/sysdep.h: Likewise.
14774 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14775 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14776 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14777 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14778 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14779 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14780 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14781 * locale/localeinfo.h: Likewise.
14782 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14783 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14784
6c55cda3
RM
147852012-07-09 Roland McGrath <roland@hack.frob.com>
14786
14787 [BZ #14336]
14788 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14789 system".
14790 * manual/message.texi (The Uniforum approach): Likewise.
14791 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14792 (glibc iconv Implementation): Likewise.
14793
638a572e
JM
147942012-07-09 Joseph Myers <joseph@codesourcery.com>
14795
14796 [BZ #14337]
14797 * math/s_clog.c (__clog): Avoid scaling a value down where that
14798 could result in underflow.
14799 * math/s_clog10.c (__clog10): Likewise.
14800 * math/s_clog10f.c (__clog10f): Likewise.
14801 * math/s_clog10l.c (__clog10l): Likewise.
14802 * math/s_clogf.c (__clogf): Likewise.
14803 * math/s_clogl.c (__clogl): Likewise.
14804 * math/libm-test.inc (clog_test): Add more tests.
14805 (clog10_test): Likewise.
14806 * sysdeps/i386/fpu/libm-test-ulps: Update.
14807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14808
261f4859
AS
148092012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14810
0abaf3e4
AS
14811 [BZ #14283]
14812 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14813 by 7 not 8 to examine high bit of fractional part.
14814
261f4859
AS
14815 [BZ #14042]
14816 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14817 for call to __mcount_internal.
14818 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14819 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14820 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14821
f17ac40d
JM
148222012-07-06 Joseph Myers <joseph@codesourcery.com>
14823
9ad63c23
JM
14824 [BZ #14154]
14825 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14826 approximation for values within 0x1p-13f of an odd multiple of
14827 pi/4.
14828 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14829 exception. Add more tests.
14830 * sysdeps/i386/fpu/libm-test-ulps: Update.
14831
f17ac40d
JM
14832 [BZ #6778]
14833 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14834 inputs and return -1 for them. Do not check for +Inf in case not
14835 reachable for +Inf.
14836 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14837 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14842 define.
14843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14844 and return -1 for them. Do not check for +Inf in case not
14845 reachable for +Inf.
14846 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14847 spurious underflow.
14848 * sysdeps/i386/fpu/libm-test-ulps: Update.
14849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14850
fb21f89b
MF
148512012-07-06 Mike Frysinger <vapier@gentoo.org>
14852
14853 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14854
cdfe2c5e
JM
148552012-07-05 Joseph Myers <joseph@codesourcery.com>
14856
14857 [BZ #14157]
14858 [BZ #14331]
14859 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14860 could result in spurious underflow. Scale down values above
14861 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14862 * math/s_csqrtf.c (__csqrtf): Likewise.
14863 * math/s_csqrtl.c (__csqrtl): Likewise.
14864 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14865 spurious underflow.
14866 * sysdeps/i386/fpu/libm-test-ulps: Update.
14867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14868
70d35b67
AS
148692012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14870
704bc459
AS
14871 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14872 xopen-msg.sed.
14873 * catgets/xopen-msg.awk: New file.
14874 * catgets/xopen-msg.sed: Removed.
14875
70d35b67
AS
14876 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14877 po2text.sed.
14878 * intl/po2test.awk: New file.
14879 * intl/po2test.sed: Removed.
14880
ca61cf32
JM
148812012-07-04 Joseph Myers <joseph@codesourcery.com>
14882
14883 [BZ #14328]
14884 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14885 or multiply small sinh result by itself.
14886 * math/s_ctanf.c (__ctanf): Likewise.
14887 * math/s_ctanh.c (__ctanh): Likewise.
14888 * math/s_ctanhf.c (__ctanhf): Likewise.
14889 * math/s_ctanhl.c (__ctanhl): Likewise.
14890 * math/s_ctanl.c (__ctanl): Likewise.
14891 * math/libm-test.inc (ctan_test_tonearest): New function.
14892 (ctan_test_towardzero): Likewise.
14893 (ctan_test_downward): Likewise.
14894 (ctan_test_upward): Likewise.
14895 (ctanh_test_tonearest): Likewise.
14896 (ctanh_test_towardzero): Likewise.
14897 (ctanh_test_downward): Likewise.
14898 (ctanh_test_upward): Likewise.
14899 (main): Call these new functions.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902
ca48a46a
MF
149032012-07-03 Mike Frysinger <vapier@gentoo.org>
14904
14905 * .gitignore: Delete /ports entry.
14906
9d63d37d
AJ
149072012-07-03 Andreas Jaeger <aj@suse.de>
14908
14909 * po/bg.po: Update from translation team.
14910 * po/cs.po: Likewise.
14911 * po/de.po: Likewise.
14912 * po/hr.po: Likewise.
14913 * po/nl.pl: Likewise.
14914 * po/pl.po: Likewise.
14915 * po/vi.po: Likewise.
14916
370ca3d2
JM
149172012-07-03 Joseph Myers <joseph@codesourcery.com>
14918
95f5a9a8
JM
14919 * Makeconfig [!+link] (+link-before-libc): New variable.
14920 [!+link] (+link-after-libc): Likewise.
14921 [!+link] (+link-tests): Likewise.
14922 [!+link] (+link): Define in terms of $(+link-before-libc) and
14923 $(+link-after-libc).
14924 [!+link-static] (+link-static-before-libc): New variable.
14925 [!+link-static] (+link-static-after-libc): Likewise.
14926 [!+link-static] (+link-static-tests): Likewise.
14927 [!+link-static] (+link-static): Define in terms of
14928 $(+link-static-before-libc) and $(+link-static-after-libc).
14929 [build-shared] (link-libc-before-gnulib): New variable.
14930 [build-shared] (link-libc-tests): Likewise.
14931 [build-shared] (link-libc): Define in terms of
14932 $(link-libc-before-gnulib).
14933 [!build-shared] (link-libc-tests): New variable.
14934 (link-libc-static-tests): New variable.
14935 [!gnulib] (gnulib-arch): New variable.
14936 [!gnulib] (gnulib-tests): Likewise.
14937 [!gnulib] (static-gnulib-arch): Likewise.
14938 [!gnulib] (static-gnulib-tests): Likewise.
14939 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14940 Define with "=" instead of ":=".
14941 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14942 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14943 * Rules (binaries-all-notests): New variable.
14944 (binaries-all-tests): Likewise.
14945 (binaries-static-notests): Likewise.
14946 (binaries-static-tests): Likewise.
14947 (binaries-all): Define using $(binaries-all-notests) and
14948 $(binaries-all-tests).
14949 (binaries-static): Define using $(binaries-static-notests) and
14950 $(binaries-static-tests).
14951 (binaries-shared-tests): New variable.
14952 (binaries-shared-notests): Likewise.
14953 (binaries-shared): Remove variable.
14954 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14955 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14956 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14957 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14958 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14959 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14960 * elf/Makefile (sln-modules): New variable.
14961 (extra-objs): Add $(sln-modules:=.o).
14962 (ldconfig-modules): Add static-stubs.
14963 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14964 * elf/static-stubs.c: New file.
14965
7a845b2c
JM
14966 [BZ #14283]
14967 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14968 by 7 not 8 to examine high bit of fractional part. Use volatile
14969 variables when splitting into final array of floats if
14970 __FLT_EVAL_METHOD__ != 0.
14971 * math/libm-test.inc (cos_test): Add another test.
14972 (sin_test): Likewise.
14973 * sysdeps/i386/fpu/libm-test-ulps: Update.
14974
e2283f38
JM
14975 [BZ #14273]
14976 * math/libm-test.inc (cosh_test): Add more tests.
14977
370ca3d2
JM
14978 * version.h (RELEASE): Set to "development".
14979 (VERSION): Set to "2.16.90".
14980
ee9247c3
CD
149812012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14982
14983 * NEWS: Update copyright. Remove last-updated date.
14984 Mention math library bug fixes and timezone data changes.
14985 * README: Mention GNU/Hurd, x32, and HPPA support status.
14986
4648c381
TS
149872012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14988
14989 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14990
aac78a43
AJ
149912012-06-27 Andreas Jaeger <aj@suse.de>
14992
14993 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14994
ed3dbfad
AJ
149952012-06-25 Andreas Jaeger <aj@suse.de>
14996
14997 * sysdeps/s390/fpu/libm-test-ulps: Update.
14998
4d0ee855
AS
149992012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15000 Thomas Schwinge <thomas@codesourcery.com>
15001
15002 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15003 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15005 fanotify_mark.
15006
af1bce34
TS
150072012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15008
a9fa33ba
TS
15009 * sysdeps/mach/start.c: Remove file.
15010 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15011 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15012 * sysdeps/sh/init-first.c: Likewise.
15013
58f902b8
TS
15014 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15015 registers for frame unwinding purposes, add CFI directives.
15016 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15017 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15018 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15019 Likewise.
15020
1518f58b
TS
15021 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15022 __fortify_fail returning.
15023 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15024
db9b5059
TS
15025 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15026 sysdeps/sh/____longjmp_chk.S.
15027 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15028 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15029 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15030 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15031
967705fe
TS
15032 * sysdeps/sh/abort-instr.h: New file.
15033 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15034 process in case exit returns.
15035
a9def8c4
TS
15036 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15037 initialize the GOT register before use.
15038
2a649725
TS
15039 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15040 calculation of ARGC > 4.
15041
af1bce34
TS
15042 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15043 meaningful names to some local labels.
15044
d230f50a
KK
150452012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15046 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15047
15048 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15049 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15050 (__arch_compare_and_exchange_val_16_acq): Likewise.
15051 (__arch_compare_and_exchange_val_32_acq): Likewise.
15052 (atomic_exchange_and_add): Fix gUSA sequence.
15053 (atomic_add): Likewise.
15054 (atomic_add_negative): Likewise.
15055 (atomic_add_zero): Likewise.
15056 (atomic_bit_test_set): Likewise.
15057
0479b305
AS
150582012-06-22 Andreas Schwab <schwab@redhat.com>
15059
15060 [BZ #13579]
15061 * include/link.h (struct link_map): Add l_free_initfini.
15062 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15063 l_initfini.
15064 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15065 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15066 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15067 set.
15068
0e3933b9
CD
150692012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15070
15071 * configure.in: Use AC_LANG_SOURCE.
15072 * configure: Regenerate.
15073
4248b1b1
RM
150742012-06-22 Roland McGrath <roland@hack.frob.com>
15075
15076 * configure.in (libc_cv_localstatedir): New substituted variable.
15077 * configure: Regenerated.
15078 * config.make.in (localstatedir): New variable, substituted from
15079 libc_cv_localstatedir.
15080 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15081 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15082 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15083 * sysdeps/gnu/configure: Regenerated.
15084
006dd861
JL
150852012-06-21 Jeff Law <law@redhat.com>
15086
15087 [BZ #14277]
15088 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15089 free. Simplify list management for _LIBC case.
15090
79662d42
JM
150912012-06-21 Joseph Myers <joseph@codesourcery.com>
15092
b7abb4bf
JM
15093 [BZ #14273]
15094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15095 Clear sign bit of 64-bit integer value before comparing against
15096 overflow value.
15097
79662d42
JM
15098 * sysdeps/mach/configure: Regenerated.
15099
1f150908
L
151002012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15101
15102 [BZ #14278]
15103 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15104
28363bbf
JL
151052012-06-21 Jeff Law <law@redhat.com>
15106
15107 [BZ #13882]
15108 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15109 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15111 * elf/dl-open.c (dl_open_worker): Likewise.
15112
09615db4
CD
151132012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15114
15115 * scripts/list-sources.sh: Scan PORTS for translations.
15116 * po/libc.pot: Regenerated.
15117
2174c6dd
AJ
151182012-06-21 Andreas Jaeger <aj@suse.de>
15119
15120 [BZ #12194]
15121 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15122 warning.
15123 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15124 * bits/byteswap-16.h (__bswap_16): Likewise.
15125 * bits/byteswap.h (__bswap_constant_16): Likewise.
15126
3ee947b1
L
151272012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15128
15129 [BZ #14117]
a2f34833
L
15130 * sysdeps/i386/fpu_control.h: Removed.
15131 * sysdeps/x86_64/fpu_control.h: Moved to ...
15132 * sysdeps/x86/fpu_control.h: Here.
15133
3ee947b1
L
15134 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15135 (_FPU_SETCW): Likewise.
15136
ed1825f8
L
151372012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15138
25f1282a
L
15139 [BZ #14117]
15140 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15141 * sysdeps/x86/fpu/bits/mathinline.h: This.
15142 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15143
ed1825f8
L
15144 [BZ #14050]
15145 [BZ #14117]
15146 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15147 functions if __x86_64__ is defined.
15148
36d54b74
CLT
151492012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15150
15151 * string/endian.h: Add !__ASSEMBLER__ condition for including
15152 conversion interfaces.
15153
10285c21
JM
151542012-06-15 Joseph Myers <joseph@codesourcery.com>
15155
15156 [BZ #14241]
15157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15158 of ABS(x) in calculating zero to negative powers other than odd
15159 integers.
15160 * math/libm-test.inc (pow_test): Add more tests.
15161
06c5abbd
AJ
151622012-06-15 Andreas Jaeger <aj@suse.de>
15163
15164 * manual/contrib.texi (Contributors): Update entry of Liubov
15165 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15166 Machado Filho.
15167
a3aeac40
CH
151682012-06-15 Cyril Hrubis <metan@ucw.cz>
15169
15170 * string/string.h: Add __wur to GNU version of strerror_r.
15171
49bdf4c1
L
151722012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 [BZ #14229]
15175 * string/Makefile (tests): Add tst-strtok_r.
15176 * string/tst-strtok_r.c: New file.
15177 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15178 RAX_LP/RDX_LP on SAVE_PTR.
15179
834f9b8d
RM
151802012-06-14 Roland McGrath <roland@hack.frob.com>
15181
15182 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15183
75fa1921
JM
151842012-06-14 Joseph Myers <joseph@codesourcery.com>
15185
15186 * libm_test.inc (csqrt_test): Allow more spurious underflow
15187 exceptions.
15188 (j0_test): Likewise.
15189 (j1_test): Likewise.
15190 (y0_test): Likewise.
15191 (y1_test): Likewise.
15192
771766df
CD
151932012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15194
15195 * po/Makefile (libc.pot): Use UTF-8 charset.
15196
ceb9e56b
PP
151972012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15198
15199 [BZ #14210]
15200 Suppress sign-conversion warning from FD_SET.
15201 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15202 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15203 not unsigned long int.
15204 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15205
ddb28975
L
152062012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 [BZ #14050]
15209 [BZ #14117]
15210 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15211 __extern_always_inline instead of __extern_inline.
15212 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15213 (__signbit): Likewise.
15214 (__signbitl): Support C++ namespace.
15215 (lrintf): New inline function.
15216 (lrint): Likewise.
15217 (llrintf): Likewise.
15218 (llrint): Likewise.
15219 (fmaxf): Likewise.
15220 (fmax): Likewise.
15221 (fminf): Likewise.
15222 (fmin): Likewise.
15223 (rint): Likewise.
15224 (rintf): Likewise.
15225 (ceil): Likewise.
15226 (ceilf): Likewise.
15227 (floor): Likewise.
15228 (floorf): Likewise.
15229 (nearbyint): Likewise.
15230 (nearbyintf): Likewise.
15231
d7b4fb26
TS
152322012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15233
15234 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15235 non-default versions.
15236
eb55f5c2
RM
152372012-06-11 Roland McGrath <roland@hack.frob.com>
15238
15239 [BZ #14218]
15240 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15241
366af02c
TS
152422012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15243
99ff6e5c
TS
15244 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15245 (FE_UPWARD, FE_DOWNWARD): Don't define.
15246 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15247 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15248
366af02c
TS
15249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15250 reading it.
15251 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15252 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15253
793ea851
KK
152542012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15255
15256 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15258 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15259 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15260
a728a38f
L
152612012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15262
15263 [BZ #14117]
c08010c7
L
15264 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15265 * sysdeps/i386/fpu/Implies: New file.
15266 * sysdeps/x86_64/fpu/Implies: Likewise.
15267 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15268 * sysdeps/x86/fpu/bits/fenv.h: This.
15269
a728a38f
L
15270 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15271 __SSE_MATH__.
15272
6e230d11
SP
152732012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15274
15275 [BZ #14134]
15276 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15277 character 0xffff that matches the last element of the
15278 conversion table.
15279
1b671feb
AZ
152802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15281
15282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15283 fmodl commit.
15284
6043738b
AZ
152852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15286
15287 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15288 values higher than 25.6283.
15289
34ae0b32
AZ
152902012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15291
15292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15293 subnormal exponent extraction and add some __builtin_expect.
15294 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15295 Fix for subnormal mantissa calculation.
15296
1214ec8f
MF
152972012-06-04 Mike Frysinger <vapier@gentoo.org>
15298
15299 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15300 cpu2 is -1 and errno is not ENOSYS.
15301
f3d1f93c
L
153022012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15303
15304 [BZ #14117]
0e4a3cd7
L
15305 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15306 * sysdeps/x86/bits/string.h: This.
15307 * sysdeps/x86_64/bits/string.h: Removed.
15308
6704c645
L
15309 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15310 if not compiling for x86-64, but compiling for >= i486.
15311
48495318
L
15312 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15313 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15314
14adcbfc
L
15315 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15316 New macro from Linux kernel 3.4.0.
15317 (FP_XSTATE_MAGIC2): Likewise.
15318 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15319 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15320 (struct _fpx_sw_bytes): New struct.
15321 (struct _xsave_hdr): Likewise.
15322 (struct _ymmh_state): Likewise.
15323 (struct _xstate): Likewise.
15324
68e408ab
L
15325 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15326 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15327 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15328 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15329 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15330 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15331
f3d1f93c
L
15332 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15333 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15334 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15335 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15336 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15337 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15338
d9dc34cd
TMQMF
153392012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15340
15341 [BZ #13743]
15342 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15343 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15344 (sysdep_headers): Include sys/platform/ppc.h.
15345 * sysdeps/powerpc/test-gettimebase.c: Test for
15346 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15347 * manual/Makefile (appendices): Include platform.texi.
15348 * manual/contrib.texi (Contributors): Update @node pointers.
15349 * manual/maint.texi (Maintenance): Likewise.
15350 (Platform): New node.
15351 * manual/platform.texi: New file. Document the new features.
15352
4af3879c
SP
153532012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15354 Jakub Jelinek <jakub@redhat.com>
15355
15356 [BZ #14188]
15357 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15358 where __builtin_expect is unavailable.
15359
2fd6ff13
DM
153602012-06-03 David S. Miller <davem@davemloft.net>
15361
15362 * stdlib/longlong.h: Updated from GCC.
15363
173f7220
AS
153642012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15365
15366 [BZ #14042]
15367 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15368 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15369 __mcount_internal.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15371 (GLIBC_2.16): Likewise.
15372
f34a1c6f
L
153732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15374
15375 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15376
88a4576f
JM
153772012-06-01 Joseph Myers <joseph@codesourcery.com>
15378
ea32bcdd
JM
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15380 (default-abi): New variable.
15381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15382 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15383 variable.
15384 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15385 Likewise.
15386 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15387 Likewise.
15388 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15389 Likewise.
15390
88a4576f
JM
15391 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15392 definition. Document in comment.
15393
402fe938
DM
153942012-06-01 David S. Miller <davem@davemloft.net>
15395
15396 * stdlib/longlong.h: Updated from GCC.
15397
3553723f
L
153982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15399
15400 [BZ #14117]
3bd872c4
L
15401 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15402 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15403 sys/debugreg.h sys/io.h here.
15404 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15405 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15406 sys/io.h.
15407 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15408 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15409 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15410 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15411 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15412 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15413
3553723f
L
15414 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15415 Define only if __x86_64__ is defined.
15416
4842e4fe
JM
154172012-06-01 Joseph Myers <joseph@codesourcery.com>
15418
c5bfe3d5
JM
15419 [BZ #14048]
15420 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15421 Use int64_t for variable i.
15422 * math/libm-test.inc (fmod_test): Add more tests.
15423
4842e4fe
JM
15424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15425 z computation is not scheduled after fetestexcept.
15426 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15427 Use math_force_eval instead of asm to ensure calculation scheduled
15428 before exception test.
15429 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15430 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15431
efb73488
AJ
154322012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15433
15434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15435 computation is not scheduled after fetestexcept.
15436
29bcce7c
L
154372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15438
15439 [BZ #14117]
15440 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15441 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15442
73a68f94
AZ
154432012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15444
15445 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15446 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15447
67b6df78
L
154482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15449
edf2933a 15450 [BZ #14117]
ebc64a18
L
15451 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15452 <bits/wordsize.h>.
15453 (__WCHAR_MIN): Support __WORDSIZE == 64.
15454 (__WCHAR_MAX): Likewise.
15455
edf2933a
L
15456 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15457 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15458
57c6cf40
L
15459 [BZ #14183]
15460 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15461 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15462
67b6df78 15463 [BZ #14117]
8eb6281e
L
15464 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15465 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15466
aac639f4
L
15467 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15468 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15469
67b6df78
L
15470 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15471 Defined to 1 if __x86_64__ isn't defined.
15472 (_STAT_VER_LINUX_OLD): New.
15473 (st_atime): Remove duplicate.
15474 (st_mtime): Likewise.
15475 (st_ctime): Likewise.
15476
1c2cfe81
DM
154772012-05-31 David S. Miller <davem@davemloft.net>
15478
15479 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15480 entries.
15481
5be8418c
AS
154822012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15483
e7725326
AS
15484 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15485 gen-libm-test.pl.
15486
5be8418c
AS
15487 [BZ #14132]
15488 * elf/dl-reloc.c: Include <_itoa.h>.
15489 (_dl_reloc_bad_type): Remove use of INTUSE.
15490 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15491 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15492 * stdio-common/psiginfo.c (psiginfo): Likewise.
15493 * stdio-common/psignal.c (psignal): Likewise.
15494 * string/strsignal.c (strsignal): Likewise.
15495 * include/signal.h (_sys_siglist): Declare hidden proto.
15496 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15497 INTVARDEF with libc_hidden_data_def.
15498 * stdio-common/itoa-udigits.c: Likewise.
15499 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15500 (_itoa_lower_digits_internal): Remove declaration.
15501 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15502 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15503 (_sys_sigabbrev_internal): Remove aliases.
15504 (_sys_siglist): Define hidden alias.
15505
507352f1
MT
155062012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15507
15508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15509 bits/sysctl.h.
15510
42bbb1c3
L
155112012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15512
15513 [BZ #14117]
6bd784b6
L
15514 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15515 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15516
8bca20f0
L
15517 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15518 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15519 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15520 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15521 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15522 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15523
f9e890a9
L
15524 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15525 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15526 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15527
471101a1
L
15528 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15529 with __addr.
15530 (insw): Likewise.
15531 (insl): Likewise.
15532 (outsb): Likewise.
15533 (outsw): Likewise.
15534 (outsl): Likewise.
15535
6451c862
L
15536 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15537 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15538 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15539
a254b8c9
L
15540 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15541 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15542 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15543 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15544 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15545 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15546
b8dfdd92
L
15547 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15548 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15549
578cd270
L
15550 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15551 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15552
de662f5f
L
15553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15555 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15556
25653439
L
15557 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15558 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15559 to ...
15560 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15561
6bad24a0
L
15562 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15563 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15564 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15565
42bbb1c3
L
15566 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15567 for x86-64.
15568 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15569
2d10d547
JM
155702012-05-31 Joseph Myers <joseph@codesourcery.com>
15571
15572 * math/math.h (M_El): Use two more decimal places.
15573 (M_LOG2El): Likewise.
15574 (M_LOG10El): Likewise.
15575 (M_LN2l): Likewise.
15576 (M_LN10l): Likewise.
15577 (M_PIl): Likewise.
15578 (M_PI_2l): Likewise.
15579 (M_PI_4l): Likewise.
15580 (M_1_PIl): Likewise.
15581 (M_2_PIl): Likewise.
15582 (M_2_SQRTPIl): Likewise.
15583 (M_SQRT2l): Likewise.
15584 (M_SQRT1_2l): Likewise.
15585
f230c29b
DM
155862012-05-31 David S. Miller <davem@davemloft.net>
15587
15588 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15589 values between float registers.
15590 * sysdeps/sparc/sparc64/memset.S: Likewise.
15591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15592
fed806c3
MF
155932012-05-31 Mike Frysinger <vapier@gentoo.org>
15594
15595 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15596 -D_FORTIFY_SOURCE=1.
15597 (CPPFLAGS-tst-longjmp_chk.c): Define.
15598 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15599 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15600 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15601 CFLAGS-tst-wchar-h.c.
15602
30917259
MP
156032012-05-31 Marek Polacek <polacek@redhat.com>
15604
15605 [BZ #14132]
15606 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15607 __endmntent_internal): Remove declaration.
15608 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15609 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15610 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15611
1c58d5dc
DM
156122012-05-30 David S. Miller <davem@davemloft.net>
15613
15614 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15615 (___Q_simulate_exceptions): Use real FP ops rather than writing
15616 into the %fsr.
15617 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15618 Likewise.
15619
7dc00e0d
L
156202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15621
15622 [BZ #14117]
0bd53985
L
15623 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15624 * sysdeps/x86/bits/xtitypes.h: This.
15625
3a257e66
L
15626 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15627 * sysdeps/x86/bits/wordsize.h: This.
15628
62f62904
L
15629 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15630 * sysdeps/x86/bits/huge_vall.h: This.
15631
404fe9d9
L
15632 * sysdeps/i386/bits/select.h: Removed.
15633 * sysdeps/x86_64/bits/select.h: Renamed to ...
15634 * sysdeps/x86/bits/select.h: This.
15635
d48d0446
L
15636 * sysdeps/i386/bits/setjmp.h: Removed.
15637 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15638 * sysdeps/x86/bits/setjmp.h: This.
15639
7dc00e0d
L
15640 * sysdeps/i386/bits/mathdef.h: Removed.
15641 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15642 * sysdeps/x86/bits/mathdef.h: This.
15643
03277f8f
AS
156442012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15645
15646 [BZ #14132]
15647 * include/sys/socket.h (__connect_internal)
15648 (__libc_sa_len_internal): Remove declaration.
15649 (__connect, __libc_sa_len): Declare hidden_proto.
15650 (SA_LEN): Remove use of INTUSE.
15651 * socket/connect.c: Add libc_hidden_def.
15652 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15653 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15654 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15655 alias.
15656 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15657 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15658 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15659 of adding _internal alias.
15660
13764867
L
156612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15662
15663 [BZ #14117]
6bd97696
L
15664 * sysdeps/i386/bits/link.h: Removed.
15665 * sysdeps/i386/bits/linkmap.h: Likewise.
15666 * sysdeps/x86_64/bits/link.h: Renamed to ...
15667 * sysdeps/x86/bits/link.h: This.
15668 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15669 * sysdeps/x86/bits/linkmap.h: This.
15670
f726f0bb
L
15671 * sysdeps/i386/bits/endian.h: Removed.
15672 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15673 * sysdeps/x86/bits/endian.h: This.
15674
13764867
L
15675 * sysdeps/i386/bits/byteswap.h: Removed.
15676 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15677 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15678 * sysdeps/x86/bits/byteswap.h: This.
15679 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15680 * sysdeps/x86/bits/byteswap-16.h: This.
15681 * sysdeps/i386/Implies: Add x86.
15682 * sysdeps/x86_64/Implies: Likewise.
15683
ae251b0b
DM
156842012-05-30 David S. Miller <davem@davemloft.net>
15685
15686 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15687 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15689 (FP_TRAPPING_EXCEPTIONS): Define.
15690 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15691 (FP_TRAPPING_EXCEPTIONS): Define.
15692 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15693 subnormals only when inexact has been signalled or underflow
15694 exceptions are enabled.
15695 (_FP_PACK_CANONICAL): Likewise.
15696
d5c90867
L
156972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15698
15699 [BZ #14183]
15700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15701 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15702
63f1549e
RH
157032012-05-30 Richard Henderson <rth@twiddle.net>
15704
8d8f2279
RH
15705 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15706 with #ifndef NOT_IN_libc.
15707
63f1549e
RH
15708 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15709 marked to avoid plt entry.
15710
0ab0291b
L
157112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15712
15713 [BZ #14112]
15714 * Makeconfig (default-abi): New macro.
15715 (abi-includes): Likewise.
15716 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15717 $(abi-$(default-abi)-lib-soname) for soname if defined.
15718 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15719 abi-variants.
15720 * Makefile (installed-stubs): Likewise.
15721 * include/stubs-biarch.h: Removed.
15722 * scripts/lib-names.awk: Only handle one library at a time.
15723 * scripts/soversions.awk: Remove WORDSIZE support.
15724 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15725 entries.
15726 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15727 Removed.
15728 (syscall-list-default-condition): Likewise.
15729 (syscall-list-default-condition): Likewise.
15730 (syscall-list-includes): Likewise.
15731 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15732 syscall-list-* with abi-*. Handle undefined abi-variants.
15733 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15734 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15735 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15736 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15737 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15738 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15739 Removed.
15740 (syscall-list-32-options): Likewise.
15741 (syscall-list-32-condition): Likewise.
15742 (syscall-list-64-options): Likewise.
15743 (syscall-list-64-condition): Likewise.
15744 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15745 macro.
15746 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15747 Renamed to ...
15748 (abi-*): This.
15749 (abi-64-ld-soname): New macro.
15750 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15751 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15752 Renamed to ...
15753 (abi-*): This.
15754 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15755 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15756
4da0431d
JM
157572012-05-30 Joseph Myers <joseph@codesourcery.com>
15758
3a85279c
JM
15759 * sysdeps/unix/sysv/linux/kernel-features.h
15760 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15761 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15762 include <kernel-features.h>.
15763 [!__NR_ftruncate64]: Remove conditional code.
15764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15765 [__NR_ftruncate64]: Make code unconditional.
15766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15767 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15768 include <kernel-features.h>.
15769 [!__NR_ftruncate64]: Remove conditional code.
15770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15771 [__NR_ftruncate64]: Make code unconditional.
15772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15774 include <kernel-features.h>.
15775 [!__NR_ftruncate64]: Remove conditional code.
15776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15777 [__NR_ftruncate64]: Make code unconditional.
15778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15780 include <kernel-features.h>.
15781 [!__NR_ftruncate64]: Remove conditional code.
15782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15783 [__NR_ftruncate64]: Make code unconditional.
15784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15785
4da0431d
JM
15786 * configure.in (libc_cv_fpie): Weaken to a compile test using
15787 LIBC_TRY_CC_OPTION.
15788 * configure: Regenerated.
15789
11ef492c
AK
157902012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15791
15792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15796 Refreshed.
15797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15803 Refreshed.
15804
d66ef399
DM
158052012-05-27 David S. Miller <davem@davemloft.net>
15806
15807 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15808 (___Q_zero): New.
15809 (__Q_simulate_exceptions): Return void. Change to simulate
15810 exceptions by writing into the %fsr.
15811 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15812 (__Qp_handle_exceptions): Likewise.
15813 (numbers): Delete.
15814 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15815 __Qp_handle_exceptions.
15816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15817 __Qp_handle_exceptions.
15818 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15819 as unused and give dummy FP_RND_NEAREST initializer.
15820 (FP_INHIBIT_RESULTS): Define.
15821 (___Q_simulate_exceptions): Update declaration.
15822 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15823 formatting.
15824 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15825 as unused and give dummy FP_RND_NEAREST initializer.
15826 (__Qp_handle_exceptions): Update declaration.
15827 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15828 formatting.
15829
04fb54b5
TS
158302012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15831
15832 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15833 the temporary FPU control word.
15834 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15835 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15837 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15838 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15839 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15840 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15841 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15842 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15843 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15844 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15845
3f99608f
KK
158462012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15847
15848 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15849 fields.
15850
65a4de4e
CLT
158512012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15852
15853 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15854 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15855 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15856 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15857 Likewise.
15858 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15859 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15860 Likewise.
15861
15749d40
UD
158622012-05-27 Ulrich Drepper <drepper@gmail.com>
15863
15864 * po/h.po: Update from translation team.
15865
25dbcb27
AS
158662012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15867
3d3f8e55
AS
15868 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15869
25dbcb27
AS
15870 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15871 handling of denormals.
15872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15873 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15874 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15875 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15877 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15879 Likewise.
15880
7ad47a80 158812012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15882
15883 [BZ #14152]
15884 * math/libm-test.inc (fma_test): Don't always expect underflow
15885 exception.
15886
9c6ea9fa
SP
158872012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15888
15889 [BZ #12416]
15890 * elf/tst-execstack.c: Include stackinfo.h.
15891 (do_test): Adjust test case to ensure that pthread_getattr_np
15892 behaviour remains the same after marking stack executable.
15893
a8239222
JM
158942012-05-25 Joseph Myers <joseph@codesourcery.com>
15895
15896 * sysdeps/unix/sysv/linux/kernel-features.h
15897 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15898 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15899 kernel-features.h.
15900 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15901 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15902 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15903 kernel-features.h.
15904 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15905 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15906
918b5606
L
159072012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15908
15909 * configure.in: Define the default includes to being none.
15910 * configure: Regenerated.
15911
3a097cc7
RM
159122012-05-25 Roland McGrath <roland@hack.frob.com>
15913
8422c9a5
RM
15914 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15915 * sysdeps/x86_64/setjmp.S: Likewise.
15916 * sysdeps/i386/bsd-setjmp.S: Likewise.
15917 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15918 * sysdeps/i386/setjmp.S: Likewise.
15919 * sysdeps/i386/__longjmp.S: Likewise.
15920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15921 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15922
3a097cc7
RM
15923 * include/stap-probe.h: New file.
15924 * configure.in: Handle --enable-systemtap.
15925 * configure: Regenerated.
15926 * config.h.in (USE_STAP_PROBE): New #undef.
15927 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15928 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15929 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15930
21708942
JM
159312012-05-25 Joseph Myers <joseph@codesourcery.com>
15932
15933 [BZ #13717]
15934 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15935 to 2.4.0 where earlier.
15936 * sysdeps/unix/sysv/linux/configure: Regenerated.
15937 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15938 <kernel-features.h>.
15939 [__ASSUME_32BITUIDS]: Make code unconditional.
15940 [!__ASSUME_32BITUIDS]: Remove conditional code.
15941 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15942 <kernel-features.h>.
15943 [__ASSUME_32BITUIDS]: Make code unconditional.
15944 [!__ASSUME_32BITUIDS]: Remove conditional code.
15945 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15946 [__ASSUME_32BITUIDS]: Make code unconditional.
15947 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15948 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15949 <kernel-features.h>.
15950 [__ASSUME_32BITUIDS]: Make code unconditional.
15951 [!__ASSUME_32BITUIDS]: Remove conditional code.
15952 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15953 <kernel-features.h>.
15954 [__ASSUME_32BITUIDS]: Make code unconditional.
15955 [!__ASSUME_32BITUIDS]: Remove conditional code.
15956 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15957 <kernel-features.h>.
15958 [__ASSUME_32BITUIDS]: Make code unconditional.
15959 [!__ASSUME_32BITUIDS]: Remove conditional code.
15960 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15961 <kernel-features.h>.
15962 [__ASSUME_32BITUIDS]: Make code unconditional.
15963 [!__ASSUME_32BITUIDS]: Remove conditional code.
15964 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15965 <kernel-features.h>.
15966 [__ASSUME_32BITUIDS]: Make code unconditional.
15967 [!__ASSUME_32BITUIDS]: Remove conditional code.
15968 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15969 <kernel-features.h>.
15970 [__ASSUME_32BITUIDS]: Make code unconditional.
15971 [!__ASSUME_32BITUIDS]: Remove conditional code.
15972 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15973 <kernel-features.h>.
15974 [__ASSUME_32BITUIDS]: Make code unconditional.
15975 [!__ASSUME_32BITUIDS]: Remove conditional code.
15976 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15977 <kernel-features.h>.
15978 [__ASSUME_32BITUIDS]: Make code unconditional.
15979 [!__ASSUME_32BITUIDS]: Remove conditional code.
15980 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15981 <kernel-features.h>.
15982 [__ASSUME_32BITUIDS]: Make code unconditional.
15983 [!__ASSUME_32BITUIDS]: Remove conditional code.
15984 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15985 <kernel-features.h>.
15986 [__ASSUME_32BITUIDS]: Make code unconditional.
15987 [!__ASSUME_32BITUIDS]: Remove conditional code.
15988 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15989 <kernel-features.h>.
15990 [__NR_setresgid] (__setresgid): Do not declare.
15991 [__ASSUME_32BITUIDS]: Make code unconditional.
15992 [!__ASSUME_32BITUIDS]: Remove conditional code.
15993 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15994 <kernel-features.h>.
15995 [__NR_setresuid] (__setresuid): Do not declare.
15996 [__ASSUME_32BITUIDS]: Make code unconditional.
15997 [!__ASSUME_32BITUIDS]: Remove conditional code.
15998 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15999 <kernel-features.h>.
16000 [__ASSUME_32BITUIDS]: Make code unconditional.
16001 [!__ASSUME_32BITUIDS]: Remove conditional code.
16002 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16003 <kernel-features.h>.
16004 [__ASSUME_32BITUIDS]: Make code unconditional.
16005 [!__ASSUME_32BITUIDS]: Remove conditional code.
16006 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16007 <kernel-features.h>.
16008 [__ASSUME_32BITUIDS]: Make code unconditional.
16009 [!__ASSUME_32BITUIDS]: Remove conditional code.
16010 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16011 <kernel-features.h>.
16012 [__ASSUME_32BITUIDS]: Make code unconditional.
16013 [!__ASSUME_32BITUIDS]: Remove conditional code.
16014 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16015 <kernel-features.h>.
16016 [__ASSUME_32BITUIDS]: Make code unconditional.
16017 [!__ASSUME_32BITUIDS]: Remove conditional code.
16018 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16019 <kernel-features.h>.
16020 [__ASSUME_32BITUIDS]: Make code unconditional.
16021 [!__ASSUME_32BITUIDS]: Remove conditional code.
16022 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16023 <kernel-features.h>.
16024 [__ASSUME_32BITUIDS]: Make code unconditional.
16025 [!__ASSUME_32BITUIDS]: Remove conditional code.
16026 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16027 <kernel-features.h>.
16028 [__ASSUME_32BITUIDS]: Make code unconditional.
16029 [!__ASSUME_32BITUIDS]: Remove conditional code.
16030 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16031 <kernel-features.h>.
16032 [__ASSUME_32BITUIDS]: Make code unconditional.
16033 [!__ASSUME_32BITUIDS]: Remove conditional code.
16034 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16035 <kernel-features.h>.
16036 [__ASSUME_32BITUIDS]: Make code unconditional.
16037 [!__ASSUME_32BITUIDS]: Remove conditional code.
16038 * sysdeps/unix/sysv/linux/kernel-features.h
16039 (__ASSUME_SETRESUID_SYSCALL): Remove.
16040 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16041 (__ASSUME_32BITUIDS): Likewise.
16042 (__ASSUME_LDT_WORKS): Likewise.
16043 (__ASSUME_O_DIRECTORY): Likewise.
16044 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16045 architecture but not kernel version.
16046 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16047 (__ASSUME_MMAP2_SYSCALL): Likewise.
16048 (__ASSUME_STAT64_SYSCALL): Likewise.
16049 (__ASSUME_IPC64): Likewise.
16050 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16051 <kernel-features.h>.
16052 [__ASSUME_32BITUIDS]: Make code unconditional.
16053 [!__ASSUME_32BITUIDS]: Remove conditional code.
16054 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16055 <kernel-features.h>.
16056 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16057 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16058 132096]: Remove conditional code.
16059 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16060 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16061 <kernel-features.h>.
16062 [__ASSUME_32BITUIDS]: Make code unconditional.
16063 [!__ASSUME_32BITUIDS]: Remove conditional code.
16064 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16065 <kernel-features.h>.
16066 [__ASSUME_32BITUIDS]: Make code unconditional.
16067 [!__ASSUME_32BITUIDS]: Remove conditional code.
16068 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16069 <kernel-features.h>.
16070 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16071 unconditional.
16072 (__setresgid): Do not declare.
16073 [__ASSUME_32BITUIDS]: Make code unconditional.
16074 [!__ASSUME_32BITUIDS]: Remove conditional code.
16075 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16076 <kernel-features.h>.
16077 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16078 unconditional.
16079 (__setresuid): Do not declare.
16080 [__ASSUME_32BITUIDS]: Make code unconditional.
16081 [!__ASSUME_32BITUIDS]: Remove conditional code.
16082 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16083 <kernel-features.h>.
16084 [__ASSUME_32BITUIDS]: Make code unconditional.
16085 [!__ASSUME_32BITUIDS]: Remove conditional code.
16086 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16087 <kernel-features.h>.
16088 [__ASSUME_32BITUIDS]: Make code unconditional.
16089 [!__ASSUME_32BITUIDS]: Remove conditional code.
16090
a386f1cc
RH
160912012-05-25 Richard Henderson <rth@twiddle.net>
16092
16093 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16094 dl_hwcap to ifunc resolver.
16095 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16096 elf_ifunc_invoke.
16097 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16098 dl_hwcap to ifunc resolver.
16099 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16100
b6550497
JM
161012012-05-24 Joseph Myers <joseph@codesourcery.com>
16102
16103 [BZ #14153]
16104 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16105 for |x| <= 2**-26, not 2**-57.
16106 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16107 exception.
16108
b0bc23a1
JL
161092012-05-24 Jeff Law <law@redhat.com>
16110
16111 * stdio-common/Makefile (tests): Add bug25.
16112 * stdio-common/bug25.c: New test.
16113
347c92e9
L
161142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16115
16116 [BZ #13576]
16117 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16118 multiple of MALLOC_ALIGNMENT in size.
16119 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16120
6bcc8b3f
JM
161212012-05-24 Joseph Myers <joseph@codesourcery.com>
16122
16123 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16124 Require >= 256.
16125 (FILENAME_MAX): Use macro-int-constant.
16126 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16127 (_IOFBF): Use macro-int-constant.
16128 (_IOLBF): Likewise.
16129 (_IONBF): Likewise.
16130 (SEEK_CUR): Likewise.
16131 (SEEK_END): Likewise.
16132 (SEEK_SET): Likewise.
16133 (TMP_MAX): Likewise.
16134 (EOF): Use macro-int-constant. Require < 0.
16135 (NULL): Use macro-constant. Require == 0.
16136 (stdin): Require type to be FILE *.
16137 (stdout): Likewise.
16138 (stderr): Likewise.
16139 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16140 macro-int-constant.
16141 (EXIT_SUCCESS): Likewise.
16142 (NULL): Use macro-constant. Require == 0.
16143 (RAND_MAX): Use macro-int-constant.
16144 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16145 [C99-based standards] (strtof): Require function.
16146 [C99-based standards] (strtold): Likewise.
16147 [C99-based standards] (strtoll): Likewise.
16148 [C99-based standards] (strtoull): Likewise.
16149 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16150 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16151 [ISO || ISO99 || ISO11] (math.h): Likewise.
16152 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16153 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16154 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16155
d18ea0c5
AS
161562012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16157
16158 [BZ #14132]
56d25bb8
AS
16159 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16160 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16161 * intl/dgettext.c (DCGETTEXT): Likewise.
16162 * intl/gettext.c (DCGETTEXT): Likewise.
16163 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16164 * posix/regex_internal.h (gettext): Likewise.
16165 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16166 Remove declaration.
16167 * include/argz.h (__argz_count_internal)
16168 (__argz_stringify_internal): Remove declaration.
16169 (__argz_count, __argz_stringify): Declare hidden proto.
16170 * intl/dcgettext.c: Remove use of INTDEF.
16171 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16172 * string/argz-stringify.c: Likewise.
16173 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16174 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16175 Declare hidden proto.
d18ea0c5
AS
16176 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16177 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16178 Declare hidden proto.
16179 * include/stdio.h (__asprintf_internal): Don't declare.
16180 (__asprintf): Don't define as macro. Declare hidden proto.
16181 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16182 (__fsetlocking): Declare hidden proto.
16183 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16184 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16185 hidden proto.
16186 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16187 (_IO_setlinebuf): Remove use of INTUSE.
16188 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16189 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16190 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16191 Remove declaration.
16192 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16193 (_IO_do_flush): Remove use of INTUSE.
16194 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16195 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16196 (_IO_adjust_column, _IO_least_wmarker)
16197 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16198 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16199 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16200 (_IO_default_doallocate, _IO_wdefault_doallocate)
16201 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16202 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16203 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16204 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16205 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16206 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16207 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16208 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16209 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16210 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16211 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16212 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16213 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16214 proto.
16215 (_IO_flush_all_internal, _IO_adjust_column_internal)
16216 (_IO_default_uflow_internal, _IO_default_finish_internal)
16217 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16218 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16219 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16220 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16221 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16222 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16223 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16224 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16225 (_IO_file_close_internal, _IO_file_close_it_internal)
16226 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16227 (_IO_file_init_internal, _IO_file_attach_internal)
16228 (_IO_file_fopen_internal, _IO_file_read_internal)
16229 (_IO_file_sync_internal, _IO_file_seek_internal)
16230 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16231 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16232 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16233 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16234 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16235 (_IO_list_all_internal, _IO_link_in_internal)
16236 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16237 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16238 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16239 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16240 (_IO_do_write_internal, _IO_padn_internal)
16241 (_IO_getline_info_internal, _IO_getline_internal)
16242 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16243 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16244 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16245 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16246 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16247 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16248 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16249 with libc_hidden_ver, remove use of INTUSE.
16250 * libio/genops.c: Likewise.
16251 * libio/freopen.c: Likewise.
16252 * libio/freopen64.c: Likewise.
16253 * libio/iofclose.c: Likewise.
16254 * libio/iofdopen.c: Likewise.
16255 * libio/iofflush.c: Likewise.
16256 * libio/iofflush_u.c: Likewise.
16257 * libio/iofgets.c: Likewise.
16258 * libio/iofgets_u.c: Likewise.
16259 * libio/iofopen.c: Likewise.
16260 * libio/iofopncook.c: Likewise.
16261 * libio/iofread.c: Likewise.
16262 * libio/iofread_u.c: Likewise.
16263 * libio/ioftell.c: Likewise.
16264 * libio/iofwrite.c: Likewise.
16265 * libio/iogetline.c: Likewise.
16266 * libio/iogets.c: Likewise.
16267 * libio/iogetwline.c: Likewise.
16268 * libio/iopadn.c: Likewise.
16269 * libio/iopopen.c: Likewise.
16270 * libio/ioseekoff.c: Likewise.
16271 * libio/ioseekpos.c: Likewise.
16272 * libio/iosetbuffer.c: Likewise.
16273 * libio/iosetvbuf.c: Likewise.
16274 * libio/ioungetc.c: Likewise.
16275 * libio/ioungetwc.c: Likewise.
16276 * libio/iovdprintf.c: Likewise.
16277 * libio/iovsprintf.c: Likewise.
16278 * libio/iovsscanf.c: Likewise.
16279 * libio/memstream.c: Likewise.
16280 * libio/obprintf.c: Likewise.
16281 * libio/oldfileops.c: Likewise.
16282 * libio/oldiofclose.c: Likewise.
16283 * libio/oldiofdopen.c: Likewise.
16284 * libio/oldiofopen.c: Likewise.
16285 * libio/oldiopopen.c: Likewise.
16286 * libio/oldstdfiles.c: Likewise.
16287 * libio/putc.c: Likewise.
16288 * libio/setbuf.c: Likewise.
16289 * libio/setlinebuf.c: Likewise.
16290 * libio/stdfiles.c: Likewise.
16291 * libio/strops.c: Likewise.
16292 * libio/vasprintf.c: Likewise.
16293 * libio/vscanf.c: Likewise.
16294 * libio/vsnprintf.c: Likewise.
16295 * libio/vswprintf.c: Likewise.
16296 * libio/wfiledoalloc.c: Likewise.
16297 * libio/wfileops.c: Likewise.
16298 * libio/wgenops.c: Likewise.
16299 * libio/wmemstream.c: Likewise.
16300 * libio/wstrops.c: Likewise.
16301 * libio/__fpurge.c: Likewise.
16302 * libio/__fsetlocking.c: Likewise.
16303 * assert/assert.c: Likewise.
16304 * debug/fgets_chk.c: Likewise.
16305 * debug/fgets_u_chk.c: Likewise.
16306 * debug/fread_chk.c: Likewise.
16307 * debug/fread_u_chk.c: Likewise.
16308 * debug/gets_chk.c: Likewise.
16309 * debug/obprintf_chk.c: Likewise.
16310 * debug/vasprintf_chk.c: Likewise.
16311 * debug/vdprintf_chk.c: Likewise.
16312 * debug/vsnprintf_chk.c: Likewise.
16313 * debug/vsprintf_chk.c: Likewise.
16314 * malloc/mtrace.c: Likewise.
16315 * misc/error.c: Likewise.
16316 * misc/syslog.c: Likewise.
16317 * stdio-common/asprintf.c: Likewise.
16318 * stdio-common/fxprintf.c: Likewise.
16319 * stdio-common/getw.c: Likewise.
16320 * stdio-common/isoc99_fscanf.c: Likewise.
16321 * stdio-common/isoc99_scanf.c: Likewise.
16322 * stdio-common/isoc99_vfscanf.c: Likewise.
16323 * stdio-common/isoc99_vscanf.c: Likewise.
16324 * stdio-common/isoc99_vsscanf.c: Likewise.
16325 * stdio-common/printf-prs.c: Likewise.
16326 * stdio-common/printf_fp.c: Likewise.
16327 * stdio-common/printf_fphex.c: Likewise.
16328 * stdio-common/printf_size.c: Likewise.
16329 * stdio-common/putw.c: Likewise.
16330 * stdio-common/scanf.c: Likewise.
16331 * stdio-common/sprintf.c: Likewise.
16332 * stdio-common/tmpfile.c: Likewise.
16333 * stdio-common/vfprintf.c: Likewise.
16334 * stdio-common/vfscanf.c: Likewise.
16335 * stdlib/strfmon_l.c: Likewise.
16336 * sunrpc/openchild.c: Likewise.
16337 * sunrpc/xdr_stdio.c: Likewise.
16338 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16339 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16340
d6c33fda
RM
163412012-05-24 Roland McGrath <roland@hack.frob.com>
16342
c1487492
RM
16343 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16344
16345 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16346 in the third column, to generate for the shared library an IFUNC
16347 that uses _dl_vdso_vsym.
16348 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16349 * Makeconfig (object-suffixes-noshared): New variable.
16350
16351 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16352 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16353 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16354 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16355
d6c33fda
RM
16356 [BZ #14132]
16357 * include/sys/time.h (__gettimeofday): Remove macro.
16358 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16359 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16360 Remove INTDEF.
16361 (__gettimeofday): Add libc_hidden_def.
16362 (gettimeofday): Add libc_hidden_weak.
16363 * sysdeps/mach/gettimeofday.c: Likewise.
16364 * sysdeps/posix/gettimeofday.c: Likewise.
16365 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16366 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16368 (__gettimeofday_internal): Remove strong_alias.
16369 (__gettimeofday): Add libc_hidden_def.
16370 (gettimeofday): Add libc_hidden_weak.
16371 * sysdeps/unix/syscalls.list (gettimeofday):
16372 Remove __gettimeofday_internal alias.
16373
b5a2bbe6
L
163742012-05-24 Daniel Jacobowitz <drow@false.org>
16375 H.J. Lu <hongjiu.lu@intel.com>
16376
16377 [BZ #12495]
16378 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16379 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16380 (largebin_index_32_big): New.
16381 (largebin_index): Use it for 16-byte alignment.
16382 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16383 correction with front_misalign.
16384
cfba4fda
L
163852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16386
7f907421
L
16387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16389 Likewise.
16390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16391 Likewise.
16392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16393 Likewise.
16394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16395 Likewise.
16396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16397 Likewise.
16398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16399 Likewise.
16400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16401 Likewise.
16402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16403 Likewise.
16404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16405 Likewise.
16406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16407 Likewise.
16408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16409 Likewise.
16410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16411 Likewise.
16412
cfba4fda
L
16413 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16414 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16415
80bad0cc
JM
164162012-05-24 Joseph Myers <joseph@codesourcery.com>
16417
7a25eb06
JM
16418 [BZ #10846]
16419 [BZ #14036]
16420 * math/libm-test.inc (exp_test): Add test from bug 14036.
16421 (pow_test): Add test from bug 10846.
16422
795405f9
JM
16423 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16424 and other flags.
16425 (special_function): Do not include flags in test name.
16426 (parse_args): Likewise.
16427 * sysdeps/i386/fpu/libm-test-ulps: Update.
16428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16429 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16430 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432
80bad0cc
JM
16433 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16434 exceptions.
16435 * math/libm-test.inc ("Philosophy"): Update comment about
16436 exception testing.
16437 (UNDERFLOW_EXCEPTION): New macro.
16438 (UNDERFLOW_EXCEPTION_OK): Likewise.
16439 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16440 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16441 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16442 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16443 (INVALID_EXCEPTION_OK): Update value.
16444 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16445 (OVERFLOW_EXCEPTION_OK): Likewise.
16446 (IGNORE_ZERO_INF_SIGN): Likewise.
16447 (test_exceptions): Handle underflow exceptions.
16448 (acos_test): Update for underflow exception expectations.
16449 (cexp_test): Likewise.
16450 (clog_test): Likewise.
16451 (clog10_test): Likewise.
16452 (csqrt_test): Likewise.
16453 (ctan_test): Likewise.
16454 (ctanh_test): Likewise.
16455 (exp_test): Likewise.
16456 (exp10_test): Likewise.
16457 (exp2_test): Likewise.
16458 (expm1_test): Likewise.
16459 (fma_test): Likewise.
16460 (j0_test): Likewise.
16461 (jn_test): Likewise.
16462 (nexttoward_test): Likewise.
16463 (pow_test): Likewise.
16464 (scalbn_test): Likewise.
16465 (scalbln_test): Likewise.
16466 (tan_test): Likewise.
16467 (y1_test): Likewise.
16468 * sysdeps/i386/fpu/libm-test-ulps: Update.
16469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16470
9e0e3d0b
DM
164712012-05-23 David S. Miller <davem@davemloft.net>
16472
16473 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16474 (__libc_sigaction): Remove unused local variables.
16475
ccd0a08f
L
164762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16477
16478 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16479
62bdf9a6
PE
164802012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16481
f8591f80
PE
16482 mktime: avoid signed integer overflow
16483 * time/mktime.c (__mktime_internal): Do not mishandle the case
16484 where diff == INT_MIN.
16485
94c7d826
PE
16486 mktime: simplify computation of average
16487 * time/mktime.c (ranged_convert): Use new time_t_avg function
16488 instead of rolling our own (probably-slower) code.
16489
ce73d683
PE
16490 mktime: do not assume signed right shift propagates sign bit
16491 * time/mktime.c (isdst_differ): New static function.
16492 (__mktime_internal): No need to normalize tm_isdst now.
16493 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16494 tm_isdst values.
16495
72a22e59
PE
16496 mktime: merge another wrapv change from gnulib
16497 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16498 from some compilers.
16499
68605433
PE
16500 mktime: remove incorrect attempt at unusual arithmetics
16501 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16502 The code didn't really work on such machines anyway.
16503 (TYPE_MINIMUM): Assume two's complement.
16504 (twos_complement_arithmetic): Verify that long_int and time_t
16505 are two's complement (or unsigned, in the latter case).
16506
03cf7fe3
PE
16507 mktime: check signed shifts on long_int and time_t, too
16508 * time/mktime.c (SHR): Check that shifts work as desired
16509 on the types long_int and time_t too, as SHR is used on
16510 such types.
16511
f04dfbc2
PE
16512 mktime: do not assume 'long' is wide enough
16513 * time/mktime.c (verify): Move decl up.
16514 (long_int): New type.
16515 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16516 to remove assumption in the code that 'long' is wide enough to
16517 store year values. This assumption is not true on x32 and on
16518 some non-glibc platforms.
16519
62bdf9a6
PE
16520 mktime: merge wrapv change from gnulib
16521 * time/mktime.c (WRAPV): New macro.
16522 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16523 (guess_time_tm, __mktime_internal): Do not assume that signed
16524 integer overflow wraps around; modern compilers generate code
16525 where this assumption is no longer valid.
16526
5e292e4f
L
165272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16528
16529 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16530 Replace "jmp L(pseudo_end)" with "ret".
16531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16532 Likewise.
16533
8caf8c87
AJ
165342012-05-23 Andreas Jaeger <aj@suse.de>
16535
16536 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16537 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16538
1a09dc56
AJ
165392012-05-23 Andreas Jaeger <aj@suse.de>
16540 Maximilian Attems <max@stro.at>
16541
16542 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16543 New macros.
16544
1c87aba0
L
165452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16546
16547 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16548 code so that pseudo_end is just ret and the stack pointer is
16549 correct also for static library in error case.
16550
40e45bd5
JM
165512012-05-23 Joseph Myers <joseph@codesourcery.com>
16552
c2670533
JM
16553 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16554 move to syscalls.list.
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16559
40e45bd5
JM
16560 * manual/install.texi (Running make install): Do not mention Linux
16561 kernel version for which pt_chown is not needed.
16562 (Linux): Do not mention problems with nscd with 2.0 kernels.
16563 * INSTALL: Regenerated.
16564
be08eda5
AJ
165652012-05-23 Andreas Jaeger <aj@suse.de>
16566
16567 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16568 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16569 macro.
16570 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16572 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16574 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16575 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16577 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16578 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16580 * sysdeps/unix/sysv/linux/bits/in.h
16581 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16582
a6a056bb
RM
165832012-05-22 Roland McGrath <roland@hack.frob.com>
16584
16585 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16586 (PREPARE_VERSION): Just use assert instead, it will be elided
16587 under [NDEBUG] anyway.
16588
c9009328
L
165892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16590
16591 * sysdeps/unix/sysv/linux/Makefile: Include
16592 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16593 (sysdep_routines): Remove sysctl.
c9009328
L
16594 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16595 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16596 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16597 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16598 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16599
73338355
AJ
166002012-05-22 Andreas Jaeger <aj@suse.de>
16601
16602 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16603 that pseudo_end is just ret and the stack pointer is correct also
16604 for static library in error case.
16605
d44638b0
PP
166062012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16607
16608 [BZ #14122]
16609 * nss/nsswitch.c (defconfig_entries): New variable.
16610 (__nss_database_lookup): Don't leak defconfig entries.
16611 (nss_parse_service_list): Don't leak on error paths.
16612 (free_database_entries): New function.
16613 (free_defconfig): New function.
16614 (free_mem): Move common code to free_database_entries.
16615
31a39bd8
L
166162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16617
da0331a8
L
16618 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16619 Add arch_prctl.
16620 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16621
31a39bd8
L
16622 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16623 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16625 New macro.
16626 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16627 (INTERNAL_SYSCALL_TYPES): Likewise.
16628 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16629 (LOAD_REGS_TYPES_[1-6]): Likewise.
16630 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16631 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16632
45470df3
AZ
166332012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16634
16635 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16636 copysignl for GLIBC_2_0.
16637 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16638 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16640 logbl for GLIBC_2_0.
16641 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16642 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16643
98a61bcb
L
166442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16645
a4f6e481
L
16646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16647 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16648
f63d5db6
L
16649 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16650 Use "neg %eax".
16651
98a61bcb
L
16652 * time/mktime.c: Update copyright years.
16653
95770f14
PE
166542012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16655
6226efbd
PE
16656 mktime: merge comment-quoting-style change from gnulib
16657 * time/mktime.c: Quote 'like this' in comments.
16658 The GNU coding standards suggest that we no longer quote `like this',
16659 as "`" and "'" are typically rendered asymmetrically nowadays.
16660 The typical gnulib style is to quote 'like this' when quoting
16661 code, and "like this" when quoting English.
16662
b99e4f78
PE
16663 * time/mktime.c (compile-command): Add "-I.".
16664
643e01e6
PE
16665 mktime: merge mktime-internal.h change from gnulib
16666 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16667
2554247d
PE
16668 mktime: merge time_r change from gnulib
16669 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16670
826dd0ab
PE
16671 mktime: merge DEBUG change from gnulib
16672 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16673 case system <time.h> has a #define.
16674
bd83aabe
PE
16675 mktime: merge <sys/types.h> change from gnulib
16676 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16677 since <time.t> is now guaranteed to define time_t.
16678
95770f14
PE
16679 mktime: merge HAVE_CONFIG_H change from gnulib
16680 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16681
5e1a27a9
L
166822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16683
0e44a77e
L
16684 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16685 Use "neg %eax".
16686
5e1a27a9
L
16687 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16688 __rlim_t cast.
16689 (struct rusage): Use anonymous union to pad each field to
16690 __syscall_slong_t.
16691
46259bec
DM
166922012-05-21 David S. Miller <davem@davemloft.net>
16693
16694 * Makefules (o-iterator): Remove .s cases.
16695 (compile-command.s): Delete.
16696 (COMPILE.s): Delete.
16697 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16698
59f0c22e
JM
166992012-05-21 Joseph Myers <joseph@codesourcery.com>
16700
16701 * configure.in (libc_cv_predef_stack_protector): Only consider
16702 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16703 * configure: Regenerated.
16704
20c07380
L
167052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16706
bbb3154b
L
16707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16708 New macro. Use R*LP on int and pointer.
16709 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16710 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16711 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16712 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16713
20c07380
L
16714 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16715 [__WORDSIZE_TIME64_COMPAT32] instead of
16716 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16717 (struct utmp): Likewise.
16718 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16719 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16720 Renamed to ...
16721 (__WORDSIZE_TIME64_COMPAT32): This.
16722 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16723 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16724 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16725 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16726 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16727 (__WORDSIZE_TIME64_COMPAT32): New macro.
16728
d8d1017e
AJ
167292012-05-21 Andreas Jaeger <aj@suse.de>
16730
16731 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16732 only if [SHARED]. Add prototype for __wcschr_ia32.
16733
6c7fb145
RM
167342012-05-21 Roland McGrath <roland@hack.frob.com>
16735
16736 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16737 of %rbp unmolested in the jmp_buf while mangling the low bits.
16738 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16739 unmolested high bits of %rbp while demangling the low bits.
16740 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16741
66274218
AJ
167422012-05-21 Andreas Jaeger <aj@suse.de>
16743
07c58f8f
AJ
16744 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16745 * sunrpc/svc_simple.c: Use it for registerrpc.
16746 * sunrpc/xcrypt.c: Use it for passwd2des.
16747
66274218
AJ
16748 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16749
61f65140
L
167502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16751
16752 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16753 Don't define if [__SYSCALL_WORDSIZE != 32].
16754 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16755 New macro.
16756
5fefb436
AJ
167572012-05-21 Bruno Haible <bruno@clisp.org>
16758 Andreas Jaeger <aj@suse.de>
16759
16760 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16761 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16762 inptr and inend for must_buffer_ch.
16763 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16764 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16765 * stdio-common/Makefile (tests): Remove bug15.
16766 (bug15-ENV): Remove macro.
16767 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16768 anymore.
16769
d8e272ab
AJ
167702012-05-19 Andreas Jaeger <aj@suse.de>
16771 Roland McGrath <roland@hack.frob.com>
16772
16773 * manual/contrib.texi: Completely rewritten. It contains now an
16774 alphabetical list of contributors and their contributions.
16775
4a56a162
RH
167762012-05-21 Richard Henderson <rth@twiddle.net>
16777
16778 * misc/getauxval.c (__getauxval): Use unsigned long int.
16779 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16780 (getauxval): Use unsigned long int.
16781
d024d23c
L
167822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16783
16784 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16785
cbc00a03
RM
167862012-05-21 Roland McGrath <roland@hack.frob.com>
16787
16788 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16789 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16790 __alignof__ (long double).
16791
478143fa
AZ
167922012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16793
16794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16795
c7683a6d
RH
167962012-05-20 Richard Henderson <rth@twiddle.net>
16797
16798 * misc/getauxval.c: New file.
16799 * misc/sys/auxv.h: New file.
16800 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16801 (routines): Add getauxval.
16802 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16804 * elf/dl-sysdep.c (_dl_auxv): Remove.
16805 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16806 * elf/dl-support.c (_dl_auxv): New variable.
16807 (_dl_aux_init): Initialize it.
16808 * manual/startup.texi (Auxiliary Vector): New node.
16809 * sysdeps/generic/bits/hwcap.h: New file.
16810 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16811 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16812 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16813 * sysdeps/sparc/sysdep.h: ... here. Include it.
16814 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16815 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16817 Update.
c7683a6d
RH
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16821 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16826
a6f1845d
AZ
168272012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828
16829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16830
cbcbe830
DM
168312012-05-19 David S. Miller <davem@davemloft.net>
16832
16833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16834
e0b16cc2
JM
168352012-05-19 Joseph Myers <joseph@codesourcery.com>
16836
16837 [BZ #14123]
16838 * math/s_ccosh.c: Include <float.h>
16839 (__ccosh): Avoid internal overflow calculating sinh and cosh
16840 values before multiplying by sin and cos values.
16841 * math/s_ccoshf.c: Likewise.
16842 * math/s_ccoshl.c: Likewise.
16843 * math/s_csin.c: Likewise.
16844 * math/s_csinf.c: Likewise.
16845 * math/s_csinl.c: Likewise.
16846 * math/s_csinh.c: Likewise.
16847 * math/s_csinhf.c: Likewise.
16848 * math/s_csinhl.c: Likewise.
16849 * math/libm-test.inc (ccos_test): Add more tests.
16850 (ccosh_test): Likewise.
16851 (csin_test): Likewise.
16852 (csinh_test): Likewise.
16853 * sysdeps/i386/fpu/libm-test-ulps: Update.
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16855
6ad13e08
L
168562012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16857
f66f0ce8
L
16858 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16859 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16860
6ad13e08
L
16861 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16862
b1d072a7
JM
168632012-05-19 Joseph Myers <joseph@codesourcery.com>
16864
16865 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16866 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16867 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16868 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16869 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16870 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16871 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16872 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16873 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16874 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16875 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16876 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16877 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16878 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16879 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16880 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16881 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16882 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16883 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16884 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16885 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16886 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16887 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16888 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16889 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16890 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16891 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16892 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16893 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16894 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16895 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16896
9eae47cb
AJ
168972012-05-18 Andreas Jaeger <aj@suse.de>
16898
16899 * csu/.gitignore: Delete.
16900
bb07f69f
L
169012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16902
16903 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16904 (timex): Use __syscall_slong_t.
16905
e6bdb741
AJ
169062012-05-18 Andreas Jaeger <aj@suse.de>
16907 Carlos O'Donell <carlos_odonell@mentor.com>
16908
16909 * manual/install.texi (Configuring and compiling): Update
16910 description about files modified in the source directory.
d6c33fda 16911 * INSTALL: Regenerated.
e6bdb741 16912
1b74487e
L
169132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16914
16915 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16916 value. Use "or" to set return value to -1.
16917 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16918 negate return value.
16919
a88b64b9
TMQMF
169202012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16921
16922 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16923 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16924 failure if the compiler has Graphite support disabled.
16925 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16926 Likewise.
16927 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16928 CFLAGS-memmove.c): Likewise.
16929 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16930 Likewise.
16931
3707636e
L
169322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16933
610b8622
L
16934 * sysdeps/x86_64/x32/_itoa.h: New file.
16935
7cd195df
L
16936 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16937 getdents system call only if kernel and user dirents have the
16938 same d_ino and d_off.
16939
94b07d20
L
16940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16941 LLONG_MAX != LONG_MAX.
16942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16943 (_fitoa_word): Likewise.
16944
18298070
L
16945 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16946 years.
16947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16948 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16949 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16950
553c7ea4
L
16951 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16952 include <bits/wordsize.h>. Check __x86_64__ instead of
16953 __WORDSIZE.
16954 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16955 if __x86_64__ is defined. Use anonymous union on fpstate.
16956
3707636e
L
16957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16958 anonymous union.
16959
b53ef01a
AS
169602012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16961
37fb1dc0
AS
16962 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16963 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16964 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16965 Refer to _rtld_local_ro instead of _rtld_global_ro.
16966 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16967 Likewise.
16968 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16969 Likewise.
16970 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16971 Likewise.
16972 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16973 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16974 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16975
b53ef01a
AS
16976 * sysdeps/powerpc/powerpc32/dl-machine.c
16977 (__elf_machine_runtime_setup) [PROF]: Don't reference
16978 _dl_prof_resolve.
16979
7a185db2
AJ
169802012-05-18 Andreas Jaeger <aj@suse.de>
16981
16982 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16983 function only available for GCCs before 3.4 since GCC 3.4
16984 introduced a builtin.
16985 (lrint): Likewise.
16986 (llrintf): Likewise.
16987 (llrint): Likewise.
16988 (fmaxf): Likewise.
16989 (fmax): Likewise.
16990 (fminf): Likewise.
16991 (fmin): Likewise.
16992 (rint): Likewise.
16993 (rintf): Likewise.
16994 (nearbyint): Likewise.
16995 (nearbyintf): Likewise.
16996 (ceil): Likewise.
16997 (ceilf): Likewise.
16998 (floor): Likewise.
16999 (floorf): Likewise.
17000
3e5aef87
L
170012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17002
428bd707
L
17003 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17004 on both fields and cast pointer to __syscall_ulong_t.
17005
3e5aef87
L
17006 * bits/types.h (__fsword_t): New type.
17007 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17008 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17010 (__FSWORD_T_TYPE): Likewise.
17011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17012 (__FSWORD_T_TYPE): Likewise.
17013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17014 (__FSWORD_T_TYPE): Likewise.
17015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17016 (__FSWORD_T_TYPE): Likewise.
17017 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17018 __SWORD_TYPE with __fsword_t.
17019 (statfs64): Likewise.
17020
1ba7c3dc
DM
170212012-05-17 David S. Miller <davem@davemloft.net>
17022
17023 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17024
59910343
AJ
170252012-05-17 Andreas Jaeger <aj@suse.de>
17026
17027 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17028 warning.
17029
2e4c1e9e
L
170302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17031
17032 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17033
de7f5ce7
AJ
170342012-05-17 Andreas Jaeger <aj@suse.de>
17035
17036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17037 when it is used.
17038
286abc3d
CM
170392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17040
17041 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17042
477cc68e
L
170432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17044
17045 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17046 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17047
1a0994f5
CD
170482012-05-17 Andreas Jaeger <aj@suse.de>
17049 Carlos O'Donell <carlos_odonell@mentor.com>
17050
17051 [BZ #14059]
17052 * sysdeps/x86_64/multiarch/init-arch.h
17053 (bit_YMM_Usable): Rename to...
17054 (bit_AVX_Usable): ... this.
17055 (bit_FMA4_Usable): New macro.
17056 (bit_XMM_state): New macro.
17057 (bit_YMM_state): New macro.
17058 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17059 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17060 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17061 (CPUID_OSXSAVE): New macro.
17062 (CPUID_AVX): New macro.
17063 (CPUID_FMA4): New macro.
17064 (index_YMM_Usable): Rename to...
17065 (index_AVX_Usable): ... this.
17066 (HAS_AVX): Use HAS_ARCH_FEATURE.
17067 (HAS_FMA4): Likewise.
17068 (HAS_YMM_USABLE): Remove.
17069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17070 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17071 are present.
17072 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17073 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17074 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17075 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17076 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17077
0af797de
CM
170782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17079
17080 * math/libm-test.c: Support platforms without multiple rounding modes.
17081 * math/bug-nextafter.c: Support platforms without FP exceptions.
17082 * math/bug-nexttoward.c: Likewise.
17083 * math/test-fenv.c: Likewise.
17084 * math/test-misc.c: Likewise.
17085 * stdlib/bug-getcontext.c: Likewise.
17086
e39745ff
AJ
170872012-05-17 Andreas Jaeger <aj@suse.de>
17088
17089 * manual/examples/search.c (critter_cmp): Change signature to
17090 avoid warnings.
17091 * manual/string.texi (Collation Functions): Likewise.
17092
48970aba
L
170932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17094
17095 * bits/types.h: Fold copyright years.
17096 * bits/typesizes.h: Likewise.
17097 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17099 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17101 * time/time.h: Likewise.
17102
bedee953
PP
171032012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17104
17105 [BZ #208]
17106 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17107 in instead of returning them. Return void.
17108 (__libc_mallinfo): Accumulate over all arenas.
17109 (__malloc_stats): Adjust for change in int_mallinfo interface.
17110
61653dfb
RM
171112012-05-16 Roland McGrath <roland@hack.frob.com>
17112
30b99d79
RM
17113 [BZ #10375]
17114 * configure.in (NM): Add AC_CHECK_TOOL for it.
17115 (libc_extra_cflags): New substituted variable.
17116 Check for -fstack-protector being used implicitly.
17117 * configure: Regenerated.
17118 * config.make.in (config-extra-cflags): New variable,
17119 gets @libc_extra_cflags@.
17120 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17121
61653dfb
RM
17122 [BZ #10375]
17123 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17124 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17125 * configure: Regenerated.
17126 * config.make.in (CPPUNDEFS): New substituted variable.
17127 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17128 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17129 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17130
661768bb
L
171312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17132
17133 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17134 (mq_attr): Use __syscall_slong_t.
17135
d4261567
L
171362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17137
17138 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17139 Check __x86_64__ instead of __WORDSIZE.
17140 (_STAT_VER_LINUX): Likewise.
17141 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17142 __syscall_ulong_t and __syscall_slong_t.
17143 (stat64): Likewise.
17144
cf3ff365
L
171452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17146
17147 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17148
76cf3e4d
L
171492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17150
17151 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17152
a637753a
L
171532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17156 __syscall_ulong_t.
17157
d5e05119
L
17158 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17159 include <bits/wordsize.h>. Check __x86_64__ instead of
17160 __WORDSIZE.
17161 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17162 defined.
17163 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17164
f62ee380
L
17165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17166 include <bits/wordsize.h>. Check __x86_64__ instead of
17167 __WORDSIZE.
17168 (user_regs_struct): Use "__extension__ unsigned long long"
17169 instead of "unsigned long" if __x86_64__ is defined.
17170 (user): Likewise. Pad after pointer field if __ILP32__ is
17171 defined.
17172
4e124ced
JM
171732012-05-16 Joseph Myers <joseph@codesourcery.com>
17174
6a3951a0
JM
17175 * configure.in (makeinfo): Require version 4.5 or later. Allow
17176 versions 5 to 9.
17177 * configure: Regenerated.
17178 * manual/install.texi (texinfo): Increase version requirement to
17179 4.5 or later.
17180 * INSTALL: Regenerated.
17181
4e124ced
JM
17182 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17183
953ca31a
L
171842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17185
17186 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17187
617aca05
L
17188 * sysdeps/x86_64/x32/ffs.c: New file.
17189
5762f7ae
L
17190 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17191 __syscall_ulong_t.
17192 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17193 defined. Use __syscall_ulong_t.
17194 (shminfo): Use __syscall_ulong_t.
17195 (shm_info): Likewise.
17196
a26b6856
L
17197 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17198 __syscall_ulong_t.
17199
cb2b9ef7
L
17200 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17201 <bits/wordsize.h>.
17202 (msgqnum_t): Use __syscall_ulong_t.
17203 (msglen_t): Likewise.
17204 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17205 __syscall_ulong_t.
17206
34683bb0
L
17207 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17209
84a68786
L
17210 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17211
48baa5f1
L
17212 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17213 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17214
180be88b
L
17215 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17216 __syscall_slong_t.
17217
5e90c8ad
L
17218 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17219 include <bits/wordsize.h>. Check __x86_64__ instead of
17220 __WORDSIZE.
17221
23dfb58b
L
17222 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17223 "unsigned long long int" if __x86_64__ is defined.
17224 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17225
ce5d54b0
L
17226 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17227 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17228 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17229
13dc9eac
L
17230 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17231 <stdint.h>.
17232 (GET_PC): Cast to uintptr_t first.
17233 (GET_FRAME): Likewise.
17234 (GET_STACK): Likewise.
17235
a7895d15
L
17236 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17240 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17242 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17243 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17245 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17247 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17252 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17253 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17254 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17257 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17259 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17262 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17265
656416c9
AS
172662012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17267
5bd66283
AS
17268 * Makerules (+depfiles): Also collect depfiles from .oS in
17269 $(extra-objs).
17270 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17271 .oS, $(libnldbl-routines)).
17272
656416c9
AS
17273 * Makerules (native-compile-mkdep-flags): Define.
17274 * sunrpc/Makefile (extra-objs): Add $(addprefix
17275 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17276 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17277 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17278 calling $(make-target-directory).
17279
a46f2169
L
172802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 * bits/types.h (__snseconds_t): Removed.
17283 * time/time.h (struct timespec): Replace __snseconds_t with
17284 __syscall_slong_t.
17285 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17286 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17287 Likewise.
17288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17289 (__SNSECONDS_T_TYPE): Likewise.
17290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17291 (__SNSECONDS_T_TYPE): Likewise.
17292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17293 (__SNSECONDS_T_TYPE): Likewise.
17294
6af6528b
L
172952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17296
17297 * sysdeps/mach/hurd/bits/typesizes.h
17298 (__SYSCALL_SLONG_TYPE): New macro.
17299 (__SYSCALL_ULONG_TYPE): Likewise.
17300
de986b56
L
173012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17302
17303 * bits/types.h (__syscall_slong_t): New type.
17304 (__syscall_ulong_t): Likewise.
17305
17306 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17307 (__SYSCALL_ULONG_TYPE): Likewise.
17308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17309 (__SYSCALL_SLONG_TYPE): Likewise.
17310 (__SYSCALL_ULONG_TYPE): Likewise.
17311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17312 (__SYSCALL_SLONG_TYPE): Likewise.
17313 (__SYSCALL_ULONG_TYPE): Likewise.
17314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17315 (__SYSCALL_SLONG_TYPE): Likewise.
17316 (__SYSCALL_ULONG_TYPE): Likewise.
17317
85736dc7
L
173182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17321 Add sigaltstack-offsets.sym.
17322 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17323 <sigaltstack-offsets.h>.
17324 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17325 longjmp_msg pointer.
17326 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17327 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17328 signal stack.
17329 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17330
cc03b296
JM
173312012-05-15 Joseph Myers <joseph@codesourcery.com>
17332
a9538892
JM
17333 * elf/stackguard-macros.h: Remove file.
17334 * sysdeps/generic/stackguard-macros.h: New file.
17335 * sysdeps/i386/stackguard-macros.h: Likewise.
17336 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17337 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17338 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17339 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17340 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17341 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17342 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17343 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17344 <elf/stackguard-macros.h>.
17345
cc03b296
JM
17346 [BZ #14109]
17347 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17348 __aligned__ in attribute.
17349 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17350 (gregset_t): Likewise.
17351
93171016
L
173522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17353
17354 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17355 * sysdeps/x86_64/64/Implies-after: Here. New file.
17356 * sysdeps/x86_64/x32/Implies-after: New file.
17357
d86813a0
L
173582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17359
17360 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17361 and access return value for _dl_profile_fixup. Use R10_LP to
17362 load frame size.
17363
2953ec75
L
173642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17365
17366 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17367
3b550e9e
L
173682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17369
17370 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17371 * sysdeps/x86_64/x32/sysdep.h: New file.
17372
eda41706
L
173732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17374
17375 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17376 * sysdeps/x86_64/setjmp.S: Likewise.
17377
9ea01d93
AZ
173782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17379
17380 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17382 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17383 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17384 remove unused global constant.
17385
02a91938
CM
173862012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17387
17388 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17389 include of <not-cancel.h>.
17390
6540185f
RM
173912012-05-15 Roland McGrath <roland@hack.frob.com>
17392
17393 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17394
509072a0
AJ
173952012-05-15 Jeff Law <law@redhat.com>
17396 Andreas Jaeger <aj@suse.de>
17397
17398 [BZ #13594]
17399 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17400 out from...
17401 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17402 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17403 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17404 code changing __hst_map_handle.map.
17405
ba75122d
RM
174062012-05-15 Roland McGrath <roland@hack.frob.com>
17407
17408 * configure.in (sysnames): Look for Implies-before and Implies-after
17409 files.
17410 * configure: Regenerated.
17411
890d8bd8
L
174122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17413
17414 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17415 8-byte data alignment with LP_SIZE alignment.
17416
f6ee6623
L
174172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17418
17419 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17420 into R10_LP.
17421
ea2626f6
L
174222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17423
17424 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17425
085f715e
L
174262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17427
17428 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17429 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17430 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17431 Likewise.
17432 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17433
be8498fc
L
174342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17437 (stackinfo_sub_sp): Likewise.
17438
70bc83b9
L
174392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17440
17441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17442 RAX_LP.
17443
9bc0b730
L
174442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17447 into R*_LP.
17448
6d2850e7
L
174492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17452 sizes into R*_LP.
17453
3cb84561
L
174542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17455
17456 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17457
54e2ed81
L
174582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17459
17460 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17461 into R11_LP and load __x86_64_shared_cache_size_half into
17462 R8_LP.
17463
8a17f349
L
174642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17465
17466 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17467 R8_LP.
17468
777b1eea
AZ
174692012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17470
17471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17472 logb for POWER7.
17473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17474 logbf for POWER7.
17475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17476 logbl for POWER7.
17477 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17478 powerpc32/power7/fpu/s_logb.c via #include.
17479 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17480 powerpc32/power7/fpu/s_logbf.c via #include.
17481 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17482 powerpc32/power7/fpu/s_logbl.c via #include.
17483
d20d4ac2
JM
174842012-05-15 Joseph Myers <joseph@codesourcery.com>
17485
17486 * README.libm: Remove file.
17487
6cdef1ab
L
174882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17489
17490 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17491 count for x32. Use R*_LP and omit operand-size suffix.
17492
0b254d8f
L
174932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17494
17495 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17496 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17497 * sysdeps/x86_64/x32/shlib-versions: New file.
17498
ceb809dc
RM
174992012-05-14 Roland McGrath <roland@hack.frob.com>
17500
17501 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17502 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17503 Use _dl_fatal_printf instead.
17504
37f1abd4
JM
175052012-05-14 Joseph Myers <joseph@codesourcery.com>
17506
17507 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17508 set if not set by the user. Do not allow for being unset.
17509 * sysdeps/unix/sysv/linux/configure: Regenerated.
17510
11de3a33
L
175112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17512
17513 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17514 the `q' suffix from lea and replace .quad with ASM_ADDR.
17515
e02f153a
L
175162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17519 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17520 instead of $17.
17521 (PTR_DEMANGLE): Likewise.
17522
520ae0fd
L
175232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17526 (LP_OP): Likewise.
17527 (ASM_ADDR): Likewise.
17528 (RAX_LP): Likewise.
17529 (RBP_LP): Likewise.
17530 (RBX_LP): Likewise.
17531 (RCX_LP): Likewise.
17532 (RDI_LP): Likewise.
17533 (RSI_LP): Likewise.
17534 (RSP_LP): Likewise.
17535 (R8_LP): Likewise.
17536 (R9_LP): Likewise.
17537 (R10_LP): Likewise.
17538 (R10_LP): Likewise.
17539 (R11_LP): Likewise.
17540 (R12_LP): Likewise.
17541 (R13_LP): Likewise.
17542 (R14_LP): Likewise.
17543 (R15_LP): Likewise.
17544
b985be81
L
175452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17546
17547 * sysdeps/x86_64/x32/dl-machine.h: New file.
17548
6a4888ff
AJ
175492012-05-14 Andreas Jaeger <aj@suse.de>
17550
17551 * manual/Makefile (subdir): Remove export of subdir.
17552 (all): Remove target.
17553 (.PHONY): Remove all from list.
17554 (mkinstalldirs): Remove.
17555 (.PHONY): Remove installdirs from list.
17556 ($(inst_infodir)/libc.info): Use make-target-directory.
17557 (installdirs): Remove.
17558 (subdir_%): Remove.
17559 (glibc-targets): Remove.
17560 (lib): Remove.
17561 (stubs): Remove.
17562 ($(objpfx)stubs ../po/manual.pot): Remove.
17563 ($(objpfx)stamp%): Remove.
17564 (make-target-directory): Remove.
17565 (subdir_install): Remove.
17566 (routines): Remove.
17567 (aux): Remove.
17568 (sources): Remove.
17569 (objects): Remove.
17570 (headers): Remove.
17571
17572 [BZ #13750]
17573 * manual/.gitignore: Remove, it's not needed anymore.
17574 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17575 all files in it.
17576 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17577 directory.
17578 (texis): Renamed to $(objpfx)texis.
17579 (texis-path): New, contains path to generated files.
17580 (chapters.%): Use texis-path for complete path, add extra argument
17581 libc-texinfo.sh.
17582 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17583 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17584 (summary,texi, stamp-summary): Use complete path of
17585 files. Generate files in build dir.
17586 (dir-add.texi): Build in build dir.
17587 (libm-err.texi,stamp-libm-err): Likewise.
17588 (version.texi, stamp-version): Likewise.
17589 (.%c.texi): Likewise.
17590 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17591 (mostlyclean): Remove target.
17592 (realclean): Remove target.
17593 (generated): Add new variable with contents from mostlyclean and
17594 realclean, remove entries duplicated in common-mostlyclean, add
17595 stamp-libm-err and stamp-version.
17596 (generated-dirs): Add libc directory.
17597 ($(inst_infodir)/libc.info): Install files from build dir.
17598
17599 * manual/install.texi (Configuring and compiling): Adjust since
17600 the info files are not part of the tar ball anymore.
17601
7ac77294
AJ
176022012-05-14 Andreas Jaeger <aj@suse.de>
17603
17604 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17605 variable.
17606
ffb7875d
JM
176072012-05-14 Joseph Myers <joseph@codesourcery.com>
17608
17609 [BZ #13717]
17610 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17611 to 2.2.0 where earlier.
17612 * sysdeps/unix/sysv/linux/configure: Regenerated.
17613 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17614 Remove conditional code.
17615 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17616 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17617 Remove conditional code.
17618 [!__NR_lchown]: Likewise.
17619 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17620 [__NR_lchown]: Likewise.
17621 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17622 comment referencing __ASSUME_LCHOWN_SYSCALL.
17623 * sysdeps/unix/sysv/linux/i386/sigaction.c
17624 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17625 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17626 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17627 Remove conditional code.
17628 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17629 (__protocol_available): Remove #if 0 code.
17630 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17631 conditional code.
17632 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17633 * sysdeps/unix/sysv/linux/kernel-features.h
17634 (__ASSUME_GETCWD_SYSCALL): Don't define.
17635 (__ASSUME_REALTIME_SIGNALS): Likewise.
17636 (__ASSUME_PREAD_SYSCALL): Likewise.
17637 (__ASSUME_PWRITE_SYSCALL): Likewise.
17638 (__ASSUME_POLL_SYSCALL): Likewise.
17639 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17640 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17641 non-SPARC.
17642 (__ASSUME_SIOCGIFNAME): Don't define.
17643 (__ASSUME_MSG_NOSIGNAL): Likewise.
17644 (__ASSUME_SENDFILE): Define unconditionally.
17645 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17646 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17647 conditional code.
17648 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17649 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17650 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17651 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17652 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17653 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17654 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17656 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17659 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17662 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17668 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17671 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17674 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17677 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17679 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17680 Remove conditional code.
17681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17682 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17683 Remove conditional code.
17684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17685 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17686 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17687 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17688 Remove conditional code.
17689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17690 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17691 Remove conditional code.
17692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17693 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17694 Remove conditional code.
17695 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17696 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17697 Remove conditional code.
17698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17699 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17700 Remove conditional code.
17701 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17702 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17703 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17705 * sysdeps/unix/sysv/linux/sigaction.c
17706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17708 * sysdeps/unix/sysv/linux/sigpending.c
17709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17711 * sysdeps/unix/sysv/linux/sigprocmask.c
17712 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17713 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17714 * sysdeps/unix/sysv/linux/sigsuspend.c
17715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17718 (__libc_missing_rt_sigs): Remove.
17719 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17720 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17721 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17722 Remove conditional code.
17723 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17724 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17725 return 1.
17726 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17727 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17728 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17729 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17730
1bfb7291
AJ
177312012-05-14 Andreas Jaeger <aj@suse.de>
17732
caae5a81
AJ
17733 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17734 it's not used in glibc.
17735 (__coshm1): Likewise.
17736 (__acosh1p): Likewise.
17737 (__sgn): Likewise.
17738
1bfb7291
AJ
17739 * manual/string.texi (Copying and Concatenation): Add missing
17740 variable in concat example.
17741 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17742
c044d724
L
177432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17744
144c5467 17745 [BZ #14103]
c044d724
L
17746 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17747 __builtin_clzl with __builtin_clzll.
17748
2523c62b
L
177492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17750
17751 [BZ #14104]
17752 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17753 libc_freeres_ptr.
17754
d7bb4c42
LD
177552012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17756
17757 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17758 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17759 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17760 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17761
9dc4e1fb
MF
177622012-05-14 Mike Frysinger <vapier@gentoo.org>
17763
17764 * NEWS: Update ia64 info.
17765
c7df0112
AS
177662012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17767
17768 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17769 used as bcopy.
17770
dc70356c
TS
177712012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17772
17773 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17774 * sysdeps/unix/syscalls.list (dup3): Likewise.
17775 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17776 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17777
9fb1a21f
L
177782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17779
17780 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17781 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17782
4822a2a5
L
177832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17784
17785 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17786 thread pointer.
17787 (TLS_IE): Use mov/add instead of movq/addq to load thread
17788 pointer.
17789 (TLS_GD_PREFIX): New.
17790 (TLS_GD): Use it.
17791
842b81d6
DM
177922012-05-11 David S. Miller <davem@davemloft.net>
17793
17794 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17795 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17796 (_FPU_SETCW): Likewise.
17797
1cf463cd
L
177982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17801 is 32-byte aligned.
17802
60cc4a18
AS
178032012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17804
17805 [BZ #11837]
17806 * iconvdata/gb18030.c: Update tables.
17807 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17808 characters specially.
17809 (BODY for TO_LOOP): Add encoding of missing ranges.
17810
febb44a4
TS
178112012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17812
17813 [BZ #13673]
17814 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17815 * sysdeps/mach/hurd/dup3.c: Likewise.
17816 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17817 * sysdeps/powerpc/memmove.c:: Likewise.
17818
0a10fb9e
L
178192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17820
17821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17822 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17823
df8a552f
L
178242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17825
17826 * elf/elf.h (R_X86_64_RELATIVE64): New.
17827 (R_X86_64_NUM): Updated.
17828 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17829 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17830 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17831 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17832 tst-quad1pie tst-quad2pie
17833 (modules-names): Add tst-quadmod1 tst-quadmod2.
17834 ($(objpfx)tst-quad1): New dependency.
17835 ($(objpfx)tst-quad2): Likewise.
17836 ($(objpfx)tst-quad1pie): Likewise.
17837 ($(objpfx)tst-quad2pie): Likewise.
17838 * sysdeps/x86_64/tst-quad1.c: New file.
17839 * sysdeps/x86_64/tst-quad1pie.c: New file.
17840 * sysdeps/x86_64/tst-quad2.c: Likewise.
17841 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17842 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17843 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17844 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17845 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17846
f34d6f84
ST
178472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17848
f42d41d1
ST
17849 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17850 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17851 * streams/stropts.h (t_scalar_t): Define type.
17852
3c3571fc
ST
17853 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17854 (_PATH_PRESERVE): Set to "/var/lib".
17855 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17856
61f06bd3
ST
17857 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17858 instead of int.
17859
918d4d71
ST
17860 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17861 if __dir_mkfile succeeded.
17862
f34d6f84
ST
17863 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17864 checking for _hurd_dtablesize. Unlock it right after having
17865 finished _hurd_dtable allocation.
17866
10589b4a
TS
178672012-05-10 Thomas Schwinge <thomas@schwinge.name>
17868
674cdbc7
TS
17869 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17870 * sysdeps/mach/hurd/configure: Regenerated.
17871 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17872 special-casing to...
17873 * sysdeps/gnu/configure.in: ... this new file.
17874 * sysdeps/unix/sysv/linux/configure: Regenerated.
17875 * sysdeps/gnu/configure: New generated file.
17876
8e41b99f
TS
17877 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17878 for Linux: use nsec instead of usec, as well as:
17879 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17880 members of type struct timespec.
17881 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17882 New macros.
17883 (struct stat64): Likewise.
17884 (_STATBUF_ST_NSEC): New macro.
17885 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17886
10589b4a
TS
17887 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17888 __strtoul_internal rather than strtoul.
17889
63643c85
PT
178902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17891
17892 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17893 and reject them.
17894
3faebe6a
ST
178952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17896
17897 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17898 which preserves existing values.
17899 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17900
c6474b07
PT
179012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17902
17903 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17904 TIMEOUT values. Return EINVAL for NFDS values either negative or
17905 greater than FD_SETSIZE.
17906
1043890b
ST
179072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17908
17909 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17910 allocated, call __vm_protect to finish enabling the existing space, and
17911 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17912 allocate the remainder.
17913
37ed8b9b
PT
179142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17915
17916 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17917 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17918
db653660
ST
179192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17920
37ed8b9b
PT
17921 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17922 sysdeps/mach/hurd/readlink.c.
b29d4053 17923
db653660
ST
17924 * posix/tst-sysconf.c (posix_options): Only use
17925 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17926 _POSIX_SYNCHRONIZED_IO when they are defined
17927 * sysdeps/mach/hurd/bits/posix_opt.h:
17928 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17929 (_XOPEN_REALTIME): Undefine macro.
17930 (_XOPEN_REALTIME_THREADS): Undefine macro.
17931 (_XOPEN_SHM): Undefine macro.
17932 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17933 macro to -1.
17934 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17935 macro to -1.
17936 (_POSIX_ASYNC_IO): Undefine macro.
17937 (_POSIX_PRIORITIZED_IO): Undefine macro.
17938 (_POSIX_SPIN_LOCKS): Define macro to -1.
17939
ee16e894
ST
17940 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17941 SA_NODEFER, SA_RESETHAND.
17942 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17943 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17944 F_DUPFD_CLOEXEC.
17945
6103ae3b
TS
179462012-05-10 Thomas Schwinge <thomas@schwinge.name>
17947
17948 * elf/Makefile (pldd-modules): Define unconditionally.
17949
80b4e5f3
TS
179502012-05-10 Thomas Schwinge <thomas@schwinge.name>
17951
17952 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17953
edadcbd6
ST
179542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17955
17956 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17957 Return ENOENT when name is empty.
17958 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17959
80694780
TS
179602012-05-10 Thomas Schwinge <thomas@schwinge.name>
17961
1792c087
TS
17962 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17963
80694780
TS
17964 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17965
6b645f0d
ST
179662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17967
80694780
TS
17968 Fix mlock in all cases except non-readable pages.
17969 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17970 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17971
6b645f0d
ST
17972 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17973 (__mkdir): When path is `/', just fail with EEXIST.
17974 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17975
e468f8a3
TS
179762012-05-10 Thomas Schwinge <thomas@schwinge.name>
17977
17978 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17979 <sys/uio.h> (for writev).
17980 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17981 and <sys/param.h> (for MIN).
17982
a4186cff
PT
179832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17984
17985 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17986 REQUESTED_TIME. Properly set the remaining time and return EINTR
17987 if interrupted.
17988
510bbf14
TS
179892012-05-10 Thomas Schwinge <thomas@schwinge.name>
17990
17991 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17992 Depend on against $(link-rpcuserlibs).
17993
5d5722e8
ST
179942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17995
a4186cff
PT
17996 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17997 (__libc_stack_end): Do not use attribute_relro.
17998 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17999 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18000 to libthread-provided value.
a4186cff
PT
18001 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18002 attribute_relro.
5d5722e8 18003
37233df9
TS
180042012-05-10 Thomas Schwinge <thomas@schwinge.name>
18005
be971a2b
TS
18006 [BZ #3748]
18007 * bits/libc-lock.h (__libc_once_get): New macro.
18008 * sysdeps/mach/bits/libc-lock.h: Likewise.
18009 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18011 instead of using implementation details.
18012
37233df9
TS
18013 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18014 * libio/freopen.c: Likewise.
18015 * libio/freopen64.c: Likewise.
18016 * misc/syslog.c: Likewise.
18017 * nscd/connections.c: Likewise.
18018 * nscd/netgroupcache.c: Likewise.
18019 * sysdeps/posix/getcwd.c: Likewise.
18020
38de94a5
RM
180212012-05-10 Roland McGrath <roland@hack.frob.com>
18022
18023 * math/w_ilogbf.c: Add #include <limits.h>.
18024
67530489
ST
180252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18026
a4186cff 18027 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18028 path instead of returning without unlocking.
18029
67530489
ST
18030 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18031 immediate-write ioctls.
18032 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18033
5aa3a74a
TS
180342012-05-10 Thomas Schwinge <thomas@schwinge.name>
18035
18bad2ae
TS
18036 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18037 __builtin_frame_address instead of making assumptions about the
18038 location of the return address relative to DATA. Force early load of
18039 the return address.
18040 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18041 __builtin_frame_address.
18042
5aa3a74a
TS
18043 dup3 for GNU Hurd.
18044 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18045 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18046 implement dup3 and do some further code clean-ups.
18047 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18048 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18049
ecd0de9a
ST
180502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18051
cd9fa985
ST
18052 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18053
a4186cff
PT
18054 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18055 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18056 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18057 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18058 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18059 d->port.lock.
802ca5a5 18060
a4186cff
PT
18061 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18062 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18063 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18064
bcf55240
TS
180652012-05-10 Thomas Schwinge <thomas@schwinge.name>
18066
6960eb42
TS
18067 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18068 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18069 definitions.
18070
eb43375f
TS
18071 accept4 for GNU Hurd.
18072 * include/sys/socket.h (__libc_accept4): New prototype.
18073 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18074 to implement __libc_accept4.
18075 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18076 __libc_accept4.
18077 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18078
bcf55240
TS
18079 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18080 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18081 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18082 signal-defines.sym.
18083
6178c55b
ST
180842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18085
a4186cff 18086 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18087
6f080c2f
TS
180882012-05-10 Thomas Schwinge <thomas@schwinge.name>
18089
18090 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18091 assertion on O_CLOEXEC flag.
18092 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18093 * hurd/intern-fd.c: Likewise.
18094 * hurd/port2fd.c: Likewise.
18095
bcfe3a54
ST
180962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18097
18098 [BZ #3906]
18099 * bits/in.h (IPV6_PKTINFO): Define new macro.
18100 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18101
89c9aa49
AZ
181022012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18103
18104 [BZ #13954]
18105 [BZ #13955]
18106 [BZ #13956]
18107 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18109 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18110 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18113 * math/libm-test.inc (logb_test) : Additional logb tests.
18114
021db4be
AJ
181152012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18116 Andreas Jaeger <aj@suse.de>
18117
18118 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18119 * configure: Regenerated.
18120 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18121 * config.make.in (link-obsolete-rpc): New substituted variable.
18122 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18123 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18124 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18125 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18126 so that libc.a contains the symbols.
18127 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18128 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18129 * sunrpc/auth_none.c: Likewise.
18130 * sunrpc/auth_unix.c: Likewise.
18131 * sunrpc/authdes_prot.c: Likewise.
18132 * sunrpc/authuxprot.c: Likewise.
18133 * sunrpc/clnt_gen.c: Likewise.
18134 * sunrpc/clnt_perr.c: Likewise.
18135 * sunrpc/clnt_raw.c: Likewise.
18136 * sunrpc/clnt_simp.c: Likewise.
18137 * sunrpc/clnt_tcp.c: Likewise.
18138 * sunrpc/clnt_udp.c: Likewise.
18139 * sunrpc/clnt_unix.c: Likewise.
18140 * sunrpc/des_crypt.c: Likewise.
18141 * sunrpc/des_soft.c: Likewise.
18142 * sunrpc/get_myaddr.c: Likewise.
18143 * sunrpc/key_call.c: Likewise.
18144 * sunrpc/key_prot.c: Likewise.
18145 * sunrpc/netname.c: Likewise.
18146 * sunrpc/pm_getmaps.c: Likewise.
18147 * sunrpc/pm_getport.c: Likewise.
18148 * sunrpc/pmap_clnt.c: Likewise.
18149 * sunrpc/pmap_prot.c: Likewise.
18150 * sunrpc/pmap_prot2.c: Likewise.
18151 * sunrpc/pmap_rmt.c: Likewise.
18152 * sunrpc/publickey.c: Likewise.
18153 * sunrpc/rpc_cmsg.c: Likewise.
18154 * sunrpc/rpc_common.c: Likewise.
18155 * sunrpc/rpc_dtable.c: Likewise.
18156 * sunrpc/rpc_prot.c: Likewise.
18157 * sunrpc/rpc_thread.c: Likewise.
18158 * sunrpc/rtime.c: Likewise.
18159 * sunrpc/svc.c: Likewise.
18160 * sunrpc/svc_auth.c: Likewise.
18161 * sunrpc/svc_raw.c: Likewise.
18162 * sunrpc/svc_run.c: Likewise.
18163 * sunrpc/svc_tcp.c: Likewise.
18164 * sunrpc/svc_udp.c: Likewise.
18165 * sunrpc/svc_unix.c: Likewise.
18166 * sunrpc/svcauth_des.c: Likewise.
18167 * sunrpc/xcrypt.c: Likewise.
18168 * sunrpc/xdr.c: Likewise.
18169 * sunrpc/xdr_array.c: Likewise.
18170 * sunrpc/xdr_float.c: Likewise.
18171 * sunrpc/xdr_intXX_t.c: Likewise.
18172 * sunrpc/xdr_mem.c: Likewise.
18173 * sunrpc/xdr_rec.c: Likewise.
18174 * sunrpc/xdr_ref.c: Likewise.
18175 * sunrpc/xdr_sizeof.c: Likewise.
18176 * sunrpc/xdr_stdio.c: Likewise.
18177
b5c086a2
RM
181782012-05-10 Roland McGrath <roland@hack.frob.com>
18179
18180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18181 change. Update copyright years.
18182
6d74dd09
JM
181832012-05-10 Joseph Myers <joseph@codesourcery.com>
18184
18185 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18186
28e72501
MK
181872012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18188 Joseph Myers <joseph@codesourcery.com>
18189 Paul Pluzhnikov <ppluzhnikov@google.com>
18190
18191 [BZ #14012]
18192 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18193 requiring rpcgen.
18194 [cross-compiling] (extra-libs): Likewise.
18195 [cross-compiling] (extra-libs-others): Likewise.
18196 [cross-compiling] (librpcsvc-routines): Likewise.
18197 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18198 [cross-compiling] (omit-deps): Likewise.
18199 (sunrpc-CPPFLAGS): New variable.
18200 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18201 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18202 (cross-rpcgen-objs): New variable.
18203 (extra-objs): Append $(cross-rpcgen-objs).
18204 ($(cross-rpcgen-objs)): New rule.
18205 ($(objpfx)cross-rpcgen): Likewise.
18206 (rpcgen-cmd): Define to use $(built-program-file). Expand
18207 comment.
18208 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18209 ($(objpfx)x%.stmp): Likewise.
18210 * sunrpc/proto.h [IS_IN_build] (_): Define.
18211 [IS_IN_build] (_libc_intl_domainname): Likewise.
18212
c8c59454
L
182132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18214
18215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18216 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18217 and R_X86_64_TPOFF64.
18218
6f27cd16
JM
182192012-05-10 Joseph Myers <joseph@codesourcery.com>
18220
18221 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18222 sysdeps/unix/sysv/syscalls.list.
18223 (stime): Likewise.
18224 (utime): Likewise.
18225 * sysdeps/unix/sysv/syscalls.list: Remove file.
18226
02467e1c
PE
182272012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18228
18229 [BZ #3440]
18230 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18231 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18232 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18233 (__LC_IDENTIFICATION): Make these macros useful in #if
18234 expressions, as required by C99.
18235
da392631
AS
182362012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18237
18238 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18239 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18240 after this.
18241
8115f29b
L
182422012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18243
18244 * stdlib/longlong.h: Updated from GCC.
18245
bdd74070
AJ
182462012-05-09 Andreas Jaeger <aj@suse.de>
18247
edfe0dbe
AJ
18248 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18249 default is first entry.
18250 (run_mode): Set type.
18251 (main): Remove informal message about syslog.
18252 (options): Fix typo.
18253
bcfe3a54
ST
18254 [BZ #14053]
18255 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18256 to asm.
bcfe3a54
ST
18257 (lrint): Likewise.
18258 (llrintf): Likewise.
18259 (llrint): Likewise.
18260 (rint): Likewise.
18261 (rintf): Likewise.
18262 (nearbyint): Likewise.
18263 (nearbyintf): Likewise.
bdd74070 18264
91d8d69e
AJ
182652012-05-09 Andreas Jaeger <aj@suse.de>
18266 Pedro Alves <palves@redhat.com>
18267
18268 * nscd/nscd.c (run_mode): Use enum.
18269 (main): Cleanup coding style issue.
18270
bb90b80b
AJ
182712012-05-09 Alexandre Oliva <aoliva@redhat.com>
18272 Andreas Jaeger <aj@suse.de>
18273
bcfe3a54
ST
18274 * nscd/nscd.c (go_background): Replaced with...
18275 (run_mode): ... this.
bb90b80b 18276 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18277 (options): Add -F --foreground.
18278 (main): Implement it.
18279 (parse_opt): Parse it.
bb90b80b 18280
1a4b75a1
AJ
182812012-05-09 Andreas Jaeger <aj@suse.de>
18282
18283 [BZ #14083]
18284 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18285 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18286 -Wconversion warning.
18287 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18288 Likewise.
18289
b1cc2472
JM
182902012-05-09 Joseph Myers <joseph@codesourcery.com>
18291
18292 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18293 == 0.
18294 (LC_ALL): Use macro-int-constant.
18295 (LC_COLLATE): Likewise.
18296 (LC_CTYPE): Likewise.
18297 (LC_MESSAGES): Likewise.
18298 (LC_MONETARY): Likewise.
18299 (LC_NUMERIC): Likewise.
18300 (LC_TIME): Likewise.
18301 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18302 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18304 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18305 Specify type.
18306 [C99-based standards] (float_t): Expect type.
18307 [C99-based standards] (double_t): Expect type.
18308 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18309 type.
18310 [C99-based standards] (HUGE_VALL): Likewise.
18311 [C99-based standards] (INFINITY): Likewise.
18312 [C99-based standards] (NAN): Likewise.
18313 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18314 [C99-based standards] (FP_NAN): Likewise.
18315 [C99-based standards] (FP_NORMAL): Likewise.
18316 [C99-based standards] (FP_SUBNORMAL): Likewise.
18317 [C99-based standards] (FP_ZERO): Likewise.
18318 [C99-based standards] (FP_FAST_FMA): Use
18319 optional-macro-int-constant. Specify type. Require == 1.
18320 [C99-based standards] (FP_FAST_FMAF): Likewise.
18321 [C99-based standards] (FP_FAST_FMAL): Likewise.
18322 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18323 [C99-based standards] (FP_ILOGBNAN): Likewise.
18324 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18325 Specify type.
18326 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18327 [C99-based standards] (math_errhandling): Specify type.
18328 [ISO99 || ISO11] (signgam): Do not allow.
18329 [non-C99-based standards] (copysignf): Do not allow.
18330 [non-C99-based standards] (exp2f): Likewise.
18331 [non-C99-based standards] (log2f): Likewise.
18332 [non-C99-based standards] (modff): Allow.
18333 [non-C99-based standards] (erff): Do not allow.
18334 [non-C99-based standards] (erfcf): Likewise.
18335 [non-C99-based standards] (gammaf): Likewise.
18336 [non-C99-based standards] (hypotf): Likewise.
18337 [non-C99-based standards] (j0f): Likewise.
18338 [non-C99-based standards] (j1f): Likewise.
18339 [non-C99-based standards] (jnf): Likewise.
18340 [non-C99-based standards] (lgammaf): Likewise.
18341 [non-C99-based standards] (tgammaf): Likewise.
18342 [non-C99-based standards] (y0f): Likewise.
18343 [non-C99-based standards] (y1f): Likewise.
18344 [non-C99-based standards] (ynf): Likewise.
18345 [non-C99-based standards] (isnanf): Likewise.
18346 [non-C99-based standards] (acoshf): Likewise.
18347 [non-C99-based standards] (asinhf): Likewise.
18348 [non-C99-based standards] (atanhf): Likewise.
18349 [non-C99-based standards] (cbrtf): Likewise.
18350 [non-C99-based standards] (expm1f): Likewise.
18351 [non-C99-based standards] (ilogbf): Likewise.
18352 [non-C99-based standards] (log1pf): Likewise.
18353 [non-C99-based standards] (logbf): Likewise.
18354 [non-C99-based standards] (nextafterf): Likewise.
18355 [non-C99-based standards] (remainderf): Likewise.
18356 [non-C99-based standards] (rintf): Likewise.
18357 [non-C99-based standards] (scalbf): Likewise.
18358 [non-C99-based standards] (copysignl): Likewise.
18359 [non-C99-based standards] (exp2l): Likewise.
18360 [non-C99-based standards] (log2l): Likewise.
18361 [non-C99-based standards] (modfl): Allow.
18362 [non-C99-based standards] (erfl): Do not allow.
18363 [non-C99-based standards] (erfcl): Likewise.
18364 [non-C99-based standards] (gammal): Likewise.
18365 [non-C99-based standards] (hypotl): Likewise.
18366 [non-C99-based standards] (j0l): Likewise.
18367 [non-C99-based standards] (j1l): Likewise.
18368 [non-C99-based standards] (jnl): Likewise.
18369 [non-C99-based standards] (lgammal): Likewise.
18370 [non-C99-based standards] (tgammal): Likewise.
18371 [non-C99-based standards] (y0l): Likewise.
18372 [non-C99-based standards] (y1l): Likewise.
18373 [non-C99-based standards] (ynl): Likewise.
18374 [non-C99-based standards] (isnanl): Likewise.
18375 [non-C99-based standards] (acoshl): Likewise.
18376 [non-C99-based standards] (asinhl): Likewise.
18377 [non-C99-based standards] (atanhl): Likewise.
18378 [non-C99-based standards] (cbrtl): Likewise.
18379 [non-C99-based standards] (expm1l): Likewise.
18380 [non-C99-based standards] (ilogbl): Likewise.
18381 [non-C99-based standards] (log1pl): Likewise.
18382 [non-C99-based standards] (logbl): Likewise.
18383 [non-C99-based standards] (nextafterl): Likewise.
18384 [non-C99-based standards] (remainderl): Likewise.
18385 [non-C99-based standards] (rintl): Likewise.
18386 [non-C99-based standards] (scalbl): Likewise.
18387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18388 [non-C99-based standards] (FP_*): Do not allow.
18389 [C99-based standards] (FP_*): Change to
18390 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18391 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18392 allow.
18393 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18394 (SIG_ERR): Likewise.
18395 [X/Open-based standards] (SIG_HOLD): Likewise.
18396 (SIG_IGN): Likewise.
18397 (SIGABRT): Use macro-int-constant. Specify type. Require
18398 positive value.
18399 (SIGFPE): Likewise.
18400 (SIGILL): Likewise.
18401 (SIGINT): Likewise.
18402 (SIGSEGV): Likewise.
18403 (SIGTER): Likewise.
18404 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18405 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18406 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18407 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18408 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18409 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18410 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18411 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18412 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18413 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18414 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18415 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18416 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18417 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18418 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18419 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18420 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18421 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18422 [X/Open-based standards] (SIGTRAP): Likewise.
18423 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18424 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18425 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18426 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18427 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18428 allow.
18429
b9f1922d
IW
184302012-05-08 Ian Wienand <ianw@vmware.com>
18431
18432 [BZ #14080]
18433 * time/tzset.c (__tzset_parse_tz): Update default rules for
18434 daylight time changes in the Energy Policy Act of 2005.
18435
1db86e88
AJ
184362012-05-09 Andreas Jaeger <aj@suse.de>
18437
18438 [BZ #13983]
18439 * elf/ldconfig.c (parse_conf): Change string to make clear that
18440 ldconfig only issued a warning if ld.so.conf does not exist.
18441
dee4a4e3
DM
184422012-05-08 David S. Miller <davem@davemloft.net>
18443
ee0db190
DM
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18445 movxtod instead of popping the value on the stack.
18446
dee4a4e3
DM
18447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18448
6a43ec98
CD
184492012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18450
18451 * config.h.in: Add HAVE_ARM_PCS_VFP.
18452
05c2c961
RMG
184532012-05-08 Roland Mc Grath <roland@hack.frob.com>
18454
bcfe3a54
ST
18455 [BZ #13979]
18456 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18457 checking but the checks are disabled for any reason.
05c2c961 18458
4b30f61a
L
184592012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18460
18461 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18462 and ELF64_R_TYPE with ELFW(R_TYPE).
18463
eee2bc67
JM
184642012-05-08 Joseph Myers <joseph@codesourcery.com>
18465
7ea5391a
JM
18466 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18467 (ulimit): Likewise.
18468
eee2bc67
JM
18469 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18470 (settimeofday): Likewise.
18471
abb66a67
MF
184722012-05-08 Mike Frysinger <vapier@gentoo.org>
18473
18474 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18475 a struct th_u2 inside the union, and move tu_block/tu_code into
18476 a new th_u3 union of tu_block/tu_code inside of that. Move
18477 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18478 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18479 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18480 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18481 (th_stuff): Change to th_u1.tu_stuff.
18482 (th_data): Define.
18483 (th_msg): Change to th_u1.th_u2.tu_data.
18484
7f18b530
DM
184852012-05-07 David S. Miller <davem@davemloft.net>
18486
05760585
DM
18487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18488
7f18b530
DM
18489 [BZ #14074]
18490 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18491 (SETUP_PIC_REG): Use it.
18492 (SETUP_PIC_REG_LEAF): Use it.
18493
495fd99f
JM
184942012-05-07 Joseph Myers <joseph@codesourcery.com>
18495
18496 [BZ #13885]
18497 [BZ #13923]
18498 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18499 USE_AS_EXPM1L.
18500 (EXPL_FINITE): Likewise.
18501 (FLDLOG): Likewise.
18502 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18503 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18504 e_expl.S.
18505 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18506 USE_AS_EXPM1L.
18507 (EXPL_FINITE): Likewise.
18508 (FLDLOG): Likewise.
18509 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18510 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18511 e_expl.S.
18512 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18513 test of -max_value argument for long double.
18514 * sysdeps/i386/fpu/libm-test-ulps: Update.
18515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18516
6693d694
DM
185172012-05-06 David S. Miller <davem@davemloft.net>
18518
18519 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18520 quad soft-float symbols whose references which are compiler
18521 generated.
18522 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18523
6c23e11c
JM
185242012-05-06 Joseph Myers <joseph@codesourcery.com>
18525
d8b82cad
JM
18526 [BZ #13884]
18527 [BZ #13914]
18528 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18529 USE_AS_EXP10L.
18530 (EXPL_FINITE): Likewise.
18531 (FLDLOG): Likewise.
18532 (c0): Likewise.
18533 (c1): Likewise.
18534 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18535 Adjust comments for base varying.
18536 (__expl_finite): Change alias to EXPL_FINITE.
18537 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18538 e_expl.S.
18539 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18540 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18541 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18542 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18543 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18544 USE_AS_EXP10L.
18545 (EXPL_FINITE): Likewise.
18546 (FLDLOG): Likewise.
18547 (c0): Likewise.
18548 (c1): Likewise.
18549 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18550 Adjust comments for base varying.
18551 (__expl_finite): Change alias to EXPL_FINITE.
18552 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18553 tests for bugs.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18555
6c23e11c
JM
18556 [BZ #14064]
18557 * math/libm-test.inc (check_float_internal): Correct ulp
18558 calculation for subnormal expected results.
18559
29ba805c
AJ
185602012-05-06 Andreas Jaeger <aj@suse.de>
18561
18562 * Makeconfig (+math-flags): New, set to -frounding-math.
18563 (+cflags): Add +math-flags so that all of glibc gets compiled with
18564 it.
18565
18566 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18567
7b17aeda
JM
185682012-05-05 Joseph Myers <joseph@codesourcery.com>
18569
5779f134
JM
18570 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18571 Disable one test.
18572
41498f4d
JM
18573 [BZ #13787]
18574 [BZ #13922]
18575 [BZ #14036]
18576 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18577 (__ieee754_expl): Allow for and saturate large arguments.
18578 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18579 (u_threshold): Likewise.
18580 (__exp): Call __ieee754_exp before checking for overflow and
18581 underflow.
18582 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18583 (u_threshold): Likewise.
18584 (__expf): Call __ieee754_expf before checking for overflow and
18585 underflow.
18586 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18587 (u_threshold): Likewise.
18588 (__expl): Call __ieee754_expl before checking for overflow and
18589 underflow.
18590 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18591 (__ieee754_expl): Allow for and saturate large arguments.
18592 * math/libm-test.inc (exp_test): Add another test. Do not allow
18593 missing overflow exception on overflow.
18594 (expm1_test): Do not allow missing overflow exception on overflow.
18595
6698b8bf
JM
18596 * sysdeps/i386/fpu/e_expl.c: Move to ...
18597 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18598 rather than using inline asm.
18599 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18600 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18601 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18602
7b17aeda
JM
18603 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18604 (nice): Likewise.
18605 (poll): Likewise.
18606 (signal): Likewise.
18607 (time): Likewise.
18608 (times): Likewise.
18609
f7c85819
JM
186102012-05-04 Joseph Myers <joseph@codesourcery.com>
18611
18612 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18613 sysdeps/unix/common/syscalls.list.
18614 (fchmod): Likewise.
18615 (fchown): Likewise.
18616 (ftruncate): Likewise.
18617 (getrusage): Likewise.
18618 (gettimeofday): Likewise.
18619 (setpgid): Likewise.
18620 (setregid): Likewise.
18621 (setreuid): Likewise.
18622 (sigaction): Likewise.
18623 (truncate): Likewise.
18624 (vhangup): Likewise.
18625 * sysdeps/unix/common/syscalls.list: Remove file.
18626 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18627 * sysdeps/unix/sysv/linux/Implies: Likewise.
18628
336270d0
L
186292012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18630
18631 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18633 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18634 Moved to ...
18635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18636 Here.
18637 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18638 to ...
18639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18640 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18641 to ...
18642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18643 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18644 to ...
18645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18646 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18647 to ...
18648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18649 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18650 to ...
18651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18652 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18653 to ...
18654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18655 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18656 to ...
18657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18658 Here.
18659 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18660 to ...
18661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18662 Here.
18663 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18664 to ...
18665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18666 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18667 Moved to ...
18668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18669 Here.
18670 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18671 to ...
18672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18673
d128e450
JM
186742012-05-04 Joseph Myers <joseph@codesourcery.com>
18675
fa8ee516
JM
18676 * sysdeps/unix/common/bits/dirent.h: Remove file.
18677 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18678
d128e450
JM
18679 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18680 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18681 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18682 * sysdeps/unix/bsd/isatty.c: Likewise.
18683 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18684 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18685 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18686
ff8faaf0 186872012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18688
62881be4 18689 [BZ #13563]
31dc8730
AZ
18690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18691 long double comparison inaccuracies.
18692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18694
6fef930c
AS
186952012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18696
18697 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18699
8f203e6c
JM
187002012-05-04 Joseph Myers <joseph@codesourcery.com>
18701
18702 [BZ #14049]
18703 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18704 nonzero digits before rounding a hex value.
18705 * stdlib/tst-strtod.c (tests): Add another test.
18706
5197d9c2
AK
187072012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18708
18709 * sysdeps/s390/fpu/libm-test-ulps: Update.
18710
f0c1dedf
AJ
187112012-05-03 Andreas Jaeger <aj@suse.de>
18712
18713 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18714 does not get optimized out.
18715 (malloc_opt_barrier): New.
18716
a65ef2ae 187172012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18718 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18719
2b942cb7 18720 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18721 intermediate file deletion.
2b942cb7 18722 (generated): Add .symlist files.
a65ef2ae 18723
54b71e02
JM
187242012-05-03 Joseph Myers <joseph@codesourcery.com>
18725
18726 [BZ #13775]
18727 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18728 Redirect under this condition.
18729 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18730 [__USE_GNU] (__dprintf_chk): Not under this condition.
18731 [__USE_GNU] (__vdprintf_chk): Likewise.
18732 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18733 under this condition.
18734 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18735 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18736 [__USE_XOPEN2K8] (vdprintf): Likewise.
18737 [__USE_GNU] (__dprintf_chk): Not under this condition.
18738 [__USE_GNU] (__vdprintf_chk): Likewise.
18739 [__USE_GNU] (dprintf): Likewise.
18740 [__USE_GNU] (vdprintf): Likewise.
18741
d3dfcc41
RM
187422012-05-03 Roland McGrath <roland@hack.frob.com>
18743
18744 * elf/Makefile (common-generated): Set this instead of generated for
18745 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18746 $(all-built-dso)-derived lists.
18747
7ac30cc5
AJ
187482012-05-03 Andreas Jaeger <aj@suse.de>
18749
0c51e550
AJ
18750 * sysdeps/i386/fpu/libm-test-ulps: Update.
18751
7ac30cc5
AJ
18752 * FAQ: Removed.
18753 * FAQ.in: Likewise.
18754 * scripts/gen-FAQ.pl: Likewise.
18755 * manual/install.texi (Installation): Point to online location of
18756 FAQ.
18757 * Makefile (files-for-dist): Remove FAQ.
18758 (FAQ): Remove.
18759
d4c2917f
AM
187602012-05-02 Allan McRae <allan@archlinux.org>
18761
18762 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18763 (LDFLAGS-reldepmod5.so): Likewise.
18764 (LDFLAGS-reldep6mod1.so): Likewise.
18765 (LDFLAGS-reldep6mod4.so): Likewise.
18766 (LDFLAGS-reldep8mod3.so): Likewise.
18767 (LDFLAGS-unload4mod1.so): Likewise.
18768 (LDFLAGS-unload4mod2.so): Likewise.
18769 (LDFLAGS-tst-initorder): Likewise.
18770 (LDFLAGS-tst-initordera2.so): Likewise.
18771 (LDFLAGS-tst-initordera3.so): Likewise.
18772 (LDFLAGS-tst-initordera4.so): Likewise.
18773 (LDFLAGS-tst-initorderb2.so): Likewise.
18774 (LDFLAGS-noload): Likewise.
18775 (LDFLAGS-next): Likewise.
18776 (LDFLAGS-order2mod1.so): Likewise.
18777 (LDFLAGS-order2mod2.so): Likewise.
18778 (LDFLAGS-tst-initorder2): Likewise.
18779 (LDFLAGS-tst-initorder2a.so): Likewise.
18780 (LDFLAGS-tst-initorder2b.so): Likewise.
18781 (LDFLAGS-tst-initorder2c.so): Likewise.
18782 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18783
d77f993f
DM
187842012-05-02 David S. Miller <davem@davemloft.net>
18785
18786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18787
171a70b4
PP
187882012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18789
18790 [BZ #14055]
18791 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18792
0be196ad
AJ
187932012-05-02 Andreas Jaeger <aj@suse.de>
18794
18795 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18796 since we manipulate rounding mode.
18797 (CPPFLAGS-test-idouble.c): Likewise.
18798 (CPPFLAGS-test-ifloat.c): Likewise.
18799 (CFLAGS-test-ldouble.c): Likewise.
18800 (CFLAGS-test-double.c): Likewise.
18801 (CFLAGS-test-float.c): Likewise.
18802 (CFLAGS-test-misc.c): Likewise.
18803 (CFLAGS-test-test-fenv.c): Likewise.
18804
4f9d04aa
AZ
188052012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18806
2b942cb7
RM
18807 [BZ #2550]
18808 [BZ #2570]
18809 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18810 comparisons to determine direction to adjust input.
4f9d04aa 18811
82a79e7d
RM
188122012-05-01 Roland McGrath <roland@hack.frob.com>
18813
f5a01ca9
RM
18814 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18815 output to the target.
18816
90fe4186
RM
18817 * scripts/localplt.awk: New file.
18818 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18819 (check-localplt-CFLAGS): Variable removed.
18820 ($(all-built-dso:=.jmprel)): New static pattern rule.
18821 (generated): Add those targets.
18822 (localplt-built-dso): New variable.
18823 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18824
18825 * elf/check-localplt.c: File removed.
18826
82397ed6
RM
18827 * scripts/check-execstack.awk: New file.
18828 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18829 (check-execstack-CFLAGS): Variable removed.
18830 ($(objpfx)check-execstack.h): Target removed.
18831 ($(objpfx)execstack-default): New target.
18832 (generated): Add that instead of check-execstack.h.
18833 ($(all-built-dso:=.phdr)): New static pattern rule.
18834 (generated): Add those targets.
18835 * elf/check-execstack.c: File removed.
18836
82a79e7d
RM
18837 * scripts/check-textrel.awk: New file.
18838 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18839 (check-textrel-CFLAGS): Variable removed.
18840 (all-built-dso): Use := to define.o
18841 ($(all-built-dso:=.dyn)): New static pattern rule.
18842 (generated): Add those targets.
18843 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18844 * config.make.in (READELF): New substituted variable.
18845 * elf/check-textrel.c: File removed.
18846
62fde54f 188472012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18848
615605c9
JM
18849 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18850 allow.
18851 * conform/data/ctype.h-data [C99-based standards] (isblank):
18852 Expect function.
18853 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18854 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18856 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18857 Specify type. Require positive value.
18858 (EILSEQ): Likewise.
18859 (ERANGE): Likewise.
18860 [ISO || POSIX] (EILSEQ): Do not expect.
18861 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18862 Specify type. Require positive value.
18863 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18864 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18865 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18866 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18867 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18868 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18869 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18870 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18871 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18872 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18873 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18874 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18875 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18876 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18877 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18878 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18879 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18880 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18913 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18914 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18915 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18916 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18917 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18936 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18937 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18938 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18939 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18940 Require >= 2.
18941 (FLT_ROUNDS): Expect as macro, not constant.
18942 (FLT_MANT_DIG): Use macro-int-constant.
18943 (DBL_MANT_DIG): Likewise.
18944 (LDBL_MANT_DIG): Likewise.
18945 (FLT_DIG): Likewise.
18946 (DBL_DIG): Likewise.
18947 (LDBL_DIG): Likewise.
18948 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18949 (DBL_MIN_EXP): Likewise.
18950 (LDBL_MIN_EXP): Likewise.
18951 (FLT_MAX_EXP): Use macro-int-constant.
18952 (DBL_MAX_EXP): Likewise.
18953 (LDBL_MAX_EXP): Likewise.
18954 (FLT_MAX_10_EXP): Likewise.
18955 (DBL_MAX_10_EXP): Likewise.
18956 (LDBL_MAX_10_EXP): Likewise.
18957 (FLT_MAX): Use macro-constant.
18958 (DBL_MAX): Likewise.
18959 (LDBL_MAX): Likewise.
18960 (FLT_EPSILON): Use macro-constant. Give upper bound.
18961 (DBL_EPSILON): Likewise.
18962 (LDBL_EPSILON): Likewise.
18963 (FLT_MIN): Likewise.
18964 (DBL_MIN): Likewise.
18965 (LDBL_MIN): Likewise.
18966 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18967 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18968 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18969 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18970 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18971 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18972 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18973 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18974 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18975 [ISO11] (FLT_TRUE_MIN): Likewise.
18976 [ISO11] (LDBL_TRUE_MIN): Likewise.
18977 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18978 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18979 (SCHAR_MIN): Use macro-int-constant. Specify type.
18980 (SCHAR_MAX): Likewise.
18981 (UCHAR_MAX): Likewise.
18982 (CHAR_MIN): Likewise.
18983 (CHAR_MAX): Likewise.
18984 (MB_LEN_MAX): Use macro-int-constant.
18985 (SHRT_MIN): Use macro-int-constant. Specify type.
18986 (SHRT_MAX): Likewise.
18987 (USHRT_MAX): Likewise.
18988 (INT_MAX): Likewise.
18989 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18990 bound negative.
18991 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18992 bound with "U".
18993 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18994 bound with "L".
18995 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18996 bound negative. Suffix upper bound with "L".
18997 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18998 bound with "UL".
18999 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19000 Specify type.
19001 [C99-based standards] (LLONG_MAX): Likewise.
19002 [C99-based standards] (ULLONG_MAX): Likewise.
19003 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19004 == 0.
19005 [ISO11] (max_align_t): Require type.
19006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19007
c9140a62
JM
19008 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19009 from $CFLAGS, without defining away __attribute__ calls.
19010 (checknamespace): Use $CFLAGS_namespace.
19011
9af0bf29
JM
19012 * conform/conformtest.pl (@keywords): Only include C99 keywords
19013 for standards based on C99 or C11.
19014
343222a2
JM
19015 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19016 Disable tests.
19017 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19018 UNIX98]: Likewise.
19019
661f8cf0
JM
19020 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19021 usability of symbols in #if.
19022
ee74b9cb
JM
19023 * conform/conformtest.pl: If macro or constant types start
19024 "promoted:", expect the symbol to be of the following type
19025 promoted by the integer promotions.
62fde54f 19026
aafc49b3
JM
19027 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19028 in one place. Also handle "macro-constant".
19029
fefdf574
JM
19030 * conform/conformtest.pl: Only accept expected macro values with
19031 "==". Parse all "macro" lines in one place.
19032 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19033
f2d922fe
JM
19034 * conform/conformtest.pl: Handle braced types on "constant" lines
19035 instead of handling "typed-constant".
19036 * conform/data/signal.h-data: Use "constant" instead of
19037 "typed-constant".
19038
d22956c9
JM
19039 * conform/conformtest.pl: Handle "optional-" at start of lines in
19040 one place rather than duplicating several cases. Handle each
19041 format of "macro" line with initial "optional-".
19042
028e2e38
JM
19043 * conform/conformtest.pl: Only accept expected constant or
19044 optional-constant values with "==". Parse all "constant" lines in
19045 one place. Parse all "optional-constant" lines in one place.
19046 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19047 * conform/data/fmtmsg.h-data: Likewise.
19048 * conform/data/netinet/in.h-data: Likewise.
19049 * conform/data/tar.h-data: Likewise.
19050 * conform/data/limits.h-data: Use "==" form on "constant" and
19051 "optional-constant" lines.
19052
1b8f2850
JM
19053 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19054 Use -std=c99 for XOPEN2K.
19055 (@knownproblems): Remove.
19056 (newtoken): Don't check %isknown.
19057
a05a144b
JM
19058 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19059 Do not expect macro.
19060 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19067 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19068 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19070 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19071 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19072 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19073 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19077 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19090 [XPG3] (acosh): Likewise.
19091 [XPG3] (asinh): Likewise.
19092 [XPG3] (atanh): Likewise.
19093 [XPG3] (cbrt): Likewise.
19094 [XPG3] (expm1): Likewise.
19095 [XPG3] (ilogb): Likewise.
19096 [XPG3] (log1p): Likewise.
19097 [XPG3] (logb): Likewise.
19098 [XPG3] (nextafter): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19101 [XPG3] (remainder): Likewise.
19102 [XPG3] (rint): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19110 [UNIX98 || XOPEN2K] (scalb): Expect.
19111 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19112 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19119 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19248
73c5ebe3
JM
19249 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19250 _XOPEN_SOURCE_EXTENDED for XPG4.
19251
39c33b6c
JM
19252 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19253
62fde54f
JM
19254 * Makeconfig (localtime): Remove variable.
19255 (inst_localtime-file): Likewise.
19256
0741d64c
AS
192572012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19258
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19260 Update.
19261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19262 Update.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19264 Update.
19265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19266 Update.
19267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19268 Update.
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19270 Update.
19271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19272 Update.
19273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19274 Update.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19276 Update.
19277
7cb029ee
JM
192782012-05-01 Joseph Myers <joseph@codesourcery.com>
19279
19280 [BZ #2550]
19281 [BZ #2570]
19282 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19283 comparisons to determine direction to adjust input.
19284 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19285 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19286 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19287 Likewise.
19288 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19289 Likewise.
19290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19291 Likewise.
19292 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19293 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19294 Likewise.
19295 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19296 Likewise.
19297 * math/libm-test.inc (nexttoward_test): Add more tests.
19298
412bd966
AS
192992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19300
19301 [BZ #14040]
19302 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19303 in version GLIBC_2.1, not GLIBC_2.0.
19304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19305 Likewise.
19306
9568c0c2
JM
193072012-04-30 Joseph Myers <joseph@codesourcery.com>
19308
adfbc8ac
JM
19309 [BZ #13942]
19310 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19311 (1 - x) * (1 + x).
19312 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19313 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19314 * math/libm-test.inc (acos_test): Add more tests.
19315 (asin_test): Likewise.
19316 * sysdeps/i386/fpu/libm-test-ulps: Update.
19317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19318
5ba3cc69
JM
19319 [BZ #14034]
19320 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19321 of square root.
19322 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19323 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19324 * math/libm-test.inc (acos_test_tonearest): New function.
19325 (acos_test_towardzero): Likewise.
19326 (acos_test_downward): Likewise.
19327 (acos_test_upward): Likewise.
19328 (asin_test_tonearest): Likewise.
19329 (asin_test_towardzero): Likewise.
19330 (asin_test_downward): Likewise.
19331 (asin_test_upward): Likewise.
19332 (main): Call the new functions.
19333 * sysdeps/i386/fpu/libm-test-ulps: Update.
19334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19335
9568c0c2
JM
19336 [BZ #13884]
19337 [BZ #13924]
19338 * math/e_exp10.c: Include <float.h>.
19339 (__ieee754_exp10): Handle underflow here rather than multiplying
19340 large negative argument by M_LN10.
19341 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19342 of __ieee754_expf.
19343 * math/e_exp10l.c: Include <float.h>.
19344 (__ieee754_exp10l): Handle underflow here rather than multiplying
19345 large negative argument by M_LN10l.
19346 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19347 spurious overflow exception on underflow.
19348
5ac3ea17
MP
193492012-04-29 Marek Polacek <polacek@redhat.com>
19350
19351 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19352 (__fortify_function): New macro.
19353 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19354 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19355 __extern_always_inline.
19356 * libio/bits/stdio2.h: Likewise.
19357 * libio/bits/stdio.h: Likewise.
19358 * string/string.h: Likewise.
19359 * string/bits/string3.h: Likewise.
19360 * include/stdio.h: Likewise.
19361 * stdlib/bits/stdlib.h: Likewise.
19362 * stdlib/stdlib.h: Likewise.
19363 * rt/bits/mqueue2.h: Likewise.
19364 * rt/mqueue.h: Likewise.
19365 * posix/bits/unistd.h: Likewise.
19366 * posix/unistd.h: Likewise.
19367 * io/bits/poll2.h: Likewise.
19368 * io/bits/fcntl2.h: Likewise.
19369 * io/fcntl.h: Likewise.
19370 * io/sys/poll.h: Likewise.
19371 * misc/bits/syslog.h: Likewise.
19372 * misc/bits/syslog-ldbl.h: Likewise.
19373 * misc/sys/syslog.h: Likewise.
19374 * socket/bits/socket2.h: Likewise.
19375 * socket/sys/socket.h: Likewise.
19376 * debug/tst-chk1.c: Likewise.
19377 * wcsmbs/bits/wchar2.h: Likewise.
19378 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19379 * wcsmbs/wchar.h: Likewise.
19380
ecf0ebfb
AJ
193812012-04-29 Andreas Jaeger <aj@suse.de>
19382
19383 * Makerules (tests): Remove enable-check-abi protection.
19384 (check-abi-warn): Remove.
19385 (check-abi-%): Remove check-abi-warn usage.
19386
19387 * configure.in: Remove check-abi configure option.
19388 * configure: Regenerated.
19389 * config.make.in (enable-check-abi): Remove.
19390
6d5c57fa
AS
193912012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19392
24c5d07e 19393 [BZ #14033]
ded5180a
AS
19394 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19395 double functions to double *_finite functions.
19396
7e0d315d
AS
19397 [BZ #13941]
19398 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19399 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19400 LDBL_MIN_EXP.
19401 * stdio-common/Makefile (tests): Add tst-sprintf3.
19402 * stdio-common/tst-sprintf3.c: New file.
19403
6d5c57fa
AS
19404 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19405 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19406
0749ff8b
JM
194072012-04-28 Joseph Myers <joseph@codesourcery.com>
19408
19409 * conform/conformtest.pl: Remove duplicate typed-constant
19410 handling.
19411
8dbd5d7b
DM
194122012-04-28 David S. Miller <davem@davemloft.net>
19413
19414 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19415 (check-abi-%): Remove AWK script prerequisite and explicit
19416 abilist directory.
19417 (check-abi): Rewrite to just diff the symlist with the abilist.
19418 (config-tls, config-abi-config): Delete, no longer used.
19419 (update-abi-%): Remove AWK script and explicit abilist directory.
19420 (update-abi): Rewrite to simply compare and conditionally copy the
19421 symlist and the sysdep abilist file. Remove update-abi-config
19422 checks.
19423 * abilist/ld.abilist: Remove.
19424 * abilist/libBrokenLocale.abilist: Remove.
19425 * abilist/libanl.abilist: Remove.
19426 * abilist/libcrypt.abilist: Remove.
19427 * abilist/libdl.abilist: Remove.
19428 * abilist/librt.abilist: Remove.
19429 * abilist/libthread_db.abilist: Remove.
19430 * abilist/libutil.abilist: Remove.
19431 * scripts/extract-abilist.awk: Remove.
19432 * scripts/merge-abilist.awk: Remove.
19433 * sysdeps/generic/libcidn.abilist: New file.
19434 * sysdeps/generic/libnss_compat.abilist: New file.
19435 * sysdeps/generic/libnss_db.abilist: New file.
19436 * sysdeps/generic/libnss_dns.abilist: New file.
19437 * sysdeps/generic/libnss_files.abilist: New file.
19438 * sysdeps/generic/libnss_hesiod.abilist: New file.
19439 * sysdeps/generic/libnss_nis.abilist: New file.
19440 * sysdeps/generic/libnss_nisplus.abilist: New file.
19441 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19442 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19443 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19444 file.
19445 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19446 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19447 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19448 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19449 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19450 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19451 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19452 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19453 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19454 file.
19455 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19456 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19457 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19458 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19459 file.
19460 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19461 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19462 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19463 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19464 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19465 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19466 file.
19467 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19468 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19469 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19470 file.
19471 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19473 New file.
19474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19475 New file.
19476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19477 New file.
19478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19479 New file.
19480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19481 New file.
19482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19483 New file.
19484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19485 New file.
19486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19487 New file.
19488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19489 New file.
19490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19491 New file.
19492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19493 New file.
19494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19495 New file.
19496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19497 New file.
19498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19499 file.
19500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19501 New file.
19502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19503 New file.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19505 file.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19507 New file.
19508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19509 New file.
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19511 file.
19512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19513 New file.
19514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19515 New file.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19517 New file.
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19519 New file.
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19521 New file.
19522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19523 New file.
19524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19526 file.
19527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19528 New file.
19529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19530 file.
19531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19532 file.
19533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19534 file.
19535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19536 file.
19537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19538 file.
19539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19540 New file.
19541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19542 file.
19543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19544 file.
19545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19546 New file.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19548 file.
19549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19551 file.
19552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19553 New file.
19554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19555 file.
19556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19557 file.
19558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19559 file.
19560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19561 file.
19562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19563 file.
19564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19565 New file.
19566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19567 file.
19568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19569 file.
19570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19571 New file.
19572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19573 file.
19574 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19575 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19576 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19577 file.
19578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19579 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19580 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19581 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19582 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19583 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19584 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19585 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19586 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19587 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19590 file.
19591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19592 New file.
19593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19594 file.
19595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19596 file.
19597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19598 file.
19599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19600 file.
19601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19602 file.
19603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19604 New file.
19605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19606 New file.
19607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19608 file.
19609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19610 New file.
19611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19612 file.
19613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19615 file.
19616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19617 New file.
19618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19619 file.
19620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19621 file.
19622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19623 file.
19624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19625 file.
19626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19627 file.
19628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19629 New file.
19630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19631 New file.
19632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19633 file.
19634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19635 New file.
19636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19637 file.
19638
41d73a1b
JM
196392012-04-28 Joseph Myers <joseph@codesourcery.com>
19640
19641 * conform/conformtest.pl: Fix typo in handling typed-constant from
19642 allow-header.
19643
28aeeda4
JM
196442012-04-27 Joseph Myers <joseph@codesourcery.com>
19645
adae8f5e
JM
19646 * README: Cut down references to pre-2.6 Linux kernels and
19647 Linuxthreads. Update lists of configurations in libc and ports
19648 and sort alphabetically. Say "or newer" with Linux kernel version
19649 requirements.
19650
28aeeda4
JM
19651 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19652
a462cb63
RA
196532012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19654
19655 [BZ #887]
19656 * math/libm-test.inc (logb_test_downward): New test to expose
19657 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19658 rounding mode.
19659
6ad3493e
JM
196602012-04-27 Joseph Myers <joseph@codesourcery.com>
19661
19662 [BZ #14027]
19663 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19664 to be done.
19665 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19666 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19667
2ce4f015
JM
196682012-04-26 Joseph Myers <joseph@codesourcery.com>
19669
5aeb141a
JM
19670 * sysdeps/unix/i386/brk.S: Remove file.
19671 * sysdeps/unix/i386/dl-brk.S: Likewise.
19672 * sysdeps/unix/i386/pipe.S: Likewise.
19673 * sysdeps/unix/i386/sigreturn.S: Likewise.
19674 * sysdeps/unix/i386/syscall.S: Likewise.
19675 * sysdeps/unix/i386/vfork.S: Likewise.
19676 * sysdeps/unix/i386/wait.S: Likewise.
19677
7143acae
JM
19678 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19679 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19680
2ce4f015
JM
19681 * configure.in (arm*-none*): Do not allow without
19682 --enable-hacker-mode.
19683 (netbsd*): Remove case setting base_os.
19684 (386bsd*): Likewise.
19685 (freebsd*): Likewise.
19686 (bsdi*): Likewise.
19687 (osf*): Likewise.
19688 (sunos*): Likewise.
19689 (ultrix*): Likewise.
19690 (newsos*): Likewise.
19691 (dynix*): Likewise.
19692 (*bsd*): Likewise.
19693 (sysv*): Likewise.
19694 (isc*): Likewise.
19695 (esix*): Likewise.
19696 (sco*): Likewise.
19697 (minix*): Likewise.
19698 (irix4*): Likewise.
19699 (irix6*): Likewise.
19700 (solaris[2-9]*): Likewise.
19701 (none): Likewise.
19702 * configure: Regenerated.
19703
0ac229c8
AZ
197042012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19705
19706 [BZ #11521]
19707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19708 overflow or cancellation in calculating denominator.
19709 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19710 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19711 down expression to avoid unexpected rounding in newer GCCs.
19712 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19713
33f244f4
DM
197142012-04-26 David S. Miller <davem@davemloft.net>
19715
19716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19717 long-double compat symbols.
19718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19731
cfa1f3e8
DM
197322012-04-25 David S. Miller <davem@davemloft.net>
19733
19734 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19735 HWCAP_* values only after the memory barriers have been defined.
19736 (atomic_full_barrier): Define.
19737 (atomic_read_barrier): Define.
19738 (atomic_write_barrier): Define.
19739
6e236b92
SP
197402012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19741
19742 * shlib-versions: Add libgcc_s version information.
19743 * sysdeps/generic/libgcc_s.h: Remove.
19744 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19745 libgcc_s.h.
19746 * sysdeps/gnu/unwind-resume.c: Likewise.
19747 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19748
aab39a09
DM
197492012-04-25 David S. Miller <davem@davemloft.net>
19750
19751 * sysdeps/unix/sparc/brk.S: Delete.
19752 * sysdeps/unix/sparc/dl-brk.S: Delete.
19753 * sysdeps/unix/sparc/pipe.S: Delete.
19754 * sysdeps/unix/sparc/sysdep.S: Delete.
19755 * sysdeps/unix/sparc/sysdep.h: Delete.
19756 * sysdeps/unix/sparc/vfork.S: Delete.
19757 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19758 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19759 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19760 ret_ERRVAL, r0, r1, MOVE): Define.
19761 (JUMPTARGET): Remove.
19762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19763 sysdeps/unix/sparc/sysdep.h
19764 (ENTRY, END): Remove.
19765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19766
a3cc4f48
JM
197672012-04-25 Joseph Myers <joseph@codesourcery.com>
19768
2ed8cda2
JM
19769 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19770 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19771 -DIS_IN_build.
19772
35d76d59
JM
19773 * timezone/README: Update upstream location and email address for
19774 tzcode and tzdata.
19775 * timezone/zdump.c: Update from tzcode 2012b.
19776 * timezone/zic.c: Likewise.
19777
a3cc4f48
JM
19778 * configure.in (libc_cv_as_needed): Remove test.
19779 * configure: Regenerated.
19780 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19781 conditional definition.
19782 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19783 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19784 * config.make.in (have-as-needed): Remove variable.
19785
ceab42c3
SP
197862012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19787 Paul Pluzhnikov <ppluzhnikov@google.com>
19788
19789 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19790 strings correctly.
19791
3ce2865f
CLT
197922012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19793
19794 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19795 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19796 * sysdeps/sh/strlen.S: Likewise.
19797
f37e0d68
JM
197982012-04-24 Joseph Myers <joseph@codesourcery.com>
19799
ae186e9a
JM
19800 * sysdeps/unix/fork.S: Remove file.
19801 * sysdeps/unix/i386/fork.S: Likewise.
19802 * sysdeps/unix/sparc/fork.S: Likewise.
19803
b96914af
JM
19804 * sysdeps/unix/system.c: Remove file.
19805 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19806
f37e0d68
JM
19807 * sysdeps/unix/getegid.S: Remove file.
19808 * sysdeps/unix/geteuid.S: Likewise.
19809
87ef29ca
RM
198102012-04-24 Roland McGrath <roland@hack.frob.com>
19811
83bcd236
RM
19812 * scripts/check-localplt.awk: New file.
19813 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19814 of diff.
19815 * scripts/data/localplt-generic.data: Add a comment.
19816
87ef29ca
RM
19817 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19818 NODE when __dir_mkfile failed.
19819 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19820 Reported by Ludovic Courtès <ludo@gnu.org>.
19821
e5a6e567
AJ
198222012-04-24 Andreas Jaeger <aj@suse.de>
19823
19824 * Makerules (common-clean): Also remove gen-as-const-headers
19825 files.
19826
c1820385
JM
198272012-04-24 Joseph Myers <joseph@codesourcery.com>
19828
19829 * Makerules (native-compile): Do not change working directory for
19830 build. Use $(OUTPUT_OPTION) in command.
19831 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19832
94e02fc4
AZ
198332012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19834
19835 [BZ #13886]
19836 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19837 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19838 * math/libm-test.inc (floor_test): Add more tests.
19839 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19840
3a533ca3
JM
198412012-04-24 Joseph Myers <joseph@codesourcery.com>
19842
940ab4b3
JM
19843 * sysdeps/unix/getdents.c: Remove file.
19844 * sysdeps/unix/sysv/getdents.c: Likewise.
19845 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19846
90e037bd
JM
19847 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19848 sysdeps/unix/mman/syscalls.list.
19849 (mmap): Likewise.
19850 (mprotect): Likewise.
19851 (msync): Likewise.
19852 (munmap): Likewise.
19853 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19854 * sysdeps/unix/mman/syscalls.list: Remove.
19855 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19856
3a533ca3
JM
19857 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19858 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19859 * configure: Regenerated.
19860 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19861 $(libgcc_s_suffix).
19862 * config.make.in (libgcc_s_suffix): Remove variable.
19863
1ad743de
JM
198642012-04-23 Joseph Myers <joseph@codesourcery.com>
19865
4ad451e2
JM
19866 * sysdeps/unix/sysv/gethostname.c: Move to ...
19867 * sysdeps/posix/gethostname.c: ... here.
19868
5e37ce39
JM
19869 * sysdeps/unix/execve.S: Remove file.
19870
1ad743de
JM
19871 * sysdeps/unix/_exit.S: Remove file.
19872
4e681b5b
AJ
198732012-04-23 Andreas Jaeger <aj@suse.de>
19874
19875 [BZ #13739]
19876 * manual/Makefile: Remove make dist support, there's no
19877 need for a stand-alone documentation tar ball.
19878 (TEXI2DVI): Define always, it's not in Makeconfig.
19879 (dist): Removed.
19880 (tar-it): Removed.
19881 (edition): Removed.
19882 (glibc-doc-$(edition).tar): Removed
19883 (%.Z): Removed.
19884 (%.gz): Removed.
19885 (%.uu): Removed.
19886 (ETAGS): Remove, it's in Makeconfig.
19887 (move-if-change): Remove, it's in Makeconfig.
19888
38686a03 198892012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19890
19891 [BZ #13970]
19892 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19893 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19894 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19895 (strtod_l, strtof_l, strtold_l): Remove __wur.
19896 It is not necessarily an error to ignore strtol's return value.
19897 One can reliably look at the stored endptr to decide whether
19898 the number had valid syntax.
19899
7c0616fa
AJ
199002012-04-21 Andreas Jaeger <aj@suse.de>
19901
803cb6b7 19902 [BZ #13739]
7c0616fa
AJ
19903 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19904
b0fe253f
JM
199052012-04-21 Joseph Myers <joseph@codesourcery.com>
19906
19907 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19908 * sysdeps/unix/sysv/Versions: Remove file.
19909
8280f22d
MT
199102012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19911
19912 [BZ #13927]
19913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19914
75ce411f 199152012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19916
19917 [BZ #7064]
19918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19919 version from __vm86.
19920
097d59fa
JM
199212012-04-20 Joseph Myers <joseph@codesourcery.com>
19922
a90f3bcb
JM
19923 * sysdeps/unix/common/lxstat.c: Remove file.
19924 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19925
edc7ea78
JM
19926 * sysdeps/unix/sysv/Makefile: Remove file.
19927
cb78c221
JM
19928 * sysdeps/unix/sysv/direct.h: Remove file.
19929
efa6a45f
JM
19930 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19931 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19932 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19933 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19934 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19935 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19936 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19937
9c9f2d0c
JM
19938 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19939
4541c83b
JM
19940 * sysdeps/unix/xmknod.c: Remove file.
19941 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19942
f5d153a0
JM
19943 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19944
aa746595
JM
19945 * sysdeps/unix/sysv/i386/time.S: Remove file.
19946
cce5905e
JM
19947 * sysdeps/unix/fxstat.c: Remove file.
19948 * sysdeps/unix/xstat.c: Likewise.
19949 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19950
37fa3841
JM
19951 * sysdeps/unix/sysv/sigaction.c: Remove file.
19952
ff1962a3
JM
19953 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19954 (sysdep_headers): Remove variable.
19955 [termio.h not in sysdep_headers] (generated): Likewise.
19956 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19957 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19958 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19959 * sysdeps/unix/sysv/tcflow.c: Likewise.
19960 * sysdeps/unix/sysv/tcflush.c: Likewise.
19961 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19962 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19963 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19964 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19965 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19966
e7740d31
JM
19967 * sysdeps/unix/siglist.c: Remove file.
19968
ee06f18b
JM
19969 * sysdeps/unix/getppid.S: Remove file.
19970
097d59fa
JM
19971 * sysdeps/unix/mkdir.c: Remove file.
19972 * sysdeps/unix/rmdir.c: Likewise.
19973
ff3d51ec
AS
199742012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19975
19976 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19977 ERR_MAX value.
19978 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19979 errlist-compat value.
19980
50f81fd7
DM
199812012-04-18 David S. Miller <davem@davemloft.net>
19982
19983 * sysdeps/generic/memcopy.h (reg_char): Delete.
19984 * debug/strcat_chk.c: Use char, not reg_char.
19985 * debug/strcpy_chk.c: Likewise.
19986 * debug/strncat_chk.c: Likewise.
19987 * debug/strncpy_chk.c: Likewise.
19988 * string/memchr.c: Likewise.
19989 * string/memrchr.c: Likewise.
19990 * string/rawmemchr.c: Likewise.
19991 * string/strcat.c: Likewise.
19992 * string/strchr.c: Likewise.
19993 * string/strchrnul.c: Likewise.
19994 * string/strcmp.c: Likewise.
19995 * string/strcpy.c: Likewise.
19996 * string/strncat.c: Likewise.
19997 * string/strncmp.c: Likewise.
19998 * string/strncpy.c: Likewise.
19999
8ff41c46
WS
200002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20001
20002 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20003 __builtin_memcopy is called when src and dest ranges are known to not
20004 overlap.
20005
6b652f46
WS
200062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20007
20008 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20009 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20010 fwd_align_merge macro call.
20011 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20012 bwd_align_merge macro call.
20013 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20014
b282631e
WS
200152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20016
20017 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20018 bwd_align_merge macros.
20019 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20020 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20021 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20022
95aa737c
DM
200232012-04-18 David S. Miller <davem@davemloft.net>
20024
20025 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20026
7a99a614
AJ
200272012-04-18 Andreas Jaeger <aj@suse.de>
20028
20029 [BZ# 6794]
20030 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20031 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20032 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20033
20034 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20035 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20036 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20037
20038 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20039 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20040 Adjust for changed ldbl-128 files.
20041
20042 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20043 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20044 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20045
e5270c23
DM
200462012-04-17 David S. Miller <davem@davemloft.net>
20047
20048 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20049
fb5e92c9
AS
200502012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20051
20052 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20053 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20054 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20055 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20056 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20057 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20058
76da7265
AZ
200592012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20060
20061 [BZ #6794]
20062 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20063 * math/libm-test.inc: Add ilogb errno and exception tests.
20064 * math/w_ilogb.c: New file: ilogb wrapper.
20065 * math/w_ilogbf.c: New file: ilogbf wrapper.
20066 * math/w_ilogbl.c: New file: ilogbl wrapper.
20067 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20068 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20069 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20070 exception being thrown with 0.0 as argument.
20071 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20072 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20073 exception being thrown with 0.0 as argument.
20074 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20075 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20076 exception being thrown with 0.0 as argument.
20077 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20078 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20079 exception being thrown with 0.0 as argument.
20080 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20081 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20082 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20083 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20085 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20086 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20087 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20088 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20089
0396e69d
PB
200902012-04-17 Petr Baudis <pasky@ucw.cz>
20091
20092 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20093 with altivec.
20094
750b5926
MP
200952012-04-16 Marek Polacek <polacek@redhat.com>
20096
20097 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20098
751728a1
MP
200992012-04-16 Marek Polacek <polacek@redhat.com>
20100
20101 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20102 operands of fdivp instruction.
20103
34a27407
L
201042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20105
20106 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20107 * elf/tst-auditmod3b.c: Likewise.
20108 * elf/tst-auditmod4b.c: Likewise.
20109 * elf/tst-auditmod5b.c: Likewise.
20110 * elf/tst-auditmod6b.c: Likewise.
20111 * elf/tst-auditmod6c.c: Likewise.
20112 * elf/tst-auditmod7b.c: Likewise.
20113 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20114 * sysdeps/x86_64/preconfigure.in: Likewise.
20115 * sysdeps/x86_64/preconfigure: Regenerated.
20116
7e73e17d
L
201172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20118
20119 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20120 __ILP32__.
20121
c7a6ab72
AB
201222012-04-13 Antoine Balestrat <merkil33@gmail.com>
20123
20124 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20125 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20126
a9e8e0e0
CL
201272012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20128
20129 [BZ #13973]
20130 * locale/iso-639.def: Fix gl language name. Spotted by
20131 Yaron Shahrabani.
20132
ec98af7d
RM
201332012-04-12 Roland McGrath <roland@hack.frob.com>
20134
20135 [BZ #2074]
20136 * libio/libio.h (__io_write_fn): Update comment.
20137
247c3ede
PB
201382012-04-12 Petr Baudis <pasky@ucw.cz>
20139
20140 [BZ #2074]
20141 * stdio.texi (Hook Functions): The user provided writer function
20142 is not allowed to return -1.
20143
55939d6d
DM
201442012-04-11 David S. Miller <davem@davemloft.net>
20145
20146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20147
90020f5a
MF
201482012-04-11 Mike Frysinger <vapier@gentoo.org>
20149
20150 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20151 Add a leading slash to rtkaio.
20152
288f9098
JM
201532012-04-11 Jim Meyering <meyering@redhat.com>
20154
90020f5a
MF
20155 [BZ #11959]
20156 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20157 It is not necessarily an error to ignore fwrite's return
20158 value. One can reliably use ferror to test for errors after
20159 the fact.
288f9098 20160
4be2b570
L
201612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20162
20163 * bits/types.h (__snseconds_t): New type.
20164 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20165
20166 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20168 (__SNSECONDS_T_TYPE): Likewise.
20169 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20170 (__SNSECONDS_T_TYPE): Likewise.
20171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20172 (__SNSECONDS_T_TYPE): Likewise.
20173
288f9098 201742012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20175
20176 [BZ #2636]
20177 * manual/time.texi (Processor Time): Return type of times is
20178 elapsed real time since an arbitrary point in the past.
20179 (CPU Time): Move CLK_TCK from here...
20180 (Processor Time): ...to here. Correct description.
20181 * manual/conf.texi (Constants for Sysconf): Correct description of
20182 _SC_CLK_TCK.
20183
d7dd4413
DM
201842012-04-10 David S. Miller <davem@davemloft.net>
20185
20186 [BZ #13967]
20187 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20188 where the is a gap between DT_REL(A) and DT_JMPREL.
20189
b46068fc
L
201902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20191
20192 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20193 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20194 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20195
73d65cc3
SP
201962012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20197
20198 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20199 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20200 (dl_main): Handle --inhibit-cache.
20201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20202 _dl_inhibit_cache.
20203 * elf/dl-load.c (_dl_map_object): Use it.
20204 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20205
bcc8d661
JM
202062012-04-09 Joseph Myers <joseph@codesourcery.com>
20207
8f9a2fae
JM
20208 [BZ #13872]
20209 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20210 (__ieee754_powl): Saturate large exponents rather than testing for
20211 overflow of y*log2(x).
20212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20213 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20214 exceptions.
20215
bcc8d661
JM
20216 [BZ #11521]
20217 * math/s_ctan.c: Include <float.h>.
20218 (__ctan): Avoid internal overflow or cancellation in calculating
20219 denominator.
20220 * math/s_ctanf.c: Likewise.
20221 * math/s_ctanl.c: Likewise.
20222 * math/s_ctanh.c: Likewise.
20223 * math/s_ctanhf.c: Likewise.
20224 * math/s_ctanhl.c: Likewise.
20225 * math/libm-test.inc (ctan_test): Add more tests.
20226 (ctanh_test): Likewise.
20227 * sysdeps/i386/fpu/libm-test-ulps: Update.
20228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20229
823fbbb4
AJ
202302012-04-09 Andreas Jaeger <aj@suse.de>
20231
03879793
AJ
20232 [BZ #6894]
20233 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20234 is an optional BSD extension.
20235
823fbbb4
AJ
20236 [BZ #10254]
20237 * manual/stdio.texi (Opening Streams): Document additional fopen
20238 parameters.
20239
8de131cb
RM
202402012-04-09 Roland McGrath <roland@hack.frob.com>
20241
20242 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20243 %eax without telling the compiler.
20244
c0ed9d7d
CD
202452012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20246
20247 [BZ # 13963]
20248 * manual/install.texi: Use sourceware.org.
20249
c483f6b4
JM
202502012-04-09 Joseph Myers <joseph@codesourcery.com>
20251
d7dd9453
JM
20252 [BZ #13873]
20253 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20254 (__ieee754_pow): Generate overflow and underflow using huge*huge
20255 and tiny*tiny rather than just returning constant infinity or zero
20256 for large exponents.
20257 * math/libm-test.inc (pow_test): Require overflow exceptions for
20258 applicable cases of large exponents.
20259
c483f6b4
JM
20260 [BZ #706]
20261 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20262 (__ieee754_pow): Use iterative multiplication algorithm only for
20263 integer exponents with absolute value below 1024. Check for odd
20264 integer exponents when using algorithm for real exponents.
20265 * math/libm-test.inc (pow_test): Add more tests.
20266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20267
d2de7579
JM
202682012-04-08 Joseph Myers <joseph@codesourcery.com>
20269
20270 [BZ #13705]
20271 * math/libm-test.inc (exp_test): Do not allow overflow exception
20272 on underflow test.
20273
f77f1232
AJ
202742012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20275
20276 [BZ #13705]
20277 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20278 instead of __kernel_standard_f.
20279
3884932b
MF
202802012-04-08 Mike Frysinger <vapier@gentoo.org>
20281
20282 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20283 * sysdeps/x86_64/memset_chk.S: Likewise.
20284
54472e9c
AJ
202852012-04-08 Andreas Jaeger <aj@suse.de>
20286
6ab0fbfc
AJ
20287 [BZ #10153]
20288 * manual/startup.texi (Environment Access): Describe return value
20289 for putenv and setenv.
20290
61efba8c
AJ
20291 [BZ #6895]
20292 * manual/filesys.texi (Directory Entries): Add description for
20293 DT_LNK.
20294
95c3f29a
AJ
20295 [BZ #6890]
20296 * manual/filesys.texi (Directory Entries): Clarify that it's file
20297 system not operating system in the description of DT_UNKNOWN.
20298
54472e9c
AJ
20299 [BZ #6578]
20300 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20301
624254b1
SC
203022012-04-08 Stephen Compall <s11@member.fsf.org>
20303
20304 [BZ #6649]
20305 * manual/llio.texi (Opening and Closing Files): Add cross
20306 reference to explain mode argument.
20307
1e4920e0
MF
203082012-04-07 Mike Frysinger <vapier@gentoo.org>
20309
20310 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20311 * sysdeps/x86_64/memset_chk.S: Likewise.
20312
5ed848f3
DM
203132012-04-07 David S. Miller <davem@davemloft.net>
20314
20315 * elf/elf.h (R_SPARC_WDISP10): Define.
20316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20317 R_SPARC_SIZE32.
20318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20319 R_SPARC_SIZE64 and R_SPARC_H34.
20320
96154cd8
CD
203212012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20322
20323 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20324 conditions and remove no longer applicable assertion.
20325
9904dc47
L
203262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20327
20328 * bits/byteswap.h: Include <features.h>.
20329 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20330 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20331
f8887d0a
L
203322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20333
20334 * bits/byteswap.h (__bswap_16): Removed.
20335 Include <bits/byteswap-16.h> to get __bswap_16.
20336 * sysdeps/i386/bits/byteswap.h: Likewise.
20337 * sysdeps/s390/bits/byteswap.h: Likewise.
20338 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20339 * bits/byteswap-16.h: New file.
20340 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20341 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20342 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20343 * string/Makefile (headers): Add bits/byteswap-16.h.
20344
62470f60
PP
203452012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20346
20347 [BZ #13895]
20348 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20349 extra indirection.
20350 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20351 * nss/tst-nss-static.c: New.
20352
4dad7bab
RM
203532012-04-06 Robert Millan <rmh@gnu.org>
20354
20355 [BZ #6486]
20356 * manual/llio.texi (File Position Primitive): lseek
20357 refers to WHENCE when it really means OFFSET.
20358
e9142a17
AJ
203592012-04-06 Andreas Jaeger <aj@suse.de>
20360
2c040eff
AJ
20361 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20362 strncmp declarations.
20363
e9142a17
AJ
20364 * abilist/libc.abilist: Add __poll and __ppoll.
20365
ff9f1c5f
DM
203662012-04-05 David S. Miller <davem@davemloft.net>
20367
dcd2ae90
DM
20368 * scripts/check-local-headers.sh: Accept a host triplet in the
20369 path matched by the exclude regexp.
20370
993eb054
DM
20371 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20372 definition.
20373 * sysdeps/powerpc/powerpc32/dl-machine.h
20374 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20375 * sysdeps/s390/s390-32/dl-machine.h
20376 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20377 * sysdeps/sparc/sparc32/dl-machine.h
20378 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20379 * sysdeps/sparc/sparc64/dl-machine.h
20380 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20381
ff9f1c5f
DM
20382 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20383 lazy binding.
48e2e132 20384 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20385 undefined symbol errors.
20386
48e2e132 20387 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20388 DT_NEEDED entries.
20389
e80d6f94
MM
203902012-04-05 Michael Matz <matz@suse.de>
20391
20392 [BZ #13592]
20393 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20394
349fa79f
AJ
203952012-04-05 Andreas Jaeger <aj@suse.de>
20396
20397 [BZ #13908]
20398 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20399 comment.
20400
f402708f
KK
204012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20402
20403 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20404 which ROUND is no valid rounding mode.
20405
2ecccfc9
KK
204062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20407
20408 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20409 read again.
20410 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20411
8a53f50f
KK
204122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20413
20414 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20415 an exception using FPU order intentionally.
20416
204172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20418
20419 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20420 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20421 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20422 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20423
d653abb7
SJ
204242012-04-05 Simon Josefsson <simon@josefsson.org>
20425
20426 [BZ #12340]
20427 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20428 EINVAL when BUFLEN is too smal.
20429
c3b1bf7d
TS
204302012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20431
20432 [BZ #13553]
20433 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20434 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20435
b1aa60f3
AJ
204362012-04-03 Andreas Jaeger <aj@suse.de>
20437
c3b1bf7d 20438 [BZ #13938]
67f60a26
AJ
20439 * manual/setjmp.texi (System V contexts): Fix sentence.
20440
b1aa60f3
AJ
20441 [BZ #13926]
20442 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20443 New macro for this case.
20444 [!__GNUC__] (__bswap_64): New inline function for this case.
20445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20446 * bits/byteswap.h: Likewise.
20447 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20448 ull, guard with __GLIBC_HAVE_LONG_LONG.
20449
20450 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20451 __GLIBC_HAVE_LONG_LONG.
20452
20453 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20454 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20455
39c59c35
TMQMF
204562012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20457
20458 [BZ #13691]
20459 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20460 inptr and inend, rather than using last_ch.
20461
135ffda8
DM
204622012-04-02 David S. Miller <davem@davemloft.net>
20463
20464 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20465 * stdio-common/printf-parse.h (read_int): Change return type to
20466 'int', return -1 on INT_MAX overflow.
20467 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20468 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20469 overflows INT_MAX. Check for overflow of in-format-string precision
20470 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20471 SIZE_MAX not INT_MAX for integer overflow test.
20472 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20473 skip the construct in the format string but do not record anything.
20474 * stdio-common/bug22.c: Adjust to test both width/prevision
20475 INT_MAX overflow as well as total length INT_MAX overflow. Check
20476 explicitly for proper errno values.
20477
228c019e
TS
204782012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20479
302cadd3
TS
20480 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20481 CHAR_MAX.
20482 * string/test-strcmp.c [! WIDE]: Likewise.
20483 * time/tst-mktime2.c: Likewise for INT_MAX.
20484 * string/test-string.h: #include <sys/param.h> for MIN.
20485
228c019e
TS
20486 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20487 * sysdeps/i386/init-first.c (init): Likewise.
20488 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20489 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20490 * sysdeps/sh/init-first.c (init): Likewise.
20491
cfa633f5
UD
204922012-04-01 Ulrich Drepper <drepper@gmail.com>
20493
20494 * po/ru.po: Update from translation team.
d1635ef8 20495 * po/vi.po: Likewise.
cfa633f5 20496
6cd0a5ea
SP
204972012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20498
20499 * resolv/nss_dns/dns-host.c: Merge copyright years.
20500
4b43400f
LD
205012012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20502
20503 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20504 Optimize memcpy with prefetch if
20505 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20506 src, dst pointers have unequal 16 byte alignments.
20507
48c41d04
SP
205082012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20509
20510 [BZ #13928]
20511 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20512 from a CNAME entry and return the minimum ttl for the query.
20513 (gaih_getanswer_slice): Likewise.
20514
b8dc394d
JL
205152012-03-30 Jeff Law <law@redhat.com>
20516
20517 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20518 due to long keys.
20519 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20520 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20521
2f5a5ed0
JL
20522 * resolv/nss_dns/dns-host.c: Update copyright year.
20523
1d39e359
UD
205242012-03-30 Ulrich Drepper <drepper@gmail.com>
20525
c030f70c 20526 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20527 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20528
1d39e359
UD
20529 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20530 comments for sendmmsg.
20531
205322012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20533
20534 [BZ #13691]
20535 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20536 with only 1 character between 0x0041 and 0x01b0.
20537 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20538 * wcsmbs/tst-mbsnrtowcs.c: New file.
20539
20fde227
DM
205402012-03-29 David S. Miller <davem@davemloft.net>
20541
20542 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20543 small copies by hand.
20544
984a4237
JL
205452012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20546
20547 [BZ #13761]
20548 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20549 _nss_compat_initgroups_dyn): Fall back to malloc/free
20550 for large group memberships.
20551
18c9d62b
DM
205522012-03-28 David S. Miller <davem@davemloft.net>
20553
88d85d4f
DM
20554 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20555 that branches into memcpy.
20556 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20557 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20559 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20561 bits.
20562 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20563 implementation too.
20564 * sysdeps/sparc/mempcpy.S: New file.
20565
e5aa83e1
DM
20566 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20567 the IFUNC routine in the libc case.
20568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20569
88570753
DM
20570 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20571 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20572 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20573 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20574 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20575 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20576 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20577 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20578
249d7567
DM
20579 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20580 loop to 256 bytes instead of 64 bytes and fix test signedness.
20581
18c9d62b
DM
20582 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20583 * sysdeps/sparc/sparc32/Makefile: rather than here...
20584 * sysdeps/sparc/sparc64/Makefile: and here.
20585
05f3d1f6
UD
205862012-03-28 Ulrich Drepper <drepper@gmail.com>
20587
20588 * malloc/mallocbug.c: Avoid warnings about unused variables.
20589
86ae07a8
JL
205902012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20591
20592 [BZ #13760]
20593 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20594 in the right place. Discard and retry query if response is
20595 larger than input buffer size.
20596
41bf21a1
JM
205972012-03-28 Joseph Myers <joseph@codesourcery.com>
20598
d6270972
JM
20599 [BZ #369]
20600 [BZ #2678]
20601 [BZ #3866]
20602 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20603 x for large integer exponent.
20604 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20605 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20606 sign of result as needed afterwards.
20607 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20608 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20609 result for underflowing pow the same as for overflow.
20610 (__kernel_standard_l): Handle powl overflow and underflow here
20611 rather than calling __kernel_standard.
20612 * math/libm-test.inc (pow_test): Add more tests.
20613
414fca03 20614 [BZ #3868]
41bf21a1
JM
20615 [BZ #13879]
20616 [BZ #13910]
20617 [BZ #13911]
20618 [BZ #13912]
20619 [BZ #13913]
20620 [BZ #13915]
20621 [BZ #13916]
20622 [BZ #13917]
20623 [BZ #13918]
20624 [BZ #13919]
20625 [BZ #13920]
20626 [BZ #13921]
20627 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20628 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20629 (__kernel_standard_l): New function.
20630 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20631 __kernel_standard.
20632 * math/w_acosl.c (__acosl): Likewise.
20633 * math/w_asinl.c (__asinl): Likewise.
20634 * math/w_atan2l.c (__atan2l): Likewise.
20635 * math/w_atanhl.c (__atanhl): Likewise.
20636 * math/w_coshl.c (__coshl): Likewise.
20637 * math/w_exp10l.c (__exp10l): Likewise.
20638 * math/w_exp2l.c (__exp2l): Likewise.
20639 * math/w_fmodl.c (__fmodl): Likewise.
20640 * math/w_hypotl.c (__hypotl): Likewise.
20641 * math/w_j0l.c (__j0l, __y0l): Likewise.
20642 * math/w_j1l.c (__j1l, __y1l): Likewise.
20643 * math/w_jnl.c (__jnl, __ynl): Likewise.
20644 * math/w_lgammal.c (__lgammal): Likewise.
20645 * math/w_log10l.c (__log10l): Likewise.
20646 * math/w_log2l.c (__log2l): Likewise.
20647 * math/w_logl.c (__logl): Likewise.
20648 * math/w_powl.c (__powl): Likewise.
20649 * math/w_remainderl.c (__remainderl): Likewise.
20650 * math/w_scalbl.c (sysv_scalbl): Likewise.
20651 * math/w_sinhl.c (__sinhl): Likewise.
20652 * math/w_sqrtl.c (__sqrtl): Likewise.
20653 * math/w_tgammal.c (__tgammal): Likewise.
20654 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20655 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20656 * math/libm-test.inc (acos_test): Add more tests.
20657 (acosh_test): Likewise.
20658 (asin_test): Likewise.
20659 (atanh_test): Likewise.
20660 (exp_test): Likewise.
20661 (exp10_test): Likewise.
20662 (exp2_test): Likewise.
20663 (expm1_test): Likewise.
20664 (lgamma_test): Likewise.
20665 (log_test): Likewise.
20666 (log10_test): Likewise.
20667 (log1p_test): Likewise.
20668 (log2_test): Likewise.
20669 (pow_test): Do not allow some spurious overflow exceptions.
20670 (sqrt_test): Add more tests.
20671 (tgamma_test): Likewise.
20672 (y0_test): Likewise.
20673 (y1_test): Likewise.
20674 (yn_test): Likewise.
20675
dd62fda6
AB
206762012-03-27 Anton Blanchard <anton@samba.org>
20677
20678 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20679 MAP_HUGETLB.
20680 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20681 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20682 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20683
1e3cdfda
AJ
206842012-03-27 David S. Miller <davem@davemloft.net>
20685
b855ab85
DM
20686 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20687
1e3cdfda
AJ
20688 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20689 have-as-vis3 check.
20690
206912012-03-27 Andreas Jaeger <aj@suse.de>
20692
20693 * sysdeps/x86_64/elf/configure.in: Moved to ...
20694 * sysdeps/x86_64/configure.in: ... here.
20695 * sysdeps/x86_64/elf/start.S: Moved to ...
20696 * sysdeps/x86_64/start.S: ... here.
20697 * sysdeps/x86_64/elf/configure: Delete.
20698
20699 * sysdeps/x86_64/configure.in: Merge contents from
20700 sysdeps/i386/configure.in (without i686 check).
20701
20702 * sysdeps/i386/elf/Versions: Merge into ...
20703 * sysdeps/i386/Versions: ... this.
20704 * sysdeps/i386/elf/Versions: Delete file.
20705 * sysdeps/i386/elf/start.S: Moved to ...
20706 * sysdeps/i386/start.S: ...here.
20707 * sysdeps/i386/elf/configure.in: Merge into...
20708 * sysdeps/i386/configure.in: ...here.
20709 * sysdeps/i386/elf/configure.in: Delete file.
20710 * sysdeps/i386/elf/configure: Delete file.
20711
20712 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20713 * debug/backtracesyms.c: ... here.
20714 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20715 * debug/backtracesymsfd.c: ... here.
20716 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20717 * sysdeps/generic/ifunc-sel.h: ... here.
20718
20719 * sysdeps/unix/i386/start.c: Delete file.
20720 * sysdeps/unix/sparc/start.c: Delete file.
20721 * sysdeps/unix/start.c: Delete file.
20722
20723 * sysdeps/sh/elf/configure.in: Moved to ...
20724 * sysdeps/sh/configure.in: ... here.
20725 * sysdeps/sh/elf/start.S: Moved to ...
20726 * sysdeps/sh/start.S: ... here.
20727 * sysdeps/sh/elf/configure: Delete file.
20728
20729 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20730 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20731 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20732 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20733 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20734 * sysdeps/powerpc/powerpc64/start.S: here.
20735 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20736 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20737 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20738 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20739 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20740
20741 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20742 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20743 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20744 * sysdeps/powerpc/powerpc32/start.S: ... here.
20745 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20746 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20747 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20748
20749 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20750 * sysdeps/powerpc/ifunc-sel.h: ... here.
20751 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20752 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20753
20754 * sysdeps/sparc/elf/configure.in: Moved to ...
20755 * sysdeps/sparc/configure.in: ... here.
20756 * sysdeps/sparc/elf/configure: Delete file.
20757 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20758 * sysdeps/sparc/sparc32/start.S: ... here.
20759 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20760 * sysdeps/sparc/sparc64/start.S: ... here.
20761 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20762 * sysdeps/sparc/sparc32/Makefile: ... this.
20763 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20764 * sysdeps/sparc/sparc64/Makefile: ... this.
20765
20766 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20767 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20768 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20769 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20770 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20771 * sysdeps/s390/s390-32/setjmp.S: ... here.
20772 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20773 * sysdeps/s390/s390-32/configure.in: ... here.
20774 * sysdeps/s390/s390-32/elf/configure: Delete file.
20775 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20776 * sysdeps/s390/s390-32/start.S: ... here.
20777
20778 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20779 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20780 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20781 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20782 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20783 * sysdeps/s390/s390-64/setjmp.S: ... here.
20784 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20785 * sysdeps/s390/s390-64/configure.in: ... here
20786 * sysdeps/s390/s390-64/elf/configure: Delete file.
20787 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20788 * sysdeps/s390/s390-64/start.S: ... here.
20789 * sysdeps/s390/s390-64/elf/configure: Delete.
20790
20791 * configure.in: Remove support for elf directories in sysdeps.
20792
20793 * configure: Regenerated.
20794 * sysdeps/i386/configure: Regenerated.
20795 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20796 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20797 * sysdeps/s390/s390-32/configure: Regenerated.
20798 * sysdeps/s390/s390-64/configure: Regenerated.
20799 * sysdeps/sh/configure: Regenerated.
20800 * sysdeps/sparc/configure: Regenerated.
20801 * sysdeps/x86_64/configure: Regenerated.
20802
a3f61311
AS
208032012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20804
c876e002
AS
20805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20806
a3f61311
AS
20807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20808 denormal result into account.
20809
ac4c54f0
RM
208102012-03-25 Roland McGrath <roland@hack.frob.com>
20811
20812 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20813 Reported by Allan McRae <allan@archlinux.org>.
20814
6a9b9c02
JL
208152012-03-23 Jeff Law <law@redhat.com>
20816
20817 * nss/getnssent.c (__nss_getent): Fix typo.
20818
4c42a0c1
DM
208192012-03-23 David S. Miller <davem@davemloft.net>
20820
20821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20822
1532c7ac
L
208232012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20824
20825 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20826 to pad to uint64_t for each field.
20827 (dl_tls_index): Replace unsigned long with uint64_t.
20828
3ff42526
PP
208292012-03-23 Daniel Jacobowitz <dmj@google.com>
20830 Paul Pluzhnikov <ppluzhnikov@google.com>
20831
20832 [BZ #6528]
20833 * grp/Makefile (otherlibs): Don't set it.
20834 * inet/Makefile (otherlibs): Likewise.
20835 * login/Makefile (otherlibs): Likewise.
20836 * nscd/Makefile (otherlibs): Likewise.
20837 * posix/Makefile (otherlibs): Likewise.
20838 * pwd/Makefile (otherlibs): Likewise.
20839 * rt/Makefile (otherlibs): Likewise.
20840 * sunrpc/Makefile (otherlibs): Likewise.
20841 * nss/Makefile (otherlibs): Likewise.
20842 Add libnss_files to routines and static-only-routines.
20843 ($(objpfx)getent): Remove rule.
20844 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20845 static-only-routines.
20846
7c69cd14
JM
208472012-03-22 Joseph Myers <joseph@codesourcery.com>
20848
20849 [BZ #13892]
20850 * math/s_cexp.c: Include <float.h>.
20851 (__cexp): Handle exp result overflowing not necessarily
20852 overflowing both real and imaginary parts of result.
20853 * math/s_cexpf.c: Likewise.
20854 * math/s_cexpl.c: Likewise.
20855 * math/libm-test.inc (cexp_test): Add more tests.
20856 * sysdeps/i386/fpu/libm-test-ulps: Update.
20857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20858
81b035fe
L
208592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * include/link.h (ELFW): New macro.
20862 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20863 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20864
1da7940c
L
208652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20866
20867 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20868 with uint64_t.
20869
b749dbb9
L
208702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20871
20872 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20873 declaration.
20874 (struct La_x32_retval): Likewise.
20875
2ff87f3f
L
208762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/x86_64/preconfigure.in: New file.
20879 * sysdeps/x86_64/preconfigure: New generated file.
20880
c0df8e69
JM
208812012-03-22 Joseph Myers <joseph@codesourcery.com>
20882
48e44791
JM
20883 [BZ #13824]
20884 * math/e_exp2l.c: Include <float.h>.
20885 (__ieee754_exp2l): Handle overflow and underflow cases
20886 separately. Only pass fractional part of argument to
20887 __ieee754_expl.
20888 * math/libm-test.inc (exp2_test): Add more tests.
20889
c0df8e69
JM
20890 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20891 negating x to take absolute value.
20892 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20893 Likewise.
20894 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20895 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20896 Likewise.
20897 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20898 computing low part if x was negated.
20899 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20900
c8e43ba7
L
209012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20902
20903 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20904 la_x32_gnu_pltexit.
20905 (pltexit): Cast int_retval to ptrdiff_t.
20906 * elf/tst-auditmod3b.c: Likewise.
20907 * elf/tst-auditmod4b.c: Likewise.
20908 * elf/tst-auditmod5b.c: Likewise.
20909 * elf/tst-auditmod6b.c: Likewise.
20910 * elf/tst-auditmod6c.c: Likewise.
20911 * elf/tst-auditmod7b.c: Likewise.
20912
20913 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20914 and x32_gnu_pltexit.
20915
20916 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20917 __ELF_NATIVE_CLASS.
20918 (La_x32_regs): New macro.
20919 (La_x32_retval): Likewise.
20920 (la_x32_gnu_pltenter): New function prototype.
20921 (la_x32_gnu_pltexit): Likewise.
20922
7998fa78
AS
209232012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20924
dcb33988
AS
20925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20926 exponent.
20927
233fc563
AS
20928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20929
7998fa78
AS
20930 * configure.in (libc_cv_cc_nofma): Check for option to disable
20931 generation of FMA instructions.
20932 * configure: Regenerate.
20933 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20934 * sysdeps/ieee754/dbl-64/Makefile: New file.
20935 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20936 Remove brandred-fma4.
20937 (CFLAGS-brandred-fma4.c): Remove.
20938 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20939 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20940 define.
20941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20942 define.
20943
8e95c99a
L
209442012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20945
20946 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20947 LLONG_MAX != LONG_MAX.
20948 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20949 (_fitoa_word): Likewise.
20950 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20951 LLONG_MAX != LONG_MAX.
20952 * stdio-common/_itowa.h: Include <_itoa.h>.
20953 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20954 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20955 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20956 only if not defined.
20957 (_ITOA_WORD_TYPE): Likewise.
20958 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20959 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20960
6f4db457
DM
209612012-03-21 David S. Miller <davem@davemloft.net>
20962
20963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20964
7785fe5a
L
209652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20968 of x86_64 when setting libc_cv_slibdir, libdir and
20969 libc_cv_localedir.
20970 * sysdeps/unix/sysv/linux/configure: Regenerated.
20971
4535cd55
JM
209722012-03-21 Joseph Myers <joseph@codesourcery.com>
20973
20974 * manual/lang.texi (Old Varargs): Remove section.
20975 (How Variadic): Update menu.
20976 (va_start): Do not mention varargs.h.
20977
17228132
TS
209782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20979 Joseph Myers <joseph@codesourcery.com>
20980
20981 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20982 link test.
20983 * configure: Regenerated.
20984
8149f976
TS
209852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20986
05f3d1f6
UD
20987 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20988 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20989 conformtest.pl
8149f976 20990
1a4ac776
JM
209912012-03-21 Joseph Myers <joseph@codesourcery.com>
20992
be22ce65
JM
20993 * NOTES: Remove.
20994 * Makefile (files-for-dist): Remove NOTES.
20995 (NOTES): Remove rule.
20996 * README: Don't refer to NOTES.
20997 * manual/creature.texi: Don't include macros.texi.
20998 * manual/intro.texi (creature.texi): Remove comment referring to
20999 NOTES.
21000
40b601fb
JM
21001 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21002 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21003 * configure: Regenerated.
21004 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21005 LIBC_TRY_CC_OPTION.
21006 (libc_cv_as_i686): Likewise.
21007 (libc_cv_cc_avx): Likewise.
21008 (libc_cv_cc_sse2avx): Likewise.
21009 (libc_cv_cc_fma4): Likewise.
21010 (libc_cv_cc_novzeroupper): Likewise.
21011 * sysdeps/i386/configure: Regenerated.
21012
1a4ac776
JM
21013 [BZ #13883]
21014 * sysdeps/i386/fpu/s_cexp.S: Remove.
21015 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21016 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21017 * math/libm-test.inc (cexp_test): Add more tests.
21018 * sysdeps/i386/fpu/libm-test-ulps: Update.
21019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21020
a458e7fe
AM
210212012-03-21 Allan McRae <allan@archlinux.org>
21022
21023 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21024
0cb7efc5
JM
210252012-03-21 Joseph Myers <joseph@codesourcery.com>
21026
21027 [BZ #13871]
21028 * math/w_exp2.c: Do not include <float.h>.
21029 (o_threshold, u_threshold): Remove.
21030 (__exp2): Calculate result before checking finiteness and calling
21031 __kernel_standard.
21032 * math/w_exp2f.c: Likewise.
21033 * math/w_exp2l.c: Likewise.
21034 * math/libm-test.inc (exp2_test): Require overflow exception for
21035 1e6 input.
2460d3aa
JM
21036
21037 [BZ #3866]
21038 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21039 range of signed 64-bit integers before using fistpll. Remove
21040 checks for whether integers fit in mantissa bits.
21041 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21042 the range of signed 32-bit integers before using fistpl. Remove
21043 checks for whether integers fit in mantissa bits.
21044 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21045 (__ieee754_powl): Test for y outside the range of signed 64-bit
21046 integers before using fistpll. Reduce 64-bit values to 63-bit
21047 ones as needed.
21048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21049 divide-by-zero is raised for zero to large negative powers.
21050 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21051 (__ieee754_powl): Test for y outside the range of signed 64-bit
21052 integers before using fistpll. Reduce 64-bit values to 63-bit
21053 ones as needed.
21054 * math/libm-test.inc (pow_test): Add more tests.
21055
eb96ffb0
L
210562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21057
21058 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21059 <stdio-common/_itoa.h>.
21060 * debug/segfault.c: Likewise.
21061 * elf/dl-cache.c: Likewise.
21062 * elf/dl-minimal.c: Likewise.
21063 * elf/dl-misc.c: Likewise.
21064 * elf/dl-sysdep.c: Likewise.
21065 * elf/dl-version.c: Likewise.
21066 * elf/rtld.c: Likewise.
21067 * hurd/hurdsock.c: Likewise.
21068 * hurd/lookup-retry.c: Likewise.
21069 * malloc/malloc.c: Likewise.
21070 * malloc/mtrace.c: Likewise.
21071 * nscd/nscd_getgr_r.c: Likewise.
21072 * nscd/nscd_getpw_r.c: Likewise.
21073 * nscd/nscd_getserv_r.c: Likewise.
21074 * posix/getopt_init.c: Likewise.
21075 * posix/wordexp.c: Likewise.
21076 * stdio-common/_itoa.c: Likewise.
21077 * stdio-common/printf_fphex.c: Likewise.
21078 * stdio-common/vfprintf.c: Likewise.
21079 * string/_strerror.c: Likewise.
21080 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21081 * sysdeps/i386/i686/hp-timing.h: Likewise.
21082 * sysdeps/mach/_strerror.c: Likewise.
21083 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21084 * sysdeps/mach/hurd/sethostid.c: Likewise.
21085 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21086 * sysdeps/mach/xpg-strerror.c: Likewise.
21087 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21089 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21090 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21091 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21092 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21093 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21094 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21095 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21096 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21097 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21098 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21099 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21100 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21101 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21102 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21103 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21104 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21105 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21106 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21107 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21108
21109 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21110
21111 * stdio-common/_itoa.h: Moved to ...
21112 * sysdeps/generic/_itoa.h: Here.
21113
21114 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21115
21116 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21117 instead of "_itoa.h" and "_itowa.h".
21118 * stdio-common/vfprintf.: Likewise.
21119
d1af992d
L
211202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21121
21122 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21123 <bits/wordsize.h>.
21124 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21125 (__signbit): Likwise.
21126 (llrintf): Likwise.
21127 (llrint): Likwise.
21128
114883e0
L
211292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21130
21131 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21132 __WORDSIZE != 64.
21133
c135cc1b
JM
211342012-03-20 Joseph Myers <joseph@codesourcery.com>
21135
21136 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21137 OVERFLOW_EXCEPTION_OK.
21138 * math/libm-test.inc ("Philosophy"): Update comment about
21139 exception testing.
21140 (OVERFLOW_EXCEPTION): Define.
21141 (OVERFLOW_EXCEPTION_OK): Likewise.
21142 (INVALID_EXCEPTION_OK): Renumber.
21143 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21144 (IGNORE_ZERO_INF_SIGN): Likewise.
21145 (test_exceptions): Handle FE_OVERFLOW.
21146 (exp10_test): Expect overflow exceptions.
21147 (exp2_test): Likewise.
21148 (expm1_test): Likewise.
21149 (nextafter_test): Likewise.
21150 (pow_test): Likewise.
21151 (scalbn_test): Likewise.
21152 (scalbln_test): Likewise.
21153
95443d88
L
211542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21155
21156 * sysdeps/x86_64/bits/atomic.h
21157 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21158 64bit integer.
21159 (atomic_exchange_acq): Likewise.
21160 (__arch_exchange_and_add_body): Likewise.
21161 (__arch_add_body): Likewise.
21162 (atomic_add_negative): Likewise.
21163 (atomic_add_zero): Likewise.
21164
490df6c4
L
211652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21166
c2722551 21167 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21168 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21169
5e52b189
L
211702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21171
21172 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21173 Check __x86_64__ instead of __WORDSIZE.
21174
a9879d4c
L
211752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21176
21177 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21178
5df98260
DM
211792012-03-19 David S. Miller <davem@davemloft.net>
21180
e1497744
DM
21181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21182
5df98260
DM
21183 * sysdeps/sparc/fpu/fenv_private.h: New file.
21184 * sysdeps/sparc/fpu/math_private.h: Use it.
21185 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21186 Remove.
21187 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21188 (libc_feholdexcept_setroundl): Remove.
21189 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21190 Remove.
21191 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21192 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21193
b4c35121
L
211942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21195
21196 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21197 int64_t instead of long int.
21198 (INSERT_WORDS64): Likwise.
21199
56965fd7
L
212002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21201
21202 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21203 _Unwind_GetCFA return to _Unwind_Ptr first.
21204
83d1aec8
JM
212052012-03-19 Joseph Myers <joseph@codesourcery.com>
21206
1897ad44
JM
21207 [BZ #13629]
21208 * math/s_clog.c: Include <float.h>.
21209 (__clog): Scale large or subnormal inputs.
21210 * math/s_clogf.c: Likewise.
21211 * math/s_clogl.c: Likewise.
21212 * math/s_clog10.c: Include <float.h>.
21213 (M_LOG10_2): Define.
21214 (__clog10): Scale large or subnormal inputs.
21215 * math/s_clog10f.c: Likewise.
21216 * math/s_clog10l.c: Likewise.
21217 * math/libm-test.inc (clog_test): Add more tests.
21218 (clog10_test): Likewise.
21219 * sysdeps/i386/fpu/libm-test-ulps: Update.
21220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21221
7726d6a9
JM
21222 [BZ #11451]
21223 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21224 x and y.
21225 * math/libm-test.inc (atan2_test): Add another test.
21226
83d1aec8
JM
21227 * Makerules (common-objdir-compile): Remove.
21228 * sysdeps/unix/Makefile (config-generated): Do not add
21229 $(unix-generated) to variable.
21230 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21231 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21232 Remove rule.
21233 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21234 Likewise.
21235 [generic bits/local_lim.h] (before-compile): Do not append to
21236 variable.
21237 [generic bits/local_lim.h] (common-generated): Likewise.
21238 [generic sys/param.h] (before-compile): Do not append to variable.
21239 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21240 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21241 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21242 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21243 include.
21244 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21245 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21246 [generic sys/param.h] ($(addprefix
21247 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21248 [generic sys/param.h] (common-generated): Do not append to
21249 variable.
21250 [generic sys/param.h] (sysdep_headers): Likewise.
21251 [generic bits/errno.h] (before-compile): Do not append to
21252 variable.
21253 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21254 rule.
21255 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21256 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21257 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21258 [generic bits/errno.h] (common-generated): Do not append to
21259 variable.
21260 [generic bits/ioctls.h] (before-compile): Do not append to
21261 variable.
21262 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21263 rule.
21264 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21265 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21266 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21267 rule.
21268 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21269 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21270 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21271 [generic bits/ioctls.h] (common-generated): Do not append to
21272 variable.
21273 [generic sys/syscall.h] (syscall.h): Remove variable.
21274 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21275 rule.
21276 [generic sys/syscall.h] (before-compile): Do not append to
21277 variable.
21278 [generic sys/syscall.h] (common-generated): Likewise.
21279 * sysdeps/unix/errnos-tmpl.c: Remove file.
21280 * sysdeps/unix/errnos.awk: Likewise.
21281 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21282 * sysdeps/unix/ioctls.awk: Likewise.
21283 * sysdeps/unix/mk-local_lim.c: Likewise.
21284 * sysdeps/unix/snarf-ioctls: Likewise.
21285
4851a949
RH
212862012-03-19 Richard Henderson <rth@twiddle.net>
21287
bd37f2ee
RH
21288 * sysdeps/i386/fpu/fenv_private.h: New file.
21289 * sysdeps/i386/fpu/math_private.h: Use it.
21290 (math_opt_barrier, math_force_eval): Remove.
21291 (libc_feholdexcept_setround_53bit): Remove.
21292 (libc_feupdateenv_53bit): Remove.
21293 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21294 (math_opt_barrier, math_force_eval): Remove.
21295 (libc_feholdexcept): Remove.
21296 (libc_feholdexcept_setround): Remove.
21297 (libc_fetestexcept, libc_fesetenv): Remove.
21298 (libc_feupdateenv_test): Remove.
21299 (libc_feupdateenv, libc_feholdsetround): Remove.
21300 (libc_feresetround): Remove.
21301
d0adc922
RH
21302 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21303 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21304
0fe0f1f8
RH
21305 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21306 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21307 (libc_feupdateenv_testl): New.
21308 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21309 (libc_feupdateenv_testf): New.
21310 (libc_feupdateenv): Use libc_feupdateenv_test.
21311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21312 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21313
eb92c487
RH
21314 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21315 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21316 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21317 (libc_feresetround_noex): New.
21318 (libc_feresetround_noexf): New.
21319 (libc_feresetround_noexl): New.
21320 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21321 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21322 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21323 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21324 SET_RESTORE_ROUND.
21325 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21327 (__cos): Likewise.
21328 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21329 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21330 SET_RESTORE_ROUND_NOEX.
21331 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21332 SET_RESTORE_ROUND_NOEXF.
21333 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21334 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21335 (libc_feholdsetroundf): New.
21336 (libc_feresetround, libc_feresetroundf): New.
21337
7d2e8012
RH
21338 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21339 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21340 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21341
b4dabbb4
RH
21342 * sysdeps/generic/math_private.h: Include <fenv.h>.
21343 (default_libc_feholdexcept): New.
21344 (default_libc_feholdexcept_setround): New.
21345 (default_libc_fesetenv, default_libc_feupdateenv): New.
21346 (libc_feholdexcept): Only define if undefined.
21347 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21348 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21349 (libc_feholdexcept_setroundl): Likewise.
21350 (libc_feholdexcept_setround_53bit): Likewise.
21351 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21352 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21353 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21354 (libc_feupdateenv_53bit): Likewise.
21355 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21356 (libc_feholdexcept): Convert from macro to inline function.
21357 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21358 (libc_fesetenv, libc_feupdateenv): Likewise.
21359
4851a949
RH
21360 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21361 not previously defined.
21362 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21363 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21364 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21365 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21366 * sysdeps/ieee754/flt-32/math_private.h: New file.
21367 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21368 math_private.h below SET_FLOAT_WORD.
21369 (__isnan, __isinf_ns, __finite): Remove.
21370 (__isnanf, __isinf_nsf, __finitef): Remove.
21371
e79d442e
AS
213722012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21373
21374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21375
90b80344
DM
213762012-03-17 David S. Miller <davem@davemloft.net>
21377
21378 [BZ #6471]
21379 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21380 for 2.16.
21381
edc21804
DM
213822012-03-16 David S. Miller <davem@davemloft.net>
21383
77e927af
DM
21384 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21385 warnings.
21386
374976dd
DM
21387 [BZ #6471]
21388 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21389 properly.
21390 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21391 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21392 sysdep_routines when subdir is sysvipc.
21393 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21394 __getshmlba helper.
21395
edc21804
DM
21396 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21397
473c3ef3
L
213982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21401 [__LP64__].
21402
eb0f39b6
L
214032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21404
21405 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21406 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21407 (__lround): Renamed to ...
21408 (__llround): This. Replace long int with long long int.
21409 Define lround functions as aliases of llround functions.
21410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21411
6b6cd74b
L
214122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21415 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21416 adresses to uintptr_t. Replace "long int" and "unsigned long
21417 int" with "greg_t" on va_arg.
21418
f1a77b01
L
214192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21420
21421 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21422 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21423
21424 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21425 Move e_machine check before EI_CLASS check. Handle x32
21426 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21427 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21428 SKIP_EM_IA_64 and include
21429 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21430
21431 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21432 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21433 (add_system_dir): New macro.
21434
21435 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21436 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21437
11b90b9f
JM
214382012-03-16 Joseph Myers <joseph@codesourcery.com>
21439
c36e1d23
JM
21440 [BZ #2551]
21441 [BZ #2552]
21442 [BZ #2553]
21443 [BZ #2554]
21444 [BZ #2562]
21445 [BZ #2563]
21446 [BZ #2565]
21447 [BZ #2566]
21448 [BZ #2576]
21449 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21450 (y0): Likewise.
21451 * math/w_j0f.c (j0f): Likewise.
21452 (y0f): Likewise.
21453 * math/w_j0l.c (__j0l): Likewise.
21454 (__y0l): Likewise.
21455 * math/w_j1.c (j1): Likewise.
21456 (y1): Likewise.
21457 * math/w_j1f.c (j1f): Likewise.
21458 (y1f): Likewise.
21459 * math/w_j1l.c (__j1l): Likewise.
21460 (__y1l): Likewise.
21461 * math/w_jn.c (jn): Likewise.
21462 (yn): Likewise.
21463 * math/w_jnf.c (jnf): Likewise.
21464 (ynf): Likewise.
21465 * math/w_jnl.c (__jnl): Likewise.
21466 (__ynl): Likewise.
21467 * math/libm-test.inc (j0_test): Add more tests.
21468 (j1_test): Likewise.
21469 (jn_test): Likewise. Add trailing semicolon to existing test.
21470 (y0_test): Likewise.
21471 (y1_test): Likewise.
21472 * sysdeps/i386/fpu/libm-test-ulps: Update.
21473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21474
11b90b9f
JM
21475 [BZ #13851]
21476 [BZ #13854]
21477 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21478 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21479 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21480 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21481 (__tanl): Set errno for infinite argument.
21482 * sysdeps/i386/fpu/mptan.c: Remove.
21483 * sysdeps/i386/fpu/s_tan.S: Likewise.
21484 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21485 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21486 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21487 * math/libm-test.inc (tan_test): Add more tests and enable more
21488 tests for double and long double.
21489 * sysdeps/i386/fpu/libm-test-ulps: Update.
21490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21491
6a1bd2a1
JK
214922012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21493
21494 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21495 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21496
10a803e0
RM
214972012-03-16 Roland McGrath <roland@hack.frob.com>
21498
21499 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21500 * configure.in: Use it for both main tree and add-ons.
21501 * configure: Regenerated.
21502
f196c7f7
L
215032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21506
8848d99d
JM
215072012-03-16 Joseph Myers <joseph@codesourcery.com>
21508
96cbe7f4
JM
21509 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21510 in comment.
21511
8848d99d
JM
21512 [BZ #13851]
21513 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21514 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21518 infinite argument.
21519 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21520 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21521 != 0 for prec == 2.
21522 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21523 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21524 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21525 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21526 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21527 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21528 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21529 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21530 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21531 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21532 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21533 * math/libm-test.inc (cos_test): Add more tests and enable more
21534 tests for long double.
21535 (sin_test): Likewise.
21536 (sincos_test): Likewise.
21537 * sysdeps/i386/fpu/libm-test-ulps: Update.
21538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21539
dd7f4703
DM
215402012-03-16 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/sparc/fpu/math_private.h: New file.
21543
006f1daa
DM
215442012-03-15 David S. Miller <davem@davemloft.net>
21545
c0c83bc8
DM
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21547 file.
e6a62e18 21548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21550 file.
e6a62e18
DM
21551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21557 sysdep routines.
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21559
88cb87d9
DM
21560 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21561 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21562
006f1daa 21563 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21565 sparc-ifunc.h
006f1daa 21566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21568 Likewise.
21569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21570 Likewise.
006f1daa
DM
21571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21575 Likewise.
006f1daa
DM
21576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21581 Likewise.
21582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21583 Likewise.
006f1daa
DM
21584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21590 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21602 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21608
11e0098e
AS
216092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21610
21611 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21612 scaling.
21613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21614
e85b09d0
AJ
216152012-03-15 Andreas Jaeger <aj@suse.de>
21616
21617 [BZ #13852]
21618 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21619 ieee754/flt-32 implementation for sin, cos and sincos.
21620 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21621 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21622 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21623 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21624 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21625 ieee754/flt-32 implementation for tan.
21626
21627 * math/libm-test.inc (cos_test): Enable some large input tests for
21628 float as well
21629 (sin_test): Likewise.
21630 (sincos_test): Likewise.
21631 (tan_test): Add tests for large input.
21632
21633 * sysdeps/i386/fpu/libm-test-ulps: Update.
21634
81c64153
AJ
216352012-03-15 Andreas Jaeger <aj@suse.de>
21636
21637 [BZ #13658]
21638 * math/libm-test.inc (cos_test): Add more test cases.
21639 (sin_test): Likewise.
21640 (sincos_test): Likewise.
21641
7bbfa5c6
AJ
216422012-03-15 Andreas Jaeger <aj@suse.de>
21643
21644 [BZ #13837]
21645 * math/libm-test.inc (cos_test): Add a test case for large input
21646 value.
21647 (sin_test): Likewise.
21648 (sincos_test): Likewise.
21649
216502012-03-15 Andreas Jaeger <aj@suse.de>,
21651 Joseph Myers <joseph@codesourcery.com>
21652
21653 [BZ #13658]
0671f479 21654 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21655 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21656 * sysdeps/i386/fpu/branred.c: Likewise.
21657 * sysdeps/i386/fpu/dosincos.c: Likewise.
21658 * sysdeps/i386/fpu/mpa.c: Likewise.
21659 * sysdeps/i386/fpu/s_cos.S: Likewise.
21660 * sysdeps/i386/fpu/s_sin.S: Likewise.
21661 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21662 * sysdeps/i386/fpu/sincos32.c: Likewise.
21663
21664 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21665 Define.
21666 (libc_feupdateenv_53bit): Define.
21667 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21668 Define.
21669 (libc_feupdateenv_53bit): Define.
21670
21671 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21672 53 bit (without extend i386 double precision).
21673
21674 * math/libm-test.inc (sincos_test): Add tests for large input.
21675 (sin): Likewise.
21676 (cos): Likewise.
21677
21678 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21679
9cad04ea
AS
216802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21681
21682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21683
f7062b9a
DM
216842012-03-15 David S. Miller <davem@davemloft.net>
21685
21686 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21687 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21688 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21689 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21702 file.
f7062b9a 21703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21705 file.
f7062b9a 21706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21708 file.
f7062b9a 21709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21711 file.
f7062b9a
DM
21712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21713 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21714 fmin/fmax sysdep routines.
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21716
7bd951ff
DM
217172012-03-14 David S. Miller <davem@davemloft.net>
21718
559398ab
DM
21719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21739 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21740 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21743 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21748 routines.
21749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21750 file.
559398ab 21751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21753 file.
559398ab 21754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21756 file.
559398ab 21757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21759 file.
559398ab 21760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21762 file.
559398ab 21763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21765 file.
21766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21767 file.
21768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21769 file.
21770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21771 file.
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21773 New file.
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21775 file.
21776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21777 file.
559398ab 21778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21780 file.
559398ab 21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21783 file.
559398ab 21784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21786 file.
559398ab 21787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21789 VIS3 routines.
559398ab
DM
21790
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21792 New file.
21793
5a1c1e32
DM
21794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21795
eae47a36
DM
21796 * sysdeps/sparc/configure.in: New file.
21797 * sysdeps/sparc/configure: Generate.
21798 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21799 * configure: Regenerate.
21800 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21801 * config.make.in (have-as-vis3): New.
21802 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21803 available use -Av9d instead of -Av9a.
21804 * sysdeps/sparc/sparc64/Makefile: Likewise.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21807 New file.
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21809 file.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21811 New file.
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21813 file.
eae47a36
DM
21814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21819
c0c83bc8
DM
21820 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21821 fzeros/fnegs to load 0x80000000 into a float register instead of
21822 using the stack.
7bd951ff
DM
21823 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21824
bd951ccb
JM
218252012-03-14 Joseph Myers <joseph@codesourcery.com>
21826
21827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21828 bits/syscall.h.
21829 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21830 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21831 ($(inst_includedir)/bits/syscall.h): Remove rule.
21832 ($(objpfx)bits/syscall.d): Include instead of
21833 $(objpfx)syscall-list.d.
21834 (generated): Change syscall-list.h and syscall-list.d to
21835 bits/syscall.h and bits/syscall.d.
21836
bb4e6db2
RM
218372012-03-14 Roland McGrath <roland@hack.frob.com>
21838
21839 [BZ #13846]
21840 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21841
aa4a2ae1
JM
218422012-03-14 Joseph Myers <joseph@codesourcery.com>
21843
e456826d
JM
21844 [BZ #13841]
21845 * math/s_csqrt.c: Include <float.h>.
21846 (__csqrt): Scale large or subnormal inputs.
21847 * math/s_csqrtf.c: Likewise.
21848 * math/s_csqrtl.c: Likewise.
21849 * math/libm-test.inc (csqrt_test): Add more tests.
21850 * sysdeps/i386/fpu/libm-test-ulps: Update.
21851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21852
aa4a2ae1
JM
21853 [BZ #13840]
21854 * math/libm-test.inc (hypot_test): Add more tests.
21855
7c10fd35
DM
218562012-03-13 David S. Miller <davem@davemloft.net>
21857
21858 [BZ #13840]
21859 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21860 double-precision for the calculation instead of scaling.
21861
f453b98b
JM
218622012-03-13 Joseph Myers <joseph@codesourcery.com>
21863
21864 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21865 manipulate bits before adding and subtracting TWO52[sx].
21866 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21867 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21868 Likewise.
21869 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21870
09a3453f
DM
218712012-03-13 David S. Miller <davem@davemloft.net>
21872
8e59da90
DM
21873 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21874 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21876 rtld-global-offsets.h
21877 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21878
2a8ab7f2
DM
21879 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21880 large parameters.
21881
10f62770
DM
21882 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21883
5f0bdb18
DM
21884 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21885 'err' in the ifdef scope in which it is actually used.
21886
09a3453f
DM
21887 * nss/nss_db/db-init.c: Include string.h
21888
b4b2eb5e
DM
218892012-03-12 David S. Miller <davem@davemloft.net>
21890
98bb2f1c
DM
21891 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21892 masking out of the most significant byte of random value used.
21893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21894 Fix coding style in previous change.
21895
b4b2eb5e
DM
21896 * sysdeps/unix/sysv/linux/kernel-features.h
21897 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21898 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21899 expression.
21900 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21901 later.
21902
6e226b09
DM
219032012-03-11 David S. Miller <davem@davemloft.net>
21904
a1bcbd40
DM
21905 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21906 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21907 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21908 for 'resultvar' otherwise things get truncated on 64-bit.
21909
cb9d6174
DM
21910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21911 Fix masking out of the most significant byte of random value used.
21912
6e226b09
DM
21913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21914
058c132d
AS
219152012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21916
21917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21918
2d2cd515
DM
219192012-03-09 David S. Miller <davem@davemloft.net>
21920
21921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21922 variables with appropriate CPP guards.
21923 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21924 frame pointer, not the stack pointer. Correct layout comments. Fix test
21925 on resulting framesize and the management of the outregs buffer for pltexit.
21926 Preserve floating point return values across _dl_call_pltexit call.
21927 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21928 framesize and the management of the outregs buffer for pltexit.
21929 Preserve floating point return values across _dl_call_pltexit
21930 call.
21931 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21932 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21933 (print_exit): Fix format string for return register value.
21934
9a07f9d0
JM
219352012-03-10 Joseph Myers <joseph@codesourcery.com>
21936
21937 * sunrpc/Makefile (others): Add rpcgen.
21938 ($(objpfx)rpcgen): Remove special build rule and dependency on
21939 libc.
21940 * sunrpc/rpcgen.c: New file.
21941
547b5e30
PE
219422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21943
c524201a
PE
21944 [BZ #13673]
21945 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21946 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21947 * sysdeps/i386/crti.S: Likewise.
21948 * sysdeps/i386/crtn.S: Likewise.
21949 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21950 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21951 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21952 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21953 * sysdeps/sh/crti.S: Likewise.
21954 * sysdeps/sh/crtn.S: Likewise.
21955 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21956
7b6235f2
PE
21957 [BZ #13673]
21958 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21959 with URL.
21960 * locale/programs/locfile-kw.gperf: Likewise.
21961 * locale/programs/charmap-kw.h: Regenerated.
21962 * locale/programs/locfile-kw.h: Likewise.
21963
547b5e30
PE
21964 [BZ #13673]
21965 * intl/plural.y: Replace FSF snail mail address with URL.
21966 * intl/plural.c: Regenerated.
21967
5f0a5dae
RH
219682012-03-09 Richard Henderson <rth@twiddle.net>
21969
21970 * include/math_private.h: Remove file.
21971 * math/math_private.h: Move file ...
21972 * sysdeps/generic/math_private.h: ... here.
21973
b8c03620
RH
21974 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21975 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21977
4e234f5d 21978 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21979 and <math_private.h>.
21980 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21981 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21982 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21983 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21984 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22059 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22060 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22061 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22063 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22064 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22068 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22069 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22070 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22071 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22072 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22073 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22074 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22075 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22076 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22077 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22078 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22079 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22080 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22081 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22082 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22083 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22084 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22085 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22086 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22087 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22088 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22089 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22090 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22091 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22092 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22093 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22094 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22097 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22098 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22099 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22100 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22101 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22102 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22103 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22105 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22106 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22107 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22108 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22109 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22110 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22111 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22112 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22114 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22115 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22116 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22118 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22119 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22120 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22124 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22128 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22129 * sysdeps/ieee754/k_standard.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22249 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22250 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22252 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22257 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22290 * sysdeps/ieee754/s_lib_version.c: Likewise.
22291 * sysdeps/ieee754/s_matherr.c: Likewise.
22292 * sysdeps/ieee754/s_signgam.c: Likewise.
22293 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22294 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22295 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22296 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22298 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22299 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22300 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22301 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22302 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22303 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22304 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22305 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22306 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22307 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22308 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22309 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22310 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22311 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22312 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22313 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22314
1991fa03
JM
223152012-03-09 Joseph Myers <joseph@codesourcery.com>
22316
22317 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22318 * sunrpc/rpc_main.c: Likewise.
22319 * sunrpc/rpc_svcout.c: Likewise.
22320
60d6f5a6
DM
223212012-03-09 David S. Miller <davem@davemloft.net>
22322
22323 * include/math_private.h: New file.
22324
4962050e
JM
223252012-03-09 Joseph Myers <joseph@codesourcery.com>
22326
02a6f887
JM
22327 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22328 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22329 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22330 from <bits/socket_type.h>.
22331 (enum __socket_type): Don't define here.
22332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22334 bits/socket_type.h.
22335
c6e013c1
JM
22336 [BZ #13566]
22337 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22338 checking __USE_GNU.
22339
4962050e
JM
22340 * Makerules ($(inst_includedir)/%.h): New rule.
22341 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22342 (install-others): Remove variable setting.
22343 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22344
38842f45
RH
223452012-03-08 Richard Henderson <rth@twiddle.net>
22346
67bb6da6
RH
22347 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22348 from macro to inline function; merge with the
22349 !__LIBC_INTERNAL_MATH_INLINES version.
22350 (__ieee754_sqrtf): Likewise.
22351
15194b4b
RH
22352 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22353 to inline function.
22354 (__rintf, __floor, __floorf): Likewise.
22355
64e21ede
RH
22356 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22357 macro to inline function.
22358 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22359
38842f45
RH
22360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22361 not <math/math_private.h>.
22362
c64bf5fe
DM
223632012-03-08 David S. Miller <davem@davemloft.net>
22364
22365 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22366 copyright year.
22367 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22368
82d86f28
TS
223692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22370
22371 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22372 normalization.
22373 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22374 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22375
aea5d727
UD
223762012-03-08 Ulrich Drepper <drepper@gmail.com>
22377
22378 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22379 be defined individually, they must be defined as a block. Define
22380 S for printing a string instead of hidint the different by using a
22381 macro for adding the 'l'.
22382 * stdio-common/tst-fphex-wide.c: Adjust.
22383
70bca0a3
MP
223842012-03-07 Marek Polacek <polacek@redhat.com>
22385
22386 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22387
65b81130
MP
223882012-03-08 Marek Polacek <polacek@redhat.com>
22389
22390 [BZ #13806]
22391 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22392 * stdio-common/tst-fphex.c: Define a few macros to make the
22393 test reusable. Use them.
22394 * stdio-common/tst-fphex-wide.c: New file.
22395
07037eeb
JM
223962012-03-08 Joseph Myers <joseph@codesourcery.com>
22397
a7a93d50
JM
22398 [BZ #6911]
22399 * manual/macros.texi (gnusystems): New macro.
22400 (nongnusystems): Likewise.
22401 (gnulinuxhurdsystems): Likewise.
22402 (gnuhurdsystems): Likewise..
22403 (gnulinuxsystems): Likewise.
22404 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22405 variants of the GNU system, not "GNU system".
22406 * manual/conf.texi: Likewise.
22407 * manual/errno.texi: Likewise. Update example of errno macro
22408 expansion.
22409 * manual/filesys.texi: Likewise.
22410 (getumask): Document as specific to GNU/Hurd.
22411 * manual/install.texi: Likewise. Reword some references to
22412 GNU/Linux.
22413 * manual/intro.texi: Likewise.
22414 * manual/io.texi: Likewise.
22415 (File Name Portability): Detail which constraints are inapplicable
22416 to all GNU systems and which are only inapplicable to GNU/Hurd.
22417 * manual/job.texi: Likewise.
22418 * manual/llio.texi: Likewise.
22419 (O_NOCTTY): Document as present on GNU/Linux.
22420 * manual/maint.texi: Likewise.
22421 * manual/memory.texi: Likewise.
22422 * manual/pattern.texi: Likewise.
22423 * manual/pipe.texi: Likewise.
22424 * manual/process.texi: Likewise.
22425 * manual/resource.texi: Likewise.
22426 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22427 child on GNU/Hurd.
22428 * manual/setjmp.texi: Likewise.
22429 * manual/signal.texi: Likewise.
22430 * manual/startup.texi: Likewise.
22431 * manual/stdio.texi: Likewise.
22432 * manual/terminal.texi: Likewise.
22433 (ONLCR): Document as POSIX.
22434 (OXTABS): Document availability on GNU/Linux as XTABS.
22435 (ONOEOT): Document availability separately from other bits.
22436 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22437 * manual/time.texi: Likewise.
22438 * manual/users.texi: Likewise.
22439 * INSTALL: Regenerated.
22440 * sysdeps/gnu/errlist.c: Regenerated.
22441
07037eeb
JM
22442 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22443 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22444 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22445 puts.
22446 * configure: Regenerated.
22447
d1d3431a
JM
224482012-03-07 Joseph Myers <joseph@codesourcery.com>
22449
af6a1e37
JM
22450 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22451 default includes instead of AC_HEADER_CHECK.
22452 * sysdeps/i386/configure: Regenerated.
22453
d1d3431a
JM
22454 [BZ #10716]
22455 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22456 * math/s_cacoshf.c (__cacoshf): Likewise.
22457 * math/s_cacoshl.c (__cacoshl): Likewise.
22458 * math/s_casinh.c (__casinh): Set signs of result from argument.
22459 * math/s_casinhf.c (__casinhf): Likewise.
22460 * math/s_casinhl.c (__casinhl): Likewise.
22461 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22462 (casinh_test): Add more tests.
22463 * sysdeps/i386/fpu/libm-test-ulps: Update.
22464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22465
482ff4da
UD
224662012-03-07 Ulrich Drepper <drepper@gmail.com>
22467
872fda05
UD
22468 * po/zh_TW.po: Update from translation team.
22469
a4300c7a
UD
22470 * login/Makefile (distribute): Remove variable.
22471 * catgets/Makefile: Likewise.
22472 * mach/Makefile: Likewise.
22473 * malloc/Makefile: Likewise.
22474 * misc/Makefile: Likewise.
22475 * iconv/Makefile: Likewise.
22476 * nscd/Makefile: Likewise.
22477 * hurd/Makefile: Likewise.
22478 * manual/Makefile: Likewise.
22479 * locale/Makefile: Likewise.
22480 * intl/Makefile: Likewise.
22481 * conform/Makefile: Likewise.
22482 * nss/Makefile: Likewise.
22483 * time/Makefile: Likewise.
22484 * soft-fp/Makefile: Likewise.
22485 * dirent/Makefile: Likewise.
22486 * gmon/Makefile: Likewise.
22487 * po/Makefile: Likewise.
22488 * rt/Makefile: Likewise.
22489 * socket/Makefile: Likewise.
22490 * math/Makefile: Likewise.
22491 * signal/Makefile: Likewise.
22492 * debug/Makefile: Likewise.
22493 * elf/Makefile: Likewise.
22494 * timezone/Makefile: Likewise.
22495 * stdlib/Makefile: Likewise.
22496 * iconvdata/Makefile: Likewise.
22497 * sunrpc/Makefile: Likewise.
22498 * io/Makefile: Likewise.
22499 * argp/Makefile: Likewise.
22500 * inet/Makefile: Likewise.
22501 * hesiod/Makefile: Likewise.
22502 * grp/Makefile: Likewise.
22503 * csu/Makefile: Likewise.
22504 * wctype/Makefile: Likewise.
22505 * crypt/Makefile: Likewise.
22506 * libio/Makefile: Likewise.
22507 * string/Makefile: Likewise.
22508 * nis/Makefile: Likewise.
22509 * resolv/Makefile: Likewise.
22510 * stdio-common/Makefile: Likewise.
22511 * wcsmbs/Makefile: Likewise.
22512 * dlfcn/Makefile: Likewise.
22513 * posix/Makefile: Likewise.
22514
3b7c4e74 22515 [BZ #6959]
482ff4da
UD
22516 * timezone/Makefile: Don't install timezone files, just the programs
22517 and scripts.
22518
f72ed77d
UD
225192012-03-06 Ulrich Drepper <drepper@gmail.com>
22520
a000466f
UD
22521 * nss/databases.def: Add missing gshadow entry.
22522
f72ed77d
UD
22523 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22524
a53b7a4e
MP
225252012-03-06 Marek Polacek <polacek@redhat.com>
22526
22527 [BZ #13726]
22528 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22529 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22530 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22531 * stdio-common/tst-long-dbl-fphex.c: New file.
22532
e9258400
DM
225332012-03-06 David S. Miller <davem@davemloft.net>
22534
22535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22536 (set_obp_int): New function.
22537 (get_obp_int): New function.
22538 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22539 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22540 Avoid unused variable warnings on 'val' and use builtin_expect.
22541 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22542 __builtin_expect.
e9258400
DM
22543 (INLINE_CLONE_SYSCALL): Likewise.
22544
3bd2c723
DM
225452012-03-05 David S. Miller <davem@davemloft.net>
22546
22547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22548
bbb78d03
AS
225492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22550
884c5db4
AS
22551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22552
bbb78d03
AS
22553 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22554 only for |x| >= 40.
22555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22556
1c9f702a 225572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22558
22559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22560 Replace gettimeofday with __vdso_gettimeofday.
22561
7be16f82
RM
22562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22563 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22564 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22565
22566 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22567 time with __vdso_time.
22568
ed58a00f
JM
225692012-03-05 Joseph Myers <joseph@codesourcery.com>
22570
22571 * manual/lang.texi (size_t): Note types to which size_t may be
22572 equivalent with the GNU C Library, but do not describe when
22573 differences between them are significant.
22574
30ee4ced
AJ
225752012-03-05 Andreas Jaeger <aj@suse.de>
22576
22577 * sysdeps/i386/fpu/libm-test-ulps: Update.
22578
b7cd39e8
JM
225792012-03-05 Joseph Myers <joseph@codesourcery.com>
22580
22581 [BZ #3976]
22582 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22583 (__ieee754_pow): Save and restore rounding mode and use
22584 round-to-nearest for main computations.
22585 * math/libm-test.inc (pow_test_tonearest): New function.
22586 (pow_test_towardzero): Likewise.
22587 (pow_test_downward): Likewise.
22588 (pow_test_upward): Likewise.
22589 (main): Call the new functions.
22590 * sysdeps/i386/fpu/libm-test-ulps: Update.
22591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22592
22593 [BZ #3976]
22594 * math/libm-test.inc (cosh_test_tonearest): New function.
22595 (cosh_test_towardzero): Likewise.
22596 (cosh_test_downward): Likewise.
22597 (cosh_test_upward): Likewise.
22598 (sinh_test_tonearest): Likewise.
22599 (sinh_test_towardzero): Likewise.
22600 (sinh_test_downward): Likewise.
22601 (sinh_test_upward): Likewise.
22602 (main): Call the new functions.
22603 * sysdeps/i386/fpu/libm-test-ulps: Update.
22604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22605
6c6a98c9
TV
226062012-03-05 Tom de Vries <tom@codesourcery.com>
22607
22608 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22609 default stack guard is set in last bytes.
22610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22611
21bb2d2e 226122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22613
21bb2d2e 22614 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22615
21bb2d2e
AJ
22616 [BZ #13656]
22617 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22618 possibly allocate from heap instead of stack.
22619 * stdio-common/bug-vfprintf-nargs.c: New file.
22620 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22621
c6922934
AS
226222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22623
22624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22625
bc957d53
MP
226262012-03-03 Marek Polacek <polacek@redhat.com>
22627
22628 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22629 * math/math_private.h: Likewise.
22630 * stdlib/tst-strtod.c: Likewise.
22631 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22632 * sysdeps/x86_64/bits/atomic.h: Likewise.
22633
6358490d
DM
226342012-03-02 David S. Miller <davem@davemloft.net>
22635
22636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22640 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22641 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22642 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22643 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22644
01ae168d
RM
226452012-03-02 Roland McGrath <roland@hack.frob.com>
22646
d9a17c07
RM
22647 [BZ #13792]
22648 * manual/examples/README: New file, says the example source files
22649 can be used under GPL>=2.
22650 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22651 line containing just "*/".
22652 * manual/examples/add.c: Add copyright header (GPL>=2).
22653 * manual/examples/argp-ex1.c: Likewise.
22654 * manual/examples/argp-ex2.c: Likewise.
22655 * manual/examples/argp-ex3.c: Likewise.
22656 * manual/examples/argp-ex4.c: Likewise.
22657 * manual/examples/atexit.c: Likewise.
22658 * manual/examples/db.c: Likewise.
22659 * manual/examples/dir.c: Likewise.
22660 * manual/examples/dir2.c: Likewise.
22661 * manual/examples/execinfo.c: Likewise.
22662 * manual/examples/filecli.c: Likewise.
22663 * manual/examples/filesrv.c: Likewise.
22664 * manual/examples/fmtmsgexpl.c: Likewise.
22665 * manual/examples/genpass.c: Likewise.
22666 * manual/examples/inetcli.c: Likewise.
22667 * manual/examples/inetsrv.c: Likewise.
22668 * manual/examples/isockad.c: Likewise.
22669 * manual/examples/longopt.c: Likewise.
22670 * manual/examples/memopen.c: Likewise.
22671 * manual/examples/memstrm.c: Likewise.
22672 * manual/examples/mkfsock.c: Likewise.
22673 * manual/examples/mkisock.c: Likewise.
22674 * manual/examples/mygetpass.c: Likewise.
22675 * manual/examples/pipe.c: Likewise.
22676 * manual/examples/popen.c: Likewise.
22677 * manual/examples/rprintf.c: Likewise.
22678 * manual/examples/search.c: Likewise.
22679 * manual/examples/select.c: Likewise.
22680 * manual/examples/setjmp.c: Likewise.
22681 * manual/examples/sigh1.c: Likewise.
22682 * manual/examples/sigusr.c: Likewise.
22683 * manual/examples/stpcpy.c: Likewise.
22684 * manual/examples/strdupa.c: Likewise.
22685 * manual/examples/strftim.c: Likewise.
22686 * manual/examples/strncat.c: Likewise.
22687 * manual/examples/subopt.c: Likewise.
22688 * manual/examples/swapcontext.c: Likewise.
22689 * manual/examples/termios.c: Likewise.
22690 * manual/examples/testopt.c: Likewise.
22691 * manual/examples/testpass.c: Likewise.
22692 * manual/examples/timeval_subtract.c: Likewise.
22693
01ae168d
RM
22694 [BZ #13792]
22695 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22696 function to ...
22697 * manual/timeval_subtract.c.texi: ... here, new file.
22698
49efa33d
DM
226992012-03-02 David S. Miller <davem@davemloft.net>
22700
22701 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22702
28afd92d
JM
227032012-03-02 Joseph Myers <joseph@codesourcery.com>
22704
804360ed
JM
22705 [BZ #3976]
22706 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22707 (__sin): Save and restore rounding mode and use round-to-nearest
22708 for all computations.
22709 (__cos): Save and restore rounding mode and use round-to-nearest
22710 for all computations.
22711 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22712 <fenv.h>.
22713 (tan): Save and restore rounding mode and use round-to-nearest for
22714 all computations.
22715 * math/libm-test.inc (cos_test_tonearest): New function.
22716 (cos_test_towardzero): Likewise.
22717 (cos_test_downward): Likewise.
22718 (cos_test_upward): Likewise.
22719 (sin_test_tonearest): Likewise.
22720 (sin_test_towardzero): Likewise.
22721 (sin_test_downward): Likewise.
22722 (sin_test_upward): Likewise.
22723 (tan_test_tonearest): Likewise.
22724 (tan_test_towardzero): Likewise.
22725 (tan_test_downward): Likewise.
22726 (tan_test_upward): Likewise.
22727 (main): Call the new functions.
22728 * sysdeps/i386/fpu/libm-test-ulps: Update.
22729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22730
a6d06d7b
JM
22731 [BZ #10135]
22732 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22733 small n, then large n, before computing and testing k+n.
22734 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22735 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22736 Likewise.
22737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22738 Likewise.
22739 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22740 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22741 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22742 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22745 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22746 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22747 * math/libm-test.inc (scalbn_test): Add more tests.
22748 (scalbln_test): Likewise.
22749
07e12bb3
JM
22750 * manual/filesys.texi (mode_t): Describe constraints on size and
22751 signedness, not exact equivalence to a particular type.
22752 (ino_t): Likewise.
22753 (ino64_t): Likewise.
22754 (dev_t): Likewise.
22755 (nlink_t): Likewise.
22756 (blkcnt_t): Likewise.
22757 (blkcnt64_t): Likewise.
22758 * manual/llio.texi (off_t): Likewise.
22759
28afd92d
JM
22760 [BZ #3976]
22761 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22762 (__ieee754_exp): Save and restore rounding mode and use
22763 round-to-nearest for all computations.
22764 * math/libm-test.inc (exp_test_tonearest): New function.
22765 (exp_test_towardzero): Likewise.
22766 (exp_test_downward): Likewise.
22767 (exp_test_upward): Likewise.
22768 (main): Call the new functions.
22769 * sysdeps/i386/fpu/libm-test-ulps: Update.
22770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22771
b1eeb65d
CD
227722012-03-01 Chris Demetriou <cgd@google.com>
22773
22774 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22775 have predictable order.
22776
53362a4b
DM
227772012-03-01 David S. Miller <davem@davemloft.net>
22778
3c969083
DM
22779 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22780
759707de
DM
22781 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22782 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22783 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22784 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22785
dfdb8ff2
DM
22786 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22787 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22788 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22790 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22791 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22792 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22793 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22794 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22795
ead89f96
DM
22796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22797
7f66bd07
DM
22798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22799 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22800 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22801
53362a4b
DM
22802 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22803 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22804 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22805 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22806 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22807 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22808 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22809 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22810 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22811 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22812 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22813 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22815 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22816 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22818 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22819 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22820 * sysdeps/sparc/elf/configure: Regenerated.
22821
7b1902cb
JM
228222012-03-01 Joseph Myers <joseph@codesourcery.com>
22823
bec039bc
JM
22824 * configure.in (AS, LD): Require binutils 2.20 or later.
22825 * configure: Regenerated.
22826 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22827 as required minimum version.
22828 * INSTALL: Regenerated.
22829
7b1902cb
JM
22830 [BZ #2541]
22831 [BZ #4108]
22832 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22833 before squaring exponent.
22834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22835 bottom long double and 27 bits of top long double before squaring
22836 exponent.
22837 * math/libm-test.inc (erfc_test): Add more tests.
22838 * sysdeps/i386/fpu/libm-test-ulps: Update.
22839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22841
f775c276
KT
228422012-03-01 Kai Tietz <ktietz@redhat.com>
22843
22844 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22845 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22846 containing bit-fields.
22847 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22848 * soft-fp/single.h (_FP_UNION_S): Likewise.
22849 * soft-fp/double.h (_FP_UNION_D): Likewise.
22850
5b8a4d4a
JM
228512012-02-29 Joseph Myers <joseph@codesourcery.com>
22852
0bab47b6
JM
22853 [BZ #13786]
22854 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22855 not include ../strcmp.S.
22856 [USE_AS_STRNCASECMP_L]: Likewise.
22857 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22858 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22859 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22860 (__strncasecmp_l_ia32): Define as alias to
22861 __strncasecmp_l_nonascii.
22862
0fcad3e2
JM
22863 [BZ #5794]
22864 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22865 * sysdeps/i386/fpu/libm-test-ulps: Update.
22866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22867
5b8a4d4a
JM
22868 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22870
8fdceb2e
JL
228712012-02-29 Jeff Law <law@redhat.com>
22872
22873 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22874 out of bounds read.
22875
1f393a11
MP
228762012-02-29 Marek Polacek <polacek@redhat.com>
22877
22878 [BZ #13706]
22879 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22880 * elf/Makefile: Add rules to run tst-unused-dep.out.
22881
8847f037
DM
228822012-02-28 David S. Miller <davem@davemloft.net>
22883
22884 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22885 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22887 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22890
169d7f11
JM
228912012-02-29 Joseph Myers <joseph@codesourcery.com>
22892
22893 * math/libm-test.inc (llround_test): Move one test from
22894 lround_test. Use TEST_f_L in moved test.
22895 (lround_test): Move misplaced test to llround_test. Add testcase
22896 from bug 2561.
22897
39adf059
UD
228982012-02-28 Ulrich Drepper <drepper@gmail.com>
22899
22900 * sysdeps/x86_64/fpu/e_expf.S: New file.
22901 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22902
71b5d1c5
SB
229032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22904
22905 [BZ #13637]
22906 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22907 of remain_len that may cause incomplete multi-byte character and
22908 false match.
22909 * posix/bug-regex33.c: New file.
22910 * posix/Makefile (tests): Add bug-regex33.
22911
1f77f049
JM
229122012-02-28 Joseph Myers <joseph@codesourcery.com>
22913
22914 * manual/macros.texi: New file.
22915 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22916 * manual/libc.texinfo: Include macros.texi.
22917 * manual/creatute.texi: Likewise.
22918 * manual/install.texi: Likewise.
22919 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22920 @glibcadj{} in references to the GNU C Library.
22921 * manual/charset.texi: Likewise.
22922 * manual/conf.texi: Likewise.
22923 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22924 when not using those macros.
22925 * manual/creature.texi: Likewise.
22926 * manual/crypt.texi: Likewise.
22927 * manual/errno.texi: Likewise.
22928 * manual/filesys.texi: Likewise.
22929 * manual/header.texi: Likewise.
22930 * manual/install.texi: Likewise.
22931 * manual/intro.texi: Likewise.
22932 * manual/io.texi: Likewise.
22933 * manual/job.texi: Likewise.
22934 * manual/lang.texi: Likewise.
22935 * manual/libc.texiinfo: Likewise.
22936 * manual/llio.texi: Likewise.
22937 * manual/locale.texi: Likewise.
22938 * manual/maint.texi: Likewise.
22939 * manual/math.texi: Likewise.
22940 * manual/memory.texi: Likewise.
22941 * manual/message.texi: Likewise.
22942 * manual/nss.texi: Likewise.
22943 * manual/pattern.texi: Likewise.
22944 * manual/process.texi: Likewise.
22945 * manual/resource.texi: Likewise.
22946 * manual/search.texi: Likewise.
22947 * manual/setjmp.texi: Likewise.
22948 * manual/signal.texi: Likewise.
22949 * manual/socket.texi: Likewise.
22950 * manual/startup.texi: Likewise.
22951 * manual/stdio.texi: Likewise.
22952 * manual/string.texi: Likewise.
22953 * manual/sysinfo.texi: Likewise.
22954 * manual/syslog.texi: Likewise.
22955 * manual/terminal.texi: Likewise.
22956 * manual/time.texi: Likewise.
22957 * manual/users.texi: Likewise.
22958 * INSTALL: Regenerated.
22959 * NOTES: Regenerated.
d40c5d54 22960 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22961
450bf206
AS
229622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22963
22964 * include/dirent.h: Include <dirstream.h> before
22965 <dirent/dirent.h>.
22966
741a235b
DM
229672012-02-28 David S. Miller <davem@davemloft.net>
22968
22969 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22970 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22971 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22972 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22973
d6b5aa58
DM
229742012-02-27 David S. Miller <davem@davemloft.net>
22975
1aff59a3
DM
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22978 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22979 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22980
d6b5aa58
DM
22981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22982 frame pointer instead of stack pointer relative arg slot.
22983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22984 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22985 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22986
433f48bf
CD
229872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22988
22989 [BZ #3992]
22990 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22991
d674b76d
DM
229922012-02-27 David S. Miller <davem@davemloft.net>
22993
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22998 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22999 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23000 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23001 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23002
0e7727f7
JM
230032012-02-27 Joseph Myers <joseph@codesourcery.com>
23004
23005 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23006 later. Allow versions 5-9.
43be4ca2 23007 * configure: Regenerated.
0e7727f7
JM
23008 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23009 required minimum version and 4.6 as recommended version. Do not
23010 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23011 * INSTALL: Regenerated.
0e7727f7 23012
a78bc654
DM
230132012-02-27 David S. Miller <davem@davemloft.net>
23014
428d5830
DM
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23021 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23022 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23023
a78bc654
DM
23024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23025 manipulate bits before adding and subtracting TWO112[sx].
23026 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23027
4579f81c
RM
230282012-02-27 Roland McGrath <roland@hack.frob.com>
23029
36c8acb4
RM
23030 [BZ #13775]
23031 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23032 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23033 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23034 being in POSIX, because they are in 1003.1-2008.
23035
84ad622b
RM
23036 * rt/tst-aio.c: Include <fcntl.h>.
23037 * rt/tst-aio7.c: Likewise.
23038 * rt/tst-aio64.c: Likewise.
23039
4579f81c
RM
23040 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23041
abd923db
JM
230422012-02-27 Joseph Myers <joseph@codesourcery.com>
23043
23044 * manual/install.texi (--with-headers): Describe headers as
23045 interface headers, not private headers.
23046 (Specific advice for GNU/Linux systems): Describe use of headers
23047 from "make headers_install", not private headers from older
23048 kernels.
43be4ca2 23049 * INSTALL: Regenerated.
abd923db
JM
23050 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23051 Change to 2.6.19.
23052 * sysdeps/unix/sysv/linux/configure: Regenerated.
23053
6664049b
JM
23054 * manual/llio.texi (fclean): Remove documentation.
23055
bb8b6697
JM
23056 * manual/Makefile (libc-texi-generated): New variable. Include
23057 version.texi.
23058 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23059 $(libc-texi-generated), not duplicated list of files.
23060 (version.texi, stamp-version): New rules.
23061 (realclean): Remove $(libc-texi-generated), not individual files
23062 from that list. Do not remove dir-add.texinfo.
23063 * manual/libc.texinfo: Comment out uses of edition numbers and
23064 references to printed manual. Remove last-updated dates.
23065 (EDITION): Comment out.
23066 (ISBN): Likewise.
23067 (VERSION, UPDATED): Remove.
23068 (version.texi): Include.
23069
12e5c3b9
AS
230702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23071
23072 * sysdeps/posix/spawni.c: Include <signal.h>.
23073 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23074 * sysdeps/pthread/aio_fsync.c: Likewise.
23075
4efeffc1 230762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23077
ba63ba08
UD
23078 * conform/Makefile (tests): Run only when not cross-compiling and
23079 when fast-check is not defined.
23080
d94a4670
UD
23081 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23082 * conform/data/limits.h-data: Fixes for POSIX2008.
23083 * conform/run-conformtest.sh: Run all tests.
23084 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23085 headers.
23086 * include/bits/dlfcn.h: Likewise.
23087 * include/langinfo.h: Likewise.
23088 * include/monetary.h: Likewise.
23089 * include/sys/poll.h: Likewise.
23090
23091 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23092 for __USE_GNU.
23093 * posix/spawn.h: Define __need_sigset_t.
23094 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23095 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23096 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23097 to get sigevent_t only.
23098 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23099 only for __USE_GNU.
23100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23101 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23102 process_vm_writev only for __USE_GNU.
23103 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23104
23105 * conform/Makefile: For now ignore errors from run-conformtest.
23106 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23107 POSIX to avoid namespace pollution. Don't prepend headers.
23108 * conform/data/aio.h-data: Fixes for POSIX testing.
23109 * conform/data/fcntl.h-data: Likewise.
23110 * conform/data/glob.h-data: Likewise.
23111 * conform/data/grp.h-data: Likewise.
23112 * conform/data/pthread.h-data: Likewise.
23113 * conform/data/pwd.h-data: Likewise.
23114 * conform/data/signal.h-data: Likewise.
23115 * conform/data/spawn.h-data: Likewise.
23116 * conform/data/stdio.h-data: Likewise.
23117 * conform/data/stdlib.h-data: Likewise.
23118 * conform/data/stropts.h-data: Likewise.
23119 * conform/data/sys/mman.h-data: Likewise.
23120 * conform/data/sys/stat.h-data: Likewise.
23121 * conform/data/sys/types.h-data: Likewise.
23122 * conform/data/sys/wait.h-data: Likewise.
23123 * conform/data/time.h-data: Likewise.
23124 * conform/data/unistd.h-data: Likewise.
23125 * conform/data/utime.h-data: Likewise.
23126
23127 * io/sys/stat.h: fchmod was always in POSIX.
23128 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23129 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23130 * rt/aio.h: Define __need_timespec before including <time.h>.
23131 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23132 struct. Add forward declaration of pthread_attr_t and use it in
23133 sigevent.
23134 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23136 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23137 always remove CLK_TCK definition.
23138
c20105c3
AS
231392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23140
23141 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23142
7a270350
UD
231432012-02-25 Ulrich Drepper <drepper@gmail.com>
23144
31341567
UD
23145 * conform/run-conformtest.sh: New file.
23146 * conform/Makefile: Run run-conformtest for tests.
23147 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23148 support.
23149
23150 * conform/data/uchar.h-data: New file.
23151 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23152 * conform/data/arpa/inet.h-data: Likewise.
23153 * conform/data/assert.h-data: Likewise.
23154 * conform/data/complex.h-data: Likewise.
23155 * conform/data/cpio.h-data: Likewise.
23156 * conform/data/ctype.h-data: Likewise.
23157 * conform/data/dirent.h-data: Likewise.
23158 * conform/data/dlfcn.h-data: Likewise.
23159 * conform/data/errno.h-data: Likewise.
23160 * conform/data/fcntl.h-data: Likewise.
23161 * conform/data/float.h-data: Likewise.
23162 * conform/data/fmtmsg.h-data: Likewise.
23163 * conform/data/fnmatch.h-data: Likewise.
23164 * conform/data/ftw.h-data: Likewise.
23165 * conform/data/glob.h-data: Likewise.
23166 * conform/data/grp.h-data: Likewise.
23167 * conform/data/iconv.h-data: Likewise.
23168 * conform/data/inttypes.h-data: Likewise.
23169 * conform/data/langinfo.h-data: Likewise.
23170 * conform/data/libgen.h-data: Likewise.
23171 * conform/data/limits.h-data: Likewise.
23172 * conform/data/locale.h-data: Likewise.
23173 * conform/data/math.h-data: Likewise.
23174 * conform/data/monetary.h-data: Likewise.
23175 * conform/data/mqueue.h-data: Likewise.
23176 * conform/data/ndbm.h-data: Likewise.
23177 * conform/data/net/if.h-data: Likewise.
23178 * conform/data/netdb.h-data: Likewise.
23179 * conform/data/netinet/in.h-data: Likewise.
23180 * conform/data/nl_types.h-data: Likewise.
23181 * conform/data/poll.h-data: Likewise.
23182 * conform/data/pthread.h-data: Likewise.
23183 * conform/data/pwd.h-data: Likewise.
23184 * conform/data/regex.h-data: Likewise.
23185 * conform/data/sched.h-data: Likewise.
23186 * conform/data/search.h-data: Likewise.
23187 * conform/data/semaphore.h-data: Likewise.
23188 * conform/data/setjmp.h-data: Likewise.
23189 * conform/data/signal.h-data: Likewise.
23190 * conform/data/spawn.h-data: Likewise.
23191 * conform/data/stdarg.h-data: Likewise.
23192 * conform/data/stdio.h-data: Likewise.
23193 * conform/data/stdlib.h-data: Likewise.
23194 * conform/data/string.h-data: Likewise.
23195 * conform/data/strings.h-data: Likewise.
23196 * conform/data/stropts.h-data: Likewise.
23197 * conform/data/sys/ipc.h-data: Likewise.
23198 * conform/data/sys/mman.h-data: Likewise.
23199 * conform/data/sys/msg.h-data: Likewise.
23200 * conform/data/sys/resource.h-data: Likewise.
23201 * conform/data/sys/select.h-data: Likewise.
23202 * conform/data/sys/sem.h-data: Likewise.
23203 * conform/data/sys/shm.h-data: Likewise.
23204 * conform/data/sys/socket.h-data: Likewise.
23205 * conform/data/sys/stat.h-data: Likewise.
23206 * conform/data/sys/statvfs.h-data: Likewise.
23207 * conform/data/sys/time.h-data: Likewise.
23208 * conform/data/sys/timeb.h-data: Likewise.
23209 * conform/data/sys/times.h-data: Likewise.
23210 * conform/data/sys/types.h-data: Likewise.
23211 * conform/data/sys/uio.h-data: Likewise.
23212 * conform/data/sys/un.h-data: Likewise.
23213 * conform/data/sys/utsname.h-data: Likewise.
23214 * conform/data/sys/wait.h-data: Likewise.
23215 * conform/data/syslog.h-data: Likewise.
23216 * conform/data/tar.h-data: Likewise.
23217 * conform/data/termios.h-data: Likewise.
23218 * conform/data/utime.h-data: Likewise.
23219 * conform/data/utmpx.h-data: Likewise.
23220 * conform/data/varargs.h-data: Likewise.
23221 * conform/data/wchar.h-data: Likewise.
23222 * conform/data/wctype.h-data: Likewise.
23223 * conform/data/wordexp.h-data: Likewise.
23224
23225 * include/stropts.h: New file.
23226 * include/uchar.h: New file.
23227 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23228 * include/assert.h: Likewise.
23229 * include/ctype.h: Likewise.
23230 * include/dirent.h: Likewise.
23231 * include/dlfcn.h: Likewise.
23232 * include/fcntl.h: Likewise.
23233 * include/fnmatch.h: Likewise.
23234 * include/glob.h: Likewise.
23235 * include/grp.h: Likewise.
23236 * include/libio.h: Likewise.
23237 * include/locale.h: Likewise.
23238 * include/math.h: Likewise.
23239 * include/net/if.h: Likewise.
23240 * include/netdb.h: Likewise.
23241 * include/netinet/in.h: Likewise.
23242 * include/pthread.h: Likewise.
23243 * include/pwd.h: Likewise.
23244 * include/regex.h: Likewise.
23245 * include/sched.h: Likewise.
23246 * include/search.h: Likewise.
23247 * include/setjmp.h: Likewise.
23248 * include/signal.h: Likewise.
23249 * include/stdio.h: Likewise.
23250 * include/stdlib.h: Likewise.
23251 * include/string.h: Likewise.
23252 * include/sys/cdefs.h: Likewise.
23253 * include/sys/mman.h: Likewise.
23254 * include/sys/msg.h: Likewise.
23255 * include/sys/resource.h: Likewise.
23256 * include/sys/select.h: Likewise.
23257 * include/sys/socket.h: Likewise.
23258 * include/sys/stat.h: Likewise.
23259 * include/sys/statvfs.h: Likewise.
23260 * include/sys/time.h: Likewise.
23261 * include/sys/times.h: Likewise.
23262 * include/sys/uio.h: Likewise.
23263 * include/sys/utsname.h: Likewise.
23264 * include/sys/wait.h: Likewise.
23265 * include/termios.h: Likewise.
23266 * include/time.h: Likewise.
23267 * include/ulimit.h: Likewise.
23268 * include/unistd.h: Likewise.
23269 * include/utime.h: Likewise.
23270 * include/wchar.h: Likewise.
23271 * include/wctype.h: Likewise.
23272 * include/wordexp.h: Likewise.
23273
23274 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23275
7a270350
UD
23276 * time/time.h: TIME_UTC must be a macro.
23277 Make timespec_get available for ISO C11 only as well.
23278
7724defc
UD
232792012-02-24 Ulrich Drepper <drepper@gmail.com>
23280
23281 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23282 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23283
6b1d1d46
JM
232842012-02-24 Joseph Myers <joseph@codesourcery.com>
23285
23286 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23287
0f8bbd69
JM
232882012-02-24 Joseph Myers <joseph@codesourcery.com>
23289
23290 * manual/texinfo.tex: Update to version 2012-01-19.16.
23291
66ab80bc
JM
232922012-02-24 Joseph Myers <joseph@codesourcery.com>
23293
23294 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23295
74981cc5
RM
232962012-02-24 Roland McGrath <roland@hack.frob.com>
23297
ee968201
RM
23298 [BZ #13738]
23299 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23300 * manual/fdl-1.3.texi: New file.
23301 * manual/fdl-1.1.texi: File removed.
23302
74981cc5
RM
23303 [BZ #13738]
23304 * manual/libc.texinfo (FDL_VERSION): New @set.
23305 Use it for mention of FDL in cover text.
23306 (Documentation License): Use it in @include file name.
23307
7bb764bc
JM
233082012-02-22 Joseph Myers <joseph@codesourcery.com>
23309 Roland McGrath <roland@hack.frob.com>
23310
23311 [BZ #5461]
23312 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23313 not LONG_LONG_MAX and LONG_LONG_MIN.
23314 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23315 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23316 name.
23317 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23318
6cbeae47
JM
233192012-02-22 Joseph Myers <joseph@codesourcery.com>
23320
23321 [BZ #2547]
23322 [BZ #11365]
23323 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23324 manipulate bits before adding and subtracting TWO23[sx].
23325 * math/libm-test.inc (nearbyint_test): Add more tests.
23326
fe45ce09
JM
233272012-02-22 Joseph Myers <joseph@codesourcery.com>
23328
23329 [BZ #2548]
23330 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23331 bits before adding and subtracting TWO23[sx].
23332 * math/libm-test.inc (rint_test): Add more tests.
23333 (rint_test_tonearest): Likewise.
23334 (rint_test_towardzero): Likewise.
23335 (rint_test_downward): Likewise.
23336 (rint_test_upward: Likewise.
23337
ff3b3d82
JM
233382012-02-22 Joseph Myers <joseph@codesourcery.com>
23339
23340 [BZ #10110]
23341 * include/stdc-predef.h: New file. Extracted from features.h.
23342 * include/features.h: Include stdc-predef.h.
23343 * Makefile (headers): Add stdc-predef.h.
23344 * CONFORMANCE (Compiler limitations): Update.
23345
ef0aab35
JM
233462012-02-22 Joseph Myers <joseph@codesourcery.com>
23347
23348 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23349
58639409
DM
233502012-02-21 David S. Miller <davem@davemloft.net>
23351
23352 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23353 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23354
c0e70b25
DM
233552012-02-20 David S. Miller <davem@davemloft.net>
23356
23357 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23358 using a normal save/restore sequence, rather than allocating a
23359 dummy stack frame just to store a frame pointer and restore.
23360 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23361
fb06851d
JM
233622012-02-21 Joseph Myers <joseph@codesourcery.com>
23363
23364 * manual/install.texi: Fix stray word in line-wrapped comment.
23365
7a8b71c3
DM
233662012-02-20 David S. Miller <davem@davemloft.net>
23367
d510c123
DM
23368 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23369 both binutils and gcc support GOTDATA.
23370
0722d7c2
DM
23371 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23372 "rd %pc" in the PIC register setup sequences.
23373
3d2b3019
DM
23374 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23375 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23376 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23377 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23378 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23381 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23382 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23383 (SYSCALL_ERROR_HANDLER): Likewise.
23384 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23385 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23386 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23387 (SYSCALL_ERROR_HANDLER): Likewise.
23388
c80098a9
DM
23389 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23390 (HAVE_GCC_GOTDATA): New.
23391 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23392 relocation support in both binutils and gcc.
23393 * sysdeps/sparc/elf/configure: Regenerate.
23394
3a2545a0
DM
23395 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23396 * sysdeps/sparc/sparc32/elf/configure: Delete.
23397 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23398 * sysdeps/sparc/sparc64/elf/configure: Delete.
23399 * sysdeps/sparc/elf/configure.in: New file.
23400 * sysdeps/sparc/elf/configure: Generate.
23401
7a8b71c3
DM
23402 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23403 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23404 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23405 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23406 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23407
f1e86fca
JM
234082012-02-21 Joseph Myers <joseph@codesourcery.com>
23409
23410 * manual/install.texi: Do not mention specific glibc version
23411 numbers.
23412 * manual/libc.texinfo (VERSION, UPDATED): Update.
23413 (@copying): Use @copyright{} and range of years.
23414
0e7dfaef
JM
234152012-02-21 Joseph Myers <joseph@codesourcery.com>
23416
23417 [BZ #13695]
23418 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23419 [crti.S not in sysdirs] (generated): Do not append.
23420 [crti.S not in sysdirs] (omit-deps): Likewise.
23421 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23422 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23423 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23424 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23425 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23426 Likewise.
23427 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23428 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23429 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23430 * csu/defs.awk: Remove file.
23431 * sysdeps/generic/initfini.c: Likewise.
23432 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23433 variable.
23434 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23435 Likewise.
23436
599af3ca
JM
234372012-02-20 Joseph Myers <joseph@codesourcery.com>
23438
23439 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23440 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23441 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23442 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23443 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23444 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23445 <bits/epoll.h>.
23446 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23447 (__EPOLL_PACKED): Define to empty if not defined by
23448 <bits/epoll.h>.
23449 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23451 bits/epoll.h.
23452
0e499750
JM
234532012-02-20 Joseph Myers <joseph@codesourcery.com>
23454
23455 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23456 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23457 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23458 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23459 <bits/timerfd.h>.
23460 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23462 bits/timerfd.h.
23463
5ad91f6e
JM
234642012-02-20 Joseph Myers <joseph@codesourcery.com>
23465
23466 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23467 in C locale.
23468 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23469 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23472
06b99b02
AJ
234732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23474
23475 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23476 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23477
7638c0fd
AS
234782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23479
23480 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23481 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23482 defined.
23483 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23484 Likewise.
23485 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23486 entry for 2.16.
23487
92221550
AJ
234882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23489
23490 * math/w_acos.c: Use non-signaling floating-point comparisons.
23491 * math/w_acosf.c: Likewise.
23492 * math/w_acosh.c: Likewise.
23493 * math/w_acoshf.c: Likewise.
23494 * math/w_acoshl.c: Likewise.
23495 * math/w_acosl.c: Likewise.
23496 * math/w_asin.c: Likewise.
23497 * math/w_asinf.c: Likewise.
23498 * math/w_asinl.c: Likewise.
23499 * math/w_atanh.c: Likewise.
23500 * math/w_atanhf.c: Likewise.
23501 * math/w_atanhl.c: Likewise.
23502 * math/w_exp2.c: Likewise.
23503 * math/w_exp2f.c: Likewise.
23504 * math/w_exp2l.c: Likewise.
23505 * math/w_j0.c: Likewise.
23506 * math/w_j0f.c: Likewise.
23507 * math/w_j0l.c: Likewise.
23508 * math/w_j1.c: Likewise.
23509 * math/w_j1f.c: Likewise.
23510 * math/w_j1l.c: Likewise.
23511 * math/w_jn.c: Likewise.
23512 * math/w_jnf.c: Likewise.
23513 * math/w_log.c: Likewise.
23514 * math/w_log10.c: Likewise.
23515 * math/w_log10f.c: Likewise.
23516 * math/w_log10l.c: Likewise.
23517 * math/w_log2.c: Likewise.
23518 * math/w_log2f.c: Likewise.
23519 * math/w_log2l.c: Likewise.
23520 * math/w_logf.c: Likewise.
23521 * math/w_logl.c: Likewise.
23522 * math/w_sqrt.c: Likewise.
23523 * math/w_sqrtf.c: Likewise.
23524 * math/w_sqrtl.c: Likewise.
23525 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23526 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23527 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23528 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23529 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23530
ebaf36eb
JM
235312012-02-19 Joseph Myers <joseph@codesourcery.com>
23532
23533 [BZ #9739]
23534 * manual/string.texi (strnlen): Use correct parameter name in
23535 equivalent expression.
23536
71c254a6
JM
235372012-02-19 Joseph Myers <joseph@codesourcery.com>
23538
23539 [BZ #11174]
23540 * manual/users.texi (seteuid): Consistently use neweuid for
23541 argument name.
23542
16d2c631
JM
235432012-02-19 Joseph Myers <joseph@codesourcery.com>
23544
23545 [BZ #13704]
23546 * manual/nss.texi (Services in the NSS configuration): Correct
23547 list of services in example configuration file.
23548
cd837b09
NB
235492012-02-19 Nick Bowler <nbowler@draconx.ca>
23550
23551 [BZ #11322]
23552 * manual/arith.texi: Remove statements about negative zero
23553 behaving identically to zero.
23554
02c4bbad
JM
235552012-02-18 Joseph Myers <joseph@codesourcery.com>
23556
23557 [BZ #5993]
23558 * manual/install.texi: Do not document upgrading from libc5.
23559
366842e7
JM
235602012-02-18 Joseph Myers <joseph@codesourcery.com>
23561
23562 [BZ #4596]
23563 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23564
dd54084d
DM
235652012-02-18 David S. Miller <davem@davemloft.net>
23566
23567 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23568 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23569 %o7 across the call.
23570 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23571 instead.
23572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23573 SETUP_PIC_REG_LEAF.
23574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23575 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23576 * sysdeps/sparc/crtn.S: Likewise.
23577
2bcc53a3
UD
235782012-02-17 Ulrich Drepper <drepper@gmail.com>
23579
23580 * aout/Makefile: Remove.
23581
09c093b5
RK
235822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23583
23584 [BZ #13058]
23585 * manual/examples/argp-ex1.c (main): Format definition in GNU
23586 style.
23587 * manual/examples/argp-ex2.c (main): Likewise.
23588 * manual/examples/argp-ex3.c (main): Likewise.
23589 * manual/examples/argp-ex4.c (main): Likewise.
23590 * manual/examples/longopt.c (main): Use new-style prototype
23591 definition.
23592 * manual/examples/strncat.c (main): Specify return type and use
23593 (void) for arguments.
23594 * manual/examples/subopt.c (main): Use char **argv argument.
23595
2ee633a2
JM
235962012-02-17 Joseph Myers <joseph@codesourcery.com>
23597
23598 [BZ #5077]
23599 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23600 rounding modes.
23601
0520adde
FB
236022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23603
23604 [BZ #6907]
23605 * manual/string.texi (strchr): Change when strchrnul is
23606 recommended.
23607
3f4081cd
DGM
236082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23609
23610 [BZ #174]
23611 * manual/locale.texi (setlocale): Document LOCPATH.
23612
d1b10e78
JM
236132012-02-17 Joseph Myers <joseph@codesourcery.com>
23614
23615 [BZ #10210]
23616 * manual/process.texi (execle): Move @dots{} before last argument.
23617
79c6869c
PB
236182012-02-17 Paul Bolle <pebolle@tiscali.nl>
23619
23620 [BZ #12047]
23621 * manual/charset.texi (Generic Charset Conversion): Fix typo
23622 (LC_TYPE -> LC_CTYPE).
23623
cc6e48bc
NB
236242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23625
23626 [BZ #5805]
23627 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23628 (scalbnf): Likewise.
23629 (scalbnl): Likewise.
23630 (scalbln): Likewise.
23631 (scalblnf): Likewise.
23632 (scalblnl): Likewise.
23633 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23634 (vwarnx): Likewise.
23635 (verr): Likewise.
23636 (verrx): Likewise.
23637 * manual/filesys.texi (telldir): Use braces around return type.
23638 * manual/llio.texi (mmap): Add space after comma.
23639 (mmap64): Likewise.
23640 * manual/math.texi (jn): Use @var{} on parameter names.
23641 (jnf): Likewise.
23642 (jnl): Likewise.
23643 (yn): Likewise.
23644 (ynf): Likewise.
23645 (ynl): Likewise.
23646 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23647 line.
23648 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23649 "...".
23650 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23651 (sched_get_priority_max): Likewise.
23652 * manual/signal.texi (sigvec): Add space after comma.
23653 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23654 names.
23655 (if_indextoname): Likewise.
23656 (if_freenameindex): Likewise.
23657 (sendto): Use ',' instead of '.' in prototype.
23658 * manual/startup.texi (syscall): Use @dots{} instead of literal
23659 "...".
23660 * manual/stdio.texi (__fpending): Separate initial words of
23661 paragraph from @deftypefun line.
23662 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23663 "...".
23664 (vsyslog): Use @var{} on parameter names.
23665 * manual/terminal.texi (stty): Use @var{} on parameter names.
23666 * manual/users.texi (getutmp): Use @var{} on parameter names.
23667 (getutmpx): Likewise.
23668
5b23062f
JM
236692012-02-17 Joseph Myers <joseph@codesourcery.com>
23670
23671 [BZ #6884]
23672 * manual/stdio.texi (fopen): Fix typos in description of
23673 ",ccs=STRING".
23674
8dee4833
AJ
236752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23676
23677 [BZ #4026]
23678 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23679 get clock_id definition.
23680
9078ce93
TS
236812012-02-17 Thomas Schwinge <thomas@schwinge.name>
23682
23683 [BZ #4822]
23684 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23685 (madvise): Cast every argument to void on its own.
23686
3835c55f
JM
236872012-02-17 Joseph Myers <joseph@codesourcery.com>
23688
23689 [BZ #9902]
23690 * manual/startup.texi (Exit Status): Fix typo.
23691
35c47e37
JM
236922012-02-17 Joseph Myers <joseph@codesourcery.com>
23693
23694 [BZ #10140]
23695 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23696 * manual/examples/argp-ex2.c: Likewise.
23697 * manual/examples/argp-ex3.c: Likewise.
23698
e3b69ca7
RH
236992012-02-16 Richard Henderson <rth@redhat.com>
23700
23701 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23702 * sysdeps/s390/s390-32/initfini.c: Remove.
23703 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23704 * sysdeps/s390/s390-64/initfini.c: Remove.
23705
df83af67
KK
237062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23707
23708 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23709 compiler output for sysdeps/generic/initfini.c.
23710 * sysdeps/sh/elf/initfini.c: Remove file.
23711
f63f3380
DM
237122012-02-16 David S. Miller <davem@davemloft.net>
23713
fb59b3a4
DM
23714 [BZ #11494]
23715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23716
f63f3380
DM
23717 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23718 * sysdeps/sparc/crti.S: New file.
23719 * sysdeps/sparc/crtn.S: New file.
23720 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23721 * sysdeps/sparc/sparc64/Makefile: Likewise.
23722
df6a4a4a
MF
237232012-02-15 Mike Frysinger <vapier@gentoo.org>
23724
6dd8f3dc 23725 [BZ #3335]
df6a4a4a
MF
23726 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23727
1cac7236
RM
237282012-02-15 Roland McGrath <roland@hack.frob.com>
23729
d2c736f8
RM
23730 [BZ #4822]
23731 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23732
1cac7236
RM
23733 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23734 (write, read, close): Likewise.
23735 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23736
8e475601
JM
237372012-02-15 Joseph Myers <joseph@codesourcery.com>
23738
23739 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23740 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23741 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23742 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23743 <bits/signalfd.h>.
23744 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23746 bits/signalfd.h.
23747
ed656b40
MP
237482012-02-14 Marek Polacek <polacek@redhat.com>
23749
23750 * sysdeps/x86_64/crti.S: New file.
23751 * sysdeps/x86_64/crtn.S: New file.
23752 * sysdeps/x86_64/elf/initfini.c: Remove file.
23753
2a979d3a
JM
237542012-02-13 Joseph Myers <joseph@codesourcery.com>
23755
23756 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23757 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23759 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23760 <bits/inotify.h>.
23761 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23763 bits/inotify.h.
23764
2a418ac3
JM
237652012-02-13 Joseph Myers <joseph@codesourcery.com>
23766
23767 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23768 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23769 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23770 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23771 <bits/eventfd.h>.
23772 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23774 bits/eventfd.h.
23775
fb779be7
TS
237762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23777
e19e83c5
RM
23778 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23779 __feraiseexcept instead of feraiseexcept.
7c35ffed 23780
fb779be7
TS
23781 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23782 nanosleep invocations.
23783 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23784 strings, and add error checking for a nanosleep invocations.
23785
59ba27a6
PE
237862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23787
23788 Replace FSF snail mail address with URLs, as per GNU coding standards.
23789 Most of the snail mail addresses were wrong anyway, and omitting
23790 them makes the source code easier to maintain. Almost all of the
23791 changes are to license notices and to locale LC_IDENTIFICATION
23792 addresses, except for this one:
23793 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23794 not its snail mail address.
23795
57b957eb
RH
237962012-02-09 Richard Henderson <rth@twiddle.net>
23797
af850b1c
RH
23798 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23799 of kernel-features.h.
23800
57b957eb
RH
23801 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23802
6b73181a
MP
238032012-02-08 Marek Polacek <polacek@redhat.com>
23804
23805 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23806 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23807 * sysdeps/gnu/_G_config.h: Likewise.
23808 * sysdeps/generic/_G_config.h: Likewise.
23809
26ecc33a
AS
238102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23811
6c6dbc63
AS
23812 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23813 tests.
23814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23815
e216c012
AS
23816 * sysdeps/powerpc/powerpc32/crti.S: New file.
23817 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23818 * sysdeps/powerpc/powerpc64/crti.S: New file.
23819 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23820
26ecc33a
AS
23821 * Makeconfig (have-initfini): Don't set.
23822 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23823 * configure.in (nopic_initfini): Don't substitute.
23824 * config.h.in (HAVE_INITFINI): Don't #undef.
23825 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23826 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23827
3add8e13
JM
238282012-02-08 Joseph Myers <joseph@codesourcery.com>
23829
23830 Support crti.S and crtn.S provided directly by architectures.
23831 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23832 [crti.S in sysdirs] (omit-deps): Likewise.
23833 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23834 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23835 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23836 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23837 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23838 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23839 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23840 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23841 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23842 compiler output for sysdeps/generic/initfini.c.
23843 * sysdeps/i386/elf/Makefile: Remove file.
23844 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23845
a22f12b4
MP
238462012-02-07 Marek Polacek <polacek@redhat.com>
23847
23848 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23849 * sysdeps/gnu/_G_config.h: Likewise.
23850 * sysdeps/mach/hurd/_G_config.h: Likewise.
23851
148cf100
MP
238522012-02-07 Marek Polacek <polacek@redhat.com>
23853
23854 * math/Makefile (tests): Add tst-CMPLX2.
23855 * math/tst-CMPLX2.c: New file.
23856
cfdc0dd7
AS
238572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23858
84ba42c4
AS
23859 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23860
cfdc0dd7
AS
23861 * math/libm-test.inc (jn_test): Add missing L suffix.
23862
622c86f4
MP
238632012-02-06 Marek Polacek <polacek@redhat.com>
23864
23865 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23866 * sysdeps/i386/fpu/e_powf.S: Likewise.
23867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23868 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23869 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23870 * sysdeps/i386/fpu/e_pow.S: Likewise.
23871 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23872 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23873 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23874 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23875 * sysdeps/i386/fpu/e_log2.S: Likewise.
23876 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23877 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23878 * sysdeps/i386/fpu/e_powl.S: Likewise.
23879 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23880 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23881 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23882 * sysdeps/i386/fpu/e_logl.S: Likewise.
23883 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23884 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23885 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23886 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23887 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23888 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23889 * sysdeps/i386/fpu/e_log.S: Likewise.
23890 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23891 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23892 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23893 * sysdeps/i386/fpu/e_logf.S: Likewise.
23894 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23895 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23896 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23897 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23898 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23899 * sysdeps/i386/fpu/e_log10.S: Likewise.
23900 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23901 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23902 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23903 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23904 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23905 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23906 * sysdeps/i386/asm-syntax.h: Likewise.
23907 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23908 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23910 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23911 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23912 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23913 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23914 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23915 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23916 * sysdeps/powerpc/sysdep.h: Likewise.
23917 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23918 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23919
d4a54ac6
JM
239202012-02-06 Joseph Myers <joseph@codesourcery.com>
23921
23922 [BZ #411]
23923 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23924
314054ea
JM
239252012-02-06 Joseph Myers <joseph@codesourcery.com>
23926
23927 * sysdeps/i386/sysdep.h: Include <features.h>.
23928 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23929 version.
23930
d8e0ca50
JM
239312012-02-05 Joseph Myers <joseph@codesourcery.com>
23932
23933 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23934 Define.
23935 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23936 LOAD_PIC_REG_STR.
23937
b1da7dd9
JM
239382012-02-03 Joseph Myers <joseph@codesourcery.com>
23939
23940 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23941 (SETUP_PIC_REG): Use GET_PC_THUNK.
23942 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23943 macro.
23944
9a1d9254
JM
239452012-02-03 Joseph Myers <joseph@codesourcery.com>
23946
23947 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23948 for non-PIC compilation.
23949 (SETUP_PIC_REG): Add .p2align directive.
23950 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23951 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23952 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23953 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23954 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23955 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23956 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23958 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23959 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23960 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23961 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23962 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23963 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23964 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23965 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23966 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23967 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23968 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23969 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23970 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23971 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23972 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23973 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23980 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23986 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23987 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23988 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23989 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23990 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23991
65dc3b75
JM
239922012-02-03 Joseph Myers <joseph@codesourcery.com>
23993
23994 * math/tst-CMPLX.c: Include <stdio.h>.
23995
d55bf177
JM
239962012-01-31 Joseph Myers <joseph@codesourcery.com>
23997
23998 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23999 float.
24000 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24001 * sysdeps/sparc/bits/mathdef.h: Likewise.
24002
69db4f8f
MP
240032012-01-31 Marek Polacek <polacek@redhat.com>
24004
24005 * libio/libio.h: Don't define _PARAMS.
24006 * locale/programs/config.h: Don't define PARAMS.
24007 * stdlib/strtol_l.c: Likewise.
24008 (__strtol_l): Remove PARAMS from the prototype.
24009
41b81892
UD
240102012-01-31 Ulrich Drepper <drepper@gmail.com>
24011
3b49edc0
UD
24012 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24013 names. Just use the correct names. Remove unnecessary wrapper
24014 functions.
24015 * malloc/arena.c: Likewise.
24016 * malloc/hooks.c: Likewise.
24017
41b81892
UD
24018 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24019 ARENA_TEST says not to. Simplify test for creation of a new arena.
24020 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24021
27a25b6e
UD
240222012-01-30 Ulrich Drepper <drepper@gmail.com>
24023
24024 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24025 into tail calls.
24026 (update_get_addr): New function.
24027 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24028 GET_ADDR_MODULE parameter.
24029
c8a89e7d
JM
240302012-01-30 Joseph Myers <joseph@codesourcery.com>
24031
24032 * crypt/cert.c: Remove __STDC__ conditionals.
24033 * crypt/crypt-entry.c: Likewise.
24034 * crypt/crypt_util.c: Likewise.
24035 * libio/filedoalloc.c: Likewise.
24036 * libio/fileops.c: Likewise.
24037 * libio/genops.c: Likewise.
24038 * libio/iofclose.c: Likewise.
24039 * libio/iofdopen.c: Likewise.
24040 * libio/iofopen.c: Likewise.
24041 * libio/iofopen64.c: Likewise.
24042 * libio/iogetdelim.c: Likewise.
24043 * libio/iopopen.c: Likewise.
24044 * libio/obprintf.c: Likewise.
24045 * libio/oldfileops.c: Likewise.
24046 * libio/oldiofclose.c: Likewise.
24047 * libio/oldiofdopen.c: Likewise.
24048 * libio/oldiofopen.c: Likewise.
24049 * libio/oldiopopen.c: Likewise.
24050 * libio/wfiledoalloc.c: Likewise.
24051 * libio/wgenops.c: Likewise.
24052 * locale/programs/xmalloc.c: Likewise.
24053 * misc/syslog.c: Likewise.
24054 * stdio-common/xbug.c: Likewise.
24055 * string/memchr.c: Likewise.
24056 * string/memcmp.c: Likewise.
24057 * string/memrchr.c: Likewise.
24058 * string/rawmemchr.c: Likewise.
24059 * sysdeps/posix/getcwd.c: Likewise.
24060 * time/strftime_l.c: Likewise.
24061
3b100462
JM
240622012-01-30 Joseph Myers <joseph@codesourcery.com>
24063
24064 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24065 * config.make.in (config-cflags-sse2avx): Define.
24066 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24067 Fix typo.
24068
607998af
CM
240692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24070
24071 * scripts/config.guess: Update from upstream config git repository.
24072 * scripts/config.sub: Likewise.
24073
3601428f
CM
240742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24075
3ac8b282
CM
24076 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24077 (EM_NUM): Update.
24078 (R_TILEPRO_*, R_TILEGX_*): New macros.
24079
e034841e
CM
24080 * scripts/firstversions.awk: Fix bug in version range handling.
24081
540d7568
CM
24082 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24083
3601428f
CM
24084 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24085
463de862
CM
24086 * include/sys/epoll.h: New file.
24087 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24088 libc_hidden_def.
24089
73139a76
UD
240902012-01-28 Ulrich Drepper <drepper@gmail.com>
24091
96bc5b45
UD
24092 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24093 Avoid unnecessary __WORDSIZE == 64 test.
24094 (fmaxf): Use VEX format if possible.
24095 (fmax): Likewise.
24096 (fminf): Likewise.
24097 (fmin): Likewise.
24098
56f6f6a2
UD
24099 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24100 * math/math_private.h: Remove libc_fegetround* and
24101 libc_fesetround*.
24102 * sysdeps/i386/configure.in: Check for -msse2avx.
24103 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24104 also if SSE2AVX is defined.
24105 Remove libc_fegetround* and libc_fesetround*.
24106 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24107 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24108 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24109 of HAS_YMM_USABLE.
24110 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24111 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24115
73139a76
UD
24116 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24117
d73f93a4
AZ
241182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24119
24120 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24121 size is not set.
24122 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24123
6ee65ed6
UD
241242012-01-27 Ulrich Drepper <drepper@gmail.com>
24125
24126 [BZ #13618]
24127 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24128 relocation.
24129 * Makeconfig (libm): Define.
24130 * elf/Makefile: Add rules to build and run tst-relsort1.
24131 * elf/tst-relsort1.c: New file.
24132 * elf/tst-relsort1mod1.c: New file.
24133 * elf/tst-relsort1mod2.c: New file.
24134
8db21882
JM
241352012-01-27 Joseph Myers <joseph@codesourcery.com>
24136
24137 * math/s_ldexp.c: Remove __STDC__ conditionals.
24138 * math/s_ldexpf.c: Likewise.
24139 * math/s_ldexpl.c: Likewise.
24140 * math/s_nextafter.c: Likewise.
24141 * math/s_nexttowardf.c: Likewise.
24142 * math/s_significand.c: Likewise.
24143 * math/s_significandf.c: Likewise.
24144 * math/s_significandl.c: Likewise.
24145 * math/w_jnl.c: Likewise.
24146 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24147 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24148 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24149 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24150 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24161 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24162 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24165 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24166 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24167 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24168 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24170 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24171 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24172 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24173 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24174 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24175 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24176 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24177 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24178 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24179 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24180 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24181 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24184 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24185 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24186 * sysdeps/ieee754/k_standard.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24248 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24253 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24261 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24262 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24266 * sysdeps/ieee754/s_matherr.c: Likewise.
24267 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24268 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24271
965a54a4
JM
242722012-01-26 Joseph Myers <joseph@codesourcery.com>
24273
24274 * crypt/md5.h: Remove __STDC__ conditionals.
24275 * libio/libioP.h: Likewise.
24276 * locale/programs/config.h: Likewise.
24277 * sysdeps/generic/sysdep.h: Likewise.
24278 * sysdeps/i386/asm-syntax.h: Likewise.
24279 * sysdeps/s390/asm-syntax.h: Likewise.
24280 * sysdeps/unix/sysdep.h: Likewise.
24281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24283
7071ad79
JM
242842012-01-26 Joseph Myers <joseph@codesourcery.com>
24285
24286 * libio/libio.h: Remove __STDC__ conditionals.
24287 * malloc/obstack.h: Likewise.
24288 * math/complex.h: Likewise.
24289 * math/math.h: Likewise.
24290 * sysdeps/generic/_G_config.h: Likewise.
24291 * sysdeps/gnu/_G_config.h: Likewise.
24292 * sysdeps/mach/hurd/_G_config.h: Likewise.
24293 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24294 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24295 * sysdeps/sparc/bits/mathdef.h: Likewise.
24296
afc5ed09
UD
242972012-01-26 Ulrich Drepper <drepper@gmail.com>
24298
24299 [BZ #13583]
24300 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24301 Clean up HAS_* macros.
afc5ed09 24302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24303 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24304 possible.
24305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24306 HAS_AVX.
24307 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24308 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24309 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24310 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24312
bdb6de1d
JM
243132012-01-25 Joseph Myers <joseph@codesourcery.com>
24314
24315 * elf/tst-unique3.cc (gets): Remove declaration.
24316 * elf/tst-unique3lib.cc (gets): Likewise.
24317 * elf/tst-unique3lib2.cc (gets): Likewise.
24318 * elf/tst-unique4.cc (gets): Likewise.
24319
b15549e6
UD
243202012-01-24 Ulrich Drepper <drepper@gmail.com>
24321
24322 * include/stdio.h: Add C++ protection. Add gets declarations and
24323 definitions.
24324 * debug/tst-chk1.c: Don't declare gets here.
24325 * stdio-common/tst-gets.c: Likewise.
24326
a037381f
JM
243272012-01-24 Joseph Myers <joseph@codesourcery.com>
24328
24329 * posix/glob: Remove directory.
24330
f1d4aa75
JM
243312012-01-24 Joseph Myers <joseph@codesourcery.com>
24332
24333 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24334
81c0c964
PT
243352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24336
24337 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24338 of the non-standard EPFNOSUPPORT.
24339
0ea698ae
ST
243402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24341
24342 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24343 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24344 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24345
d220b117
UD
243462012-01-21 Ulrich Drepper <drepper@gmail.com>
24347
24348 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24349
3e1aa84e
UD
243502012-01-20 Ulrich Drepper <drepper@gmail.com>
24351
24352 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24353 transient errors.
24354 * nscd/grpcache.c (cache_addgr): Likewise.
24355 * nscd/hstcache.c (cache_addhst): Likewise.
24356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24357 * nscd/pwdcache.c (cache_addpw): Likewise.
24358 * nscd/servicescache.c (cache_addserv): Likewise.
24359
400aa020
UD
243602012-01-16 Ulrich Drepper <drepper@gmail.com>
24361
d77e7869
UD
24362 * malloc/malloc.c: Various cleanups.
24363 * malloc/hooks.c: Likewise.
24364
400aa020
UD
24365 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24366 * stdlib/bug-fmtmsg1.c: New file.
24367
24368 * stdlib/fmtmsg.c (init): Add missing unlock.
24369 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24370
e0a309cf
MP
243712012-01-12 Marek Polacek <polacek@redhat.com>
24372
24373 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24374 and _GNU_SOURCE.
24375
929d11c7
WS
243762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24377
24378 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24379 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24380 macro to ensure uniqueness of label name.
24381 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24382 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24383
41d0e869
UD
243842012-01-11 Ulrich Drepper <drepper@gmail.com>
24385
0cc5ed3b
UD
24386 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24387
41d0e869
UD
24388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24389 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24390 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24392
a47a831a
UD
243932012-01-10 Ulrich Drepper <drepper@gmail.com>
24394
daa891c0
UD
24395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24396
24397 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24398 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24399 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24400
e58ef0f2
UD
24401 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24402
a47a831a 24403 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24404 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24405 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24407
24408 * math/bits/math-finite.h: Add ldexp support.
24409
a0bfc9c7
MP
244102012-01-10 Marek Polacek <polacek@redhat.com>
24411
24412 * locale/programs/localedef.h (show_archive_content): Add noreturn
24413 attribute.
24414
d6e97a1d
UD
244152012-01-09 Ulrich Drepper <drepper@gmail.com>
24416
24417 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24418
d5835c26
UD
244192012-01-08 Ulrich Drepper <drepper@gmail.com>
24420
e5f484c6
UD
24421 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24422
d5835c26
UD
24423 * io/Makefile (headers): Add bits/poll2.h.
24424
d1f741e9
WS
244252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24426
24427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24428 typo #include statement.
24429
ec09c1c4
UD
244302012-01-08 Ulrich Drepper <drepper@gmail.com>
24431
24432 * include/sys/cdefs.h: Define __attribute_alloc_size.
24433 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24434 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24435 * elf/pldd.c: Likewise.
24436 * iconv/iconv_charmap.c: Likewise.
24437 * iconv/iconvconfig.c: Likewise.
24438 * iconv/strtab.c: Likewise.
24439 * locale/programs/locale.c: Likewise.
24440 * locale/programs/localedef.h: Likewise.
24441 * locale/programs/simple-hash.c: Likewise.
24442 * nscd/nscd.h: Likewise.
24443 * nss/makedb.c: Likewise.
24444 * sysdeps/generic/ldconfig.h: Likewise.
24445 * locale/programs/localedef.c: Remove xmalloc prototype.
24446 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24447
20b38e03
PP
244482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24449
24450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24451 appropriate.
24452
a0da5fe1
UD
244532012-01-08 Ulrich Drepper <drepper@gmail.com>
24454
1d5a644a 24455 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24456 * math/tst-CMPLX.c: New file.
1d5a644a 24457
8784a6db
UD
24458 * math/complex.h (CMPLXL): Fix typo.
24459
d9a216c0
UD
24460 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24461 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24462 GLIBC_2.16.
24463 * debug/tst-chk1.c: Add poll and ppoll tests.
24464 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24465 * include/sys/poll.h: Add hidden proto for ppoll.
24466 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24467 * sysdeps/mach/hurd/ppoll.c: Likewise.
24468 * io/ppoll.c: Likewise.
24469 * debug/poll_chk.c: New file.
24470 * debug/ppoll_chk.c: New file.
24471 * include/bits/poll2.h: New file.
24472 * io/bits/poll2.h: New file.
24473
ac097f5c
UD
24474 [BZ #1350]
24475 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24476
2119dcfa
UD
24477 * configure.in: static is always set to yes. Remove.
24478 * config.make.in: Don't set build-static.
24479 * Makeconfig: Remove use of build-static.
24480 * dlfcn/Makefile: Likewise.
24481 * elf/Makefile: Likewise.
24482 * math/Makefile: Likewise.
24483 * misc/Makefile: Likewise.
24484 * nptl/Makefile: Likewise.
24485 * sysdeps/mach/hurd/Makefile: Likewise.
24486
121766a9
UD
24487 * configure.in: PWD_P is not used anymore.
24488 * config.make.in: Remove PWD_P entry.
24489
51a1d39c 24490 * configure.in: Remove last remnants of RANLIB.
8720d066 24491 No need to check for signed size_t anymore.
215f4bdc
UD
24492 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24493 and IA-64.
3857022a 24494 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24495 * aclocal.m4: Likewise.
24496
d3ed7225
UD
24497 * wcsmbs/mbrtoc16.c: Implement using towc function.
24498 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24499 * wcsmbs/wcsmbsload.c: Likewise.
24500 * iconv/gconv_simple.c: Likewise.
24501 * iconv/gconv_int.h: Likewise.
24502 * iconv/gconv_builtin.h: Likewise.
24503 * iconv/iconv_prog.c: Remove CHAR16 handling.
24504
24505 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24506
24507 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24508
a0da5fe1
UD
24509 * configure.in: Remove --with-elf and --enable-bounded options.
24510 Dont set base_machine for ia64. More non-ELF conditions removed.
24511 Remove testing and setting of leading underscore information.
24512 * config.make.in (build-bounded): Set to no.
24513 * config.h.in: Remove NO_UNDERSCORES entry.
24514 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24515 them.
24516 * csu/start.c: Remove !NO_UNDERSCORE code.
24517 * locale/localeinfo.h: Likewise.
24518 * sysdeps/generic/machine-gmon.h: Likewise.
24519 * sysdeps/generic/sysdep.h: Likewise.
24520 * sysdeps/i386/sysdep.h: Likewise.
24521 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24522 * sysdeps/mach/sysdep.h: Likewise.
24523 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24524 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24525 * sysdeps/sh/sysdep.h: Likewise.
24526 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24527 * sysdeps/unix/i386/sysdep.S: Likewise.
24528 * sysdeps/unix/sparc/start.c: Likewise.
24529 * sysdeps/unix/sparc/sysdep.S: Likewise.
24530 * sysdeps/unix/sparc/sysdep.h: Likewise.
24531 * sysdeps/unix/start.c: Likewise.
24532 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24533 * sysdeps/x86_64/sysdep.h: Likewise.
24534
df78418a
UD
245352012-01-07 Ulrich Drepper <drepper@gmail.com>
24536
a784e502
UD
24537 [BZ #13553]
24538 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24539 for non-gcc.
24540 * argp/argp-fmtstream.h: Use const instead __const.
24541 * argp/argp.h: Likewise.
24542 * assert/assert.h: Likewise.
24543 * bits/fenv.h: Likewise.
24544 * bits/sched.h: Likewise.
24545 * bits/sigset.h: Likewise.
24546 * bits/sigthread.h: Likewise.
24547 * catgets/nl_types.h: Likewise.
24548 * conform/data/pthread.h-data: Likewise.
24549 * crypt/crypt-private.h: Likewise.
24550 * crypt/crypt.h: Likewise.
24551 * crypt/crypt_util.c: Likewise.
24552 * ctype/ctype.h: Likewise.
24553 * debug/execinfo.h: Likewise.
24554 * debug/mbsnrtowcs_chk.c: Likewise.
24555 * debug/mbsrtowcs_chk.c: Likewise.
24556 * debug/wcsnrtombs_chk.c: Likewise.
24557 * debug/wcsrtombs_chk.c: Likewise.
24558 * debug/wcstombs_chk.c: Likewise.
24559 * dirent/dirent.h: Likewise.
24560 * dlfcn/dlfcn.h: Likewise.
24561 * elf/neededtest4.c: Likewise.
24562 * grp/grp.h: Likewise.
24563 * gshadow/gshadow.h: Likewise.
24564 * iconv/gconv.h: Likewise.
24565 * iconv/gconv_int.h: Likewise.
24566 * iconv/gconv_simple.c: Likewise.
24567 * iconv/iconv.h: Likewise.
24568 * iconv/loop.c: Likewise.
24569 * iconv/skeleton.c: Likewise.
24570 * include/aio.h: Likewise.
24571 * include/aliases.h: Likewise.
24572 * include/argz.h: Likewise.
24573 * include/arpa/inet.h: Likewise.
24574 * include/assert.h: Likewise.
24575 * include/dirent.h: Likewise.
24576 * include/dlfcn.h: Likewise.
24577 * include/execinfo.h: Likewise.
24578 * include/fcntl.h: Likewise.
24579 * include/fenv.h: Likewise.
24580 * include/glob.h: Likewise.
24581 * include/grp.h: Likewise.
24582 * include/libintl.h: Likewise.
24583 * include/mntent.h: Likewise.
24584 * include/netdb.h: Likewise.
24585 * include/pwd.h: Likewise.
24586 * include/rpc/netdb.h: Likewise.
24587 * include/sched.h: Likewise.
24588 * include/search.h: Likewise.
24589 * include/shadow.h: Likewise.
24590 * include/signal.h: Likewise.
24591 * include/stdio.h: Likewise.
24592 * include/stdlib.h: Likewise.
24593 * include/string.h: Likewise.
24594 * include/sys/socket.h: Likewise.
24595 * include/sys/stat.h: Likewise.
24596 * include/sys/statfs.h: Likewise.
24597 * include/sys/statvfs.h: Likewise.
24598 * include/sys/syslog.h: Likewise.
24599 * include/sys/time.h: Likewise.
24600 * include/sys/uio.h: Likewise.
24601 * include/time.h: Likewise.
24602 * include/unistd.h: Likewise.
24603 * include/utmp.h: Likewise.
24604 * include/wchar.h: Likewise.
24605 * include/wctype.h: Likewise.
24606 * inet/aliases.h: Likewise.
24607 * inet/arpa/inet.h: Likewise.
24608 * inet/netinet/ether.h: Likewise.
24609 * inet/netinet/in.h: Likewise.
24610 * intl/libintl.h: Likewise.
24611 * io/bits/fcntl2.h: Likewise.
24612 * io/fcntl.h: Likewise.
24613 * io/ftw.h: Likewise.
24614 * io/sys/poll.h: Likewise.
24615 * io/sys/stat.h: Likewise.
24616 * io/sys/statfs.h: Likewise.
24617 * io/sys/statvfs.h: Likewise.
24618 * io/utime.h: Likewise.
24619 * libio/bits/stdio.h: Likewise.
24620 * libio/bits/stdio2.h: Likewise.
24621 * libio/libio.h: Likewise.
24622 * libio/libioP.h: Likewise.
24623 * libio/stdio.h: Likewise.
24624 * locale/lc-ctype.c: Likewise.
24625 * locale/locale.h: Likewise.
24626 * login/utmp.h: Likewise.
24627 * malloc/arena.c: Likewise.
24628 * malloc/malloc.c: Likewise.
24629 * malloc/malloc.h: Likewise.
24630 * malloc/mcheck.c: Likewise.
24631 * malloc/mtrace.c: Likewise.
24632 * math/bits/mathcalls.h: Likewise.
24633 * math/fenv.h: Likewise.
24634 * math/math_private.h: Likewise.
24635 * misc/bits/error.h: Likewise.
24636 * misc/bits/syslog.h: Likewise.
24637 * misc/err.h: Likewise.
24638 * misc/error.h: Likewise.
24639 * misc/fstab.h: Likewise.
24640 * misc/mntent.h: Likewise.
24641 * misc/regexp.h: Likewise.
24642 * misc/search.h: Likewise.
24643 * misc/sgtty.h: Likewise.
24644 * misc/sys/mman.h: Likewise.
24645 * misc/sys/syslog.h: Likewise.
24646 * misc/sys/uio.h: Likewise.
24647 * misc/sys/xattr.h: Likewise.
24648 * misc/ttyent.h: Likewise.
24649 * nis/rpcsvc/ypclnt.h: Likewise.
24650 * nss/nss.h: Likewise.
24651 * posix/bits/unistd.h: Likewise.
24652 * posix/fnmatch.h: Likewise.
24653 * posix/glob.h: Likewise.
24654 * posix/sched.h: Likewise.
24655 * posix/spawn.h: Likewise.
24656 * posix/sys/wait.h: Likewise.
24657 * posix/unistd.h: Likewise.
24658 * posix/wordexp.h: Likewise.
24659 * pwd/pwd.h: Likewise.
24660 * resolv/netdb.h: Likewise.
24661 * resource/sys/resource.h: Likewise.
24662 * rt/aio.h: Likewise.
24663 * rt/bits/mqueue2.h: Likewise.
24664 * rt/mqueue.h: Likewise.
24665 * shadow/shadow.h: Likewise.
24666 * signal/signal.h: Likewise.
24667 * socket/send.c: Likewise.
24668 * socket/sendto.c: Likewise.
24669 * socket/sys/socket.h: Likewise.
24670 * stdio-common/printf.h: Likewise.
24671 * stdlib/bits/stdlib.h: Likewise.
24672 * stdlib/fmtmsg.h: Likewise.
24673 * stdlib/monetary.h: Likewise.
24674 * stdlib/stdlib.h: Likewise.
24675 * stdlib/ucontext.h: Likewise.
24676 * streams/stropts.h: Likewise.
24677 * string/argz.h: Likewise.
24678 * string/bits/string2.h: Likewise.
24679 * string/string.h: Likewise.
24680 * string/strings.h: Likewise.
24681 * sunrpc/rpc/auth.h: Likewise.
24682 * sunrpc/rpc/auth_des.h: Likewise.
24683 * sunrpc/rpc/clnt.h: Likewise.
24684 * sunrpc/rpc/netdb.h: Likewise.
24685 * sunrpc/rpc/pmap_clnt.h: Likewise.
24686 * sunrpc/rpc/xdr.h: Likewise.
24687 * sysdeps/generic/inttypes.h: Likewise.
24688 * sysdeps/generic/net/if.h: Likewise.
24689 * sysdeps/generic/sys/swap.h: Likewise.
24690 * sysdeps/gnu/net/if.h: Likewise.
24691 * sysdeps/gnu/utmpx.h: Likewise.
24692 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24693 * sysdeps/i386/i486/bits/string.h: Likewise.
24694 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24695 * sysdeps/s390/bits/string.h: Likewise.
24696 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24697 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24698 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24699 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24700 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24701 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24702 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24703 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24704 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24705 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24706 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24707 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24708 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24709 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24710 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24711 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24712 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24714 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24715 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24716 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24717 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24718 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24719 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24720 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24721 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24722 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24724 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24725 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24726 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24727 * sysvipc/sys/ipc.h: Likewise.
24728 * sysvipc/sys/msg.h: Likewise.
24729 * sysvipc/sys/sem.h: Likewise.
24730 * sysvipc/sys/shm.h: Likewise.
24731 * termios/termios.h: Likewise.
24732 * time/sys/time.h: Likewise.
24733 * time/time.h: Likewise.
24734 * wcsmbs/bits/wchar2.h: Likewise.
24735 * wcsmbs/uchar.h: Likewise.
24736 * wcsmbs/wchar.h: Likewise.
24737 * wctype/wctype.h: Likewise.
24738
0269750c
UD
24739 [BZ #13551]
24740 * Makeconfig: Remove all but ELF support including AIX support.
24741 * Makerules: Likewise.
24742 * config.h.in: Likewise.
24743 * config.make.in: Likewise.
24744 * configure: Likewise.
24745 * configure.in: Likewise.
24746 * csu/Makefile: Likewise.
24747 * csu/version.c: Likewise.
24748 * debug/Makefile: Likewise.
24749 * dlfcn/Makefile: Likewise.
24750 * elf/Makefile: Likewise.
24751 * extra-lib.mk: Likewise.
24752 * iconv/Makefile: Likewise.
24753 * include/libc-symbols.h: Likewise.
24754 * include/shlib-compat.h: Likewise.
24755 * resolv/Makefile: Likewise.
24756 * resolv/res_libc.c: Likewise.
24757 * rt/Makefile: Likewise.
24758 * sysdeps/i386/asm-syntax.h: Likewise.
24759 * sysdeps/i386/sysdep.h: Likewise.
24760 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24761 * sysdeps/mach/sysdep.h: Likewise.
24762 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24763 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24764 * sysdeps/s390/asm-syntax.h: Likewise.
24765 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24767 * sysdeps/sh/sysdep.h: Likewise.
24768 * sysdeps/unix/sparc/sysdep.h: Likewise.
24769 * sysdeps/wordsize-32/divdi3.c: Likewise.
24770 * sysdeps/x86_64/sysdep.h: Likewise.
24771
00bbd29b
UD
24772 * argp/Versions: Remove _argp_unlock_xxx.
24773
24774 [BZ #13559]
24775 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24776 * abilist/libBrokenLocale.abilist: Likewise.
24777 * abilist/libanl.abilist: Likewise.
24778 * abilist/libc.abilist: Likewise.
24779 * abilist/libcrypt.abilist: Likewise.
24780 * abilist/libdl.abilist: Likewise.
24781 * abilist/libm.abilist: Likewise.
24782 * abilist/libnsl.abilist: Likewise.
24783 * abilist/libpthread.abilist: Likewise.
24784 * abilist/libresolv.abilist: Likewise.
24785 * abilist/librt.abilist: Likewise.
24786 * abilist/libthread_db.abilist: Likewise.
24787 * abilist/libutil.abilist: Likewise.
24788 * abilist/libnss_db.abilist: New file.
24789
24790 * scripts/abilist.awk: Add support for indirect functions.
24791
a2693a0e
UD
24792 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24793
3f05895f
UD
24794 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24795
ecb6fb48
UD
24796 * shlib-versions: Remove entries for ports architectures.
24797
664f8cb9
UD
24798 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24799 files in ports.
24800 * elf/stackguard-macros.h: Remove support for IA-64.
24801 * elf/tst-auditmod1.c: Likewise.
24802 * sysdeps/generic/ldsodefs.h: Likewise.
24803
7ae81d88
UD
24804 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24805 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24806 configure files.
24807
bdeba135
UD
24808 [BZ #13552]
24809 * configure.in: Remove --enable-omitfp support.
24810 * FAQ.in: Adjust.
24811 * config.make.in: Likewise.
24812 * Makeconfig: Likewise.
24813 * manual/install.texi: Likewise.
24814
d75a0a62
UD
24815 In case anyone cares, the IA-64 architecture could move to ports.
24816 * sysdeps/ia64/*: Removed.
24817 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24818 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24819
dcc9756b
UD
24820 [BZ #13555]
24821 * configure.in: Remove entries for unsupported architectures.
24822
d3761ebc 24823 [BZ #13533]
9954432e
UD
24824 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24825 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24826 routines.
24827 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24828 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24829 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24830 fall back to using wcrtomb.
24831 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24832 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24833 renaming.
24834 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24835 * wcsmbs/tst-c16c32-1.c: New file.
24836
24837 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24838 local variable.
24839
c3a87236
UD
24840 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24841
28926a1b
UD
24842 * elf/tst-unique3.cc: Add explicit declaration of gets.
24843 * elf/tst-unique3lib.cc: Likewise.
24844 * elf/tst-unique3lib2.cc: Likewise.
24845 * elf/tst-unique4.cc: Likewise.
24846
df78418a
UD
24847 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24848
8ecd6b2a
JM
248492012-01-06 Joseph Myers <joseph@codesourcery.com>
24850
24851 [BZ #13566]
24852 * assert/assert.h (static_assert): Don't define for C++.
24853 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24854 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24855
9f115170
UD
248562012-01-03 Ulrich Drepper <drepper@gmail.com>
24857
5e0d0300
UD
24858 * iconv/loop.c (single loop): Fix assertion in storing of
24859 remaining bytes.
24860
9f115170
UD
24861 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24862
81fb02b0
UD
248632012-01-01 Ulrich Drepper <drepper@gmail.com>
24864
24865 * posix/getconf.c: Update copyright year.
24866 * nss/getent.c: Likewise.
a316c1f6 24867 * nss/makedb.c: Likewise.
81fb02b0
UD
24868 * iconv/iconvconfig.c: Likewise.
24869 * iconv/iconv_prog.c: Likewise.
24870 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24871 * elf/pldd.c: Likewise.
24872 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24873 * catgets/gencat.c: Likewise.
24874 * csu/version.c: Likewise.
24875 * elf/ldd.bash.in: Likewise.
24876 * elf/sprof.c (print_version): Likewise.
24877 * locale/programs/locale.c: Likewise.
24878 * locale/programs/localedef.c: Likewise.
a316c1f6 24879 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24880 * nscd/nscd.c (print_version): Likewise.
24881 * debug/xtrace.sh: Likewise.
24882 * malloc/memusage.sh: Likewise.
24883 * malloc/mtrace.pl: Likewise.
24884 * debug/catchsegv.sh: Likewise.
24885
2ba92745
JJ
248862011-12-30 Jakub Jelinek <jakub@redhat.com>
24887
24888 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24889 pure attribute.
24890
dadebdae
UD
248912011-12-24 Ulrich Drepper <drepper@gmail.com>
24892
d3761ebc 24893 [BZ #13533]
db6af3eb
UD
24894 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24895 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24896 transformations.
24897 * iconv/gconv_int.h: Likewise.
24898 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24899 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24900 from libc for GLIBC_2.16.
24901 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24902 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24903 * wcsmbs/uchar.h: Really define mbstate_t.
24904 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24905 * wcsmbs/c16rtomb.c: New file.
24906 * wcsmbs/mbrtoc16.c: New file.
24907 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24908 for C/POSIX locale.
24909 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24910 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24911
dadebdae
UD
24912 * wcsmbs/wchar.h: Add missing __restrict.
24913
67371b56
UD
249142011-12-23 Ulrich Drepper <drepper@gmail.com>
24915
74033a25
UD
24916 [BZ #13532]
24917 * time/Makefile (routines): Add timespec_get.
24918 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24919 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24920 timespec for ISO C11.
24921 * time/timespec_get.c: New file.
24922 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24923 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24924
380d7e87
UD
24925 [BZ #13531]
24926 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24927 * stdlib/stdlib.h: Declare aligned_alloc.
24928 * Versions.def: Add GLIBC_2.16 for libc.
24929 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24930
4e9e7a35
UD
24931 [BZ 13527]
24932 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24933 ISO C11.
24934
380d7e87 24935 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24936 code.
24937
03a71829
UD
24938 [BZ #13528]
24939 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24940
839e283e
UD
24941 [BZ #13529]
24942 * assert/assert.h (static_assert): Define.
24943
ce5294e2 24944 * version.h: Update for 2.16 development version.
90fa7312 24945
8d44e150 24946 [BZ #13526]
d7809905
UD
24947 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24948 _ISOC11_SOURCE.
24949
c0da14cd
UD
24950 * version.h (RELEASE): Bump for 2.15 release.
24951 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24952
530a3249
MP
24953 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24954 Patch by Marek Polacek <mpolacek@redhat.com>.
24955
67371b56
UD
24956 * bits/byteswap.h: Protect long long constants with __extension__.
24957 * sysdeps/i386/bits/byteswap.h: Likewise.
24958 * sysdeps/ia64/bits/byteswap.h: Likewise.
24959 * sysdeps/s390/bits/byteswap.h: Likewise.
24960 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24961
15db4de1
LD
249622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24963
24964 [BZ #13540]
bbe315ea
LD
24965 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24966 destination buffer.
15db4de1
LD
24967 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24968
2b2596b1
MP
249692011-12-23 Marek Polacek <polacek@redhat.com>
24970
24971 * elf/dl-addr.c (determine_info): Add inline keyword.
24972 * elf/tst-auditmod4b.c (check_avx): Likewise.
24973 * elf/tst-auditmod6b.c (check_avx): Likewise.
24974 * elf/tst-auditmod6c.c (check_avx): Likewise.
24975 * elf/tst-auditmod7b.c (check_avx): Likewise.
24976
70c6c246
UD
249772011-12-23 Ulrich Drepper <drepper@gmail.com>
24978
24979 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24980 !__SSE_MATH__.
24981
c044cf14
LD
249822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24983
15db4de1 24984 [BZ #13540]
c044cf14
LD
24985 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24986 processing for last bytes.
24987
6b13d9d9
BH
249882011-08-06 Bruno Haible <bruno@clisp.org>
24989
d455f537
BH
24990 [BZ #13061]
24991 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24992 U+0385, not to U+1FEE.
24993
6b13d9d9
BH
24994 [BZ #13062]
24995 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24996 entry for U+00A5 U+0301.
24997
db910efd
UD
249982011-12-22 Ulrich Drepper <drepper@gmail.com>
24999
27deeafc
UD
25000 [BZ #13166]
25001 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25002 buffer for the output is too small.
25003
aed9d171
UD
25004 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25005 optimization.
25006
db910efd
UD
25007 [BZ #13185]
25008 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25009 SSE flags if possible.
25010
2bd779ae
LD
250112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25012
e7f9dac3 25013 [BZ #13540]
2bd779ae
LD
25014 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25015 processing for last bytes.
25016
154bfc16
JM
250172011-12-22 Joseph Myers <joseph@codesourcery.com>
25018
25019 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25020 (syscall-list-default-options, syscall-list-default-condition)
25021 (syscall-list-includes): Define.
25022 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25023 list of ABIs and options and #if conditions for each ABI. Do not
25024 handle common syscalls between ABIs specially.
25025 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25026 Remove.
25027 (syscall-list-variants, syscall-list-32bit-options)
25028 (syscall-list-32bit-condition, syscall-list-64bit-options)
25029 (syscall-list-64bit-condition): Define.
25030 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25040 Remove.
25041 (syscall-list-variants, syscall-list-32bit-options)
25042 (syscall-list-32bit-condition, syscall-list-64bit-options)
25043 (syscall-list-64bit-condition): Define.
25044
21eaf3a5
UD
250452011-12-22 Ulrich Drepper <drepper@gmail.com>
25046
16c6f992
UD
25047 * locale/iso-639.def: Add brx entry.
25048
41043168
UD
25049 [BZ #13328]
25050 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25051 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25052
21eaf3a5
UD
25053 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25054 __feraiseexcept_renamed.
25055
e3a851a2
UD
250562011-12-21 Ulrich Drepper <drepper@gmail.com>
25057
4920765e
UD
25058 [BZ #13538]
25059 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25060 EPOLLET with unsigned values.
25061 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25062 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25063
e3a851a2
UD
25064 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25065 to large cancellation.
25066 * math/s_cacoshf.c: Likewise.
25067 * math/s_cacoshl.c: Likewise.
25068
b27e24b8
RK
250692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25070
25071 [BZ #13305]
aebefeee 25072 [BZ #12786]
b27e24b8
RK
25073 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25074 * math/s_cacoshf.c: Likewise.
25075 * math/s_cacoshl.c: Likewise.
25076
ee190f67
UD
250772011-12-21 Ulrich Drepper <drepper@gmail.com>
25078
25079 [BZ #13439]
25080 * iconv/gconv.h: Define __GCONV_SWAP.
25081 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25082 * iconvdata/utf-16.c: Likewise.
25083 * iconvdata/utf-32.c: Likewise.
25084
707f25df
AS
250852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25086
25087 [BZ #13524]
25088 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25089 numerator after shifting it by one limb.
25090
d2daaa1e
RÁE
250912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25092
25093 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25094 under [__USE_EXTERN_INLINES].
25095
a4647e72
UD
250962011-12-17 Ulrich Drepper <drepper@gmail.com>
25097
25098 [BZ #13446]
25099 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25100
f0b264f1
AZ
251012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25102
25103 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25104 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25105 optimized code.
25106 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25107 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25108 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25109 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25110 for strncasecmp/strncasecmp_l compilation.
25111 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25112 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25113
8ef4f244
MP
251142011-12-08 Marek Polacek <mpolacek@redhat.com>
25115
25116 [BZ #13484]
25117 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25118 of __asm__.
25119
97ac2654
UD
251202011-12-17 Ulrich Drepper <drepper@gmail.com>
25121
25122 [BZ #13506]
25123 * time/tzfile.c (__tzfile_read): Check values from file header.
25124
91d2a845
WS
251252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25126
25127 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25128 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25129 * powerpc/powerpc32/dl-start.S: Likewise.
25130 * powerpc/powerpc32/elf/start.S: Likewise.
25131 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25132 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25133 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25134 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25135 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25136 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25137 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25138 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25139 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25140 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25141 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25142 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25143 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25144 * powerpc/powerpc32/memset.S: Likewise.
25145 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25146 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25147 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25148 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25149 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25150 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25151 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25152 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25153 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25154 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25155 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25156 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25157 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25158
a1267ba1
AZ
251592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25160
25161 * math/libm-test.inc: Added more nearbyint tests.
25162 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25163 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25165 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25166
ad8ac1bd
RL
251672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25168
25169 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25170 FD_CLOEXEC.
25171
1d3e4b61
UD
251722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25173
25174 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25175 Add wcscpy-ssse3 wcscpy-c.
25176 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25177 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25178 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25179 * sysdeps/x86_64/wcschr.S: New file.
25180 * sysdeps/x86_64/wcsrchr.S: New file.
25181 * string/test-strcmp.c: Remove checking of wcscmp function for
25182 wrong alignments.
25183 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25184 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25185 wcsrchr-sse2 wcsrchr-c.
25186 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25187 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25188 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25189 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25190 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25191 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25192 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25193 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25194 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25195 * wcsmbc/wcschr.c (WCSCHR): New macro.
25196
5b330a2d
UD
251972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25198
25199 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25200 * wcsmbs/test-wcsrchr.c: New file.
25201 * string/test-strrchr.c: Add wcsrchr support.
25202 (WIDE): New macro.
25203 * wcsmbs/test-wcscpy.c: New file.
25204 * string/test-strcpy.c: Add wcscpy support.
25205 (WIDE): New macro.
26428b7c 25206
f039c043
UD
252072011-12-10 Ulrich Drepper <drepper@gmail.com>
25208
25209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25210 the inner loop.
25211
850fb039
AS
252122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25213
25214 [BZ #13472]
25215 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25216
4efbd5cb
UD
252172011-12-04 Ulrich Drepper <drepper@gmail.com>
25218
52ff5dd0 25219 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25220 Minor optimizations.
52ff5dd0 25221
4efbd5cb
UD
25222 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25223 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25224 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25225
8a426e12
UD
252262011-12-03 Ulrich Drepper <drepper@gmail.com>
25227
aff2453d
UD
25228 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25229 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25230 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25231 for gcc to avoid warnings.
25232 * inet/Makefile (tests): Add tst-checks.
25233 * inet/tst-checks.c: New file.
25234
25235 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25236 warning.
25237
25238 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25239 __wmemcmp_sse2.
25240
25241 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25242 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25243
8a426e12
UD
25244 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25245
9bea3473
UD
252462011-12-02 Ulrich Drepper <drepper@gmail.com>
25247
3a965496
UD
25248 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25249 problem.
25250
9bea3473
UD
25251 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25252
f101631b
UD
252532011-11-29 Joseph Myers <joseph@codesourcery.com>
25254
25255 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25256 conditional on GCC version.
25257 (__arch_compare_and_exchange_val_8_acq)
25258 (__arch_compare_and_exchange_val_16_acq)
25259 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25260 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25261 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25262
a98275aa
UD
252632011-12-02 Joseph Myers <joseph@codesourcery.com>
25264
25265 * sysdeps/sh/backtrace.c: New file.
25266
d4cc29a2
AS
252672011-12-02 Andreas Schwab <schwab@redhat.com>
25268
25269 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25270 parenthesis.
25271
6257af2d
AS
252722011-12-01 Andreas Schwab <schwab@redhat.com>
25273
25274 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25275 falling back to utime.
25276
b5f44c1a
AS
252772011-11-30 Andreas Schwab <schwab@redhat.com>
25278
25279 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25280 expectations for float.
25281
f3a6cc0a
AS
252822011-11-29 Andreas Schwab <schwab@redhat.com>
25283
25284 * locale/weight.h (findidx): Add parameter len.
25285 * locale/weightwc.h (findidx): Likewise.
25286 * posix/fnmatch_loop.c (FCT): Adjust caller.
25287 * posix/regcomp.c (build_equiv_class): Likewise.
25288 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25289 * posix/regexec.c (check_node_accept_bytes): Likewise.
25290 * string/strcoll_l.c (STRCOLL): Likewise.
25291 * string/strxfrm_l.c (STRXFRM): Likewise.
25292
9d65ea3a
UD
252932011-11-17 Ulrich Drepper <drepper@gmail.com>
25294
25295 * Makefile.in: Remove CVSOPT handling.
25296 * configure.in: Remove use of AC_REVISION.
25297 * iconvdata/Makefile (distribute): No need to filter out CVS.
25298 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25299 handling.
25300
5583a086
AS
253012011-11-16 Andreas Schwab <schwab@redhat.com>
25302
25303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25304 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25305 [USE_AS_STRNCASECMP_L]: Likewise.
25306 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25307 NO_TLS_DIRECT_SEG_REFS.
25308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25309 Fix argument offsets for non-PIC.
25310 [USE_AS_STRNCASECMP_L]: Likewise.
25311 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25312 NO_TLS_DIRECT_SEG_REFS.
25313
d62a8200
UD
253142011-11-15 Ulrich Drepper <drepper@gmail.com>
25315
9d65ea3a 25316 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25317 O_CLOEXEC.
25318 * locale/loadlocale.c (_nl_load_locale): Likewise.
25319
09f93bd3
AS
253202011-11-15 Andreas Schwab <schwab@redhat.com>
25321
446514f9
AS
25322 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25323 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25324 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25325 (SYSCALL_GETTIME): Set errno on error.
25326
09f93bd3
AS
25327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25328 count references to noai6ai_cached.
25329
312be3f9
UD
253302011-11-15 Ulrich Drepper <drepper@gmail.com>
25331
25332 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25333
25334 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25335 FD_CLOEXEC for /proc/self/maps.
25336
25337 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25338 FD_CLOEXEC for /proc/meminfo.
25339
25340 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25341 gai.conf.
25342
25343 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25344 FD_CLOEXEC for given file.
25345
25346 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25347
25348 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25349 FD_CLOEXEC for /etc/hosts.
25350 (_gethtent): Likewise.
25351
25352 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25353
25354 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25355 cancellation and set FD_CLOEXEC for /etc/netgroup.
25356
25357 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25358 reading /etc/publickey.
25359
25360 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25361 allow cancellation when reading /etc/group.
25362
25363 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25364 cancellation.
25365 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25366
25367 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25368 when using data file.
25369
25370 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25371
25372 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25373 (write_nis_obj): Use "c" and "e" in fopen.
25374
25375 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25376
25377 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25378
25379 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25380
25381 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25382
25383 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25384 locale.alias.
25385
25386 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25387
25388 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25389
25390 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25391
25392 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25393 file parsing and set FD_CLOEXEC.
25394
82af0fa8
UD
253952011-11-14 Ulrich Drepper <drepper@gmail.com>
25396
25397 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25398
a5fb313c
AS
253992011-11-14 Andreas Schwab <schwab@redhat.com>
25400
25401 * malloc/arena.c (arena_get2): Don't call reused_arena when
25402 _int_new_arena failed.
25403
6abf3465
UD
254042011-11-14 Ulrich Drepper <drepper@gmail.com>
25405
25406 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25407 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25409 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25412 to compile strcasecmp and strncasecmp.
25413 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25414 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25415
25416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25417
76e3966e
UD
254182011-11-13 Ulrich Drepper <drepper@gmail.com>
25419
25420 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25421 locale-defines.sym to gen-as-const-headers.
25422 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25423 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25424 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25425 to compile strcasecmp and strncasecmp.
25426 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25427 strcasecmp_l and strncasecmp_l.
25428 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25429 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25430 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25431 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25432 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25433 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25434 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25435 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25436 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25437 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25438 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25439
ab26144e
UD
254402011-11-12 Ulrich Drepper <drepper@gmail.com>
25441
7edb22ef
UD
25442 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25443 result of SYSDEP_GETTIME_CPU to retval.
25444 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25445 parameter list to macro. Remove trailing semicolon. Adjust users.
25446
9694fc44
UD
25447 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25448 variable.
25449
8ad89ef8
UD
25450 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25451 mantissa words.
25452 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25453
0c822ef9
UD
25454 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25455 from unused variable.
25456
874e0564
UD
25457 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25458 DWARF definitions.
25459 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25460 for assembling.
25461
3a2edc79
UD
25462 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25463 over namespaces.
25464
f3c2577f
UD
25465 * sunrpc/rpc_prot.c (rejected): Fix case value.
25466
294ce126
UD
25467 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25468 unsigned long long int to avoid warnings in shift.
25469
5e2b63c6
UD
25470 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25471 of use of trans.
25472 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25473 variable tmp.
25474
e7f4b08e
UD
25475 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25476 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25477 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25478
ab26144e
UD
25479 * nis/nis_table.c (nis_list): Use variable of correct type for
25480 result of __follow_path call.
25481
8a6d5255
AZ
254822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25483
25484 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25485 of math functions ceil, trunc, floor, round, and sqrt, when
25486 avaliable on the platform.
25487 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25488 name clash.
25489 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25490 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25491 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25492
aaddc98c
MP
254932011-10-30 Marek Polacek <mpolacek@redhat.com>
25494
25495 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25496 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25497
95b7042b
RM
254982011-11-11 Roland McGrath <roland@hack.frob.com>
25499
25500 * include/unistd.h: Fix __readlink return type.
25501 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25502
57769839
UD
255032011-11-11 Ulrich Drepper <drepper@gmail.com>
25504
25505 * stdlib/ucontext.h: Undo last change for makecontext.
25506
edc5984d
AS
255072011-11-11 Andreas Schwab <schwab@redhat.com>
25508
98591e58
AS
25509 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25510
edc5984d
AS
25511 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25512 * setjmp/setjmp.h: Mark functions as non-leaf.
25513 * setjmp/bits/setjmp2.h: Likewise.
25514 * stdlib/ucontext.h: Likewise.
25515
77cdc054
AS
255162011-11-10 Andreas Schwab <schwab@redhat.com>
25517
25518 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25519 (reused_arena): Don't check arena limit.
25520 (arena_get2): Atomically check arena limit.
25521
fe72eebd
UD
255222011-11-08 Ulrich Drepper <drepper@gmail.com>
25523
5f078c32
UD
25524 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25525 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25526
fe72eebd
UD
25527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25528 instructions.
25529
ae1bc2fa
AS
255302011-11-07 Andreas Schwab <schwab@redhat.com>
25531
7583a88d
AS
25532 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25533 handler when locking.
25534
ae1bc2fa
AS
25535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25536 Fix size of allocated buffer.
25537
10fb0bfa
AS
255382011-11-04 Andreas Schwab <schwab@redhat.com>
25539
998832a4
AS
25540 [BZ #10103]
25541 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25542 declarations for long double functions.
25543 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25544
10fb0bfa
AS
25545 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25546
3d7ba52b
AS
255472011-11-03 Andreas Schwab <schwab@redhat.com>
25548
a9ae54a1
AS
25549 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25550 installed.
25551
3d7ba52b
AS
25552 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25553 is disabled.
25554
bc8db248
ST
255552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25556
25557 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25558
45b96dd6
AS
255592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25560
647776f6
AS
25561 * include/alloca.h (stackinfo_alloca_round): Define.
25562 (extend_alloca): Use it.
25563 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25564 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25565 here.
25566
d91a8b93
AS
25567 * scripts/check-local-headers.sh: Ignore libaudit.h.
25568
45b96dd6
AS
25569 * nscd/Makefile (extra-objs): Make recursively expanded.
25570
432d41ce
UD
255712011-11-01 Ulrich Drepper <drepper@gmail.com>
25572
34372fc6
UD
25573 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25575
fadb59f8
UD
25576 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25577 * posix/tst-rfc3484-2.c: Likewise.
25578 * posix/tst-rfc3484-3.c: Likewise.
25579
78239589
UD
25580 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25581 process_vm_writev.
25582 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25583 process_vm_writev.
25584 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25585 process_vm_writev from libc using GLIBC_2.15 version.
25586
432d41ce
UD
25587 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25588
02f9c6cf
PP
255892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25590
25591 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25592 stack usage.
25593
3a2c0242
UD
255942011-10-31 Ulrich Drepper <drepper@gmail.com>
25595
f4ec4833
UD
25596 [BZ #13367]
25597 * nss/getent.c (initgroups_keys): Show error message in case no group
25598 names are given.
25599
3a2c0242
UD
25600 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25601 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25602 __bump_nl_timestamp.
25603 * nscd/connections (nscd_init): When host database is served open
25604 netlink socket and request notification about configuration changes.
25605 (main_loop_poll): Track netlink file descriptor and bump timestamp
25606 in case data becomes available.
25607 (main_loop_epoll): Likewise.
25608 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25609 (database_pers_head): Add extra_data fileds.
25610 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25611 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25612 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25613 Adjust caller.
25614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25615 in6ai data, call __free_in6ai.
25616 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25617 Add -DHAVE_NETLINK.
25618 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25619 interface information. Reuse previous data if netlink timestamp
25620 is not changed.
25621 (__bump_nl_timestamp): New function.
25622 (__free_in6ai): New function.
25623
636064eb
UD
256242011-10-30 Ulrich Drepper <drepper@gmail.com>
25625
25626 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25627 close_not_cancel_no_status here.
25628 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25629
9beb2334
UD
256302011-10-29 Ulrich Drepper <drepper@gmail.com>
25631
6ef76f3b
UD
25632 [BZ #13276]
25633 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25634 return value.
25635
0ffc4f3e 25636 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25637 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25638 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25639
cb95113e
UD
256402011-07-03 Andreas Jaeger <aj@suse.de>
25641
25642 [BZ #10709]
25643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25644 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25645 * math/libm-test.inc (sin_test): Add test case.
25646
a1b560ff
UD
256472011-10-29 Ulrich Drepper <drepper@gmail.com>
25648
c9aaface
UD
25649 [BZ #13337]
25650 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25651 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25652
d272e7f1
UD
25653 * elf/chroot_canon.c (chroot_canon): Cleanups.
25654
1bc33071
UD
25655 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25656
1760874d
TJ
25657 [BZ #13335]
25658 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25659 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25660
51d91b18
UD
25661 * string/test-strchr.c: Make usable for strchrnul testing.
25662 * string/test-strchrnul.c: New file.
25663 * string/Makefile (strop-tests): Add strchrnul.
25664
a1b560ff 25665 * po/it.po: Update from translation team.
b611fb81 25666 * po/es.po: Likewise.
a1b560ff 25667
a5b81e1f
UD
256682011-10-28 Ulrich Drepper <drepper@gmail.com>
25669
fd52bc6d
UD
25670 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25671 the three constants needed as parameters. Drop the others.
25672 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25673 __m128i_strloadu_tolower.
52e4b9eb
UD
25674 Create and initialize variable zero and use it in all the places
25675 where _mm_setzero_si128 was used.
fd52bc6d 25676
a5b81e1f
UD
25677 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25678 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25679 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25680 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25681 anymore.
25682 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25683 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25684 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25685 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25686 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25687 __mpranred, __mptan.
25688 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25689 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25690 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25691 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25692 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25693 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25695 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25696 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25697
b4343346
AS
256982011-10-28 Andreas Schwab <schwab@redhat.com>
25699
0c92d8a8
AS
25700 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25701 redefine if SHARED.
25702 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25703
b4343346
AS
25704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25705 wide char related routines to wcsmbs subdir.
25706
3871f58f
AS
257072011-10-27 Andreas Schwab <schwab@redhat.com>
25708
25709 [BZ #13344]
25710 * misc/sys/cdefs.h (__THROWNL): Define.
25711 * posix/unistd.h: Use __THREADNL instead of __THREAD
25712 for memory synchronization functions.
25713
94d44d9f
RM
257142011-10-26 Roland McGrath <roland@hack.frob.com>
25715
21b64b15 25716 [BZ #13349]
94d44d9f
RM
25717 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25718 doesn't exist.
25719 * manual/stdio.texi (Obstack Streams): Node removed.
25720
f6ce9294
AS
257212011-10-26 Andreas Schwab <schwab@redhat.com>
25722
80479147
AS
25723 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25724 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25725 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25726
f6ce9294
AS
25727 * math/math_private.h (math_force_eval): Allow non-addressable
25728 arguments.
25729 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25730
618280a1
UD
257312011-10-25 Ulrich Drepper <drepper@gmail.com>
25732
e0016b11
UD
25733 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25734 file is not needed.
25735
25736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25737 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25738 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25739 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25740 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25741 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25742 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25743 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25744 Add AVX variants.
25745 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25746 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25747 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25748 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25749 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25750 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25751 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25752 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25753 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25754 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25755 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25756 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25757 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25758 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25759 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25760 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25761 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25762 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25763 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25764
25765 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25766 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25767
618280a1
UD
25768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25769 place. Use VEX encoding when compiling for AVX.
25770
37822576
AS
257712011-10-25 Andreas Schwab <schwab@redhat.com>
25772
1f1e1947
AS
25773 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25774 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25775
37822576
AS
25776 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25777
31ea014d
UD
257782011-10-25 Ulrich Drepper <drepper@gmail.com>
25779
d7826aa1 25780 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25781 useless if() expression.
d7826aa1
UD
25782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25784 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25786 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25787 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25788 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25790 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25791 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25792 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25793 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25794 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25795 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25796 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25797 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25798 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25800 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25801
31ea014d
UD
25802 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25803
16437fec
AS
258042011-10-25 Andreas Schwab <schwab@redhat.com>
25805
25806 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25807 condition.
25808 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25809
31d3cc00
UD
258102011-10-25 Ulrich Drepper <drepper@gmail.com>
25811
25812 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25813 .text section. Avoid duplicate constants.
25814 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25823 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25824 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25825 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25826 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25827 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25828 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25829 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25830 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25831 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25832 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25833 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25834 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25837 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25838 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25839 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25840 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25841 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25843 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25844 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25845 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25846 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25847 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25848 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25849 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25850 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25851 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25852 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25853 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25854 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25855 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25856 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25857 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25858 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25859
58985aa9
UD
258602011-10-24 Ulrich Drepper <drepper@gmail.com>
25861
202c9deb
UD
25862 * sysdeps/x86_64/dla.h: Move to ...
25863 * sysdeps/x86_64/fpu/dla.h: ...here.
25864 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25865 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25866
af968f62
UD
25867 * config.make.in: Add have-mfma4 entry.
25868 * configure.in: Substitute libc_cv_cc_fma4.
25869 * math/Makefile (dbl-only-routines): Add sincostab.
25870 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25871 Use __sincostab not sincos.
25872 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25873 name is a macro.
25874 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25875 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25876 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25878 using __copysign.
25879 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25880 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25881 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25882 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25883 and __inv.
25884 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25885 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25886 __copysign.
25887 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25888 define aliases when function name is a macro.
25889 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25890 sysdeps/ieee754/dbl-64/sincos.tbl.
25891 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25892 fma4-enabled routines.
25893 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25894 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25895 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25896 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25897 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25898 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25899 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25900 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25901 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25902 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25903 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25904 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25905 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25906 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25907 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25908 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25909 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25910 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25911 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25912 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25913 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25914 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25915 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25916 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25918 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25920 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25921 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25922 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25923
58985aa9
UD
25924 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25925 rename.
25926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25929 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25930 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25933 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25934
a201fbcf
AS
259352011-10-24 Andreas Schwab <schwab@redhat.com>
25936
25937 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25938
fc2ee42a
LD
259392011-10-23 Ulrich Drepper <drepper@gmail.com>
25940
bb3129bd
UD
25941 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25942
0275fff8
UD
25943 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25944 prediction.
25945 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25946
2fa2ae85
UD
25947 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25948 Remove unused variable magic_bits.
25949 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25950
fc2ee42a
LD
25951 * string/strnlen.c: Define and use STRNLEN macro.
25952 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25953 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25955 * wcsmbs/wcslen.c: Define and use WCSLEN.
25956 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25957 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25958 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25959 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25960 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25961 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25962 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25963
ce7dd29f
LD
259642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25965
25966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25967 strnlen-sse2-no-bsf.
25968 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25970 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25971 Add strnlen support.
25972 (USE_AS_STRNLEN): New macro.
25973 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25974 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25975 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25976 * sysdeps/x86_64/wcslen.S: New file.
25977
979c70a3
MZ
259782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25979
25980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25981 XMM-moves are used for copying on small sizes.
25982
2d09f82f
LD
259832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25984
25985 * wcsmbs/Makefile (strop-tests): Add wcschr.
25986 * wcsmbs/test-wcschr.c: New file.
25987 * string/test-strchr.c: Update.
25988 Add wcschr support.
25989 (WIDE): New macro.
25990
619fccca
LD
259912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25992
2d09f82f 25993 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25994 * wcsmbs/test-wcslen.c: New file.
25995 * string/test-strlen.c: Update.
25996 Add wcslen support.
25997 (WIDE): New macro.
25998
09f699ea
UD
259992011-10-23 Ulrich Drepper <drepper@gmail.com>
26000
26001 * po/it.po: Update from translation team.
26002
95584d3b
LD
260032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26004
26005 * sysdeps/x86_64/wcscmp.S: Update.
26006 Fix wrong comparison semantics.
26007 wcscmp shall use signed comparison not unsigned.
26008 Don't use substraction to avoid overflow bug.
26009 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26010 * wcsmbc/wcscmp.c: Likewise.
26011 * string/test-strcmp.c: Likewise.
26012 Add new tests to check cases with negative values.
26013
c8b3296b
UD
260142011-10-23 Ulrich Drepper <drepper@gmail.com>
26015
26016 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26017 * sysdeps/x86_64/dla.h: ...here. New file.
26018 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26027
246ad57a
AS
260282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26029
26030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26031 __ynl_finite aliases.
26032
a1a87169
UD
260332011-10-22 Ulrich Drepper <drepper@gmail.com>
26034
0d355eb7
UD
26035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26036
a1a87169
UD
26037 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26038 define DLA_FMA.
26039 [DLA_FMA] (EMULV): Use DLA_FMA.
26040 [DLA_FMA] (MUL12): Use EMULV.
26041 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26042 that are not needed.
26043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26050
ee2aafe0
AS
260512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26052
26053 * math/s_nan.c: Undef __nan.
26054 * math/s_nanf.c: Undef __nanf.
26055 * math/s_nanl.c: Undef __nanl.
26056 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26057 "math_private.h".
26058
bc62c2fb
UD
260592011-10-22 Ulrich Drepper <drepper@gmail.com>
26060
77425c63
UD
26061 * math/s_catan.c: Add branch predictions.
26062 * math/s_catanf.c: Likewise.
26063 * math/s_catanh.c: Likewise.
26064 * math/s_catanhf.c: Likewise.
26065 * math/s_catanhl.c: Likewise.
26066 * math/s_catanl.c: Likewise.
26067 * math/s_cexp.c: Likewise.
26068 * math/s_cexpf.c: Likewise.
26069 * math/s_cexpl.c: Likewise.
26070 * math/s_clog.c: Likewise.
26071 * math/s_clog10.c: Likewise.
26072 * math/s_clog10f.c: Likewise.
26073 * math/s_clog10l.c: Likewise.
26074 * math/s_clogf.c: Likewise.
26075 * math/s_clogl.c: Likewise.
26076 * math/s_csqrt.c: Likewise.
26077 * math/s_csqrtf.c: Likewise.
26078 * math/s_csqrtl.c: Likewise.
26079 * math/s_ctanf.c: Likewise.
26080 * math/s_ctanh.c: Likewise.
26081 * math/s_ctanhf.c: Likewise.
26082 * math/s_ctanhl.c: Likewise.
26083 * math/s_ctanl.c: Likewise.
26084
bc62c2fb
UD
26085 * math/math_private.h: Define __nan, __nanf, __nanl.
26086 * math/s_cacosh.c: Include <math_private.h>.
26087 * math/s_cacoshl.c: Likewise.
26088 * math/s_casinh.c: Likewise.
26089 * math/s_casinhf.c: Likewise.
26090 * math/s_casinhl.c: Likewise.
26091 * math/s_ccos.c: Rely entire on ccosh.
26092 * math/s_ccosf.c: Rely entire on ccoshf.
26093 * math/s_ccosl.c: Rely entirely on ccoshl.
26094 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26095 Remove tests for FE_INVALID.
26096 * math/s_ccoshf.c: Likewise.
26097 * math/s_ccoshl.c: Likewise.
26098 * math/s_csin.c: Likewise.
26099 * math/s_csinf.c: Likewise.
26100 * math/s_csinh.c Likewise.
26101 * math/s_csinhf.c: Likewise.
26102 * math/s_csinhl.c: Likewise.
26103 * math/s_csinl.c: Likewise.
26104 * math/s_ctan.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26106 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26107 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26108
8ec250a4
UD
261092011-10-21 Ulrich Drepper <drepper@gmail.com>
26110
c196fed8
UD
26111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26112 compilation problems.
26113
8ec250a4
UD
26114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26115 __builtin_expect.
26116
8d4f46c6
UD
261172011-10-20 Ulrich Drepper <drepper@gmail.com>
26118
ed72b654
UD
26119 * sysdeps/i386/configure.in: Test for -mfma4 option.
26120 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26121 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26122 COMMON_CPUID_INDEX_80000001.
26123 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26124 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26125 use it if FMA3 is not supported.
26126 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26127
8d4f46c6
UD
26128 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26129 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26130
d45c60c2
AS
261312011-10-20 Andreas Schwab <schwab@redhat.com>
26132
26133 [BZ #12892]
26134 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26135 it would create a cycle with a link time dependency.
26136
d9a4d2ab
UD
261372011-10-19 Ulrich Drepper <drepper@gmail.com>
26138
855d1560
UD
26139 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26140 instruction.
26141 * string/Makefile (strop-tests): Add rawmemchr.
26142 * string/test-rawmemchr.c: New file.
26143
d9a4d2ab
UD
26144 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26145 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26146 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26147 when compiling str{,n}casecmp and when AVX is available. Hook up
26148 new optimized code in initializers.
26149
8f3b1ffe
AS
261502011-10-19 Andreas Schwab <schwab@redhat.com>
26151
26152 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26153 __feraiseexcept instead of feraiseexcept.
26154
d38f1dba
UD
261552011-10-18 Ulrich Drepper <drepper@gmail.com>
26156
d9a8d0ab
UD
26157 * math/math_private.h: Define defaults for libc_fetestexcept and
26158 libc_feupdateenv.
26159 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26160 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26162 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26164 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26165 libc_fetestexcept and libc_feupdateenv.
26166
4855e3dd
UD
26167 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26168 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26169 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26170 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26171 libc_feholdexcept_setround.
26172
581d30e3
UD
26173 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26174 Add s_nearbyint-c and s_nearbyintf-c.
26175 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26176 nearbyintf inlines.
26177 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26178 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26179 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26180 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26181
d38f1dba
UD
26182 * math/math_private.h: Define defaults for libc_fegetround,
26183 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26184 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26185 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26186 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26187 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26188 standard functions.
26189 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26190 Remove comments and hacks for old compiler versions.
26191 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26192 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26193 libc_feholdexceptl.
26194
caa6c9d8
AS
261952011-10-18 Andreas Schwab <schwab@redhat.com>
26196
26197 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26198 (__feraiseexcept_renamed): Add __NTH.
26199 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26200 namespace violations.
26201
97c066e6
UD
262022011-10-17 Ulrich Drepper <drepper@gmail.com>
26203
99ce7b04
UD
26204 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26205
1004d182
UD
26206 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26207
228a984d
UD
26208 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26209 recently added interfaces.
26210 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26211
c8553a6a
UD
26212 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26213 about macro parameter expansion.
26214
ed22dcf6
UD
26215 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26216 __NO_MATH_INLINES is defined. Cleanups.
26217
26218 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26219 and __floorf is target has SSE4.1.
26220 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26221 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26222 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26223 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26224
b171c137
UD
26225 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26226 name.
26227 (floorf): Likewise.
26228
97c066e6
UD
26229 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26230
629f62ef
AS
262312011-10-17 Andreas Schwab <schwab@redhat.com>
26232
49a43d80
AS
26233 * misc/sys/cdefs.h: Fix last change.
26234
629f62ef
AS
26235 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26236 database lookup.
26237
e453f6cd
UD
262382011-10-16 Ulrich Drepper <drepper@gmail.com>
26239
aa78043a
UD
26240 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26241
ad0f5cad
UD
26242 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26248 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26249 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26250 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26251 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26252 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26253 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26254 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26255 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26256 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26257 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26258 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26259 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26260 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26261 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26262 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26263 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26264
26265 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26266 ceil, ceilf, floor, floorf.
26267
26268 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26269 Perform IRELATIVE relocations last.
26270
e453f6cd
UD
26271 * elf/do-rel.h: Add another parameter nrelative, replacing the
26272 local variable with the same name. Change name of the function
26273 to end in Rel or Rela (uppercase).
26274 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26275 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26276 elf_dynamic_do_##reloc function.
26277
fd5bdc09
UD
262782011-10-15 Ulrich Drepper <drepper@gmail.com>
26279
79b195b5
UD
26280 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26281 is sufficient, at least on modern CPUs.
26282
d4a28569
UD
26283 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26284
b61099b5
UD
26285 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26286 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26287
bcf01e6d
UD
26288 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26289 __expl_finite.
26290 * math/bits/math-finite.h: Add entries for exp.
26291 * math/e_expl.c: Add __*_finite alias.
26292 * sysdeps/i386/fpu/e_exp.S: Likewise.
26293 * sysdeps/i386/fpu/e_expf.S: Likewise.
26294 * sysdeps/i386/fpu/e_expl.c: Likewise.
26295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26296 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26299 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26300 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26301 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26302
ba1a0d59
UD
26303 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26304 is sufficient, at least on modern CPUs.
26305
fd5bdc09
UD
26306 * ctype/ctype-info.c (__ctype_init): Define.
26307 * include/ctype.h (__ctype_init): Declare.
26308 (__ctype_b_loc): The variable is always initialized.
26309 (__ctype_toupper_loc): Likewise.
26310 (__ctype_tolower_loc): Likewise.
26311 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26312 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26313
7872cfb0
AS
263142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26315
b468825a
AS
26316 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26317
7872cfb0
AS
26318 * configure.in: Also look in $cxxmachine/include for C++ system
26319 headers.
26320
be13f7bf
LD
263212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26322
26323 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26324 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26325 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26326 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26327 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26328 (USE_AS_WMEMCMP): New macro.
26329 Fixing indents.
26330 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26331 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26332 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26333 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26335 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26336 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26337 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26338 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26339 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26340 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26341 (USE_AS_WMEMCMP): New macro.
26342 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26343 * sysdeps/string/test-memcmp.c: Update.
26344 Fix simple_wmemcmp.
26345 Add new tests.
26346 * wcsmbs/wmemcmp.c: Update.
26347 (WMEMCMP): New macro.
26348 Fix overflow bug.
26349
556a2007
AJ
263502011-10-12 Andreas Jaeger <aj@suse.de>
26351
26352 [BZ #13268]
26353 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26354
538faaa7
UD
263552011-10-15 Ulrich Drepper <drepper@gmail.com>
26356
ab6737ff
UD
26357 * libio/iofwide.c (do_length): Avoid warning.
26358
538faaa7
UD
26359 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26360
396a21b1
UD
263612011-10-14 Ulrich Drepper <drepper@gmail.com>
26362
cdf2901f
UD
26363 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26364
38ad40ce
UD
26365 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26366 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26367 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26368 * sysdeps/i386/i686/fpu/e_log.S: New file.
26369 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26370 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26371
396a21b1
UD
26372 * ctype/ctype.h: Add support for inlined isXXX functions when
26373 compiling C++ code.
26374
6b1f68c9
AS
263752011-10-14 Andreas Schwab <schwab@redhat.com>
26376
349290c0
AS
26377 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26378
6b1f68c9
AS
26379 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26380
f2282d42
RM
263812011-10-13 Roland McGrath <roland@hack.frob.com>
26382
26383 [BZ #13291]
26384 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26385
5298ffa8
AS
263862011-10-13 Andreas Schwab <schwab@redhat.com>
26387
714fad23
AS
26388 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26389 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26390 feraiseexcept.
26391
81dcc7fb
AS
26392 * sysdeps/x86_64/memrchr.S: Check for zero size.
26393
5298ffa8
AS
26394 * string/stratcliff.c: Add memrchr tests.
26395
951fbcec
LD
263962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26397
26398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26399 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26400 rawmemchr-sse2 rawmemchr-sse2-bsf.
26401 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26402 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26403 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26404 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26405 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26406 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26407 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26408 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26409 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26410 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26411 * string/memrchr.c (MEMRCHR): New macro.
26412
0ac5ae23
UD
264132011-10-12 Ulrich Drepper <drepper@gmail.com>
26414
26415 Add integration with gcc's -ffinite-math-only and optimize wrapper
26416 functions in libm.
26417 * Versions.def: Define GLIBC_2.15 version for libm.
26418 * math/Makefile (headers): Add bits/math-finite.h.
26419 * math/bits/math-finite.h: New file.
26420 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26421 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26422 * math/e_acoshl.c: Add __*_finite alias.
26423 * math/e_acosl.c: Likewise.
26424 * math/e_asinl.c: Likewise.
26425 * math/e_atan2l.c: Likewise.
26426 * math/e_atanhl.c: Likewise.
26427 * math/e_coshl.c: Likewise.
26428 * math/e_exp10.c: Likewise.
26429 * math/e_exp10f.c: Likewise.
26430 * math/e_exp10l.c: Likewise.
26431 * math/e_exp2l.c: Likewise.
26432 * math/e_fmodl.c: Likewise.
26433 * math/e_gammal_r.c: Likewise.
26434 * math/e_hypotl.c: Likewise.
26435 * math/e_j0l.c: Likewise.
26436 * math/e_j1l.c: Likewise.
26437 * math/e_jnl.c: Likewise.
26438 * math/e_lgammal_r.c: Likewise.
26439 * math/e_log10l.c: Likewise.
26440 * math/e_log2l.c: Likewise.
26441 * math/e_logl.c: Likewise.
26442 * math/e_powl.c: Likewise.
26443 * math/e_sinhl.c: Likewise.
26444 * math/e_sqrtl.c: Likewise.
26445 * math/e_scalb.c: Completely rewritten and optimized.
26446 * math/e_scalbf.c: Likewise.
26447 * math/e_scalbl.c: Likewise.
26448 * math/w_acos.c: Likewise.
26449 * math/w_acosf.c: Likewise.
26450 * math/w_acosl.c: Likewise.
26451 * math/w_acosh.c: Likewise.
26452 * math/w_acoshf.c: Likewise.
26453 * math/w_acoshl.c: Likewise.
26454 * math/w_asin.c: Likewise.
26455 * math/w_asinf.c: Likewise.
26456 * math/w_asinl.c: Likewise.
26457 * math/w_atan2.c: Likewise.
26458 * math/w_atan2f.c: Likewise.
26459 * math/w_atan2l.c: Likewise.
26460 * math/w_atanh.c: Likewise.
26461 * math/w_atanhf.c: Likewise.
26462 * math/w_atanhl.c: Likewise.
26463 * math/w_exp10.c: Likewise.
26464 * math/w_exp10f.c: Likewise.
26465 * math/w_exp10l.c: Likewise.
26466 * math/w_fmod.c: Likewise.
26467 * math/w_fmodf.c: Likewise.
26468 * math/w_fmodl.c: Likewise.
26469 * math/w_j0.c: Likewise.
26470 * math/w_j0f.c: Likewise.
26471 * math/w_j0l.c: Likewise.
26472 * math/w_j1.c: Likewise.
26473 * math/w_j1f.c: Likewise.
26474 * math/w_j1l.c: Likewise.
26475 * math/w_jn.c: Likewise.
26476 * math/w_jnf.c: Likewise.
26477 * math/w_log.c: Likewise.
26478 * math/w_logf.c: Likewise.
26479 * math/w_logl.c: Likewise.
26480 * math/w_log10.c: Likewise.
26481 * math/w_log10f.c: Likewise.
26482 * math/w_log10l.c: Likewise.
26483 * math/w_log2.c: Likewise.
26484 * math/w_log2f.c: Likewise.
26485 * math/w_log2l.c: Likewise.
26486 * math/w_pow.c: Likewise.
26487 * math/w_powf.c: Likewise.
26488 * math/w_powl.c: Likewise.
26489 * math/w_remainder.c: Likewise.
26490 * math/w_remainderf.c: Likewise.
26491 * math/w_remainderl.c: Likewise.
26492 * math/w_scalb.c: Likewise.
26493 * math/w_scalbf.c: Likewise.
26494 * math/w_scalbl.c: Likewise.
26495 * math/w_sqrt.c: Likewise.
26496 * math/w_sqrtf.c: Likewise.
26497 * math/w_sqrtl.c: Likewise.
26498 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26499 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26500 used.
26501 * math/math_private.h: Declare __kernel_standard_f.
26502 * math/w_cosh.c: Remove cruft and optimize a bit.
26503 * math/w_coshf.c: Likewise.
26504 * math/w_coshl.c: Likewise.
26505 * math/w_exp2.c: Likewise.
26506 * math/w_exp2f.c: Likewise.
26507 * math/w_exp2l.c: Likewise.
26508 * math/w_hypot.c: Likewise.
26509 * math/w_hypotf.c: Likewise.
26510 * math/w_hypotl.c: Likewise.
26511 * math/w_lgamma.c: Likewise.
26512 * math/w_lgamma_r.c: Likewise.
26513 * math/w_lgammaf.c: Likewise.
26514 * math/w_lgammaf_r.c: Likewise.
26515 * math/w_lgammal.c: Likewise.
26516 * math/w_lgammal_r.c: Likewise.
26517 * math/w_sinh.c: Likewise.
26518 * math/w_sinhf.c: Likewise.
26519 * math/w_sinhl.c: Likewise.
26520 * math/w_tgamma.c: Likewise.
26521 * math/w_tgammaf.c: Likewise.
26522 * math/w_tgammal.c: Likewise.
26523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26524 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26525 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26526 Minor optimizations. Pretty printing. Remove cruft.
26527 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26528 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26529 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26530 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26531 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26532 * sysdeps/i386/fpu/e_asin.S: Likewise.
26533 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26534 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26535 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26536 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26537 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26538 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26539 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26540 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26541 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26542 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26543 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26544 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26545 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26546 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26547 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26548 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26549 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26550 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26551 * sysdeps/i386/fpu/e_log.S: Likewise.
26552 * sysdeps/i386/fpu/e_log10.S: Likewise.
26553 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26554 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26555 * sysdeps/i386/fpu/e_log2.S: Likewise.
26556 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26557 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26558 * sysdeps/i386/fpu/e_logf.S: Likewise.
26559 * sysdeps/i386/fpu/e_logl.S: Likewise.
26560 * sysdeps/i386/fpu/e_pow.S: Likewise.
26561 * sysdeps/i386/fpu/e_powf.S: Likewise.
26562 * sysdeps/i386/fpu/e_powl.S: Likewise.
26563 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26564 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26565 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26566 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26567 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26568 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26569 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26570 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26571 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26582 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26583 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26585 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26593 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26594 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26595 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26596 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26597 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26598 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26599 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26600 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26601 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26602 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26603 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26604 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26605 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26606 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26607 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26608 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26609 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26610 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26611 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26612 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26613 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26631 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26633 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26634 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26636 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26652 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26653 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26654 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26655 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26657 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26658 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26660 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26663 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26664 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26665 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26666 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26667 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26668 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26669 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26670 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26671 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26672 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26673 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26674 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26675 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26676 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26677 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26678 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26679 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26680 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26681 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26682 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26683 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26684 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26685 (__isnanf): Likewise.
26686 (__isinf_ns): Likewise.
26687 (__isinf_nsf): Likewise.
26688 (__finite): Likewise.
26689 (__finitef): Likewise.
26690 (__ieee754_sqrt): Define as macro.
26691 (__ieee754_sqrtf): Define as macro.
26692 (__ieee754_sqrtl): Define as macro.
26693 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26694 inlined copy.
26695 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26696 __FINITE_MATH_ONLY__ consistent.
26697 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26698
12cc2fcd
AS
266992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26700
a843a204
AS
26701 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26702 of rawmemchr.
26703
12cc2fcd
AS
26704 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26705
c853acd5
UD
267062011-10-09 Ulrich Drepper <drepper@gmail.com>
26707
26708 * po/ja.po: Update from translation team.
26709
c658d255
RM
267102011-10-08 Roland McGrath <roland@hack.frob.com>
26711
110946e4
RM
26712 * locale/programs/locarchive.c (prepare_address_space): New function.
26713 (create_archive, enlarge_archive, open_archive): Use it.
26714
50604220
RM
26715 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26716 inside [SHARED], where it is used.
26717
c658d255
RM
26718 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26719
26720 * nss/getent.c (netgroup_keys): Remove unused variable.
26721 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26722
6a621eb7
UD
267232011-10-08 Ulrich Drepper <drepper@gmail.com>
26724
7edb55ce
UD
26725 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26726 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26728 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26729 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26730 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26731 * math/Makefile (libm-calls): Add s_isinf_ns.
26732 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26733 * math/multc3.c: Likewise.
26734 * math/s_casin.c: Likewise.
26735 * math/s_casinf.c: Likewise.
26736 * math/s_casinl.c: Likewise.
26737 * math/s_ccos.c: Likewise.
26738 * math/s_ccosf.c: Likewise.
26739 * math/s_ccosl.c: Likewise.
26740 * math/s_ctan.c: Likewise.
26741 * math/s_ctanf.c: Likewise.
26742 * math/s_ctanh.c: Likewise.
26743 * math/s_ctanhf.c: Likewise.
26744 * math/s_ctanhl.c: Likewise.
26745 * math/s_ctanl.c: Likewise.
26746 * math/w_fmod.c: Likewise.
26747 * math/w_fmodf.c: Likewise.
26748 * math/w_fmodl.c: Likewise.
26749 * math/w_remainder.c: Likewise.
26750 * math/w_remainderf.c: Likewise.
26751 * math/w_remainderl.c: Likewise.
26752 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26753 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26756 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26757 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26758 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26759 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26760
187da0ae
UD
26761 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26762 of the number.
26763 * stdio-common/printf_fphex.c: Likewise.
26764 * stdio-common/printf_size.c: Likewise.
26765
9277c064
UD
26766 * math/e_exp10.c: Include math_private.h using <...> not "...".
26767 * math/e_exp10f.c: Likewise.
26768 * math/e_exp10l.c: Likewise.
26769 * math/e_exp2l.c: Likewise.
26770 * math/e_j0l.c: Likewise.
26771 * math/e_j1l.c: Likewise.
26772 * math/e_jnl.c: Likewise.
26773 * math/e_lgammal_r.c: Likewise.
26774 * math/e_rem_pio2l.c: Likewise.
26775 * math/e_scalb.c: Likewise.
26776 * math/e_scalbf.c: Likewise.
26777 * math/e_scalbl.c: Likewise.
26778 * math/k_cosl.c: Likewise.
26779 * math/k_sinl.c: Likewise.
26780 * math/k_tanl.c: Likewise.
26781 * math/s_cacoshf.c: Likewise.
26782 * math/s_catan.c: Likewise.
26783 * math/s_catanf.c: Likewise.
26784 * math/s_catanh.c: Likewise.
26785 * math/s_catanhf.c: Likewise.
26786 * math/s_catanhl.c: Likewise.
26787 * math/s_catanl.c: Likewise.
26788 * math/s_ccosh.c: Likewise.
26789 * math/s_ccoshf.c: Likewise.
26790 * math/s_ccoshl.c: Likewise.
26791 * math/s_cexp.c: Likewise.
26792 * math/s_cexpf.c: Likewise.
26793 * math/s_cexpl.c: Likewise.
26794 * math/s_clog.c: Likewise.
26795 * math/s_clog10.c: Likewise.
26796 * math/s_clog10f.c: Likewise.
26797 * math/s_clog10l.c: Likewise.
26798 * math/s_clogf.c: Likewise.
26799 * math/s_clogl.c: Likewise.
26800 * math/s_csin.c: Likewise.
26801 * math/s_csinf.c: Likewise.
26802 * math/s_csinh.c: Likewise.
26803 * math/s_csinhf.c: Likewise.
26804 * math/s_csinhl.c: Likewise.
26805 * math/s_csinl.c: Likewise.
26806 * math/s_csqrt.c: Likewise.
26807 * math/s_csqrtf.c: Likewise.
26808 * math/s_csqrtl.c: Likewise.
26809 * math/s_ctan.c: Likewise.
26810 * math/s_ctanf.c: Likewise.
26811 * math/s_ctanh.c: Likewise.
26812 * math/s_ctanhf.c: Likewise.
26813 * math/s_ctanhl.c: Likewise.
26814 * math/s_ctanl.c: Likewise.
26815 * math/s_ldexp.c: Likewise.
26816 * math/s_ldexpf.c: Likewise.
26817 * math/s_ldexpl.c: Likewise.
26818 * math/s_significand.c: Likewise.
26819 * math/s_significandf.c: Likewise.
26820 * math/s_significandl.c: Likewise.
26821 * math/w_acos.c: Likewise.
26822 * math/w_acosf.c: Likewise.
26823 * math/w_acosh.c: Likewise.
26824 * math/w_acoshf.c: Likewise.
26825 * math/w_acoshl.c: Likewise.
26826 * math/w_acosl.c: Likewise.
26827 * math/w_asin.c: Likewise.
26828 * math/w_asinf.c: Likewise.
26829 * math/w_asinl.c: Likewise.
26830 * math/w_atan2.c: Likewise.
26831 * math/w_atan2f.c: Likewise.
26832 * math/w_atan2l.c: Likewise.
26833 * math/w_atanh.c: Likewise.
26834 * math/w_atanhf.c: Likewise.
26835 * math/w_atanhl.c: Likewise.
26836 * math/w_cosh.c: Likewise.
26837 * math/w_coshf.c: Likewise.
26838 * math/w_coshl.c: Likewise.
26839 * math/w_dremf.c: Likewise.
26840 * math/w_exp10.c: Likewise.
26841 * math/w_exp10f.c: Likewise.
26842 * math/w_exp10l.c: Likewise.
26843 * math/w_exp2.c: Likewise.
26844 * math/w_exp2f.c: Likewise.
26845 * math/w_fmod.c: Likewise.
26846 * math/w_fmodf.c: Likewise.
26847 * math/w_fmodl.c: Likewise.
26848 * math/w_hypot.c: Likewise.
26849 * math/w_hypotf.c: Likewise.
26850 * math/w_hypotl.c: Likewise.
26851 * math/w_j0.c: Likewise.
26852 * math/w_j0f.c: Likewise.
26853 * math/w_j0l.c: Likewise.
26854 * math/w_j1.c: Likewise.
26855 * math/w_j1f.c: Likewise.
26856 * math/w_j1l.c: Likewise.
26857 * math/w_jn.c: Likewise.
26858 * math/w_jnf.c: Likewise.
26859 * math/w_jnl.c: Likewise.
26860 * math/w_lgamma.c: Likewise.
26861 * math/w_lgamma_r.c: Likewise.
26862 * math/w_lgammaf.c: Likewise.
26863 * math/w_lgammaf_r.c: Likewise.
26864 * math/w_lgammal.c: Likewise.
26865 * math/w_lgammal_r.c: Likewise.
26866 * math/w_log.c: Likewise.
26867 * math/w_log10.c: Likewise.
26868 * math/w_log10f.c: Likewise.
26869 * math/w_log10l.c: Likewise.
26870 * math/w_log2.c: Likewise.
26871 * math/w_log2f.c: Likewise.
26872 * math/w_log2l.c: Likewise.
26873 * math/w_logf.c: Likewise.
26874 * math/w_logl.c: Likewise.
26875 * math/w_pow.c: Likewise.
26876 * math/w_powf.c: Likewise.
26877 * math/w_powl.c: Likewise.
26878 * math/w_remainder.c: Likewise.
26879 * math/w_remainderf.c: Likewise.
26880 * math/w_remainderl.c: Likewise.
26881 * math/w_scalb.c: Likewise.
26882 * math/w_scalbf.c: Likewise.
26883 * math/w_scalbl.c: Likewise.
26884 * math/w_sinh.c: Likewise.
26885 * math/w_sinhf.c: Likewise.
26886 * math/w_sinhl.c: Likewise.
26887 * math/w_sqrt.c: Likewise.
26888 * math/w_sqrtf.c: Likewise.
26889 * math/w_sqrtl.c: Likewise.
26890 * math/w_tgamma.c: Likewise.
26891 * math/w_tgammaf.c: Likewise.
26892 * math/w_tgammal.c: Likewise.
26893
6a621eb7
UD
26894 * po/ja.po: Update from translation team.
26895
bf582445
AJ
268962011-09-29 Andreas Jaeger <aj@suse.de>
26897
f9efbf3a
AJ
26898 [BZ #13179]
26899 * sunrpc/netname.c (netname2host): Fix logic.
26900
bf582445
AJ
26901 [BZ #6779]
26902 [BZ #6783]
26903 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26904 correctly.
26905 * math/w_remainder.c (__remainder): Likewise.
26906 * math/w_remainderf.c (__remainderf): Likewise.
26907 * math/libm-test.inc (remainder_test): Add test cases.
26908
48693bea
AK
269092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26910
26911 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26912 sdiv_qrnnd.
26913
42622229
LD
269142011-10-07 Ulrich Drepper <drepper@gmail.com>
26915
26916 * string/test-memcmp.c: Avoid unncessary #defines.
26917 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26918
093ecf92
LD
269192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26920
26921 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26922 Use new sse2 version for core i3 - i7 as it's faster
26923 than sse42 version.
26924 (bit_Prefer_PMINUB_for_stringop): New.
26925 * sysdeps/x86_64/rawmemchr.S: Update.
26926 Replace with faster SSE2 version.
26927 * sysdeps/x86_64/memrchr.S: New file.
26928 * sysdeps/x86_64/memchr.S: Update.
26929 Replace with faster SSE2 version.
26930
fde56e5c
MP
269312011-09-12 Marek Polacek <mpolacek@redhat.com>
26932
26933 * elf/dl-load.c (lose): Add cast to avoid warning.
26934
21fd49a9
UD
269352011-10-07 Ulrich Drepper <drepper@gmail.com>
26936
5a06e643
UD
26937 * po/ca.po: Update from translation team.
26938
684ae515
UD
26939 * inet/getnetgrent_r.c: Hook up nscd.
26940 * nscd/Makefile (routines): Add nscd_netgroup.
26941 (nscd-modules): Add netgroupcache.
26942 (CFLAGS-netgroupcache.c): Define.
26943 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26944 (cache_search): Add const to second parameter.
26945 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26946 INNETGR.
26947 (dbs): Add netgrdb entry.
26948 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26949 (verify_persistent_db): Handle netgrdb.
26950 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26951 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26952 GETFDNETGR.
26953 (netgroup_response_header): Define.
26954 (innetgroup_response_header): Define.
26955 (datahead): Add netgroup_response_header and innetgroup_response_header
26956 elements.
26957 * nscd/nscd.conf: Add entries for netgroup cache.
26958 * nscd/nscd.h (dbtype): Add netgrdb.
26959 (_PATH_NSCD_NETGROUP_DB): Define.
26960 (netgroup_iov_disabled): Declare.
26961 (xmalloc, xcalloc, xrealloc): Move declarations here.
26962 (cache_search): Adjust prototype.
26963 Add netgroup-related prototypes.
26964 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26965 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26966 (__nscd_innetgr): Declare.
26967 * nscd/selinux.c (perms): Use access_vector_t as element type and
26968 add netgroup-related initializers.
26969 * nscd/netgroupcache.c: New file.
26970 * nscd/nscd_netgroup.c: New file.
26971 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26972 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26973 For four parameters use innetgr.
26974 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26975 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26976 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26977 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26978
21fd49a9
UD
26979 * nscd/connections.c (register_traced_file): Don't register file
26980 for disabled databases.
26981
054c0457
UD
269822011-10-06 Ulrich Drepper <drepper@gmail.com>
26983
32b63198
UD
26984 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26985
054c0457
UD
26986 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26987 from tree and freeing node.
26988
64031225
JO
269892011-09-25 Jiri Olsa <jolsa@redhat.com>
26990
26991 * nss/nsswitch.c (__nss_database_lookup): Handle
26992 nss_parse_service_list out of memory case.
26993
0490345c
JO
269942011-09-15 Jiri Olsa <jolsa@redhat.com>
26995
26996 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26997 out of memory case.
26998
3a62d00d
AS
269992011-10-04 Andreas Schwab <schwab@redhat.com>
27000
27001 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27002 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27003 pass it down.
27004 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27005 elf_machine_rela, elf_machine_lazy_rel.
27006 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27007 (ELF_DYNAMIC_DO_REL): Likewise.
27008 (ELF_DYNAMIC_DO_RELA): Likewise.
27009 (ELF_DYNAMIC_RELOCATE): Likewise.
27010 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27011 to ELF_DYNAMIC_DO_REL.
27012 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27013 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27014 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27015 elf_machine_rela.
27016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27017 skip_ifunc, don't call ifunc function if non-zero.
27018 (elf_machine_rela): Likewise.
27019 (elf_machine_lazy_rel): Likewise.
27020 (elf_machine_lazy_rela): Likewise.
27021 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27022 (elf_machine_lazy_rel): Likewise.
27023 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27024 Likewise.
27025 (elf_machine_lazy_rel): Likewise.
27026 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27027 Likewise.
27028 (elf_machine_lazy_rel): Likewise.
27029 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27030 (elf_machine_lazy_rel): Likewise.
27031 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27032 (elf_machine_lazy_rel): Likewise.
27033 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27034 (elf_machine_lazy_rel): Likewise.
27035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27036 (elf_machine_lazy_rel): Likewise.
27037 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27038 (elf_machine_lazy_rel): Likewise.
27039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27040 (elf_machine_lazy_rel): Likewise.
27041
68577918
UD
270422011-09-28 Ulrich Drepper <drepper@gmail.com>
27043
27044 * nss/nss_files/files-init.c (_nss_files_init): Use static
27045 initialization for all the *_traced_file variables.
27046
68822d74
AS
270472011-09-28 Andreas Schwab <schwab@redhat.com>
27048
27049 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27050
2056100b
RM
270512011-09-27 Roland McGrath <roland@hack.frob.com>
27052
27053 [BZ #13226]
27054 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27055
32c76b63
AS
270562011-09-27 Andreas Schwab <schwab@redhat.com>
27057
27058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27059 Reread the line before reparsing it.
27060
bf972c9d
AS
270612011-09-26 Andreas Schwab <schwab@redhat.com>
27062
27063 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27064
e057a1b5
JM
270652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27066 Maxim Kuvyrkov <maxim@codesourcery.com>
27067 Joseph Myers <joseph@codesourcery.com>
27068
27069 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27070 if needed for __stack_chk_guard.
27071
bc7e1c36
RM
270722011-09-19 Roland McGrath <roland@hack.frob.com>
27073
ecb1482f
RM
27074 * sysdeps/posix/spawni.c (script_execute): Always define it.
27075 It will be optimized away if unused.
27076 (maybe_script_execute): New function.
27077 (__spawni): Call it.
27078
bc7e1c36
RM
27079 * Makerules: Don't include tls.make.
27080 (config-tls): Always set to thread.
27081 * tls.make.c: File removed.
27082
1c3b002b
MF
270832011-09-19 Mike Frysinger <vapier@gentoo.org>
27084
27085 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27086 * config.make.in (CPPFLAGS-config): New substituted variable.
27087
2840865d
UD
270882011-09-15 Ulrich Drepper <drepper@gmail.com>
27089
88738eb6
UD
27090 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27091
cbf645a6 27092 [BZ #13192]
2840865d
UD
27093 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27094 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27095
b402e91a
RM
270962011-09-15 Roland McGrath <roland@hack.frob.com>
27097
27098 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27099 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27101 (CALL_FAIL): Likewise.
27102 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27103 (CALL_FAIL): Macro removed.
27104 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27105
4c1a1f71
UD
271062011-09-15 Ulrich Drepper <drepper@gmail.com>
27107
27108 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27109 for __FINITE_MATH_ONLY__ == 1.
27110
edc121be
AS
271112011-09-15 Andreas Schwab <schwab@redhat.com>
27112
27113 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27114 __ieee754_sqrt instead of sqrt.
27115 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27116 __ieee754_sqrtf instead of sqrtf.
27117 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27118 __floorf instead of floorf.
27119 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27120 __floorf, __truncf instead of floorf, truncf.
27121
cd205654
UD
271222011-09-14 Ulrich Drepper <drepper@gmail.com>
27123
ee4d0315
UD
27124 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27125
cd205654
UD
27126 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27127 __extern_always_inline.
27128 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27129 32-bit.
27130
48b67d71
AS
271312011-09-14 Andreas Schwab <schwab@redhat.com>
27132
27133 * elf/rtld.c (dl_main): Also relocate in dependency order when
27134 doing symbol dependency testing.
27135
1ae12c75
AS
271362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27137
27138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27139 Always define `refsym'.
27140
995a80df
AS
271412011-09-13 Andreas Schwab <schwab@redhat.com>
27142
e529793b
AS
27143 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27144 (__FD_ELT): Renamed from __FDELT.
27145 * misc/bits/select2.h (__FD_ELT): Likewise.
27146 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27147 __FD_MASK instead of __FDELT, __FDMASK.
27148 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27149 Likewise.
27150 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27151 Likewise.
27152
52d4fef8
AS
27153 * elf/Makefile (gen-ldd): Fix pattern.
27154
995a80df
AS
27155 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27156 (init_tls): Likewise.
27157
8682f8b0
UD
271582011-09-12 Ulrich Drepper <drepper@gmail.com>
27159
27160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27161
de82006d
AS
271622011-09-12 Andreas Schwab <schwab@redhat.com>
27163
a7c8e6a1
AS
27164 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27165 `struct cmsghdr *' instead of `void *'.
27166 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27167 Likewise.
27168
0f31fe77
AS
271692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27170
27171 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27172 if non-absolute.
27173 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27174 ldd_rewrite_script.
0f31fe77 27175
32b4c839
UD
271762011-09-11 Ulrich Drepper <drepper@gmail.com>
27177
83cd1420
UD
27178 * configure.in: Remove --with-tls option.
27179 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27180 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27181 out in case it is missing.
27182 * sysdeps/ia64/elf/configure.in: Likewise.
27183 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27184 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27185 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27186 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27187 * sysdeps/sh/elf/configure.in: Likewise.
27188 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27189 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27190 * sysdeps/x86_64/elf/configure.in: Likewise.
27191 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27192 * sysdeps/mach/hurd/tls.h: Likewise.
27193
633f745d
UD
27194 [BZ #13067]
27195 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27196
f318beb8
UD
27197 [BZ #13090]
27198 * configure.in: Fix use of AC_INIT.
27199
32b4c839
UD
27200 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27201
3ce1f295
UD
272022011-09-10 Ulrich Drepper <drepper@gmail.com>
27203
bb016596
UD
27204 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27205 __set_errno.
8e58439c
UD
27206 * malloc/hooks.c: Likewise.
27207
aebae053 27208 [BZ #11929]
02d46fc4
UD
27209 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27210 variables statically.
27211 (narenas): Initialize.
27212 (list_lock): Initialize.
bb016596
UD
27213 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27214 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27215 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27216 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27217 Add initializers to main_arena and mp_.
27218 (malloc_state): Remove pagesize member. Change all users to use
27219 GLRO(dl_pagesize).
27220
27221 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27222 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27223 is always initialized.
27224
22a89187
UD
27225 * malloc/malloc.c: Removed unused configurations and dead code.
27226 * malloc/arena.c: Likewise.
27227 * malloc/hooks.c: Likewise.
02d46fc4 27228 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27229
d063d164
UD
27230 * include/tls.h: Removed. USE___THREAD must always be defined.
27231 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27232 * elf/dl-libc.c: Likewise.
27233 * elf/dl-tsd.c: Likewise.
27234 * include/errno.h: Likewise.
27235 * include/netdb.h: Likewise.
27236 * include/resolv.h: Likewise.
27237 * inet/herrno-loc.c: Likewise.
27238 * inet/herrno.c: Likewise.
27239 * malloc/arena.c: Likewise.
27240 * malloc/hooks.c: Likewise.
27241 * malloc/malloc.c: Likewise.
27242 * resolv/res-state.c: Likewise.
27243 * resolv/res_libc.c: Likewise.
27244 * sysdeps/i386/dl-machine.h: Likewise.
27245 * sysdeps/ia64/dl-machine.h: Likewise.
27246 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27247 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27248 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27249 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27250 * sysdeps/sh/dl-machine.h: Likewise.
27251 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27252 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27253 * sysdeps/unix/i386/sysdep.S: Likewise.
27254 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27255 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27260 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27261 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27264 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27265 * sysdeps/x86_64/dl-machine.h: Likewise.
27266 * tls.make.c: Likewise.
27267
3ce1f295
UD
27268 * configure.in: Remove --with-__thread option. Make tests for
27269 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27270 tls_model attribute fail if no support is available. Remove
27271 USE_IN_LIBIO.
27272 * Makeconfig: Adjust for dropped configure option. All features are
27273 now mandatory.
27274 * Makerules: Likewise.
27275 * Versions.def: Likewise.
27276 * argp/argp-fmtstream.c: Likewise.
27277 * argp/argp-fmtstream.h: Likewise.
27278 * argp/argp-help.c: Likewise.
27279 * assert/assert.c: Likewise.
27280 * config.h.in: Likewise.
27281 * config.make.in: Likewise.
27282 * configure: Likewise.
27283 * configure.in: Likewise.
27284 * csu/Versions: Likewise.
27285 * csu/init.c: Likewise.
27286 * elf/tst-audit2.c: Likewise.
27287 * elf/tst-tls10.c: Likewise.
27288 * elf/tst-tls10.h: Likewise.
27289 * elf/tst-tls11.c: Likewise.
27290 * elf/tst-tls12.c: Likewise.
27291 * elf/tst-tls14.c: Likewise.
27292 * elf/tst-tlsmod11.c: Likewise.
27293 * elf/tst-tlsmod12.c: Likewise.
27294 * elf/tst-tlsmod13.c: Likewise.
27295 * elf/tst-tlsmod13a.c: Likewise.
27296 * elf/tst-tlsmod14a.c: Likewise.
27297 * elf/tst-tlsmod15b.c: Likewise.
27298 * elf/tst-tlsmod16a.c: Likewise.
27299 * elf/tst-tlsmod16b.c: Likewise.
27300 * elf/tst-tlsmod7.c: Likewise.
27301 * elf/tst-tlsmod8.c: Likewise.
27302 * elf/tst-tlsmod9.c: Likewise.
27303 * gmon/gmon.c: Likewise.
27304 * grp/fgetgrent_r.c: Likewise.
27305 * grp/putgrent.c: Likewise.
27306 * hurd/fopenport.c: Likewise.
27307 * include/libc-symbols.h: Likewise.
27308 * include/tls.h: Likewise.
27309 * intl/gettextP.h: Likewise.
27310 * intl/loadinfo.h: Likewise.
27311 * locale/global-locale.c: Likewise.
27312 * locale/localeinfo.h: Likewise.
27313 * mach/devstream.c: Likewise.
27314 * malloc/arena.c: Likewise.
27315 * malloc/set-freeres.c: Likewise.
27316 * misc/err.c: Likewise.
27317 * misc/getttyent.c: Likewise.
27318 * misc/mntent_r.c: Likewise.
27319 * posix/getopt.c: Likewise.
27320 * posix/wordexp.c: Likewise.
27321 * pwd/fgetpwent_r.c: Likewise.
27322 * resolv/Versions: Likewise.
27323 * resolv/res_hconf.c: Likewise.
27324 * shadow/fgetspent_r.c: Likewise.
27325 * shadow/putspent.c: Likewise.
27326 * stdio-common/printf_fphex.c: Likewise.
27327 * stdio-common/tmpfile.c: Likewise.
27328 * stdlib/abort.c: Likewise.
27329 * stdlib/fmtmsg.c: Likewise.
27330 * sunrpc/auth_unix.c: Likewise.
27331 * sunrpc/clnt_perr.c: Likewise.
27332 * sunrpc/clnt_tcp.c: Likewise.
27333 * sunrpc/clnt_udp.c: Likewise.
27334 * sunrpc/clnt_unix.c: Likewise.
27335 * sunrpc/openchild.c: Likewise.
27336 * sunrpc/svc_simple.c: Likewise.
27337 * sunrpc/svc_tcp.c: Likewise.
27338 * sunrpc/svc_udp.c: Likewise.
27339 * sunrpc/svc_unix.c: Likewise.
27340 * sunrpc/xdr.c: Likewise.
27341 * sunrpc/xdr_array.c: Likewise.
27342 * sunrpc/xdr_rec.c: Likewise.
27343 * sunrpc/xdr_ref.c: Likewise.
27344 * sunrpc/xdr_stdio.c: Likewise.
27345
1248c1c4
PB
273462011-09-09 Ulrich Drepper <drepper@gmail.com>
27347
27348 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27349
273502011-07-03 Andreas Jaeger <aj@suse.de>
27351
27352 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27353 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27354 regenerate with gen-libm-tests.pl.
27355
273562010-05-12 Petr Baudis <pasky@suse.cz>
27357
27358 [BZ #11589]
27359 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27360 around j0() zero points by switching to j1().
27361 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27365
f22e1074
UD
273662011-09-09 Ulrich Drepper <drepper@gmail.com>
27367
f19009c1
UD
27368 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27369 instead of 0.
27370 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27371 instead of 0.
f19009c1
UD
27372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27373 Patch in part by Pavel Roskin <proski@gnu.org>.
27374
3f8cc204
UD
27375 [BZ #13138]
27376 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27377 realloc.
27378 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27379 Free memory block if necessary.
27380
f22e1074
UD
27381 [BZ #12847]
27382 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27383 be NULL. Don't lock in this case.
27384
0a2349f9
RM
273852011-09-09 Roland McGrath <roland@hack.frob.com>
27386
27387 * elf/elf.h (ELFOSABI_GNU): New macro.
27388 (ELFOSABI_LINUX): Define to that.
27389
f3cdd467
DZ
273902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27391
27392 * string/strncat.c (strncat): Undef the symbol in case it has been
27393 defined in bits/string.h.
27394
74718d13
UD
273952011-09-09 Ulrich Drepper <drepper@gmail.com>
27396
633e9e0f
UD
27397 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27398
0a2349f9 27399 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27400 link map.
27401
f9924780
AJ
274022011-08-17 Andreas Jaeger <aj@suse.de>
27403
27404 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27405
7f5517aa
PP
274062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27407 Ian Lance Taylor <iant@google.com>
27408
27409 * math/libm-test.inc (lround_test): New testcase.
27410 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27411
762011fe
UD
274122011-09-08 Ulrich Drepper <drepper@gmail.com>
27413
92963737
UD
27414 * Makefile: Remove support for automatic cvs check-ins.
27415 * Makerules: Likewise.
27416 * config.make.in: Likewise.
27417 * configure.in: Likewise.
27418 * intl/Makefile: Likewise.
27419 * locale/Makefile: Likewise.
27420 * po/Makefile: Likewise.
27421 * posix/Makefile: Likewise.
27422 * sysdeps/gnu/Makefile: Likewise.
27423 * sysdeps/mach/hurd/Makefile: Likewise.
27424 * sysdeps/sparc/sparc32/Makefile: Likewise.
27425
b0727fd8
JS
27426 [BZ #13118]
27427 * posix/Makefile (bug-regex32-ENV): Define.
27428 Patch by John Stanley <jpsinthemix@verizon.net>.
27429
a0f33f99
UD
27430 * misc/Makefile (headers): Add bits/select2.h.
27431 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27432 * misc/bits/select2.h: New file.
27433 * include/bits/select2.h: New file.
27434 * debug/Makefile (routines): Add fdelt_chk.
27435 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27436 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27437 FD_ISSET.
27438 * debug/fdelt_chk.c: New file.
27439
762011fe
UD
27440 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27441 * wcsmbs/test-wmemcmp.c: Likewise.
27442 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27443 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27444
274452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27446
27447 * string/Makefile (strop-tests): Add memcmp.
27448 * string/test-wmemcmp.c: New file.
27449 * string/test-memcmp.c: Add wmemcmp support.
27450
7f513ec8
RM
274512011-09-08 Roland McGrath <roland@hack.frob.com>
27452
0442afb4
RM
27453 [BZ #13153]
27454 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27455 2011-07-19 change.
27456
7f513ec8
RM
27457 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27458 garbage value in a __mach_port_mod_refs call in the cases of the
27459 task-self and thread-self ports.
27460
a12b2239
ST
274612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27462
27463 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27464
610f9ab4
AS
274652011-09-08 Andreas Schwab <schwab@redhat.com>
27466
7f513ec8 27467 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27468
48882a1a
LD
274692011-09-07 Ulrich Drepper <drepper@gmail.com>
27470
b49865be
UD
27471 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27472
fdc86bc9
UD
27473 * elf/dl-libc.c (dlerror_run): Pass back error code from
27474 dl_catch_error.
27475
c966526a
UD
27476 [BZ #13123]
27477 * elf/dl-load.c (lose): Free l_origin if it is valid.
27478
48882a1a
LD
27479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27480 names.
27481 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27482 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27483 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27485 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27486 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27487
77a2a8b4
AZ
274882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27489
27490 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27491 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27492 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27493 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27494 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27495 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27496 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27497 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27498 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27499 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27500
24f579d8
AM
275012011-08-15 Alan Modra <amodra@gmail.com>
27502
27503 [BZ #13092]
27504 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27505 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27506 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27507 ppc_mcount to static-only-routines.
27508 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27509 __mcount_internal.
27510 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27511 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27512
3d4837df
UD
275132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27514
27515 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27516 for finite and infinity parameters.
27517
22700377
WS
275182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27519
27520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27521 and add nop instructions for throughput optimization.
27522 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27523
5025581e
WS
275242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27525
27526 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27527 aligned copy for power7 with vector-scalar instructions.
27528 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27529
08a300c9
L
275302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27531
27532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27533 AVX check.
27534
59178ef9
AS
275352011-09-07 Andreas Schwab <schwab@redhat.com>
27536
27537 [BZ #13144]
27538 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27539 last change.
27540
e38ba7ab
UD
275412011-09-07 Ulrich Drepper <drepper@gmail.com>
27542
27543 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27544 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27545 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27546 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27547 clock_gettime.
27548
d53a73ac
UD
275492011-09-06 Ulrich Drepper <drepper@gmail.com>
27550
fc8bffcc
UD
27551 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27552 Forgot to demangle the pointer.
27553
ceaa0c5d
UD
27554 * sysdeps/i386/sysdep.h: Define atom_text_section.
27555 * sysdeps/x86_64/sysdep.h: Likewise.
27556 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27557 section with atom_text_section.
27558 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27559 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27560 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27561 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27562 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27563
a77d3c17
UD
27564 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27565 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27566 already be defined. Change to take two parameters and don't assign
27567 result to variable. Adjust all users.
27568 Define INTERNAL_GETTIME if not already defined.
27569 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27570 call.
27571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27572 HAVE_CLOCK_GETTIME_VSYSCALL.
27573 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27574
d53a73ac
UD
27575 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27576 gettimeofday vsyscall, just use time.
27577
a8f84144
AS
275782011-09-06 Andreas Schwab <schwab@redhat.com>
27579
27580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27581 <errno.h>.
27582
ef606249
UD
275832011-09-06 Ulrich Drepper <drepper@gmail.com>
27584
27585 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27586 syscall on x86-64.
27587 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27588 syscall.
27589 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27591 syscall if possible.
27592
6585cb60
UD
275932011-09-05 Ulrich Drepper <drepper@gmail.com>
27594
27595 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27596 e_ident. Don't pass to find_mapsXX.
27597 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27598
a5f524e4
LD
275992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27600
27601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27602 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27603 * sysdeps/x86_64/multiarch/strchr.S: Update.
27604 Check bit_slow_BSF bit.
27605 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27606 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27607 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27608
554881ef
UD
276092011-09-05 Ulrich Drepper <drepper@gmail.com>
27610
d96de963
UD
27611 [BZ #13134]
27612 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27613 before glibc 2.15.
27614 (tryshell): Define.
27615 (__spawni): Change last parameter to be flag. Test
27616 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27617 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27618 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27619 * posix/spawni.c: Likewise.
27620 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27621 * posix/spawnp.c: Likewise. Change normal version to use
27622 SPAWN_XFLAGS_USE_PATH.
27623 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27624 SPAWN_XFLAGS_TRY_SHELL.
27625
d48e5868
UD
27626 [BZ #13150]
27627 * posix/glob.h: Remove gcc 1.x support.
27628
554881ef
UD
27629 [BZ #13068]
27630 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27631
693fb948
LD
276322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27633
27634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27635 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27636 strrchr-sse2-bsf
27637 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27638 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27639 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27640 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27641 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27642 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27643
1b48c537
UD
276442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27645
49d42c37
UD
27646 * sysdeps/x86_64/wcscmp.S: New file.
27647
1b48c537
UD
27648 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27649 wcscmp-c wcscmp-sse2
27650 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27651 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27652 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27653 * wcsmbs/wcscmp.c: Allow renaming.
27654
15c95c5d
DM
276552011-09-05 David S. Miller <davem@davemloft.net>
27656
27657 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27658 stack slot, rather than the struct return pointer slot.
27659 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27660 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27662 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27663
2f0ad8f3
UD
276642011-09-05 Ulrich Drepper <drepper@gmail.com>
27665
d88ae418
UD
27666 * po/ja.po: Update from translation team.
27667
2f0ad8f3
UD
27668 [BZ #13144]
27669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27670 kernel in 64-bit binaries.
27671
5f4318d1
DM
276722011-09-01 David S. Miller <davem@davemloft.net>
27673
27674 * elf/elf.h (HWCAP_SPARC_*): Move to..
27675 * sysdeps/sparc/sysdep.h: this new file and add new values.
27676 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27677 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27678 _DL_HWCAP_COUNT to 24.
27679 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27680 entries.
27681 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27682 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27683 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27685 instead of magic constants.
27686 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27687
3ba57516
DM
276882011-08-31 David S. Miller <davem@davemloft.net>
27689
27690 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27692 Reimplement to do errno handling inline.
27693 (SYSCALL_ERROR_HANDLER): New macro.
27694 (__SYSCALL_STRING): Do not do errno handling in asm.
27695 (__CLONE_SYSCALL_STRING): Delete.
27696 (__INTERNAL_SYSCALL_STRING): Delete.
27697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27698 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27699 (PSEUDO): Reimplement to do errno handling inline.
27700 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27701 (SYSCALL_ERROR_HANDLER): New macro.
27702 (__SYSCALL_STRING): Do not do errno handling in asm.
27703 (__CLONE_SYSCALL_STRING): Delete.
27704 (__INTERNAL_SYSCALL_STRING): Delete.
27705 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27706 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27707 i386.
27708 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27709 (inline_syscall*): Add 'err' argument.
27710 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27711 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27712 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27713 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27714
27715 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27716 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27717
2bc17433
AS
277182011-08-30 Andreas Schwab <schwab@redhat.com>
27719
27720 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27721
fbeb5f4d
JO
277222011-08-29 Jiri Olsa <jolsa@redhat.com>
27723
27724 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27725 directive.
27726
ad69cc26
DM
277272011-08-24 David S. Miller <davem@davemloft.net>
27728
27729 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27730
39dd69df
AS
277312011-08-24 Andreas Schwab <schwab@redhat.com>
27732
27733 * elf/Makefile: Add rules to build and run unload8 test.
27734 * elf/unload8.c: New file.
27735 * elf/unload8mod1.c: New file.
27736 * elf/unload8mod1x.c: New file.
27737 * elf/unload8mod2.c: New file.
27738 * elf/unload8mod3.c: New file.
27739
27740 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27741 it wasn't used.
27742
2c0b250a
DM
277432011-08-23 David S. Miller <davem@davemloft.net>
27744
27745 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27746 subtract stack bias.
27747 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27748 %sp not %fp in calculations.
27749 (_JMPBUF_UNWINDS_ADJ): Likewise.
27750
22044b48
DM
27751 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27752 (aio_suspend): Call it to force an exception region around the
27753 AIO_MISC_WAIT() invocation.
27754
2cae4995
AS
277552011-08-23 Andreas Schwab <schwab@redhat.com>
27756
27757 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27758 backslash.
27759
873a772e
AJ
277602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27761
27762 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27763 protection macro.
27764 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27765 and <dl-machine.h>.
27766 (Elf64_FuncDesc): Remove.
27767
25ad0df1
DM
277682011-08-22 David S. Miller <davem@davemloft.net>
27769
27770 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27771 sigaltstack check, add missing cfi directives.
27772 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27773 missing cfi directives, and sigaltstack handling.
27774
e888bcbe
AS
277752011-08-16 Andreas Schwab <schwab@redhat.com>
27776
27777 [BZ #11724]
27778 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27779 object is seen twice.
27780 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27781
27782 * elf/Makefile (distribute): Add tst-initorder2.c.
27783 (tests): Add tst-initorder2.
27784 (modules-names): Add tst-initorder2a tst-initorder2b
27785 tst-initorder2c tst-initorder2d. Add rules to build them.
27786 ($(objpfx)tst-initorder2.out): New rule.
27787 * elf/tst-initorder2.c: New file.
27788 * elf/tst-initorder2.exp: New file.
27789
87162f46
AS
277902011-08-22 Andreas Schwab <schwab@redhat.com>
27791
70538b7f
AS
27792 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27793
f55ffe58
AS
27794 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27795 dependencies back to end of function.
27796
87162f46
AS
27797 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27798 $(elfobjdir)/ld.so.
27799
91b392a4
UD
278002011-08-21 Ulrich Drepper <drepper@gmail.com>
27801
27802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27803 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27805 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27806 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27807 of __vdso_gettimeofday.
27808 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27809 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27810 attribute_hidden.
27811 (_libc_vdso_platform_setup): Remove initialization of
27812 __vdso_gettimeofday and __vdso_time.
27813
5c43483f
UD
278142011-08-20 Ulrich Drepper <drepper@gmail.com>
27815
775a77e7
UD
27816 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27817 and fgetc_unlocked.
27818 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27819 getc_unlocked.
89f447ed 27820
49c74ba9
UD
27821 * elf/dl-open.c (add_to_global): Report additions to the global scope
27822 for LD_DEBUG=scopes.
27823 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27824 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27825
5c43483f
UD
27826 [BZ #13114]
27827 * stdio-common/Makefile (tests): Add bug24.
27828 * stdio-common/bug24.c: New file.
27829
a101b025
AJ
278302011-08-19 Andreas Jaeger <aj@suse.de>
27831
27832 [BZ #13114]
27833 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27834 non-existant file when using close-on-exec mode.
27835
c88f1766
UD
278362011-08-20 Ulrich Drepper <drepper@gmail.com>
27837
0276a718
UD
27838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27839 the very first instruction.
27840
c88f1766
UD
27841 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27842 the CFI state in the end.
27843 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27844 inclusion of dl-trampoline.h.
27845 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27846
51ccffa0
AS
278472011-08-19 Andreas Schwab <schwab@redhat.com>
27848
94d7165f
AS
27849 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27850 expectations for long double.
27851
51ccffa0
AS
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27853 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27854
fd708658 278552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27856
27857 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27858 artificual limit depends upon the system page size.
27859
44f0a71e
UD
278602011-08-17 Ulrich Drepper <drepper@gmail.com>
27861
27862 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27863 * resolv/Makefile: Define CFLAGS-libresolv.
27864
8de79a24
AS
278652011-08-17 Andreas Schwab <schwab@redhat.com>
27866
27867 * nss/makedb.c (compute_tables): Make variables used in nested
27868 function static.
27869
27724598
UD
278702011-08-17 Ulrich Drepper <drepper@gmail.com>
27871
c5305d88
UD
27872 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27873 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27874 if buffer was too small.
27875
27724598
UD
27876 * elf/pldd.c (main): Attach to all threads in the process.
27877 Rewrite /proc handling to use *at functions.
27878
076fe015
UD
278792011-08-16 Ulrich Drepper <drepper@gmail.com>
27880
174baab3
UD
27881 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27882 specifies first scope to show.
27883 (dl_open_worker): Update callers. Move printing scope of new
27884 object to before the relocation.
44f0a71e 27885 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27886 * sysdeps/generic/ldsodefs.h: Update declaration.
27887
076fe015
UD
27888 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27889 string for the scope number.
27890
a60df2c3
UD
278912011-08-14 Ulrich Drepper <drepper@gmail.com>
27892
27893 * nscd/servicescache.c (cache_addserv): Make sure written is always
27894 initialized.
27895
5e4287d1
RM
278962011-08-14 Roland McGrath <roland@hack.frob.com>
27897
85ae0589
RM
27898 * sysdeps/i386/i486/bits/atomic.h
27899 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27900 statement expression, so as to suppress "set but not used" warning.
27901 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27902
69f63097
RM
27903 * string/strncat.c (STRNCAT): Use prototype definition.
27904
675456ef
RM
27905 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27906 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27907 -Iprograms here.
27908 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27909 (localedef-modules): Add localedef.
27910 (locale-modules): Add locale.
27911
5e4287d1
RM
27912 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27913 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27914 to avoid a warning.
27915
9c96ff23
DM
279162011-08-14 David S. Miller <davem@davemloft.net>
27917
27918 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27919 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27920
f9ddf089
UD
279212011-08-13 Ulrich Drepper <drepper@gmail.com>
27922
44f0a71e 27923 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27924 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27925 * elf/rtld.c (dl_main): Set l_name of vDSO.
27926 Call _dl_show_scope when DL_DEBUG_SCOPES.
27927 (process_dl_debug): Recognize scopes flag and also set it for all.
27928 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27929 Declare _dl_show_scope.
27930
1dc27704
UD
27931 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27932 (do_dlopen): Pass caller_dlopen to dl_open.
27933 (__libc_dlopen_mode): Initialize caller_dlopen.
27934
f9ddf089
UD
27935 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27936 of libc. Make tolower call locale-independent. Optimize a bit by
27937 using isdigit instead of isalnum.
27938 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27939
9ac533d3
UD
279402011-08-12 Ulrich Drepper <drepper@gmail.com>
27941
27942 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27943 was a dependency or dynamically loaded.
27944
89edf2e9
UD
279452011-08-11 Ulrich Drepper <drepper@gmail.com>
27946
8e999d29
UD
27947 * intl/l10nflist.c: Allow architecture-specific pop function.
27948 * sysdeps/x86_64/l10nflist.c: New file.
27949
89edf2e9
UD
27950 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27951 classification.
27952
14d96785
AS
279532011-08-10 Andreas Schwab <schwab@redhat.com>
27954
27955 * include/dirent.h: Add libc_hidden_proto for scandirat and
27956 scandirat64. Don't declare __scandirat64.
27957 * dirent/scandirat.c: Add libc_hidden_def.
27958 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27959 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27960
6761ac04
DM
279612011-08-10 David S. Miller <davem@davemloft.net>
27962
27963 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27964 enum.
27965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27968
c55fbd1e
UD
279692011-08-09 Ulrich Drepper <drepper@gmail.com>
27970
27971 * Versions.def [libc]: Add GLIBC_2.15.
27972 * dirent/Makefile (routines): Add scandirat and scandirat64.
27973 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27974 GLIBC_2.15.
27975 * dirent/dirent.h: Declare scandirat and scandirat64.
27976 * dirent/scandirat.c: New file.
27977 * dirent/scandirat64.c: New file.
27978 * sysdeps/wordsize-64/scandirat.c: New file.
27979 * sysdeps/wordsize-64/scandirat64.c: New file.
27980 * dirent/opendir.c: Define opendirat.
27981 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27982 using scandirat.
27983 * dirent/scandir64.c: Adjust for scandir.c change.
27984 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27985 __scandirat64, and __scandir_cancel_handler.
27986 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27987 additional parameter and use openat instead of open (outside of ld.so).
27988 Add new __opendir as wrapper around __opendirat.
27989 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27990 here without requiring old scandirat implementation.
27991
879165f2
UD
279922011-08-08 Ulrich Drepper <drepper@gmail.com>
27993
27994 * dirent/scandir.c (cancel_handler): Renamed to
27995 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27996 defined. Adjust users.
27997 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27998 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27999
cb7e923b
UD
280002011-08-04 Ulrich Drepper <drepper@gmail.com>
28001
16292edd
UD
28002 * string/test-string.h (IMPL): Use __STRING to expand name and then
28003 stringify it.
28004
cb7e923b
UD
28005 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28006 of cleanups.
28007
cff82933
LD
280082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28009
28010 * string/Makefile: Update.
28011 (strop-tests): Append strncat.
28012 * string/test-wcscmp.c: New file.
28013 New comprehensive test for wcscmp.
28014 * string/test-strcmp.c: Update.
28015 (WIDE): New define.
28016
9be9bfcc
AS
280172011-07-22 Andreas Schwab <schwab@redhat.com>
28018
28019 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28020 line.
28021
2e96f1c7
AS
280222011-07-26 Andreas Schwab <schwab@redhat.com>
28023
28024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28025 encoding to ACE if AI_IDN.
28026
85188888
JJ
280272011-08-01 Jakub Jelinek <jakub@redhat.com>
28028
28029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28030 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28031
5fa16e9b
LD
280322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28033
28034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28035 Fix overflow bug in strncat.
28036 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28037
28038 * string/test-strncat.c: Update.
28039 Add new tests for checking overflow bugs.
28040
280412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28042
28043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28044 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28045 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28046 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28047 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28048 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28049 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28050 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28051 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28052
28053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28054 (USE_AS_STRCAT): Define.
28055 Add strcat and strncat support.
28056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28057
8c1a459f
AS
280582011-07-25 Andreas Schwab <schwab@redhat.com>
28059
28060 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28061 __n bigger than INT_MAX+1.
28062 (__strncmp_g): Likewise.
28063
bba33c28
UD
280642011-07-23 Ulrich Drepper <drepper@gmail.com>
28065
798be72d
UD
28066 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28067 * libio/stido.h: Likewise.
28068
8accd4dc
UD
28069 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28070 (AF_NFC): Define.
28071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28072 (AF_NFC): Define.
28073
cbff0d96
UD
28074 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28075 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28076 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28079
9191c04a
UD
28080 [BZ #13021]
28081 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28082 installed.
28083
bba33c28
UD
28084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28085 typo.
28086 (_dl_x86_64_save_sse): Likewise.
28087
90f139dd
UD
280882011-07-22 Ulrich Drepper <drepper@gmail.com>
28089
1aae088a
UD
28090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28091 OSXSAVE.
28092 (_dl_x86_64_save_sse): Likewise.
28093
8e2045f5
UD
28094 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28095
90f139dd
UD
28096 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28097
1d002f25
AS
280982011-07-21 Andreas Schwab <schwab@redhat.com>
28099
28100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28101 change.
28102 (_dl_x86_64_save_sse): Use correct AVX check.
28103
21137f89
UD
281042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28105
28106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28107 bug in strncpy/strncat.
28108 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28109
a65c0b7a
UD
281102011-07-21 Ulrich Drepper <drepper@gmail.com>
28111
28112 * string/tester.c (test_strcat): Add tests for different alignments
28113 of source and destination.
28114 (test_strncat): Likewise.
28115
6986b98a
UD
281162011-07-20 Ulrich Drepper <drepper@gmail.com>
28117
90bb2039
UD
28118 [BZ #12852]
28119 * posix/glob.c (glob): Check passed in values before using them in
28120 expressions to avoid some overflows.
28121 (glob_in_dir): Likewise.
28122
5644ef54
UD
28123 [BZ #13007]
28124 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28125 check for AVX enablement so that we don't crash with old kernels and
28126 new hardware.
28127 * elf/tst-audit4.c: Add same checks here.
28128 * elf/tst-audit6.c: Likewise.
28129
28130 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28131
bfc9dc9b
AS
281322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28133
28134 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28135
702e64bb
UD
281362011-07-20 Ulrich Drepper <drepper@gmail.com>
28137
28138 * po/cs.po: Update from translation team.
28139 * po/bg.po: Likewise.
28140
295e904f
MP
281412011-07-12 Marek Polacek <mpolacek@redhat.com>
28142
28143 * misc/sys/cdefs.h: Add support for const attribute.
28144 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28145 to gnu_dev_{major,minor,makedev} functions.
28146
3ff94596
MP
281472011-07-20 Marek Polacek <mpolacek@redhat.com>
28148
28149 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28150
28b59fca
AS
281512011-07-20 Andreas Schwab <schwab@redhat.com>
28152
28153 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28154 strlen results.
28155
19df733e
AK
281562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28157
28158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28159 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28160 register in order to avoid conflicts with the soft frame pointer
28161 being held in r11 when necessary.
28162 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28163 (INTERNAL_VSYSCALL_NCS): Likewise.
28164
c8835729
MP
281652011-07-14 Marek Polacek <mpolacek@redhat.com>
28166
28167 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28168 * elf/dl-fini.c (_dl_fini): Adjust caller.
28169 * elf/dl-close.c (_dl_close_worker): Likewise.
28170 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28171
b902330c
MP
281722011-07-15 Marek Polacek <mpolacek@redhat.com>
28173
8991e135
MP
28174 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28175 "aux_cache->nlibs < 0".
28176
b902330c
MP
28177 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28178 in the reload-count case.
28179
99710781
LD
281802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28181
28182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28183 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28184 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28185 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28186 * sysdeps/x86_64/multiarch/strcat.S: New file.
28187 * sysdeps/x86_64/multiarch/strncat.S: New file.
28188 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28189 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28190 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28191 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28192 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28193 (USE_AS_STRCAT): Define.
28194 Add strcat and strncat support.
28195 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28197 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28198 * string/strncat.c: Update.
28199 (USE_AS_STRNCAT): Define.
28200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28201 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28202 and i7.
28203 * sysdeps/x86_64/multiarch/init-arch.h
28204 (bit_Prefer_PMINUB_for_stringop): New.
28205 (index_Prefer_PMINUB_for_stringop): Likewise.
28206 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28207 bit_Prefer_PMINUB_for_stringop.
28208
7dc6bd90
UD
282092011-07-19 Ulrich Drepper <drepper@gmail.com>
28210
28211 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28212 buffer64.
28213 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28214 of casting of buffer.
28215 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28216 buffer32 and buffer64.
28217 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28218 writes instead of casting of buffer.
28219 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28220 buffer32.
28221 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28222 casting of buffer.
28223
e0e72284
AS
282242011-07-19 Andreas Schwab <schwab@redhat.com>
28225
28226 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28227
feb1eb0b
UD
282282011-07-19 Ulrich Drepper <drepper@gmail.com>
28229
28230 * nscd/nscd.c (termination_handler): Don't do anything for a database
28231 if it has not yet been initialized.
28232
298711ff
UD
282332011-07-18 Ulrich Drepper <drepper@gmail.com>
28234
28235 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28236
282372011-07-15 Marek Polacek <mpolacek@redhat.com>
28238
28239 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28240
f9d68389
UD
282412011-07-18 Ulrich Drepper <drepper@gmail.com>
28242
28243 * po/nl.po: Update from translation team.
28244 * po/sv.po: Likewise.
28245
db290cf5
RM
282462011-07-16 Roland McGrath <roland@hack.frob.com>
28247
28248 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28249 now disallowed by GCC.
5c550700 28250
fd5e21c7
RM
28251 * configure.in (use-default-link): Default to yes if a test -shared
28252 link meets our qualifications.
28253 * configure: Regenerated.
28254
5c550700
RM
28255 * config.make.in (output-format): New variable.
28256 * configure.in: Check for ld --print-output-format support.
28257 * configure: Regenerated.
28258 * Makerules ($(common-objpfx)format.lds)
28259 [$(output-format) != unknown]: Just use $(output-format),
28260 instead of the linker-script munging.
28261
9fa2c032
RM
282622011-07-14 Roland McGrath <roland@hack.frob.com>
28263
a6928d51
RM
28264 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28265 of $(common-objpfx)shlib.lds.
28266 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28267
661607b3
RM
28268 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28269 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28270
9fa2c032
RM
28271 * configure.in (-z relro check): Adjust test code to add a large
28272 writable data section after it.
28273 * configure: Regenerated.
28274
defe9061
RM
282752011-07-11 Roland McGrath <roland@hack.frob.com>
28276
28277 * configure.in (-z relro check): Fix test code to make the variable
28278 truly const.
28279 * configure: Regenerated.
28280
319b9ad4
UD
282812011-07-11 Ulrich Drepper <drepper@gmail.com>
28282
28283 * nscd/nscd.h (struct traced_file): Define.
28284 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28285 elements. Add traced_files.
28286 (inotify_fd): Declare.
28287 (register_traced_file): Declare.
28288 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28289 (inotify_fd): Export.
28290 (resolv_conf_descr): Remove.
28291 (nscd_init): Move inotify descriptor creation to main.
28292 Don't register files for notification here.
28293 (register_traced_file): New function.
28294 (invalidate_cache): Don't use reset_res to determine whether to call
28295 res_init, go through the list of registered files.
28296 (main_loop_poll): The inotify descriptors are now stored in the
28297 structures for the traced files.
28298 (main_loop_epoll): Likewise
28299 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28300 to __nss_disable_nscd.
28301 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28302 for a database anymore. Check the records for all the registered
28303 files instead.
28304 * nss/Makefile (libnss_files-routines): Add files-init.
28305 (libnss_db-routines): Add db-init.
28306 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28307 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28308 * nss/nss_db/db-init.c: New file.
28309 * nss/nss_files/files-init.c: New file.
28310 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28311 __nss_lookup_function.
28312 (__nss_lookup_function): Call nss_load_library.
28313 (nss_load_all_libraries): New function.
28314 (__nss_disable_nscd): Take parameter with callback function for files
28315 to register. Set is_nscd. Load all the DSOs for the NSS modules
28316 used for the cached services.
28317 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28318 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28319 options for features to all the files in nscd.
28320
28321 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28322
23bee3e8
RM
283232011-07-10 Roland McGrath <roland@hack.frob.com>
28324
28325 * csu/elf-init.c (__libc_csu_init): Comment typo.
28326
46a5b7f0
UD
283272011-07-09 Ulrich Drepper <drepper@gmail.com>
28328
28329 * po/pl.po: Update from translation team.
28330 * po/ja.po: Likewise.
28331 * po/ru.po: Likewise.
28332 * po/ko.po: Likewise.
28333 * po/fr.po: Likewise.
28334
d30cf5bb
RM
283352011-07-09 Roland McGrath <roland@hack.frob.com>
28336
113ddea4
RM
28337 * configure.in (.ctors/.dtors header and trailer check):
28338 Use an empirical test on a built program.
28339 * configure: Regenerated.
28340
574920b4
RM
28341 * configure.in (-z relro check): Use an empirical test on a built DSO.
28342 Detect, but do not require, on ia64.
28343 * configure: Regenerated.
28344
d30cf5bb
RM
28345 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28346 Update tests that use readelf to use $READELF instead.
28347 * configure: Regenerated.
28348
8538fdb3
UD
283492011-07-08 Ulrich Drepper <drepper@gmail.com>
28350
28351 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28352 if the result is not used.
28353
04d08991
AJ
283542011-07-05 Andreas Jaeger <aj@suse.de>
28355
28356 [BZ#9696]
28357 * stdlib/tst-strtod.c: Add testcase.
28358
de283087
AD
283592011-07-07 Ulrich Drepper <drepper@gmail.com>
28360
4e5f31c8 28361 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28362 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28363 The latter has a higher limit. Take additional parameter to pass to
28364 the new function.
28365 (__pathconf): Pass file to __statfs_link_max.
28366 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28367 __statfs_link_max.
28368 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28369 __statfs_link_max.
28370
de283087
AD
28371 [BZ #12868]
28372 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28374 Handle Lustre.
28375 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28376 (__statfs_filesize_max): Likewise.
28377 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28378
c75fa153
AJ
283792011-07-05 Andreas Jaeger <aj@suse.de>
28380
28381 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28382
1a544854
UD
283832011-07-06 Marek Polacek <mpolacek@redhat.com>
28384
28385 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28386 `status' variable.
28387 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28388 Likewise.
28389
6f0eec67
UD
283902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28391
28392 * Makefile (strop-tests): Add strncat.
28393 * string/test-strncat.c: New file.
28394
aae30307
UD
283952011-06-30 Marek Polacek <mpolacek@redhat.com>
28396
28397 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28398
c0cfb5eb
UD
283992011-06-21 Andreas Jaeger <aj@suse.de>
28400
28401 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28402 Copy rule from iconvdata/Makefile.
28403
01636b21
UD
284042011-07-06 Ulrich Drepper <drepper@gmail.com>
28405
28406 [BZ #12922]
28407 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28408 but no long options are defined, just return 'W'.
28409
9895c8bc
UD
284102011-06-22 Marek Polacek <mpolacek@redhat.com>
28411
28412 [BZ #9696]
28413 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28414
5d4cf042
UD
284152011-07-06 Ulrich Drepper <drepper@gmail.com>
28416
28417 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28418 netgroups to read.
960e5535 28419 (innetgr): Likewise.
5d4cf042 28420
751eb97e
RM
284212011-07-05 Roland McGrath <roland@hack.frob.com>
28422
28423 * config.make.in (install_root): Default to $(DESTDIR).
28424
f15f1e45
UD
284252011-07-05 Ulrich Drepper <drepper@gmail.com>
28426
28427 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28428
4e34ac6a
RM
284292011-07-02 Roland McGrath <roland@hack.frob.com>
28430
5e9b6af4
RM
28431 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28432
84f9ea0f
RM
28433 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28434 containing directory rather than embedding absolute directory names.
28435
ea5ee9f7
RM
28436 * scripts/check-local-headers.sh: Rewritten using awk.
28437 Match by word, not by line. Print error messages for matches.
28438 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28439
1b74661a
RM
28440 * Makerules [shlib-lds-flags empty]:
28441 ($(common-objpfx)libc_pic.opts): New target.
28442 ($(common-objpfx)libc_pic.os.clean): New target.
28443 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28444
28445 * config.make.in (OBJCOPY): New variable.
28446 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28447 * configure: Regenerated.
28448
f781ef40
RM
28449 * config.make.in (use-default-link): New variable.
28450 * configure.in (use_default_link): Grok --with-default-link to set it.
28451 * configure: Regenerated.
28452 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28453 (shlib-lds, shlib-lds-flags): Define to empty.
28454
2d4fa81e
RM
28455 * Makerules (shlib-lds): New variable.
28456 (shlib-lds-flags): New variable.
28457 (build-shlib, build-moduile, build-module-asneeded): Use it.
28458 ($(common-objpfx)libc.so): Use $(shlib-lds).
28459 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28460 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28461
31fffa6b
RM
28462 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28463 DT_FLAGS/DT_FLAGS_1 with zero flags.
28464
4e34ac6a
RM
28465 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28466 linker script munging.
28467
fcfc776b
UD
284682011-07-02 Ulrich Drepper <drepper@gmail.com>
28469
28470 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28471 as 128-bit value.
28472 * crypt/sha512.c (sha512_process_block): Perform total addition using
28473 128-bit if possible.
28474 (__sha512_finish_ctx): Likewise.
28475 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28476 as 64-bit value.
28477 * crypt/sha256.c (SWAP64): Define.
28478 (sha256_process_block): Perform total addition using 64-bit if
28479 possible.
28480 (__sha256_finish_ctx): Likewise.
28481
99231d9a
UD
284822011-07-01 Ulrich Drepper <drepper@gmail.com>
28483
28484 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28485 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28486 * nscd/hstcache.c (cache_addhst): Likewise.
28487 * nscd/grpcache.c (cache_addgr): Likewise.
28488 * nscd/aicache.c (addhstaiX): Likewise
28489 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28490
445b4a53
TK
284912011-07-01 Thorsten Kukuk <kukuk@suse.de>
28492
28493 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28494 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28495 * nscd/hstcache.c (cache_addhst): Likewise.
28496 * nscd/grpcache.c (cache_addgr): Likewise.
28497 * nscd/aicache.c (addhstaiX): Likewise
28498
6d4d8e8e
AS
284992011-07-01 Andreas Schwab <schwab@redhat.com>
28500
28501 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28502 domain only when needed.
28503
89f654c5
AS
285042011-06-30 Andreas Schwab <schwab@redhat.com>
28505
28506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28507 is always restored.
28508
cf3b23ff
UD
285092011-06-29 Ulrich Drepper <drepper@gmail.com>
28510
28511 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28512 are re-adding the entry.
28513 * nscd/servicescache.c (cache_addserv): Likewise.
28514
751626f9
AJ
285152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28516
28517 * sysdeps/generic/dl-irel.h: fix protection against multiple
28518 inclusions.
28519 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28520
9113ea1f
UD
285212011-06-28 Ulrich Drepper <drepper@gmail.com>
28522
5c0b8d90
UD
28523 [BZ #12935]
28524 * malloc/memusage.sh: Fix quoting in message.
28525 * debug/xtrace.sh: Likewise.
28526
9113ea1f
UD
28527 * configure.in: Remove support for --experimental-malloc option, make
28528 it the default.
28529 * config.make.in: Likewise.
28530 * malloc/Makefile: Likewise.
28531
a4172181
AS
285322011-06-27 Andreas Schwab <schwab@redhat.com>
28533
28534 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28535 two-byte characters.
28536
78a7eee7
RM
285372011-06-27 Roland McGrath <roland@hack.frob.com>
28538
62bede13
RM
28539 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28540 AC_CACHE_CHECK invocation.
28541 * configure: Regenerated.
28542
78a7eee7
RM
28543 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28544
5ce33a62
UD
285452011-06-27 Ulrich Drepper <drepper@gmail.com>
28546
034807a9
UD
28547 [BZ #12350]
28548 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28549 bit from old_res_options.
28550
4902da17
UD
28551 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28552
5ce33a62
UD
28553 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28554 value type for setfct.
28555
c2344f56
L
285562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28557
28558 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28559 __gettimeofday instead of gettimeofday.
28560
68468076
UD
285612011-06-26 Ulrich Drepper <drepper@gmail.com>
28562
28563 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28564
acb0d739
L
285652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28566
28567 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28568
28569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28570 info.
28571
8912479f
L
285722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28575 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28576 strcpy-sse2-unaligned strncpy-sse2-unaligned
28577 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28578 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28579 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28580 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28581 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28582 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28583 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28584 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28585 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28586 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28587 (STRCPY): Support SSE2 and SSSE3 versions.
28588
d5495a11
UD
285892011-06-24 Ulrich Drepper <drepper@gmail.com>
28590
28591 [BZ #12874]
28592 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28593 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28594 kernels which artificially limit size of requests.
28595
0b1cbaae
L
285962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28597
28598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28599 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28600 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28601 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28602 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28603 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28604 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28605 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28606 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28607 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28608 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28609 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28610 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28611 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28612 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28614 Enable unaligned load optimization for Intel Core i3, i5 and i7
28615 processors.
28616 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28617 Define.
28618 (index_Fast_Unaligned_Load): Define.
28619 (HAS_FAST_UNALIGNED_LOAD): Define.
28620
07f494a0
MP
286212011-06-23 Marek Polacek <mpolacek@redhat.com>
28622
28623 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28624
fa3fc0fe
UD
286252011-06-22 Ulrich Drepper <drepper@gmail.com>
28626
28627 [BZ #12907]
28628 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28629 until it is clear that the information is realy needed.
28630 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28631
e12df166
AS
286322011-06-22 Andreas Schwab <schwab@redhat.com>
28633
28634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28635
852eb34d
UD
286362011-06-22 Ulrich Drepper <drepper@gmail.com>
28637
84e2a551
UD
28638 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28639 /sys/devices/system/cpu/online if it is usable.
28640
852eb34d
UD
28641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28642 reading the information from the /proc filesystem to once a second.
28643
6e502e19
UD
286442011-06-21 Andreas Jaeger <aj@suse.de>
28645
28646 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28647 NULL after inclusion of kernel headers.
28648
75d39ff2
UD
286492011-06-21 Ulrich Drepper <drepper@gmail.com>
28650
51f9aa6a
UD
28651 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28652 calls to internal_setent.
28653
c0244a9d
UD
28654 [BZ #12885]
28655 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28656 addresses using gethostbyname4_r ignore IPv4 addresses.
28657
c5e3c2ae
UD
28658 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28659 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28660
75d39ff2
UD
28661 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28662
42675c6f
DM
286632011-06-20 David S. Miller <davem@davemloft.net>
28664
28665 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28666 inclusions.
28667 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28668
28669 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28670 (elf_irel): Use it.
28671 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28672 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28673 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28674 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28675 * sysdeps/x86_64/dl-irel.h: Likewise.
28676
28677 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28678 * elf/dl-sym.c: Likewise.
28679
57912a71
UD
286802011-06-15 Ulrich Drepper <drepper@gmail.com>
28681
28682 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28683 need to dereference resplen2.
28684
ee22793d
AS
286852011-06-14 Andreas Schwab <schwab@redhat.com>
28686
28687 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28688
a9e836b0
UD
286892011-06-15 Ulrich Drepper <drepper@gmail.com>
28690
77fb9117
UD
28691 * Makeconfig: Define vardbdir and inst_vardbdir.
28692 * nss/Makefile: Add rules to install db-Makefile.
28693
40c1b22c
UD
28694 * nss/nss_db/db-XXX.c: Cleanup.
28695
9f2da732
UD
28696 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28697 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28698 GLIBC_PRIVATE.
28699 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28700 * nss/makedb.c: Implement -g option to specify that value strings
28701 are generated and should not be added to table iterated over for
28702 get*ent calls.
28703 * nss/nss_db/db-initgroups.c: New file.
28704
82e9a1f7
UD
28705 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28706 interface.
28707
c41af17e
UD
28708 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28709 (internal_getgrouplist): Adjust to name change.
28710 Update use_initgroups_entry if this is not the first call.
28711 * nss/databases.def: Add initgroups entry.
28712
a9e836b0
UD
28713 * nss/makedb.c (compute_tables): Check result of multiple hash table
28714 sizes to minimize maximum chain length.
28715
2666d441
UD
287162011-06-14 Ulrich Drepper <drepper@gmail.com>
28717
28718 * Versions.def: Add entry for libnss_db.
28719 * shlib-versions: Likewise.
28720 * nss/Makefile: Add rules to build libnss_db.
28721 * nss/Versions: Add libnss_db information. Organize libnss_files
28722 entries better.
28723 * nss/db-Makefile: Add gshadow support. Change rules for the new
28724 makedb progra. Some minor improvements to generate smaller files.
28725 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28726 here from...
28727 * nss/makedb.c: ...here.
28728 Improve database format to be smaller and require less memory at
28729 runtime.
28730 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28731 db anymore.
28732 * nss/nss_db/db-netgrp.c: Likewise.
28733 * nss/nss_db/db-open.c: Likewise.
28734 * nss/nss_files/flies-XXX.x: Adjust comments.
28735 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28736 * nss/nss_files/files-grp.c: Likewise.
28737 * nss/nss_files/files-hosts.c: Likewise.
28738 * nss/nss_files/files-network.c: Likewise.
28739 * nss/nss_files/files-proto.c: Likewise.
28740 * nss/nss_files/files-pwd.c: Likewise.
28741 * nss/nss_files/files-rpc.c: Likewise.
28742 * nss/nss_files/files-service.c: Likewise.
28743 * nss/nss_files/files-sgrp.c: Likewise.
28744 * nss/nss_files/files-spwd.c: Likewise.
28745 * nss/nss_db/db-alias.c: Removed.
28746 * nss/nss_db/dummy-db.h: Removed.
28747
9ee76b5a
UD
287482011-06-02 Ulrich Drepper <drepper@gmail.com>
28749
28750 * nss/makedb.c: Rewritten to not use database library.
28751 * nss/Makefile: Update to build new makedb program.
28752
c71ca1f8
AJ
287532011-06-14 Andreas Jaeger <aj@suse.de>
28754
28755 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28756 memset declaration.
28757
3154bfb8
UD
287582011-06-10 Andreas Schwab <schwab@redhat.com>
28759
28760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28761 tmpbuf.
28762
b350afab
RM
287632011-06-10 Roland McGrath <roland@hack.frob.com>
28764
decd4e50
RM
28765 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28766 * elf/Makefile ($(objpfx)ld.so): Likewise.
28767
5615eaf2
RM
28768 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28769 Don't list ld.so twice in dependencies.
28770
28771 * posix/bug-regex31.c: Include <stdlib.h>.
28772
28773 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28774
28775 * nis/nss_compat/compat-spwd.c
28776 (getspent_next_nss_netgr): Remove unused variable.
28777 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28778
28779 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28780 nonmembers" output to use the right array.
28781
28782 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28783
28784 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28785
28786 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28787 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28788 * catgets/gencat.c (read_input_file): Likewise.
28789 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28790
28791 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28792 variable definition inside #if's controlling its use.
28793
28794 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28795
28796 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28797
28798 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28799
28800 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28801 unreachable code.
28802
28803 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28804
b68e08db
RM
28805 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28806 * configure: Regenerated.
28807
b350afab
RM
28808 * Makerules: Revert last change.
28809 * elf/Makefile: Likewise.
28810
28368601
RM
288112011-06-09 Roland McGrath <roland@hack.frob.com>
28812
28813 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28814 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28815 (reloc-link): Likewise.
28816
11988f8f
UD
288172011-06-09 Ulrich Drepper <drepper@gmail.com>
28818
28819 * elf/Makefile: Add rules to build pldd.
28820 * elf/pldd.c: New file.
28821 * elf/pldd-xx.c: New file.
28822
e80fab37
UD
288232011-06-07 Ulrich Drepper <drepper@gmail.com>
28824
28825 * version.h: Update for 2.15 development version.
28826
9b849836
DM
288272011-06-07 David S. Miller <davem@davemloft.net>
28828
28829 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28830 ifuncs.
28831 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28832 elf_machine_lazy_rel): Likewise.
28833 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28835 elf_machine_lazy_rel): Likewise.
28836 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28837 dl_hwcap via passed in argument.
28838 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28839 Likewise.
28840
5a31b283
AK
288412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28842
28843 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28844
069e52f8
RM
288452011-06-06 Roland McGrath <roland@hack.frob.com>
28846
28847 [BZ #12849]
28848 * manual/fdl-1.1.texi: New file, verbatim from:
28849 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28850 * manual/lgpl-2.1.texi: New file, verbatim from:
28851 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28852 * manual/Makefile (licenses): New variable, list those new file names.
28853 (texis): Use it.
28854 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28855
28856 * manual/fdl.texi: File removed.
28857 * manual/lesser.texi: File removed.
28858 * manual/libc.texinfo (Copying, Documentation License):
28859 Use new @include file names, put @appendix directive before @include.
28860
f16846a5
JJ
288612011-06-04 Jakub Jelinek <jakub@redhat.com>
28862
28863 [BZ #12841]
28864 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28865 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28866 (mq_open): Add __NTH.
28867
3d29045b
L
288682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28869
28870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28871 Assume Intel Core i3/i5/i7 processor if AVX is available.
28872
8c297311
UD
288732011-05-31 Ulrich Drepper <drepper@gmail.com>
28874
28875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28876 typo.
28877
c8fc0c91
UD
288782011-05-31 Andreas Schwab <schwab@redhat.com>
28879
28880 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28881 memory. Use alloca_account. Fix memory leak when retrying.
28882
5b27a807
UD
288832011-05-31 Ulrich Drepper <drepper@gmail.com>
28884
356f8bc6
UD
28885 * version.h (RELEASE): Bump for 2.14 release.
28886 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28887
5b27a807
UD
28888 * config.make.in (RANLIB): Remove entry.
28889
01f16ab0
UD
288902011-05-30 Ulrich Drepper <drepper@gmail.com>
28891
41fce8bd
UD
28892 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28893 (libc.pot): Work around missing support for .ksh extension in xgettext.
28894
4769ae77
UD
28895 [BZ #12684]
28896 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28897 if both request failed.
28898 (send_dg): In case of server errors clear resplen or *resplen2.
28899
6b1e7d19
UD
28900 [BZ #12454]
28901 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28902 when there are multiple maps.
28903 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28904 (_dl_fini): Remove test here.
28905
01f16ab0
UD
28906 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28907
b1ebd700
UD
289082011-05-29 Ulrich Drepper <drepper@gmail.com>
28909
7ae22829
UD
28910 [BZ #12350]
28911 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28912 bit from old_res_options.
28913 (gaih_inet): Likewise.
28914
553149f6 28915 [BZ #11099]
18a84741 28916 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28917 as signed.
28918
652ffab1
UD
28919 * resolv/res_init.c (res_setoptions): Make the code more compact.
28920
16985fd0
UD
28921 [BZ #11558]
28922 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28923 set RES_USEVC.
28924
0464f746
UD
28925 [BZ #11634]
28926 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28927
7d17596c
UD
28928 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28929
cf6bbbd7
UD
28930 [BZ #11781]
28931 * malloc/malloc.h: Declare malloc hook variables as volatile.
28932
13f1ab36
UD
28933 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28934 in last patch.
28935
b1ebd700
UD
28936 [BZ #11799]
28937 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28938 raise in the comment.
80e2212d
UD
28939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28941 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28942
ce67228d
UD
289432011-05-28 Ulrich Drepper <drepper@gmail.com>
28944
8887a920
UD
28945 [BZ #12811]
28946 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28947 grow the buffers more if it already has to be sufficient.
28948 (build_wcs_upper_buffer): Likewise.
28949 * posix/regexec.c (check_matching): Likewise.
28950 (clean_state_log_if_needed): Likewise.
28951 (extend_buffers): Don't enlarge buffers beyond size of the input
28952 buffer.
28953 Patches mostly by Emil Wojak <emil@wojak.eu>.
28954 * posix/bug-regex32.c: New file.
28955 * posix/Makefile (tests): Add bug-regex32.
28956
4f031072
UD
28957 * locale/findlocale.c (_nl_find_locale): Return right away if
28958 _nl_explode_name failed.
28959 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28960
d0478f0c
UD
28961 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28962
de81b246
UD
28963 * debug/xtrace.sh: Unify messages.
28964 * malloc/memusage.sh: Likewise.
28965
c738465a
UD
28966 [BZ #12813]
28967 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28968 time symbol from vDSO. Substitute with vsyscall if not available.
28969 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28970 __vdso_time.
28971
f1f929d7
UD
28972 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28973 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28974 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28975 Add sendmmsg and internal_sendmmsg.
28976 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28977 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28978 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28979
ce67228d
UD
28980 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28981 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28982 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28983
e57420c6
UD
289842011-05-27 Ulrich Drepper <drepper@gmail.com>
28985
a8509ca5
UD
28986 [BZ #12813]
28987 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28988 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28989 available.
28990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28991 __vdso_getcpu.
28992
e57420c6
UD
28993 [BZ #12814]
28994 * iconvdata/Makefile (tests): Add bug-iconv9.
28995 * iconvdata/bug-iconv9.c: New file.
28996
4d07db15
AS
289972011-05-27 Andreas Schwab <schwab@redhat.com>
28998
28999 [BZ #12814]
29000 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29001
ea486f69
JJ
290022011-05-25 Jakub Jelinek <jakub@redhat.com>
29003
29004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29005 (struct user_regs_struct): Change intcs field back to cs.
29006
6f038433
UD
290072011-05-25 Ulrich Drepper <drepper@gmail.com>
29008
29009 * po/ja.po: Update from translation team.
29010
67f86a25
UD
290112011-05-23 Ulrich Drepper <drepper@gmail.com>
29012
29013 [BZ #12795]
29014 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29015 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29016
def7fbd6
AS
290172011-05-20 Andreas Schwab <schwab@redhat.com>
29018
29019 * stdlib/longlong.h: Update from GCC.
29020
f50ef8f1
AS
290212011-05-23 Andreas Schwab <schwab@redhat.com>
29022
29023 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29024 parameter name.
29025 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29026 Add parameter name.
29027 (__sysconf): Pass it down.
29028
de7ce8f1
UD
290292011-05-22 Ulrich Drepper <drepper@gmail.com>
29030
f2962a71
UD
29031 [BZ #12671]
29032 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29033 some situations.
29034 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29035 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29036 add in in __libc_use_alloca calls. Adjust callers.
29037 (glob): Use malloc in some situations.
29038
de7ce8f1
UD
29039 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29040 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29041 pltexit.
29042
aec84f53
UD
290432011-05-21 Ulrich Drepper <drepper@gmail.com>
29044
05bb4a68
UD
29045 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29046 and CLOCK_BOOTTIME_ALARM.
29047
7ea72f99
UD
29048 [BZ #12782]
29049 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29050 is returned.
29051
7e4afad5
UD
29052 * string/_strerror.c (__strerror_r): Print negative errors as signed
29053 numbers.
29054
8e211fec
UD
29055 [BZ #12777]
29056 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29057 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29058 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29059
f7d82dc9
UD
29060 * configure.in: Fix typo in redirection and correct removal of test
29061 files in two cases.
29062
cc9e536d
UD
29063 [BZ #12788]
29064 * locale/setlocale.c (new_composite_name): Fix test to check for
29065 identical name of all categories.
29066
aec84f53
UD
29067 [BZ #12792]
29068 * libio/filedoalloc.c (local_isatty): New function.
29069 (_IO_file_doallocate): Use local_isatty.
29070 * stdio-common/perror.c (perror): In case a new stream is used
29071 forward the stream error.
29072 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29073 error flag.
29074
78e64fdc
RT
290752011-05-20 Ulrich Drepper <drepper@gmail.com>
29076
34a9094f
UD
29077 [BZ #11869]
29078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29079 alloca.
29080 * include/alloca.h (extend_alloca_account): Define.
29081
78e64fdc
RT
29082 [BZ #11857]
29083 * posix/regex.h: Fix comments with documentation of user-accessible
29084 fields after compilation and describe correct free'ing of pattern
29085 after re_compile_pattern.
29086 Patch by Reuben Thomas <rrt@sc3d.org>.
29087
457bddfc
RA
290882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29089
29090 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29091 and -mno-altivec to prevent the compiler from using Altivec and/or
29092 VSX instructions when the corresponding registers are not available.
29093
a4527b51
AS
290942011-05-19 Andreas Schwab <schwab@redhat.com>
29095
29096 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29097
ed690b2f
UD
290982011-05-19 Ulrich Drepper <drepper@gmail.com>
29099
29100 * libio/freopen.c (freopen): Use __dup2, not dup2.
29101 * libio/freopen64.c (freopen64): Likewise.
29102
8db73634
L
291032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29104
29105 [BZ #12775]
29106 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29107 * math/Makefile (tests): Add test-powl.
29108 (CFLAGS-test-powl.c): Define.
29109 * math/test-powl.c: New file.
29110
0a197a9d
L
291112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29112
29113 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29114
ee30c380
UD
291152011-05-17 Ulrich Drepper <drepper@gmail.com>
29116
29117 [BZ #11837]
29118 * iconvdata/gb18030.c: Update to GB18020-2005.
29119
6ce75379
UD
291202011-05-16 Ulrich Drepper <drepper@gmail.com>
29121
a4b89fd8
AR
29122 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29123 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29124 Patch by Aharon Robbins <arnold@skeeve.com>.
29125
ea389b12
UD
29126 [BZ #11892]
29127 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29128 on the stack.
29129
68a3f91f
UD
29130 [BZ #11895]
29131 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29132 through underflows.
29133
15cc7dd1
UD
29134 [BZ #12766]
29135 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29136 point to strings before performing equality test for error_one_per_line
29137 mode.
29138
f3799213
UD
29139 [BZ #11697]
29140 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29141
d79a9c94
UD
29142 [BZ #11820]
29143 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29144 (struct user_fpregs_struct): Avoid __uint*_t types.
29145
56e5eb46
UD
29146 [BZ #6420]
29147 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29148 symbol info. Use it instead of calling _dl_addr locally.
29149 (lock_and_info): New function.
29150 (tr_freehook): Call lock_and_info and pass symbol info as additional
29151 parameter to tr_where.
29152 (tr_mallochook): Likewise.
29153 (tr_reallochook): Likewise.
29154 (tr_memalignhook): Likewise.
29155
6ce75379
UD
29156 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29157 used and couldn't be at all thread-safe.
29158
f8a3b5bf
UD
291592011-05-15 Ulrich Drepper <drepper@gmail.com>
29160
94b7cc37
UD
29161 * libio/freopen.c (freopen): Don't close old file descriptor
29162 before the new one is opened. Instead dup the new file descriptor
29163 to the old one after the new stream is created.
29164 * libio/freopen64.c (freopen64): Likewise.
29165 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29166 * libio/fileops.c (_IO_new_file_close_it): Handle new
29167 _IO_FLAGS2_NOCLOSE flag.
29168 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29169 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29170 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29171 _IO_FLAGS2_NOCLOSE flag.
29172 * include/unistd.h: Add hidden_proto for dup3.
29173 Define __have_dup3.
29174 * io/dup3.c: Define hidden symbol.
29175 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29176
bd25564e
UD
29177 [BZ #7101]
29178 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29179 when an incomplete long option is used.
29180 * posix/tst-getopt_long1.c: New file.
29181 * posix/Makefile (tests): Add tst-getopt_long1.
29182
c84cfef4
UD
29183 [BZ #10138]
29184 * scripts/config.guess: Update from autoconf-2.68.
29185 * scripts/config.sub: Likewise.
29186
3b85df27
UD
29187 [BZ #10157]
29188 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29189 tests into ...
29190 (has_cpuclock): ...this. New function.
29191 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29192 macro here based on has_cpuclock code.
29193
15a856b1
UD
29194 [BZ #10149]
29195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29196 First byte (not low byte) is now always NUL.
29197 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29198
05f399e6
UD
29199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29200 Use non-cancelable interfaces.
29201
10a52685 29202 [BZ #9809]
94ecc67d
UD
29203 * locale/iso-639.def: Add entry for Sorani.
29204
f8a3b5bf
UD
29205 [BZ #11901]
29206 * include/stdlib.h: Move include protection to the right place.
29207 Define abort_msg_s. Declare __abort_msg with it.
29208 * stdlib/abort.c (__abort_msg): Adjust type.
29209 * assert/assert.c (__assert_fail_base): New function. Majority
29210 of code from __assert_fail. Allocate memory for __abort_msg with
29211 mmap.
29212 (__assert_fail): Now call __assert_fail_base.
29213 * assert/assert-perr.c: Remove bulk of implementation. Use
29214 __assert_fail_base.
29215 * include/assert.hL Declare __assert_fail_base.
29216 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29217 mmap.
29218 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29219
1af4e298
UD
292202011-05-14 Ulrich Drepper <drepper@gmail.com>
29221
f8a3b5bf 29222 [BZ #11952]
d26dfc60
MG
29223 [BZ #12453]
29224 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29225 until all modules are registered in the DTV.
29226 * elf/Makefile: Add rules to build and run tst-tls19.
29227 * elf/tst-tls19.c: New file.
29228 * elf/tst-tls19mod1.c: New file.
29229 * elf/tst-tls19mod2.c: New file.
29230 * elf/tst-tls19mod3.c: New file.
29231 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29232
2fc54d6f
UD
29233 [BZ #12083]
29234 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29235 correctly.
29236
98d76b46
UD
29237 [BZ #12601]
29238 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29239 two-byte sequence errors.
29240 * iconvdata/Makefile (tests): Add bug-iconv8.
29241 * iconvdata/bug-iconv8.c: New file.
29242
da3c19ef
UD
29243 [BZ #12626]
29244 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29245 buf2 definition.
29246
ca408c15
UD
29247 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29248
d6f67f7d
UD
29249 [BZ #12432]
29250 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29251 (dummy_getcfa): New function.
29252 (init): Get _Unwind_GetCFA address, use dummy if not found.
29253 (backtrace_helper): In recursion check, also check whether CFA changes.
29254 (__backtrace): Completely initialize arg.
29255
1af4e298 29256 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29257 storing incomplete byte sequence in state object. Avoid testing for
29258 guaranteed too small input if we know there is enough data available.
1af4e298 29259
da62f81b
AS
292602011-05-11 Andreas Schwab <schwab@redhat.com>
29261
29262 * Makeconfig (+link-pie): Indent.
29263 * Rules (binaries-pie): Define if $(have-fpie) and
29264 $(build-shared).
29265 (binaries-shared): Also filter out $(binaries-pie).
29266 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29267 * nscd/Makefile (others-pie): Add nscd.
29268 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29269 ($(objpfx)nscd): Remove command override.
29270 * login/Makefile (others-pie): Add pt_chown.
29271 ($(objpfx)pt_chown): Remove command override.
29272 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29273 remove command overrides.
29274
fcabc0f8
UD
292752011-05-13 Ulrich Drepper <drepper@gmail.com>
29276
20030ae6
UD
29277 * libio/tst_putwc.c: Fix error messages.
29278
fcabc0f8
UD
29279 [BZ #12724]
29280 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29281 currently writing and seek to current position when not.
29282 * libio/Makefile (tests): Add bug-fclose1.
29283 * libio/bug-fclose1.c: New file.
29284
320a5dc0
PB
292852011-05-12 Ulrich Drepper <drepper@gmail.com>
29286
29287 [BZ #12511]
29288 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29289 don't set DF_1_NODELETE here.
29290 (do_lookup_x): When entering new entry test for copy relocation
29291 and if necessary set DF_1_NODELETE flag.
29292 * elf/tst-unique4.cc: New file.
29293 * elf/tst-unique4.h: New file.
29294 * elf/tst-unique4lib.cc: New file.
29295 * elf/Makefile: Add rules to build and run tst-unique4.
29296 Patch by Piotr Bury <pbury@goahead.com>.
29297
22836f52
UD
292982011-05-11 Ulrich Drepper <drepper@gmail.com>
29299
f574184a
UD
29300 [BZ #12052]
29301 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29302
e1fb097f
UD
29303 [BZ #12625]
29304 * misc/mntent_r.c (addmntent): Flush the stream after the output
29305
22836f52
UD
29306 [BZ #12393]
29307 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29308 (is_trusted_path_normalize): Skip initial colon. Append slash
29309 to empty buffer. Duplicate is_trusted_path code but allow
29310 constructed patch to be prefix.
29311 (is_dst): Allow $ORIGIN followed by /.
29312 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29313 Correct testing of result of is_trusted_path_normalize
29314 (decompose_rpath): Fix warning.
29315
7b3b0b2a
UD
293162011-05-10 Ulrich Drepper <drepper@gmail.com>
29317
29318 [BZ #11257]
29319 * grp/initgroups.c (internal_getgrouplist): When we found the service
29320 list through the initgroups entry in nsswitch.conf do not always
29321 continue on a successful lookup. Don't always use the
eac80ce2 29322 __nss_group_database value if it is set.
7b3b0b2a
UD
29323 * nss/nsswitch.conf (initgroups): Change action for successful db
29324 lookup to continue for compatibility.
29325
2a81eaa5
UD
293262011-05-09 Ulrich Drepper <drepper@gmail.com>
29327
be97a69e
UD
29328 [BZ #11532]
29329 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29330 and CP774 modules.
29331 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29332 and CP774 modules.
29333 * iconvdata/tst-tables.sh: Likewise.
29334 * iconvdata/cp770.c: New file.
29335 * iconvdata/cp771.c: New file.
29336 * iconvdata/cp772.c: New file.
29337 * iconvdata/cp773.c: New file.
29338 * iconvdata/cp774.c: New file.
29339 * iconvdata/testdata/CP770: New file.
29340 * iconvdata/testdata/CP770..UTF8: New file.
29341 * iconvdata/testdata/CP771: New file.
29342 * iconvdata/testdata/CP771..UTF8: New file.
29343 * iconvdata/testdata/CP772: New file.
29344 * iconvdata/testdata/CP772..UTF8: New file.
29345 * iconvdata/testdata/CP773: New file.
29346 * iconvdata/testdata/CP773..UTF8: New file.
29347 * iconvdata/testdata/CP774: New file.
29348 * iconvdata/testdata/CP774..UTF8: New file.
29349
29350 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29351 END CHARMAP line.
29352 * iconvdata/gen-8bit-gap.sh: Likewise.
29353 * iconvdata/gen-8bit.sh: Likewise.
29354
c1e9e399
UD
29355 * locale/iso-639.def: Add ary entry.
29356
24c55fb3 29357 [BZ #11258]
96b4b1b0
UD
29358 * locale/C-translit.h.in: Add U20A1 transliteration.
29359
bdc2f971
KB
29360 [BZ #12178]
29361 * locale/iso-639.def: Add wae entry.
29362 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29363
2952b117
UD
29364 [BZ #12545]
29365 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29366 for n.
29367
2a81eaa5
UD
29368 [BZ #12711]
29369 * locale/C-translit.h.in: Add entry for U20B9.
29370 Patch by pravin.d.s@gmail.com.
29371
28377d1b
UD
293722011-05-08 Ulrich Drepper <drepper@gmail.com>
29373
7fb90fb8
UD
29374 [BZ #12713]
29375 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29376 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29377 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29378 in rtld. Use *stat64.
7fb90fb8 29379 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29380 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29381 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29382 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29383 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29384 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29385 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29386 __fstatat64 macros.
7fb90fb8
UD
29387 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29388 * dirent/rewinddir.c: Add libc_hidden_def.
29389 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29390 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29391
28377d1b
UD
29392 * include/dirent.h (__alloc_dir): Add flags parameter.
29393 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29394 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29395 __alloc_dir.
29396 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29397 from fdopendir if O_CLOEXEC is already set.
29398
66bdbaa4
AM
293992011-03-15 Alan Modra <amodra@gmail.com>
29400
29401 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29402 l_tls_firstbyte_offset non-zero. Save padding offset in
29403 l_tls_firstbyte_offset for later use.
29404 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29405 freeing static tls block.
29406
95721191
JN
294072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29408
29409 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29410 where #ifdef was intended. The intent is to prevent ARG_MAX from
29411 being defined by the kernel headers.
29412
f87dfb1f
UD
294132011-05-07 Ulrich Drepper <drepper@gmail.com>
29414
29415 [BZ #12734]
29416 * resolv/resolv.h: Define RES_NOTLDQUERY.
29417 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29418 no-tld-query and set RES_NOTLDQUERY.
29419 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29420 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29421 modern BIND to search name as TLD unless forbidden.
29422
47c3cd7a
UD
294232011-05-07 Petr Baudis <pasky@suse.cz>
29424 Ulrich Drepper <drepper@gmail.com>
29425
29426 [BZ #12393]
29427 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29428 (is_trusted_path): ...to here.
c1e9ea35 29429 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29430 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29431 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29432
8a35c912
PP
294332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29434
29435 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29436 __BEGIN/__END_DECLS.
29437
acd41f47
UD
294382011-05-06 Ulrich Drepper <drepper@gmail.com>
29439
29440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29441 NSS_STATUS_NOTFOUND if no record was found.
29442
597df647
AS
294432011-05-05 Andreas Schwab <schwab@redhat.com>
29444
29445 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29446 (headers-not-in-tirpc): Remove rpc/netdb.h
29447 * resolv/netdb.h: Revert last change.
29448
b9af1301
PP
294492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29450
29451 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29452 circular dependency between libgcc.a and libc.a.
29453
4e34d5f5
AS
294542011-05-05 Andreas Schwab <schwab@redhat.com>
29455
29456 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29457 * nis/Makefile: Don't install rpcsvc/*.
29458 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29459 instead of <rpc/types.h>.
29460 (MAXHOSTNAMELEN): Define.
29461
00ee369c
AS
294622011-05-03 Andreas Schwab <schwab@redhat.com>
29463
29464 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29465
0b592a30
MB
294662011-04-28 Maciej Babinski <mbabinski@google.com>
29467
29468 [BZ #12714]
29469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29470 gethostbyname4_r when IPv6 results are possible.
29471
6e04cbbe
UD
294722011-05-02 Ulrich Drepper <drepper@gmail.com>
29473
29474 [BZ #12723]
29475 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29476 _PC_PIPE_BUF handling.
29477
e4ecafe0
BH
294782011-04-30 Bruno Haible <bruno@clisp.org>
29479
29480 [BZ #12717]
29481 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29482 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29483 to 'int'.
29484 * inet/getnameinfo.c (getnameinfo): Likewise.
29485
125ee683
UD
294862011-04-29 Ulrich Drepper <drepper@gmail.com>
29487
29488 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29489 to groups setting in database lookup.
29490 * nss/nsswitch.conf: Add initgroups entry.
29491
b722481a
EB
294922011-04-22 Ulrich Drepper <drepper@gmail.com>
29493
29494 [BZ #12685]
29495 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29496 mode string.
29497 Patch by Eric Blake <eblake@redhat.com>.
29498
4df46dbd
L
294992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29500
29501 * sunrpc/Makefile (need-export-routines): Add svc_run.
29502 (routines): Remove svc_run.
29503 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29504 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29505 * sunrpc/svc_run.c (svc_run): Likewise.
29506 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29507
e84142d2
UD
295082011-04-21 Ulrich Drepper <drepper@gmail.com>
29509
29510 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29511 problem in reallocation in last patch.
29512
877175d8
UD
295132011-04-20 Ulrich Drepper <drepper@gmail.com>
29514
29515 * sunrpc/Makefile: Move inclusion of Rules.
29516
ab8eed78
UD
295172011-04-19 Ulrich Drepper <drepper@gmail.com>
29518
29519 * nss/nss_files/files-initgroups.c: New file.
29520 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29521 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29522 _nss_files_initgroups_dyn.
29523
e3d8f584
RS
295242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29525
29526 * elf/elf.h (R_ARM_IRELATIVE): Define.
29527
af190f45
UD
295282011-04-19 Ulrich Drepper <drepper@gmail.com>
29529
29530 * po/ru.po: Update from translation team.
29531
53cf59ef
UD
295322011-04-17 Ulrich Drepper <drepper@gmail.com>
29533
29534 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29535 dependencies.
29536
4c559bcd
MF
295372011-02-06 Mike Frysinger <vapier@gentoo.org>
29538
29539 [BZ #12653]
29540 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29541 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29545
4420675c
AS
295462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29547
29548 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29549 differing bytes.
29550 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29553
75ea32ab
UD
295542011-04-17 Ulrich Drepper <drepper@gmail.com>
29555
29556 [BZ #12420]
29557 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29558 storing it.
29559 * stdlib/bug-getcontext.c: New file.
29560 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29561
27390476
AK
295622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29563
29564 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29565 instructions into .machine "z9-109".
29566 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29567 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29568
10442705
AK
295692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29570
29571 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29572 between environment variables and auxiliary vector.
29573
7b57bfe5
UD
295742011-04-16 Ulrich Drepper <drepper@gmail.com>
29575
29576 * Makefile: Add rules to build linkobj/libc.so.
29577 * include/libc-symbols.h: Define libc_hidden_nolink.
29578 * include/rpc/auth.h: Mark functions which are to be hidden.
29579 * include/rpc/auth_des.h: Likewise.
29580 * include/rpc/auth_unix.h: Likewise.
29581 * include/rpc/clnt.h: Likewise.
29582 * include/rpc/des_crypt.h: Likewise.
29583 * include/rpc/key_prot.h: Likewise.
29584 * include/rpc/pmap_clnt.h: Likewise.
29585 * include/rpc/pmap_prot.h: Likewise.
29586 * include/rpc/pmap_rmt.h: Likewise.
29587 * include/rpc/rpc_msg.h: Likewise.
29588 * include/rpc/svc.h: Likewise.
29589 * include/rpc/svc_auth.h: Likewise.
29590 * include/rpc/xdr.h: Likewise.
29591 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29592 * nss/Makefile: Likewise.
29593 * sunrpc/Makefile: Don't install headers. Build library with normal
29594 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29595 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29596 for the compat linking library. Remove use of INTDEF/INTUSE.
29597 * sunrpc/auth_none.c: Likewise.
29598 * sunrpc/auth_unix.c: Likewise.
29599 * sunrpc/authdes_prot.c: Likewise.
29600 * sunrpc/authuxprot.c: Likewise.
29601 * sunrpc/clnt_gen.c: Likewise.
29602 * sunrpc/clnt_perr.c: Likewise.
29603 * sunrpc/clnt_raw.c: Likewise.
29604 * sunrpc/clnt_simp.c: Likewise.
29605 * sunrpc/clnt_tcp.c: Likewise.
29606 * sunrpc/clnt_udp.c: Likewise.
29607 * sunrpc/clnt_unix.c: Likewise.
29608 * sunrpc/des_crypt.c: Likewise.
29609 * sunrpc/des_soft.c: Likewise.
29610 * sunrpc/get_myaddr.c: Likewise.
29611 * sunrpc/key_call.c: Likewise.
29612 * sunrpc/key_prot.c: Likewise.
29613 * sunrpc/netname.c: Likewise.
29614 * sunrpc/pm_getmaps.c: Likewise.
29615 * sunrpc/pm_getport.c: Likewise.
29616 * sunrpc/pmap_clnt.c: Likewise.
29617 * sunrpc/pmap_prot.c: Likewise.
29618 * sunrpc/pmap_prot2.c: Likewise.
29619 * sunrpc/pmap_rmt.c: Likewise.
29620 * sunrpc/publickey.c: Likewise.
29621 * sunrpc/rpc_cmsg.c: Likewise.
29622 * sunrpc/rpc_common.c: Likewise.
29623 * sunrpc/rpc_dtable.c: Likewise.
29624 * sunrpc/rpc_prot.c: Likewise.
29625 * sunrpc/rpc_thread.c: Likewise.
29626 * sunrpc/rtime.c: Likewise.
29627 * sunrpc/svc.c: Likewise.
29628 * sunrpc/svc_auth.c: Likewise.
29629 * sunrpc/svc_authux.c: Likewise.
29630 * sunrpc/svc_raw.c: Likewise.
29631 * sunrpc/svc_run.c: Likewise.
29632 * sunrpc/svc_simple.c: Likewise.
29633 * sunrpc/svc_tcp.c: Likewise.
29634 * sunrpc/svc_udp.c: Likewise.
29635 * sunrpc/svc_unix.c: Likewise.
29636 * sunrpc/svcauth_des.c: Likewise.
29637 * sunrpc/xcrypt.c: Likewise.
29638 * sunrpc/xdr.c: Likewise.
29639 * sunrpc/xdr_array.c: Likewise.
29640 * sunrpc/xdr_float.c: Likewise.
29641 * sunrpc/xdr_intXX_t.c: Likewise.
29642 * sunrpc/xdr_mem.c: Likewise.
29643 * sunrpc/xdr_rec.c: Likewise.
29644 * sunrpc/xdr_ref.c: Likewise.
29645 * sunrpc/xdr_sizeof.c: Likewise.
29646 * sunrpc/xdr_stdio.c: Likewise.
29647
e6c61494
UD
296482011-04-10 Ulrich Drepper <drepper@gmail.com>
29649
29650 [BZ #12650]
29651 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29652 * sysdeps/ia64/dl-tls.h: Likewise.
29653 * sysdeps/powerpc/dl-tls.h: Likewise.
29654 * sysdeps/s390/dl-tls.h: Likewise.
29655 * sysdeps/sh/dl-tls.h: Likewise.
29656 * sysdeps/sparc/dl-tls.h: Likewise.
29657 * sysdeps/x86_64/dl-tls.h: Likewise.
29658 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29659
34fe483e
AS
296602011-03-14 Andreas Schwab <schwab@redhat.com>
29661
29662 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29663 rpath element also skip the following colon.
29664 (expand_dynamic_string_token): Add is_path parameter and pass
29665 down to DL_DST_REQUIRED and _dl_dst_substitute.
29666 (decompose_rpath): Call expand_dynamic_string_token with
29667 non-zero is_path. Ignore empty rpaths.
29668 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29669 with zero is_path.
29670
f12a32e6
AS
296712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29672
29673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29674 Make cancelable.
29675
38a7d692
UD
296762011-04-09 Ulrich Drepper <drepper@gmail.com>
29677
29678 [BZ #12655]
29679 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29680 Patch by Filipe David Manana <fdmanana@apache.org>.
29681
e451d22b
AS
296822011-04-07 Andreas Schwab <schwab@redhat.com>
29683
29684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29685 Maintain aligned stack.
29686 (CHECK_RSP): Remove unused macro.
29687
dedc7c7b
UD
296882011-04-03 Ulrich Drepper <drepper@gmail.com>
29689
29690 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29691 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29692
94521213
UD
296932011-04-02 Ulrich Drepper <drepper@gmail.com>
29694
29695 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29696
8cb700c0 29697 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29698
0354e355
L
296992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29700
29701 [BZ #12518]
29702 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29703 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29704 * sysdeps/x86_64/memmove.c: New file.
29705 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29706 (memcpy): Renamed to ...
29707 (__new_memcpy): This.
29708 (memcpy): Provide GLIBC_2_14 memcpy.
29709 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29710 (memcpy): Provide GLIBC_2_2_5 memcpy.
29711
8593482f
UD
297122011-04-01 Ulrich Drepper <drepper@gmail.com>
29713
29714 [BZ #12631]
29715 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29716
81a5726b
AS
297172011-03-30 Andreas Schwab <schwab@redhat.com>
29718
29719 * misc/syncfs.c: New file.
29720 * misc/Makefile (routines): Add syncfs.
29721 * posix/unistd.h: Declare syncfs.
29722 * sysdeps/unix/syscalls.list: Add syncfs.
29723
00e5419f
AS
297242011-04-01 Andreas Schwab <schwab@redhat.com>
29725
29726 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29727 open_by_handle_at.
29728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29730 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29731 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29732 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29733 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29735
748876bf
UD
297362011-04-01 Ulrich Drepper <drepper@gmail.com>
29737
658e451d
UD
29738 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29739 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29740 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29744 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29745
748876bf
UD
29746 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29747 sync_file_range.c with -fexceptions.
29748 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29749 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29750 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29751 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29752 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29753 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29755 sync_file_range as cancellation point
29756 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29757 now a wrapper around __call_sync_file_range with cancellation handling.
29758 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29759 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29760 function name to __call_sync_file_range.
29761 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29762 Add call_sync_file_range.
748876bf 29763
6e63d5e1
AS
297642011-04-01 Andreas Schwab <schwab@redhat.com>
29765
29766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29767 bits/timex.h.
6e63d5e1 29768
46998f74
UD
297692011-04-01 Ulrich Drepper <drepper@gmail.com>
29770
4c1423ed
UD
29771 * iconv/iconv.h: Fix typo in comment.
29772 * io/fcntl.h: Likewise.
29773 * libio/stdio.h: Likewise.
29774 * posix/spawn.h: Likewise.
29775 * posix/unistd.h: Likewise.
29776 * stdlib/stdlib.h: Likewise.
29777 * time/time.h: Likewise.
29778 * wcsmbs/wchar.h: Likewise.
29779
158648c0
UD
29780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29781 open_by_handle): Add.
29782 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29783 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29784 Augment a few comments.
29785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29790 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29791 open_by_handle.
29792
46998f74
UD
29793 * io/fcntl.h (AT_EMPTY_PATH): Define.
29794
83fe108b
UD
297952011-03-30 Ulrich Drepper <drepper@gmail.com>
29796
29797 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29798 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29799 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29800 to...
29801 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29802 * Versions.def: Add GLIBC_2.14.
29803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29804 Export.
83fe108b 29805
bb242059
UD
298062011-03-22 Ulrich Drepper <drepper@gmail.com>
29807
29808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29809 round counter.
29810 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29811
c97a1282
L
298122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29813
29814 [BZ #12597]
29815 * string/test-strncmp.c (do_page_test): New function.
29816 (check2): Likewise.
29817 (test_main): Call check2.
29818 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29819
2a115601
UD
298202011-03-20 Ulrich Drepper <drepper@gmail.com>
29821
29822 [BZ #12587]
29823 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29824 Handle cache information in CPU leaf 4.
29825 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29826
8126d904
UD
298272011-03-18 Ulrich Drepper <drepper@gmail.com>
29828
042c49c6 29829 [BZ #12583]
8126d904
UD
29830 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29831 character representation.
29832 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29833
ccfe366e
RA
298342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29835
29836 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29837 END(__isnan) to END(__isnanf) to match function entry point/label
29838 EALIGN(__isnanf,...).
29839
c6e13027
JJ
298402011-03-10 Jakub Jelinek <jakub@redhat.com>
29841
29842 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29843
33f85a3f
UD
298442011-03-10 Ulrich Drepper <drepper@gmail.com>
29845
028478fa
UD
29846 [BZ #12510]
29847 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29848 copy from the symbol referenced in the relocation to initialize the
29849 used variable.
29850 Patch by Piotr Bury <pbury@goahead.com>.
29851 * elf/Makefile: Add rules to build and tst-unique3.
29852 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29853 * elf/tst-unique3.cc: New file.
29854 * elf/tst-unique3.h: New file.
29855 * elf/tst-unique3lib.cc: New file.
29856 * elf/tst-unique3lib2.cc: New file.
29857
33f85a3f
UD
29858 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29859
03592fc7
MF
298602011-03-10 Mike Frysinger <vapier@gentoo.org>
29861
29862 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29863 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29864 to _start.
03592fc7 29865
6a5ee102
UD
298662011-03-06 Ulrich Drepper <drepper@gmail.com>
29867
29868 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29869 to-be-loaded object along a path to loader is ld.so.
29870
7e4ba49c
HJ
298712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29872 Ulrich Drepper <drepper@gmail.com>
29873
29874 * sysdeps/x86_64/memset.S: After aligning destination, code
29875 branches to different locations depending on the value of
29876 misalignment, when multiarch is enabled. Fix this.
29877
298782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29879
29880 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29881 Set _x86_64_preferred_memory_instruction for AMD processsors.
29882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29883 Set bit_Prefer_SSE_for_memop for AMD processors.
29884
13a804de
UD
298852011-03-04 Ulrich Drepper <drepper@gmail.com>
29886
29887 * libio/fmemopen.c (fmemopen): Optimize a bit.
29888
9d25c392
AS
298892011-03-03 Andreas Schwab <schwab@redhat.com>
29890
29891 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29892
a5543c6a
RM
298932011-03-03 Roland McGrath <roland@redhat.com>
29894
29895 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29896
012d35f7
DM
298972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29898
7e4ba49c 29899 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29900 __bzero_ultra1 instead of __memset_ultra1.
29901
4bff6e01
AS
299022011-02-23 Andreas Schwab <schwab@redhat.com>
29903 Ulrich Drepper <drepper@gmail.com>
29904
29905 [BZ #12509]
29906 * include/link.h (struct link_map): Add l_orig_initfini.
29907 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29908 returning unsuccessfully.
29909 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29910 close of a file loaded at startup, restore the original l_initfini
29911 list.
29912 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29913 list, store the pointer.
29914 * elf/Makefile ($(objpfx)noload-mem): New rule.
29915 (noload-ENV): Define.
29916 (tests): Add $(objpfx)noload-mem.
29917 * elf/noload.c: Include <memcheck.h>.
29918 (main): Call mtrace. Close all opened handles.
29919
f2092faf
AS
299202011-02-17 Andreas Schwab <schwab@redhat.com>
29921
29922 [BZ #12454]
29923 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29924 dependencies are missing.
29925
6c8a2e88
ST
299262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29927
f2092faf 29928 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29929 Hurd needs munmap.
29930 * sysdeps/mach/hurd/ifreq.h: New file.
29931
84a42118
PB
299322011-01-27 Petr Baudis <pasky@suse.cz>
29933 Ulrich Drepper <drepper@gmail.com>
29934
071f805e 29935 [BZ 12445]#
84a42118
PB
29936 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29937 to extend_alloca().
29938 * stdio-common/bug23.c: New file.
29939 * stdio-common/Makefile (tests): Add bug23.
29940
e23fe25b
AS
299412010-09-28 Andreas Schwab <schwab@redhat.com>
29942 Ulrich Drepper <drepper@gmail.com>
29943
29944 [BZ #12489]
29945 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29946 before performing relro protection. At old place add assertion
29947 to make sure nothing changed.
29948
d3f02e10
NS
299492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29950 Glauber de Oliveira Costa <glommer@gmail.com>
29951
29952 * elf/elf.h: Add new ARM TLS relocs.
29953
d55fd7a5
RA
299542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29955
29956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29957 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29958 cast from r3.
29959 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29960 'tests' variable.
29961 * sysdeps/wordsize-64/tst-writev.c: New file.
29962
2206397e
RA
299632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29964
29965 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29966 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29967 insns in _dl_start to prevent a TOC reference before relocs are
29968 resolved.
29969
e9433893
UD
299702011-02-15 Ulrich Drepper <drepper@gmail.com>
29971
29972 [BZ #12469]
29973 * Makeconfig: Remove RANLIB definition.
29974 * Makerules: Don't use RANLIB.
29975 * aclocal.m4: Remove ranlib test.
29976 * configure.in: No need to check for ranlib.
29977 * elf/rtld-Rules: Don't use RANLIB.
29978
f75286c6
ST
299792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29980
8e31c82d
ST
29981 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29982 protection macro.
29983 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29984 inclusion protection macro.
29985
f75286c6
ST
29986 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29987 SIGRTMIN and SIGRTMAX and print information in that case only when
29988 SIGRTMIN is defined.
29989
c1d0e639
JJ
299902011-02-11 Jakub Jelinek <jakub@redhat.com>
29991
29992 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29993 arginfo fn returning -1.
29994
29995 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29996 and thousands string is zero terminated.
29997
edf9294e
AS
299982011-02-03 Andreas Schwab <schwab@redhat.com>
29999
30000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30001 sysdeps/unix/sysv/linux/bits/socket.h.
30002
2b7e92df
ST
300032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30004
edf9294e
AS
30005 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30006 (__CPU_COUNT): Remove old macros.
30007 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30008 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30009 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30010 (__sched_cpualloc, __sched_cpufree): Add declarations.
30011
a4c7ea7b
UD
300122011-02-05 Ulrich Drepper <drepper@gmail.com>
30013
30014 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30015 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30016 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30017 (readdhstai): Return value of addhstaiX call.
30018 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30019 (addgrbyX): Return value returned by cache_addgr.
30020 (readdgrbyname): Return value returned by addgrbyX.
30021 (readdgrbygid): Likewise.
30022 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30023 (addpwbyX): Return value returned by cache_addpw.
30024 (readdpwbyname): Return value returned by addhstbyX.
30025 (readdpwbyuid): Likewise.
30026 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30027 (addservbyX): Return value returned by cache_addserv.
30028 (readdservbyname): Return value returned by addservbyX:
30029 (readdservbyport): Likewise.
30030 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30031 (addhstbyX): Return value returned by cache_addhst.
30032 (readdhstbyname): Return value returned by addhstbyX.
30033 (readdhstbyaddr): Likewise.
30034 (readdhstbynamev6): Likewise.
30035 (readdhstbyaddrv6): Likewise.
30036 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30037 (readdinitgroups): Return value returned by addinitgroupsX.
30038 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30039 (prune_cache): Keep track of timeout value of re-added entries.
30040 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30041 * nscd/nscd.h: Adjust prototypes of readd* functions.
30042
a0bf67cc
RM
300432011-02-04 Roland McGrath <roland@redhat.com>
30044
30045 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30046 (nis_stats): Likewise.
30047 * nis/nis_modify.c (nis_modify): Likewise.
30048 * nis/nis_remove.c (nis_remove): Likewise.
30049 * nis/nis_add.c (nis_add): Likewise.
30050
30051 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30052
30053 * posix/fnmatch_loop.c: Add some consts.
30054
30055 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30056
435b95eb
L
300572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30058
30059 [BZ #12460]
30060 * config.make.in (config-cflags-novzeroupper): Define.
30061 * configure.in: Substitute libc_cv_cc_novzeroupper.
30062 * elf/Makefile (AVX-CFLAGS): Define.
30063 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30064 (CFLAGS-tst-auditmod4a.c): Likewise.
30065 (CFLAGS-tst-auditmod4b.c): Likewise.
30066 (CFLAGS-tst-auditmod6b.c): Likewise.
30067 (CFLAGS-tst-auditmod6c.c): Likewise.
30068 (CFLAGS-tst-auditmod7b.c): Likewise.
30069 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30070
8517b15e
UD
300712011-02-02 Ulrich Drepper <drepper@gmail.com>
30072
30073 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30074 function to the callback.
30075 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30076
10a656fe
AS
300772011-02-02 Andreas Schwab <schwab@redhat.com>
30078
30079 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30080 of errno.
30081
968dad0a
UD
300822011-01-19 Ulrich Drepper <drepper@gmail.com>
30083
9f94d2ea 30084 [BZ #11724]
968dad0a
UD
30085 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30086 of constructors.
30087 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30088 of destructors.
30089 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30090
30091 [BZ #11724]
30092 * elf/Makefile: Add rules to build and run new test.
30093 * elf/tst-initorder.c: New file.
30094 * elf/tst-initorder.exp: New file.
30095 * elf/tst-initordera1.c: New file.
30096 * elf/tst-initordera2.c: New file.
30097 * elf/tst-initordera3.c: New file.
30098 * elf/tst-initordera4.c: New file.
30099 * elf/tst-initorderb1.c: New file.
30100 * elf/tst-initorderb2.c: New file.
30101 * elf/tst-order-a1.c: New file.
30102 * elf/tst-order-a2.c: New file.
30103 * elf/tst-order-a3.c: New file.
30104 * elf/tst-order-a4.c: New file.
30105 * elf/tst-order-b1.c: New file.
30106 * elf/tst-order-b2.c: New file.
30107 * elf/tst-order-main.c: New file.
30108 New test case by George Gensure <werkt0@gmail.com>.
30109
86e92359
UD
301102010-10-01 Andreas Schwab <schwab@redhat.com>
30111
30112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30113 decoding ACE if AI_CANONIDN.
30114
5d5732b0
UD
301152011-01-18 Ulrich Drepper <drepper@gmail.com>
30116
30117 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30118
a77e8cbc
UD
301192011-01-17 Ulrich Drepper <drepper@gmail.com>
30120
6392473f
UD
30121 * version.h (RELEASE): Bump for 2.13 release.
30122 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30123
620a0529
UD
30124 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30125
18ba70a5
UD
30126 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30127 MADV_NOHUGEPAGE.
32465c3e
UD
30128 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30130 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30131 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30134
c0dafcf1
UD
30135 * posix/getconf.c: Update copyright year.
30136 * catgets/gencat.c: Likewise.
30137 * csu/version.c: Likewise.
30138 * debug/catchsegv.sh: Likewise.
30139 * debug/xtrace.sh: Likewise.
30140 * elf/ldconfig.c: Likewise.
30141 * elf/ldd.bash.in: Likewise.
30142 * elf/sprof.c (print_version): Likewise.
30143 * iconv/iconv_prog.c: Likewise.
30144 * iconv/iconvconfig.c: Likewise.
30145 * locale/programs/locale.c: Likewise.
30146 * locale/programs/localedef.c: Likewise.
30147 * malloc/memusage.sh: Likewise.
30148 * malloc/mtrace.pl: Likewise.
30149 * nscd/nscd.c (print_version): Likewise.
30150 * nss/getent.c: Likewise.
30151
a77e8cbc
UD
30152 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30153 PF_CAIF, and PF_ALG.
30154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30155
77e8bddf
AS
301562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30157
1f20b93a
AS
30158 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30159 (modules-names): Use them.
30160 (ifunc-test-modules, ifunc-pie-tests): Define.
30161 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30162 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30163 (test-extras): Likewise.
30164 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30165 $(compile-command.c).
30166 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30167 (all-built-dso): Define.
30168 (check-textrel.out, check-execstack.out): Depend on it.
30169
77e8bddf
AS
30170 * configure.in: Don't override --enable-multi-arch.
30171
bc425b33
UD
301722011-01-15 Ulrich Drepper <drepper@gmail.com>
30173
30174 [BZ #6812]
30175 * nscd/hstcache.c (tryagain): Define.
30176 (cache_addhst): Return tryagain not notfound for temporary errors.
30177 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30178 failed.
30179
794c3ad3
UD
301802011-01-14 Ulrich Drepper <drepper@gmail.com>
30181
70181fdd
UD
30182 [BZ #10563]
30183 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30184 to make the syscall.
30185 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30186
794c3ad3
UD
30187 [BZ #12378]
30188 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30189 and fall back to matching as normal character if the string ends before
30190 the matching ']' is found. This is what POSIX requires.
30191 * posix/testfnm.c: Adjust test result.
30192 * posix/globtest.sh: Adjust test result. Add new test.
30193 * posix/tst-fnmatch.input: Likewise.
30194 * posix/tst-fnmatch2.c: Add new test.
30195
68dc9497
AS
301962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30197
30198 * elf/Makefile (check-execstack): Revert last change. Depend on
30199 check-execstack.h.
30200 (check-execstack.h): New target.
30201 (generated): Add check-execstack.h.
30202 * elf/check-execstack.c: Include "check-execstack.h".
30203 (main): Revert last change.
30204 (handle_file): Return zero if GNU_STACK is absent and
30205 DEFAULT_STACK_PERMS doesn't include PF_X.
30206
451f001b
UD
302072011-01-13 Ulrich Drepper <drepper@gmail.com>
30208
cfa28e56
UD
30209 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30210 in child fails because the descriptor is already closed.
8cf8ce17
UD
30211 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30212 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30213 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30214
1086d70d
UD
30215 [BZ #12397]
30216 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30217 syscall.
30218
451f001b
UD
30219 [BZ #10484]
30220 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30221 temporary buffer used to handle multi lookups locally.
a85b5cb4 30222 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30223
08769175
UD
302242011-01-12 Ulrich Drepper <drepper@gmail.com>
30225
30226 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30227 loader is ld.so.
30228
5e49c52e
UD
302292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30230
30231 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30232 alignment for SSE2.
30233
60522a5f
UD
302342011-01-12 Ulrich Drepper <drepper@gmail.com>
30235
30236 [BZ #12394]
30237 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30238 characters. When rounding increased number of integer digits recompute
30239 number of groups.
30240 * stdio-common/tst-grouping.c: New file.
30241 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30242
f257bbd7
UD
302432011-01-09 Ulrich Drepper <drepper@gmail.com>
30244
30245 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30246 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30247
30248 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30249 void.
30250 * bits/select.h: Likewise.
30251
fa9c15cb
UD
302522011-01-08 Ulrich Drepper <drepper@gmail.com>
30253
30254 * po/ja.po: Update from translation team.
30255
16c2895f
DM
302562011-01-04 David S. Miller <davem@sunset.davemloft.net>
30257
30258 [BZ #11155]
30259 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30260 implementation just like for lxstat, fxstatat, et al.
30261
2543fef2
JM
302622010-12-27 Jim Meyering <meyering@redhat.com>
30263
30264 [BZ #12348]
30265 * posix/regexec.c (build_trtable): Return failure indication upon
30266 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30267
98727dbe
UD
302682010-12-25 Ulrich Drepper <drepper@gmail.com>
30269
5bd6dc5c
UD
30270 [BZ #12201]
30271 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30272 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30273 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30274 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30275
97983464
UD
30276 [BZ #12207]
30277 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30278
98727dbe
UD
30279 [BZ #12204]
30280 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30281 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30282
4a531bb0
L
302832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30284
30285 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30286 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30287 script has SORT_BY_INIT_PRIORITY.
30288 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30289 NO_CTORS_DTORS_SECTIONS is defined.
30290 * elf/soinit.c: Likewise.
30291 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30292 NO_CTORS_DTORS_SECTIONS is defined.
30293 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30294 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30295 * sysdeps/sh/init-first.c: Likewise.
30296 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30297
07eb4b71
UD
302982010-12-24 Ulrich Drepper <drepper@gmail.com>
30299
30300 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30301 always use the slow path.
30302
30950a5f
RA
303032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30304
30305 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30306 similar rule which adds the sysdep directories to the header search in
30307 order to pick up the correct platform stackinfo.h.
30308 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30309 perform test if it is, otherwise return successfully without testing.
30310 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30311 DEFAULT_STACK_PERMS define in stackinfo.h.
30312 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30313 defined in stackinfo.h.
30314 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30315 DEFAULT_STACK_PERMS defined in stackinfo.h.
30316 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30317 * sysdeps/ia64/stackinfo.h: Likewise.
30318 * sysdeps/s390/stackinfo.h: Likewise.
30319 * sysdeps/sh/stackinfo.h: Likewise.
30320 * sysdeps/sparc/stackinfo.h: Likewise.
30321 * sysdeps/x86_64/stackinfo.h: Likewise.
30322 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30323 PF_X for powerpc64. Retain PF_X for powerpc32.
30324
db753e2c
UD
303252010-12-19 Ulrich Drepper <drepper@gmail.com>
30326
14b697f7
UD
30327 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30328 accurately.
db753e2c
UD
30329 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30330 GETDENTS_64BIT_ALIGNED.
30331
28300719
UD
303322010-12-14 Ulrich Drepper <dreper@gmail.com>
30333
14b697f7 30334 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30335
4f197237
AS
303362010-12-10 Andreas Schwab <schwab@redhat.com>
30337
dbb0472f
AS
30338 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30339 _GNU_SOURCE.
30340
4f197237
AS
30341 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30342 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30343 Remove __restrict.
30344 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30345 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30346
fb88ac72
UD
303472010-12-09 Ulrich Drepper <drepper@gmail.com>
30348
30349 [BZ #11655]
30350 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30351 are initialized.
30352
42acbb92
JJ
303532010-12-09 Jakub Jelinek <jakub@redhat.com>
30354
30355 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30356
c038d98d
UD
303572010-12-03 Ulrich Drepper <drepper@gmail.com>
30358
30359 * po/it.po: Update from translation team.
30360
3a4a2499
L
303612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30362
30363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30364 unused codes.
30365
1e24cf6e
UD
303662010-11-30 Ulrich Drepper <drepper@gmail.com>
30367
30368 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30369
a7690819
AS
303702010-11-24 Andreas Schwab <schwab@redhat.com>
30371
30372 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30373 specially.
30374 (gaih_getanswer_slice): Likewise.
30375
3bf8d1b1
JJ
303762010-10-20 Jakub Jelinek <jakub@redhat.com>
30377
30378 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30379
6db52fbb
PB
303802010-05-31 Petr Baudis <pasky@suse.cz>
30381
30382 [BZ #11149]
30383 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30384 silently even in the chroot mode.
30385
eaca7569
UD
303862010-11-22 Ulrich Drepper <drepper@gmail.com>
30387
30388 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30389 last patch a bit. Pretty printing
30390
3056dcdb
UD
303912010-05-31 Petr Baudis <pasky@suse.cz>
30392
30393 [BZ #10085]
30394 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30395 initialization of skip_initgroups_dyn.
30396
cf7c9078
UD
303972010-11-19 Ulrich Drepper <drepper@gmail.com>
30398
30399 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30400 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30401
a1fb5e3e
UD
304022010-11-16 Ulrich Drepper <drepper@gmail.com>
30403
30404 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30405
3540d66b
AS
304062010-11-11 Andreas Schwab <schwab@redhat.com>
30407
30408 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30409 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30410 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30411 ($(objpfx)tst-fnmatch-mem): New rule.
30412 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30413 * posix/tst-fnmatch.c (main): Call mtrace.
30414
13b69574
L
304152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30416
30417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30418 Support Intel processor model 6 and model 0x2c.
30419
da93d214
LM
304202010-11-10 Luis Machado <luisgpm@br.ibm.com>
30421
30422 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30423 signed comparison.
30424
8ca52c6e
L
304252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30426
30427 [BZ #12205]
30428 * string/test-strncasecmp.c (check_result): New function.
30429 (do_one_test): Use it.
30430 (check1): New function.
30431 (test_main): Use it.
30432 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30433 Support strcasecmp and strncasecmp.
30434
69da074d
UD
304352010-11-08 Ulrich Drepper <drepper@gmail.com>
30436
30437 [BZ #12194]
30438 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30440
ff02d528
L
304412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30442
30443 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30444 IFUNC support.
30445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30446 memset-x86-64.
30447 * sysdeps/x86_64/multiarch/bzero.S: New file.
30448 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30449 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30450 * sysdeps/x86_64/multiarch/memset.S: New file.
30451 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30453 Set bit_Prefer_SSE_for_memop for Intel processors.
30454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30455 Define.
30456 (index_Prefer_SSE_for_memop): Define.
30457 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30458
344d0b54
LM
304592010-11-04 Luis Machado <luisgpm@br.ibm.com>
30460
30461 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30462 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30463
c0dde15b
UD
304642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30465
30466 [BZ #12191]
30467 * sysdeps/i386/i686/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
30472 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30473 (__x86_64_raw_data_cache_size_half): Likewise.
30474 (__x86_64_raw_shared_cache_size): Likewise.
30475 (__x86_64_raw_shared_cache_size_half): Likewise.
30476 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30477 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30478 and __x86_64_raw_shared_cache_size_half. Round
30479 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30480 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30481 to multiple of 256 bytes.
30482
0e516e0e
MS
304832010-11-03 Ulrich Drepper <drepper@gmail.com>
30484
30485 [BZ #12167]
30486 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30487 of inacessible symlinks. Verify result of symlink before returning it.
30488 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30489 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30490
0e012e87
ER
304912010-10-28 Erich Ritz <erichritz@gmail.com>
30492
30493 * math/math.h (isinf): Fix typo in comment.
30494
de0ff7bc
UD
304952010-11-01 Ulrich Drepper <drepper@gmail.com>
30496
30497 * po/da.po: Update from translation team.
30498
fa41c84d
UD
304992010-10-26 Ulrich Drepper <drepper@gmail.com>
30500
30501 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30502 is added to the list.
30503
f0967738
AK
305042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30505 Ulrich Drepper <drepper@gmail.com>
30506
30507 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30508 the global list here. Move code to...
30509 (_dl_add_to_namespace_list): ...here. New function.
30510 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30511 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30512 * elf/dl-load.c (lose): Don't remove the element from the list.
30513 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30514 (_dl_map_object): Likewise.
30515
305162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30517
30518 [BZ #12159]
30519 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30520 into all bytes of SSE register.
30521 Patch by Richard Li <richardpku@gmail.com>.
30522
f0967738 305232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30524
30525 [BZ #12140]
30526 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30527 perturbing.
30528
d0b9e94f
MB
305292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30530
30531 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30532 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30533 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30534 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30536 submachine.
30537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30538
8e9f92e9
AS
305392010-10-22 Andreas Schwab <schwab@redhat.com>
30540
30541 * include/dlfcn.h (__RTLD_SECURE): Define.
30542 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30543 mode & __RTLD_SECURE instead.
30544 (open_path): Rename preloaded parameter to secure.
30545 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30546 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30547 * elf/dl-deps.c (openaux): Likewise.
30548 * elf/rtld.c (struct map_args): Remove is_preloaded.
30549 (map_doit): Don't use it.
30550 (dl_main): Likewise.
30551 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30552 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30553
bc96fbda
AS
305542010-09-09 Andreas Schwab <schwab@redhat.com>
30555
30556 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30557 (sysd-rules-targets): Remove duplicates.
30558 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30559 rtld-%.$o dependency.
30560
22cd1c9b
AS
305612010-10-18 Andreas Schwab <schwab@redhat.com>
30562
30563 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30564 _dl_map_object do it.
30565
18edac48
UD
305662010-10-19 Ulrich Drepper <drepper@gmail.com>
30567
30568 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30569 fast fma builtins, define the macros in the C99 standard.
30570 (FP_FAST_FMAF): Likewise.
30571 (FP_FAST_FMAL): Likewise.
30572 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30573
30574 * bits/mathdef.h: Update copyright year.
30575 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30576
d2050124
MM
305772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30578
30579 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30580 builtins, define the macros in the C99 standard.
30581 (FP_FAST_FMAF): Likewise.
30582 (FP_FAST_FMAL): Likewise.
30583 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30584 multiply/add.
30585 (FP_FAST_FMAF): Likewise.
30586
475facd1
JJ
305872010-10-15 Jakub Jelinek <jakub@redhat.com>
30588
30589 [BZ #3268]
30590 * math/libm-test.inc (fma_test): Some new testcases.
30591 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30592 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30593 y and infinite z. Do multiplication by C already in long double.
30594 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30596 y and infinite z. Do bitwise or of inexact bit into u.d.
30597 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30598 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30599 * sysdeps/i386/fpu/s_fma.S: Removed.
30600 * sysdeps/i386/fpu/s_fmal.S: Removed.
30601
7c08a05c
JJ
306022010-10-16 Jakub Jelinek <jakub@redhat.com>
30603
30604 [BZ #3268]
30605 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30607 computation is not scheduled after fetestexcept. Fix value
30608 of minimum denormal long double.
30609
f3f7372d
JJ
306102010-10-14 Jakub Jelinek <jakub@redhat.com>
30611
30612 [BZ #3268]
30613 * math/libm-test.inc (fma_test): Add some more tests.
30614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30615 correctly.
30616
14d43591
AS
306172010-10-15 Andreas Schwab <schwab@redhat.com>
30618
30619 * scripts/data/localplt-s390-linux-gnu.data: New file.
30620 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30621
5e908464
JJ
306222010-10-13 Jakub Jelinek <jakub@redhat.com>
30623
30624 [BZ #3268]
30625 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30626 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30627 instead of dbl-64.
30628 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30629 inlines.
30630 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30632 if one of x and y is very large and the other is subnormal.
30633 * sysdeps/s390/fpu/s_fmaf.c: New file.
30634 * sysdeps/s390/fpu/s_fma.c: New file.
30635 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30636 * sysdeps/powerpc/fpu/s_fma.S: New file.
30637 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30638 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30639 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30640
306412010-10-12 Jakub Jelinek <jakub@redhat.com>
30642
30643 [BZ #3268]
30644 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30645 fma tests.
30646 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30647 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30648 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30649 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30650 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30651 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30653
b833d51f
UD
306542010-10-12 Ulrich Drepper <drepper@redhat.com>
30655
30656 [BZ #12078]
30657 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30658 * posix/bug-regex31.input: Add test case.
30659
1751705d
UD
306602010-10-11 Ulrich Drepper <drepper@gmail.com>
30661
e9b9cbf5
UD
30662 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30663 * posix/bug-regex31.input: New file.
30664
30665 [BZ #12078]
30666 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30667 (parse_sub_exp): Fix last change, use postorder.
30668
ef06edbe
UD
30669 * posix/bug-regex31.c: New file.
30670 * posix/Makefile: Add rules to build and run bug-regex31.
30671
a129c80d
UD
30672 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30673
30674 [BZ #12078]
30675 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30676
b76b818e
UD
30677 [BZ #12108]
30678 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30679 to have entries in sys_siglist.
30680
1751705d
UD
30681 [BZ #12093]
30682 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30683 be NULL.
30684
9ff8d36f
JJ
306852010-10-07 Jakub Jelinek <jakub@redhat.com>
30686
30687 [BZ #3268]
30688 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30689 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30690 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30691 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30692 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30693 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30694 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30695 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30696 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30697 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30698 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30699 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30700 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30701 * math/ftestexcept.c (fetestexcept): Likewise.
30702 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30703 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30704 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30705 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30706 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30707 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30709
af325969
UD
307102010-10-11 Ulrich Drepper <drepper@gmail.com>
30711
c579b202 30712 [BZ #12107]
af325969
UD
30713 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30714 newline.
30715
67a67b95
UD
307162010-10-06 Ulrich Drepper <drepper@gmail.com>
30717
30718 * string/bug-strstr1.c: New file.
30719 * string/Makefile: Add rules to build and run bug-strstr1.
30720
5fb308bc
EB
307212010-10-05 Eric Blake <eblake@redhat.com>
30722
30723 [BZ #12092]
30724 * string/str-two-way.h (two_way_long_needle): Always clear memory
30725 when skipping input due to the shift table.
30726
45db99c7
UD
307272010-10-03 Ulrich Drepper <drepper@gmail.com>
30728
3b111893
UD
30729 [BZ #12005]
30730 * malloc/mcheck.c: Handle large requests.
30731
45db99c7
UD
30732 [BZ #12077]
30733 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30734 for strncmp and strncasecmp.
30735 * string/stratcliff.c: Add tests for strcmp and strncmp.
30736 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30737
cf7a1eb8
NI
307382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30739
30740 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30741 __set_fpscr.
30742
6484ba5e
AJ
307432010-09-30 Andreas Jaeger <aj@suse.de>
30744
30745 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30746 (CGROUP_SUPER_MAGIC): Define.
30747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30748 Handle btrfs and cgroup file systems.
30749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30750 Likewise.
30751
91c42559
LM
307522010-09-27 Luis Machado <luisgpm@br.ibm.com>
30753
30754 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30755 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30756
87a97932
AK
307572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30758
30759 [BZ #12067]
30760 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30761 trying to locate the ELF header.
30762
c21cc9bc
AS
307632010-09-27 Andreas Schwab <schwab@redhat.com>
30764
30765 [BZ #11611]
30766 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30767 Mask out sign-bit copies when constructing f_fsid.
30768
315970f6
PB
307692010-09-24 Petr Baudis <pasky@suse.cz>
30770
30771 * debug/stack_chk_fail_local.c: Add missing licence exception.
30772 * debug/warning-nop.c: Likewise.
30773
1ac7a2c7
JM
307742010-09-15 Joseph Myers <joseph@codesourcery.com>
30775
30776 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30777 implementing getdents64 using getdents syscall, set d_type if
30778 __ASSUME_GETDENTS32_D_TYPE.
30779
56801c50
AS
307802010-09-16 Andreas Schwab <schwab@redhat.com>
30781
30782 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30783 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30784
dda51327
UD
307852010-09-21 Ulrich Drepper <drepper@redhat.com>
30786
30787 [BZ #12037]
30788 * posix/unistd.h: Undo change of feature selection for ftruncate from
30789 2010-01-11.
30790
8ffcee4a
UD
307912010-09-20 Ulrich Drepper <drepper@redhat.com>
30792
a545ecd9 30793 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30794 detection.
30795
e24f0a8b
AS
307962010-09-20 Andreas Schwab <schwab@redhat.com>
30797
30798 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30799 fanotify_mark.
30800 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30801
7291c56f
AS
308022010-09-14 Andreas Schwab <schwab@redhat.com>
30803
30804 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30805 variables after CHECK_SP call.
30806 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30807
bc5fb037
AS
308082010-09-13 Andreas Schwab <schwab@redhat.com>
30809 Ulrich Drepper <drepper@redhat.com>
30810
30811 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30812 re-relocationg ld.so.
30813 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30814 _dl_init_paths call.
30815 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30816 here anymore.
30817
e66e7419
UD
308182010-09-14 Ulrich Drepper <drepper@redhat.com>
30819
30820 * resolv/res_init.c (__res_vinit): Count the default server we added.
30821
c044aa75
CLT
308222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30823 Ulrich Drepper <drepper@redhat.com>
30824
30825 [BZ #11968]
30826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30827 (____longjmp_chk): Use %ebx for saving value across system call.
30828 Add unwind info.
30829
32cf4069
AS
308302010-09-06 Andreas Schwab <schwab@redhat.com>
30831
30832 * manual/Makefile: Don't mix pattern rules with normal rules.
30833
817328ee
AS
308342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30835
30836 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30837 operation.
30838 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30839 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30840 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30841 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30843 Likewise.
30844
29fddf61
UD
308452010-09-04 Ulrich Drepper <drepper@redhat.com>
30846
30847 [BZ #11979]
30848 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30849 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30850
0959ffc9
UD
308512010-09-02 Ulrich Drepper <drepper@redhat.com>
30852
30853 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30854 * sysdeps/x86_64/addmul_1.S: Likewise.
30855 * sysdeps/x86_64/lshift.S: Likewise.
30856 * sysdeps/x86_64/mul_1.S: Likewise.
30857 * sysdeps/x86_64/rshift.S: Likewise.
30858 * sysdeps/x86_64/sub_n.S: Likewise.
30859 * sysdeps/x86_64/submul_1.S: Likewise.
30860
ece29840
ST
308612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30862
0959ffc9
UD
30863 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30864 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30865 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30866 * bits/sched.h [__need_schedparam]
ece29840 30867 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30868 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30869 (__defined_schedparam): Define to 1.
ece29840
ST
30870 (__sched_param): New structure, identical to sched_param.
30871 (__need_schedparam): Undefine.
30872
e53a31fe
MF
308732010-08-31 Mike Frysinger <vapier@gentoo.org>
30874
fdc0c10d
MF
30875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30876 (epoll_create1): Declare.
30877
e53a31fe
MF
30878 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30879
a726d796
AS
308802010-08-31 Andreas Schwab <schwab@redhat.com>
30881
30882 [BZ #7066]
30883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30884 shifting retval into place.
30885
2f3e3dc7
UD
308862010-09-01 Ulrich Drepper <drepper@redhat.com>
30887
f2933da9
UD
30888 * nis/rpcsvc/nis.h: Update copyright notice.
30889 * nis/rpcsvc/nis.x: Likewise.
30890 * nis/rpcsvc/nis_callback.h: Likewise.
30891 * nis/rpcsvc/nis_callback.x: Likewise.
30892 * nis/rpcsvc/nis_object.x: Likewise.
30893 * nis/rpcsvc/nis_tags.h: Likewise.
30894 * nis/rpcsvc/yp.h: Likewise.
30895 * nis/rpcsvc/yp.x: Likewise.
30896 * nis/rpcsvc/ypupd.h: Likewise.
30897 * nis/yp_xdr.c: Likewise.
30898 * nis/ypupdate_xdr.c: Likewise.
30899
2f3e3dc7
UD
30900 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30901 mainly the body of pmap_getport. Add parameters to specify timeouts.
30902 (pmap_getport): Use __libc_rpc_getport.
30903 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30904 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30905 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30906
f3dcc2f9
AS
309072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30908
30909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30910 fanotify_mark.
30911
6d34eb5b
RM
309122010-08-27 Roland McGrath <roland@redhat.com>
30913
30914 * sysdeps/i386/i686/multiarch/Makefile
30915 (CFLAGS-varshift.c): New variable.
30916
9ea3de11
UD
309172010-08-27 Ulrich Drepper <drepper@redhat.com>
30918
c96d23fc
UD
30919 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30920 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30921
9ea3de11
UD
30922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30923
30924 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30925
623aac7f
L
309262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30927
30928 * sysdeps/x86_64/strlen.S: Unroll the loop.
30929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30930 strlen-sse2 strlen-sse2-bsf.
30931 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30932 __strlen_no_bsf if bit_Slow_BSF is set.
30933 (__strlen_sse42): Removed.
30934 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30935 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30936
8b2b7715
RM
309372010-08-25 Roland McGrath <roland@redhat.com>
30938
30939 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30940 * sysdeps/x86_64/multiarch/varshift.c: New file.
30941 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30942 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30943 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30944 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30945
e73015f2
L
309462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30947
30948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30949 strlen-sse2 strlen-sse2-bsf.
30950 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30951 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30952 (__strlen_sse2): Removed.
30953 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30956 bit_Slow_BSF for Atom.
30957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30958 (index_Slow_BSF): Define.
30959 (HAS_SLOW_BSF): Define.
30960
df24a73e
UD
309612010-08-25 Ulrich Drepper <drepper@redhat.com>
30962
30963 [BZ #10851]
30964 * resolv/res_init.c (__res_vinit): When no server address at all
30965 is given default to loopback.
30966
f2ac4868
RM
309672010-08-24 Roland McGrath <roland@redhat.com>
30968
09055553
RM
30969 * configure.in: Remove config-name.h generation.
30970 * configure: Regenerated.
30971 * config-name.in: File removed.
30972 * scripts/config-uname.sh: New file.
30973 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30974 ($(objdir)config-name.h): New target.
30975
f2ac4868
RM
30976 * sunrpc/rpc_parse.h: Avoid nested comment.
30977
73f27d5e
RH
309782010-08-24 Richard Henderson <rth@redhat.com>
30979 Ulrich Drepper <drepper@redhat.com>
30980 H.J. Lu <hongjiu.lu@intel.com>
30981
30982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30984 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30985 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30986 _mm_alignr_epi8 with _mm_loadu_si128.
30987 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30988 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30989 (__m128i_shift_right): Removed.
30990 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30991 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30992 * sysdeps/x86_64/multiarch/varshift.h: New file.
30993 * sysdeps/x86_64/multiarch/varshift.S: New file.
30994
84b9230c
MF
309952010-08-21 Mike Frysinger <vapier@gentoo.org>
30996
30997 * configure.in: Move assembler checks to before sysdep dir checking.
30998
9bbd0ddc
PB
309992010-08-20 Petr Baudis <pasky@suse.cz>
31000
31001 * LICENSES: Sync the sunrpc license.
31002
9da4bb31
UD
310032010-08-19 Ulrich Drepper <drepper@redhat.com>
31004
a7ab6ec8
UD
31005 * sunrpc/auth_des.c: Update copyright notice once again.
31006 * sunrpc/auth_none.c: Likewise.
31007 * sunrpc/auth_unix.c: Likewise.
31008 * sunrpc/authdes_prot.c: Likewise.
31009 * sunrpc/authuxprot.c: Likewise.
31010 * sunrpc/bindrsvprt.c: Likewise.
31011 * sunrpc/clnt_gen.c: Likewise.
31012 * sunrpc/clnt_perr.c: Likewise.
31013 * sunrpc/clnt_raw.c: Likewise.
31014 * sunrpc/clnt_simp.c: Likewise.
31015 * sunrpc/clnt_tcp.c: Likewise.
31016 * sunrpc/clnt_udp.c: Likewise.
31017 * sunrpc/clnt_unix.c: Likewise.
31018 * sunrpc/des_crypt.c: Likewise.
31019 * sunrpc/des_soft.c: Likewise.
31020 * sunrpc/get_myaddr.c: Likewise.
31021 * sunrpc/getrpcport.c: Likewise.
31022 * sunrpc/key_call.c: Likewise.
31023 * sunrpc/key_prot.c: Likewise.
31024 * sunrpc/openchild.c: Likewise.
31025 * sunrpc/pm_getmaps.c: Likewise.
31026 * sunrpc/pm_getport.c: Likewise.
31027 * sunrpc/pmap_clnt.c: Likewise.
31028 * sunrpc/pmap_prot.c: Likewise.
31029 * sunrpc/pmap_prot2.c: Likewise.
31030 * sunrpc/pmap_rmt.c: Likewise.
31031 * sunrpc/rpc/auth.h: Likewise.
31032 * sunrpc/rpc/auth_unix.h: Likewise.
31033 * sunrpc/rpc/clnt.h: Likewise.
31034 * sunrpc/rpc/des_crypt.h: Likewise.
31035 * sunrpc/rpc/key_prot.h: Likewise.
31036 * sunrpc/rpc/netdb.h: Likewise.
31037 * sunrpc/rpc/pmap_clnt.h: Likewise.
31038 * sunrpc/rpc/pmap_prot.h: Likewise.
31039 * sunrpc/rpc/pmap_rmt.h: Likewise.
31040 * sunrpc/rpc/rpc.h: Likewise.
31041 * sunrpc/rpc/rpc_des.h: Likewise.
31042 * sunrpc/rpc/rpc_msg.h: Likewise.
31043 * sunrpc/rpc/svc.h: Likewise.
31044 * sunrpc/rpc/svc_auth.h: Likewise.
31045 * sunrpc/rpc/types.h: Likewise.
31046 * sunrpc/rpc/xdr.h: Likewise.
31047 * sunrpc/rpc_clntout.c: Likewise.
31048 * sunrpc/rpc_cmsg.c: Likewise.
31049 * sunrpc/rpc_common.c: Likewise.
31050 * sunrpc/rpc_cout.c: Likewise.
31051 * sunrpc/rpc_dtable.c: Likewise.
31052 * sunrpc/rpc_hout.c: Likewise.
31053 * sunrpc/rpc_main.c: Likewise.
31054 * sunrpc/rpc_parse.c: Likewise.
31055 * sunrpc/rpc_parse.h: Likewise.
31056 * sunrpc/rpc_prot.c: Likewise.
31057 * sunrpc/rpc_sample.c: Likewise.
31058 * sunrpc/rpc_scan.c: Likewise.
31059 * sunrpc/rpc_scan.h: Likewise.
31060 * sunrpc/rpc_svcout.c: Likewise.
31061 * sunrpc/rpc_tblout.c: Likewise.
31062 * sunrpc/rpc_util.c: Likewise.
31063 * sunrpc/rpc_util.h: Likewise.
31064 * sunrpc/rpcinfo.c: Likewise.
31065 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31066 * sunrpc/rpcsvc/key_prot.x: Likewise.
31067 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31068 * sunrpc/rpcsvc/mount.x: Likewise.
31069 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31070 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31071 * sunrpc/rpcsvc/rex.x: Likewise.
31072 * sunrpc/rpcsvc/rstat.x: Likewise.
31073 * sunrpc/rpcsvc/rusers.x: Likewise.
31074 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31075 * sunrpc/rpcsvc/spray.x: Likewise.
31076 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31077 * sunrpc/rtime.c: Likewise.
31078 * sunrpc/svc.c: Likewise.
31079 * sunrpc/svc_auth.c: Likewise.
31080 * sunrpc/svc_authux.c: Likewise.
31081 * sunrpc/svc_raw.c: Likewise.
31082 * sunrpc/svc_run.c: Likewise.
31083 * sunrpc/svc_simple.c: Likewise.
31084 * sunrpc/svc_tcp.c: Likewise.
31085 * sunrpc/svc_udp.c: Likewise.
31086 * sunrpc/svc_unix.c: Likewise.
31087 * sunrpc/svcauth_des.c: Likewise.
31088 * sunrpc/xcrypt.c: Likewise.
31089 * sunrpc/xdr.c: Likewise.
31090 * sunrpc/xdr_array.c: Likewise.
31091 * sunrpc/xdr_float.c: Likewise.
31092 * sunrpc/xdr_mem.c: Likewise.
31093 * sunrpc/xdr_rec.c: Likewise.
31094 * sunrpc/xdr_ref.c: Likewise.
31095 * sunrpc/xdr_sizeof.c: Likewise.
31096 * sunrpc/xdr_stdio.c: Likewise.
31097
9da4bb31
UD
31098 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31099 handling.
31100
bdaa77bc
AS
311012010-08-19 Andreas Schwab <schwab@redhat.com>
31102
31103 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31104
fe2f79db
LM
311052010-08-19 Luis Machado <luisgpm@br.ibm.com>
31106
31107 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31108 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31109 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31110 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31111 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31112 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31113 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31114 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31115 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31116 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31117 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31118 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31119 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31120 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31121
b9b42ee0
AB
311222010-07-26 Anton Blanchard <anton@samba.org>
31123
31124 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31125 * malloc/arena.c (heap_trim): Likewise.
31126
1c06ba31
UD
311272010-08-16 Ulrich Drepper <drepper@redhat.com>
31128
31129 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31130 here. Not...
31131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31132 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31133
f8392f40
L
311342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31135
31136 * sysdeps/i386/elf/Makefile: New file.
31137
3162f12e
AS
311382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31139
31140 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31141 from fanotify_init.
31142 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31144
28c90b2c
UD
311452010-08-15 Ulrich Drepper <drepper@redhat.com>
31146
31147 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31148 of strncasecmp_l.
1feccb6c 31149 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31150
ca6bb004
UD
311512010-08-14 Ulrich Drepper <drepper@redhat.com>
31152
e9f82e0d
UD
31153 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31154 strncase_l-nonascii.
31155 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31156 Add strncase_l-ssse3.
31157 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31158 * sysdeps/x86_64/strcmp.S: Likewise.
31159 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31160 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31161 * sysdeps/x86_64/strncase.S: New file.
31162 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31163 * sysdeps/x86_64/strncase_l.S: New file.
31164 * string/Makefile (strop-tests): Add strncasecmp.
31165 * string/test-strncasecmp.c: New file.
31166
31167 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31168 warning.
31169
ca6bb004
UD
31170 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31171 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31172
052fa7b3
AS
311732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31174
31175 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31176
962dba78
UD
311772010-08-12 Ulrich Drepper <drepper@redhat.com>
31178
31179 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31180 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31181 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31182
bebff237
AM
311832010-05-01 Alan Modra <amodra@gmail.com>
31184
31185 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31186 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31187 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31188 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31189 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31190 tidying. Don't tail-call __sigjmp_save for static lib.
31191 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31192 save location.
31193 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31194 (CALL_MCOUNT): Add eh info, and nop after bl.
31195 (TAIL_CALL_SYSCALL_ERROR): New macro.
31196 (PSEUDO_RET): Use it.
31197 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31198 Correct save location of integer regs and cr.
31199 (_dl_profile_resolve): Correct cr save location. Delete nops
31200 after bl when SHARED. Reduce cfi size a little by better
31201 placement of cfi directives.
31202 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31203 make a stack frame. Instead use parm save area as a temp.
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31205 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31207 Don't make a stack frame for parent, use parm save area.
31208 Increase child stack frame to 112 bytes. Don't save unused reg,
31209 and adjust reg usage. Set up cfi on error recovery and
31210 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31212 (__makecontext): Add dummy nop after jump to exit.
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31214 Use correct parm save area and cr save, reduce stack frame.
31215 Correct cfi for possible PSEUDO_RET frame setup.
31216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31217 Branch to local label emitted by PSEUDO_RET rather than
31218 __syscall_error.
31219
02637374
AS
312202010-08-12 Andreas Schwab <schwab@redhat.com>
31221
31222 [BZ #11904]
31223 * locale/programs/locale.c (print_assignment): New function.
31224 (show_locale_vars): Use it.
31225
c3e2f19b
UD
312262010-08-11 Ulrich Drepper <drepper@redhat.com>
31227
3cdaa6ad
UD
31228 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31229 field.
31230 (struct statfs64): Likewise.
31231 (_STATFS_F_FLAGS): Define.
31232 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31233 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31234 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31235 (ST_VALID): Define locally.
31236 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31237 __statvfs_getflags, use the provided value.
31238 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31239 __ASSUME_STATFS_F_FLAGS.
31240
754f7da3
UD
31241 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31242
10b3bedc
UD
31243 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31244 Add sys/fanotify.h.
31245 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31246 fanotify_mask for GLIBC_2.13.
31247 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31248 fanotify_init and fanotify_mark.
31249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31250 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31251
c08fb0d7
UD
31252 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31253 Add prlimit.
31254 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31255 prlimit64 for GLIBC_2.13.
31256 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31257 prlimit64.
31258 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31259 syscall.
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31261 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31262 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31263 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31265 add prlimit alias.
31266 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31267
15bac72b
UD
31268 [BZ #11903]
31269 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31270 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31271
c3e2f19b
UD
31272 * nss/Makefile: Add rules to build and run tst-nss-test1.
31273 * shlib-versions: Add entry for libnss_test1.
31274 * nss/nss_test1.c: New file.
31275 * nss/tst-nss-test1.c: New file.
31276
31277 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31278 (__nss_configure_lookup): Set appropriate entry in
31279 __nss_configure_lookup to true.
31280 * nss/nsswitch.h: Define enum with indeces of databases in
31281 databases and __nss_database_custom arrays. Declare
31282 __nss_database_custom.
31283 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31284 to avoid using nscd when custom rules are installed.
31285 * nss/getXXbyYY_r.c: Likewise.
31286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31287
31288 * nss/nss_files/files-parse.c: Whitespace fixes.
31289
f15ce4d8
UD
312902010-08-09 Ulrich Drepper <drepper@redhat.com>
31291
31292 [BZ #11883]
31293 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31294 * posix/fnmatch_loop.c: Likewise.
31295
d22e4cc9
AK
312962010-07-17 Andi Kleen <ak@linux.intel.com>
31297
31298 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31299 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31300 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31301 * Versions.def [GLIBC_2.13]: Add.
31302
805bc17d
UD
313032010-08-06 Ulrich Drepper <drepper@redhat.com>
31304
31305 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31306 Also fail if tpwd after pwuid call is NULL.
31307
5a42321d
ST
313082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31309
31310 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31311 when converting to ms.
31312
fd3ebeda
ST
313132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31314
31315 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31316 EOPNOTSUPP errors with ENOTTY.
31317 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31318 EOPNOTSUPP errors with ENOTTY.
31319
73507d3a
UD
313202010-07-31 Ulrich Drepper <drepper@redhat.com>
31321
31322 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31323 Add strcasecmp_l-ssse3.
31324 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31325 strcasecmp.
31326 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31327 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31328 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31329
fe36dd02
UD
313302010-07-30 Ulrich Drepper <drepper@redhat.com>
31331
66f6765a
UD
31332 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31333
42e08a54
UD
31334 * string/Makefile (strop-tests): Add strcasecmp.
31335 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31336 strcasecmp_l-nonascii.
31337 (gen-as-const-headers): Add locale-defines.sym.
31338 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31339 * sysdeps/x86_64/strcasecmp.S: New file.
31340 * sysdeps/x86_64/strcasecmp_l.S: New file.
31341 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31342 * sysdeps/x86_64/locale-defines.sym: New file.
31343 * string/test-strcasecmp.c: New file.
31344
fe36dd02
UD
31345 * string/test-strcasestr.c: Test both ends of the range of characters.
31346 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31347
48cbc0d6
RM
313482010-07-29 Roland McGrath <roland@redhat.com>
31349
76e6d6bc 31350 [BZ #11856]
48cbc0d6
RM
31351 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31352
880113d9
UD
313532010-07-27 Ulrich Drepper <drepper@redhat.com>
31354
31355 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31356 for ld.so.
31357
deb9cabb
AS
313582010-07-27 Andreas Schwab <schwab@redhat.com>
31359
31360 * manual/memory.texi (Malloc Tunable Parameters): Document
31361 M_PERTURB.
31362
1c7570ff
RM
313632010-07-26 Roland McGrath <roland@redhat.com>
31364
31365 [BZ #11840]
31366 * configure.in (-fgnu89-inline check): Set and substitute
31367 gnu89_inline, not libc_cv_gnu89_inline.
31368 * configure: Regenerated.
31369 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31370
24fb0f88
UD
313712010-07-26 Ulrich Drepper <drepper@redhat.com>
31372
31373 * string/test-strnlen.c: New file.
31374 * string/Makefile (strop-tests): Add strnlen.
31375 * string/tester.c (test_strnlen): Add a few more test cases.
31376 * string/tst-strlen.c: Better error reporting.
31377
31378 * sysdeps/x86_64/strnlen.S: New file.
31379
8e96b93a
UD
313802010-07-24 Ulrich Drepper <drepper@redhat.com>
31381
31382 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31383 lower-latency instructions.
31384
dbc676d4
UD
313852010-07-23 Ulrich Drepper <drepper@redhat.com>
31386
31387 * string/test-strcasestr.c: New file.
31388 * string/test-strstr.c: New file.
31389 * string/Makefile (strop-tests): Add strstr and strcasestr.
31390 * string/str-two-way.h: Don't undefine MAX.
31391 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31392
f6a31e0e
AS
313932010-07-21 Andreas Schwab <schwab@redhat.com>
31394
31395 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31396 strcasestr-nonascii.
31397 (CFLAGS-strcasestr-nonascii.c): Define.
31398 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31400 Remove unused attribute.
31401
5dbc3b6c
RM
314022010-07-20 Roland McGrath <roland@redhat.com>
31403
31404 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31405 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31406 ld.so.cache was broken. With it, there is no way to disable dsocaps
31407 like LD_HWCAP_MASK can disable hwcaps.
31408
23d101d8
EPM
314092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31410
31411 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31412
cc9f2e47
UD
314132010-07-16 Ulrich Drepper <drepper@redhat.com>
31414
31415 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31416 call in strcasestr.
31417 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31418 __strcasestr_sse42_nonascii.
31419 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31420 strcasestr-nonascii.c.
31421 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31422
77c1b069
LM
314232010-06-15 Luis Machado <luisgpm@br.ibm.com>
31424
31425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31426 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31427 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31428 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31429
440566c3
UD
314302010-07-09 Ulrich Drepper <drepper@redhat.com>
31431
31432 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31433 fcntl.
31434
5be9d05d
AS
314352010-07-06 Andreas Schwab <schwab@redhat.com>
31436
c30b7ee2 31437 [BZ #11577]
5be9d05d
AS
31438 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31439 dl_signal_cerror.
31440
8a492a67
UD
314412010-07-06 Ulrich Drepper <drepper@redhat.com>
31442
31443 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31444 _PC_PIPE_BUF using F_GETPIPE_SZ.
31445
713df3d5
RM
314462010-07-05 Roland McGrath <roland@redhat.com>
31447
31448 * manual/arith.texi (Rounding Functions): Fix rint description
31449 implicit in round description.
31450
702e8f14
UD
314512010-07-02 Ulrich Drepper <drepper@redhat.com>
31452
31453 * elf/Makefile: Fix linking for a few tests to make recent linker
31454 happy.
31455
52ed8be9
AS
314562010-06-30 Andreas Schwab <schwab@redhat.com>
31457
31458 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31459 $(common-objpfx)libc_nonshared.a.
31460
f47c9a11
LM
314612010-06-21 Luis Machado <luisgpm@br.ibm.com>
31462
31463 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31464 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31465 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31466 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31467 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31468 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31469 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31470 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31485 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31486 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31487 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31488 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31489 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31490 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31491 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31492 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31493 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31494 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31495 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31496 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31511
6fb8cbcb
L
315122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31513
31514 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31515 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31516 * string/memmove.c (memmove): Renamed to ...
31517 (MEMMOVE): ...this. Default to memmove.
31518 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31519 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31520 (END_CHK): Define.
31521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31522 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31523 mempcpy-ssse3-back memmove-ssse3-back.
31524 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31527 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31528 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31529 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31530 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31531 * sysdeps/x86_64/multiarch/memmove.c: New file.
31532 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31533 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31534 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31535 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31536 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31537 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31538 Define.
31539 (index_Fast_Copy_Backward): Define.
31540 (HAS_ARCH_FEATURE): Define.
31541 (HAS_FAST_REP_STRING): Define.
31542 (HAS_FAST_COPY_BACKWARD): Define.
31543
4e733bac 315442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31545
31546 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31547 Restore proper fallback handling.
31548
63c4ed22
UD
315492010-06-19 Ulrich Drepper <drepper@redhat.com>
31550
ac2b484c
UD
31551 [BZ #11701]
31552 * posix/group_member.c (__group_member): Correct checking loop.
31553
63c4ed22
UD
31554 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31555 OOM in getpwuid_r correctly. Return error number when the caller
31556 should return, otherwise -1.
31557 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31558 call returning > 0 value.
31559 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31560
765ade4b
AS
315612010-06-07 Andreas Schwab <schwab@redhat.com>
31562
31563 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31564 libc_nonshared.a from targets in modules-names.
31565
80da2e09
KS
315662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31567
31568 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31569 requires it.
31570
158db122
LM
315712010-06-10 Luis Machado <luisgpm@br.ibm.com>
31572
31573 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31574 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31575 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31577
caa78cf8
AS
315782010-06-02 Andreas Schwab <schwab@redhat.com>
31579
31580 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31581
b2ef2c01
UD
315822010-06-14 Ulrich Drepper <drepper@redhat.com>
31583
31584 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31585 and F_GETPIPE_SZ.
31586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31591 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31592
fbd643b6
RM
315932010-06-14 Roland McGrath <roland@redhat.com>
31594
31595 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31596
f32f2869
JJ
315972010-06-07 Jakub Jelinek <jakub@redhat.com>
31598
31599 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31600 __REDIRECT followed by __THROW.
31601 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31602 * posix/getopt.h (getopt): Likewise.
31603
2a50c078
EPM
316042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31605
31606 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31607 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31608 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31609 in AT_FLAGS.
31610 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31611 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31612
eb5ad2eb
LM
316132010-05-28 Luis Machado <luisgpm@br.ibm.com>
31614
31615 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31616
3c88fe1e
L
316172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31618
31619 [BZ #11640]
31620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31621 Properly check family and model.
31622
d2f73151
TY
316232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31624
31625 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31626
ebd2e13d
LM
316272010-05-24 Luis Machado <luisgpm@br.ibm.com>
31628
31629 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31630
b32b8b45
UD
316312010-05-21 Ulrich Drepper <drepper@redhat.com>
31632
31633 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31634 symbol reference.
31635
9acbe24d
AS
316362010-05-19 Andreas Schwab <schwab@redhat.com>
31637
31638 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31639 symbol reference.
31640
f0ccf6ea
AS
316412010-05-21 Andreas Schwab <schwab@redhat.com>
31642
3d04ff3a
AS
31643 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31644 and internal_recvmmsg.
31645 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31646 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31647 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31648 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31649
f0ccf6ea
AS
31650 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31651 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31652 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31653
5b08ac57
AS
316542010-05-20 Andreas Schwab <schwab@redhat.com>
31655
31656 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31657
4828935d
LM
316582010-05-17 Luis Machado <luisgpm@br.ibm.com>
31659
31660 POWER7 optimizations.
31661 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31662 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31663
373d545e
UD
316642010-05-19 Ulrich Drepper <drepper@redhat.com>
31665
31666 * version.h: Update for 2.13 development version.
31667
21a2b1ae
AS
316682010-05-12 Andrew Stubbs <ams@codesourcery.com>
31669
31670 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31671 exceptions. Return 0.
31672
3f7dcb2b
RM
316732010-05-07 Roland McGrath <roland@redhat.com>
31674
31675 * elf/ldconfig.c (main): Add a const.
31676
5f24d53a 316772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31678
a160f8d8
UD
31679 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31680 (args_options): Add no-idn option.
31681 (ahosts_keys_int): Add idn_flags to ai_flags.
31682 (parse_option): Handle 'i' option to clear idn_flags.
31683
5f24d53a
UD
31684 * malloc/malloc.c (_int_free): Possible race in the most recently
31685 added check. Only act on the data if no current modification
31686 happened.
265bb1ce
UD
31687
31688See ChangeLog.17 for earlier changes.
This page took 4.142234 seconds and 5 git commands to generate.