]> sourceware.org Git - glibc.git/blame - ChangeLog
[BZ #15022] Avoid repeated calls to DL_STATIC_INIT for the same module.
[glibc.git] / ChangeLog
CommitLineData
b0037103
MR
12013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2
3 [BZ #15022]
4 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5 over to...
6 (dl_open_worker) [!SHARED]: ... here.
7
c18c701d
RA
82013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9
10 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11
1d17fa5f
RH
122013-06-25 Richard Henderson <rth@redhat.com>
13
14 * locale/programs/locarchive.c: Include <libc-internal.h>
15
8fcb833a
JM
162013-06-25 Joseph Myers <joseph@codesourcery.com>
17
18 * manual/texinfo.tex: Update to version 2013-06-21.17, with
19 trailing whitespace removed.
20
17db6e8d
MF
212013-06-24 Mike Frysinger <vapier@gentoo.org>
22
23 [BZ #10283]
17db6e8d
MF
24 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25 * locale/programs/locarchive.c: Include libc-mmap.h.
26 (prepare_address_space): Take two new outputs (the mmap base and len).
27 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28 values.
29 (create_archive): Declare new mmap base and len values for
30 prepare_address_space, and store the result in ah.
31 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
34 Declare new mmap base and len values for
35 prepare_address_space, and store the result in new_ah.
36 (open_archive): Declare new mmap base and len values for
37 prepare_address_space, and store the result in ah.
38 (close_archive): If ah->mmap_base is not NULL, use that and
39 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40 * sysdeps/generic/libc-mmap.h: New file.
41
d605071e
MF
422013-06-24 Mike Frysinger <vapier@gentoo.org>
43
44 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
45 (ALIGN_UP): Likewise.
46 (PTR_ALIGN_DOWN): Likewise.
47 (PTR_ALIGN_UP): Likewise.
48
2f063a6e
RA
492013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50
51 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
52 entry mapped to PPC_PLATFORM_POWER8.
53 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54 POWER8.
55 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56 (_dl_string_platform): Add case for exporting platform position for
57 POWER8.
58 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59 search path to sysdeps/powerpc/powerpc32/power8 directory.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61 search path to sysdeps/powerpc/powerpc64/power8 directory.
62 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63 power7 directories.
64 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
65 power7 directories.
66
a31ee4b3
SP
672013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
68
a74ca98f
SP
69 * INSTALL: Regenerate.
70
a31ee4b3
SP
71 * nscd/connections.c (nscd_init): Fix comment.
72
695c378f
JM
732013-06-22 Joseph Myers <joseph@codesourcery.com>
74
d8412221
JM
75 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
76
695c378f
JM
77 [BZ #15667]
78 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
79 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
80
d1d54715
MR
812013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
82
83 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
84 DL_DST_REQ_STATIC.
85 (DL_DST_REQ_STATIC): Remove macro.
86
8fdda7af
JM
872013-06-21 Joseph Myers <joseph@codesourcery.com>
88
89 [BZ #7006]
90 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
91 with a shift of 0 bits.
92
f3bc5e5a
MR
932013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
94
95 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
96 $(tststatic-ENV).
97
be09e8c9
KK
982013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
99
100 [BZ #15655]
101 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
102
85c2e611
AZ
1032013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
104
105 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
106 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
107 accepts -fno-tree-loop-distribute-patterns.
108 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
109 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
110 recursive call.
111 * string/memset.c (memset): Likewise.
112 * string/test-memmove.c (simple_memmove): Disable loop transformation
113 to library calls.
114 * string/test-memset.c (simple_memset): Likewise.
115 * benchtests/bench-memmove.c (simple_memmove): Likewise.
116 * benchtests/bench-memset.c (simple_memset): Likewise.
117 * configure: Regenerated.
118
c91e0825
JM
1192013-06-20 Joseph Myers <joseph@codesourcery.com>
120
b8c792af
JM
121 * math/test-misc.c (main): Ignore fesetround failure when failures
122 of subsequent rounding tests would be ignored.
123
c91e0825
JM
124 [BZ #15654]
125 * math/fedisblxcpt.c (fedisableexcept): Return 0.
126 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
127 * math/fegetenv.c (__fegetenv): Return 0.
128 * math/fegetexcept.c (fegetexcept): Return 0.
129 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
130 FE_TONEAREST.
131 * math/feholdexcpt.c (feholdexcept): Return 0.
132 * math/fesetenv.c (__fesetenv): Return 0.
133 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
134 argument FE_TONEAREST.
135 * math/feupdateenv.c (__feupdateenv): Return 0.
136 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
137
bfcacbde
RM
1382013-06-18 Roland McGrath <roland@hack.frob.com>
139
140 * elf/rtld-Rules (rtld-compile-command.S): New variable.
141 (rtld-compile-command.s, rtld-compile-command.c): New variables.
142 ($(objpfx)rtld-%.os rules): Use them.
143
e55a9b25
AZ
1442013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
147 fields.
148
346d65b3
RM
1492013-06-17 Roland McGrath <roland@hack.frob.com>
150
12086fb4
RM
151 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
152 length of target pattern, then descending length of dependency pattern.
153 * configure.in (AWK): Require gawk 3.1.2 or newer.
154 * manual/install.texi (Tools for Compilation): Say that we do.
155 * configure: Regenerated.
156
346d65b3
RM
157 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
158 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
159 * scripts/sysd-rules.awk: ... this new script.
160 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
161 than a glob-style pattern.
162
1a846317
JM
1632013-06-17 Joseph Myers <joseph@codesourcery.com>
164
165 * math/test-misc.c (main): Do not treat incorrectly rounded
166 conversions as failure unless ROUNDING_TESTS passes.
167
8fc75e6f
JM
1682013-06-15 Joseph Myers <joseph@codesourcery.com>
169
3711a167
JM
170 [BZ #15631]
171 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
172 restore exception state around main square root computation, then
173 check for inexactness explicitly.
174
8fc75e6f
JM
175 * math/libm-test.inc (fma_test_data): Add another test.
176
61dd6208
SP
1772013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
178
adf23d2c
SP
179 * manual/threads.texi (Non-POSIX Extensions): New document
180 node. Document pthread_getattr_default_np and
181 pthread_setattr_default_np.
182
61dd6208
SP
183 * Versions.def (libpthread): Add GLIBC_2.18.
184 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
186 Likewise.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
188 Likewise.
189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
190 Likewise.
191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
192 Likewise.
193 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
194 Likewise.
195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
196 Likewise.
197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
198 Likewise.
199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
200 Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
202 Likewise.
203
d086fc7b
LD
2042013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
205
206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
207 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
208
747ef469
SP
2092013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
210 H.J. Lu <hjl.tools@gmail.com>
211
212 [BZ #15627]
213 * sysdeps/x86_64/rtld-memset.c: Remove file.
214 * sysdeps/x86_64/rtld-memset.S: New file.
215
1b2feed2
JM
2162013-06-14 Joseph Myers <joseph@codesourcery.com>
217
218 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
219 (test_in_one_mode): Take arguments for whether the rounding mode
220 is supported for each floating-point type.
221 (do_test): Pass new arguments to test_in_one_mode using
222 ROUNDING_TESTS.
223
a58ad3f8
RM
2242013-06-13 Roland McGrath <roland@hack.frob.com>
225
226 * posix/tst-waitid.c (do_test): Distinguish different instances of
227 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
228 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
229 before entering the kernel for waitpid.
230
c204ab28
SP
2312013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
232
233 * NEWS: Fix note on clock function precision. Text by Roland
234 McGrath.
235
f4a29fba
RM
2362013-06-13 Roland McGrath <roland@hack.frob.com>
237
238 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
239 it into place only when and if the sanity check passes.
240
1f24b9ad
JM
2412013-06-13 Joseph Myers <joseph@codesourcery.com>
242
243 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
244 output for whether conversion result is exact. Take argument
245 indicating whether type is IBM long double.
246 (round_for_all): Change need_exact field to ibm_ld.
247 * stdlib/tst-strtod-round.c (struct exactness): New type.
248 (struct test): Change bool ld_ok field to struct exactness exact.
249 (TEST): Update all definitions for change to field.
250 (tests): Regenerate array contents.
251 (test_in_one_mode): Take pointer to new field instead of old ld_ok
252 field value. Check for IBM long double here.
253 (do_test): Update calls to test_in_one_mode.
254
58206c68
SP
2552013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
256
257 [BZ #12515]
258 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
259 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
260
2d6f4c5b 2612013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
262
263 [BZ #15605]
264 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
265 generated by the compiler on loop optimizations.
266 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
267 general definitions.
268
94f2c076
JM
2692013-06-12 Joseph Myers <joseph@codesourcery.com>
270
271 * math/bug-nextafter.c: Include <math-tests.h>.
272 (main): Only test for exceptions if EXCEPTION_TESTS is true for
273 the relevant type.
274 * math/bug-nexttoward.c: Include <math-tests.h>.
275 (main): Only test for exceptions if EXCEPTION_TESTS is true for
276 the relevant type.
277 * math/test-misc.c: Include <math-tests.h>.
278 (main): Only test for exceptions if EXCEPTION_TESTS is true for
279 the relevant type.
280
e0e50a0a
AJ
2812013-06-12 Andreas Jaeger <aj@suse.de>
282
283 * po/ia.po: Update Interlingua translation from translation
284 project.
285
25061094
SP
2862013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
287
288 * include/fenv.h: Include stdbool.h.
289 (struct rm_ctx): New structure.
290 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
291 Define macro.
292 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
293 (SET_RESTORE_ROUNDF): Likewise.
294 (SET_RESTORE_ROUNDL): Likewise.
295 (SET_RESTORE_ROUND_NOEX): Likewise.
296 (SET_RESTORE_ROUND_NOEXF): Likewise.
297 (SET_RESTORE_ROUND_NOEXL): Likewise.
298 (SET_RESTORE_ROUND_53BIT): Likewise.
299 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
300 (libc_feresetround_noexf_ctx): Likewise.
301 (libc_feresetround_noexl_ctx): Likewise.
302 (libc_feholdsetround_53bit_ctx): Likewise.
303 (libc_feresetround_53bit_ctx): Likewise.
304 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
305 (libc_feholdexcept_setround_sse_ctx): New function.
306 (libc_fesetenv_sse_ctx): Likewise.
307 (libc_feupdateenv_sse_ctx): Likewise.
308 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
309 (libc_feholdexcept_setround_387_ctx): Likewise.
310 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
311 (libc_feholdsetround_387_prec_ctx): Likewise.
312 (libc_feholdsetround_387_ctx): Likewise.
313 (libc_feholdsetround_387_53bit_ctx): Likewise.
314 (libc_feholdsetround_sse_ctx): Likewise.
315 (libc_feresetround_sse_ctx): Likewise.
316 (libc_feresetround_387_ctx): Likewise.
317 (libc_feupdateenv_387_ctx): Likewise.
318 (libc_feholdexcept_setroundf_ctx): Define macro.
319 (libc_fesetenvf_ctx): Likewise.
320 (libc_feupdateenvf_ctx): Likewise.
321 (libc_feholdsetroundf_ctx): Likewise.
322 (libc_feresetroundf_ctx): Likewise.
323 (libc_feholdexcept_setround_ctx): Likewise.
324 (libc_fesetenv_ctx): Likewise.
325 (libc_feupdateenv_ctx): Likewise.
326 (libc_feholdsetround_ctx): Likewise.
327 (libc_feresetround_ctx): Likewise.
328 (libc_feholdexcept_setroundl_ctx): Likewise.
329 (libc_feupdateenvl_ctx): Likewise.
330 (libc_feholdsetroundl_ctx): Likewise.
331 (libc_feresetroundl_ctx): Likewise.
332 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
333 (libc_feresetround_53bit_ctx): Likewise.
334
59b30555
SP
3352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
336
337 * locale/iso-639.def: Convert to UTF-8.
338
f1d73d30
JM
3392013-06-11 Joseph Myers <joseph@codesourcery.com>
340
341 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
342 (EXCEPTION_TESTS_double): Likewise.
343 (EXCEPTION_TESTS_long_double): Likewise.
344 (EXCEPTION_TESTS): Likewise.
345 * math/libm-test.inc (test_exceptions): Only test exceptions if
346 EXCEPTION_TESTS (FLOAT).
347
94aca5e7
SP
3482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
349
350 * benchtests/Makefile (string-bench): Add strcpy_chk and
351 stpcpy_chk.
352 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
353 * benchtests/bench-stpcpy_chk.c: New file.
354 * benchtests/bench-strcpy_chk-ifunc.c: New file.
355 * benchtests/bench-strcpy_chk.c: New file.
356 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
357 code.
358 (do_test): Likewise.
359
fac0c5f2
RA
3602013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
361
362 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
363 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
364 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
365 with tabs where appropriate.
366 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
367 dl-procinfo.h.
368 [PPC_PLATFORM_PPC440]: Likewise.
369 [PPC_PLATFORM_PPC464]: Likewise.
370 [PPC_PLATFORM_PPC476]: Likewise.
371 (_dl_string_platform): Add support for detecting ppc405, ppc440,
372 ppc464, and ppc476 platform strings merging from ports/
373 dl-procinfo.h.
374
f22bc486
AS
3752013-06-11 Andreas Schwab <schwab@suse.de>
376
377 [BZ #14991]
378 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
379 (from_ucs4_idx): Regenerate.
380 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
381 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
382 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
383 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
384 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
385 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
386 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
387 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
388 from FROM_LOOP and TO_LOOP specific macros.
389 (BODY): Handle combining characters.
390 * iconvdata/BIG5HKSCS.irreversible: Update.
391 * iconvdata/BIG5HKSCS.precomposed: New file.
392 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
393 characters.
394 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
395
c1f75dc3
SP
3962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
397
4eacded2
SP
398 * include/sys/time.h: Fix indentation and add copyright header.
399
fec799f8
SP
400 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
401 (do_test): Likewise.
402 * string/test-memchr.c (do_one_test): Likewise.
403 (do_test): Likewise.
404 * string/test-memcmp.c (do_one_test): Likewise.
405 (do_test): Likewise.
406 * string/test-memcpy.c (do_one_test): Likewise.
407 (do_test): Likewise.
408 * string/test-memmem.c (do_one_test): Likewise.
409 (do_test): Likewise.
410 (do_random_tests): Likewise.
411 * string/test-memmove.c (do_one_test): Likewise.
412 (do_test): Likewise.
413 * string/test-memset.c (do_one_test): Likewise.
414 (do_test): Likewise.
415 * string/test-rawmemchr.c (do_one_test): Likewise.
416 (do_test): Likewise.
417 * string/test-strcasecmp.c (do_one_test): Likewise.
418 (do_test): Likewise.
419 * string/test-strcasestr.c (do_one_test): Likewise.
420 (do_test): Likewise.
421 * string/test-strcat.c (do_one_test): Likewise.
422 (do_test): Likewise.
423 * string/test-strchr.c (do_one_test): Likewise.
424 (do_test): Likewise.
425 * string/test-strcmp.c (do_one_test): Likewise.
426 (do_test): Likewise.
427 * string/test-strcpy.c (do_one_test): Likewise.
428 (do_test): Likewise.
429 * string/test-string.h: Likewise.
430 (test_init): Likewise.
431 * string/test-strlen.c (do_one_test): Likewise.
432 (do_test): Likewise.
433 * string/test-strncasecmp.c (do_one_test): Likewise.
434 (do_test): Likewise.
435 * string/test-strncat.c (do_one_test): Likewise.
436 (do_test): Likewise.
437 * string/test-strncmp.c (do_one_test): Likewise.
438 (do_test_limit): Likewise.
439 (do_test): Likewise.
440 * string/test-strncpy.c (do_one_test): Likewise.
441 (do_test): Likewise.
442 * string/test-strnlen.c (do_one_test): Likewise.
443 (do_test): Likewise.
444 * string/test-strpbrk.c (do_one_test): Likewise.
445 (do_test): Likewise.
446 * string/test-strrchr.c (do_one_test): Likewise.
447 (do_test): Likewise.
448 * string/test-strspn.c (do_one_test): Likewise.
449 (do_test): Likewise.
450 * string/test-strstr.c (do_one_test): Likewise.
451 (do_test): Likewise.
452
97020474
SP
453 * benchtests/Makefile (string-bench): Add string benchmarks.
454 * benchtests/bench-bcopy-ifunc.c: New file.
455 * benchtests/bench-bcopy.c: New file.
456 * benchtests/bench-bzero-ifunc.c: New file.
457 * benchtests/bench-bzero.c: New file.
458 * benchtests/bench-memccpy-ifunc.c: New file.
459 * benchtests/bench-memccpy.c: New file.
460 * benchtests/bench-memchr-ifunc.c: New file.
461 * benchtests/bench-memchr.c: New file.
462 * benchtests/bench-memcmp-ifunc.c: New file.
463 * benchtests/bench-memcmp.c: New file.
464 * benchtests/bench-memmem-ifunc.c: New file.
465 * benchtests/bench-memmem.c: New file.
466 * benchtests/bench-memmove-ifunc.c: New file.
467 * benchtests/bench-memmove.c: New file.
468 * benchtests/bench-mempcpy-ifunc.c: New file.
469 * benchtests/bench-mempcpy.c: New file.
470 * benchtests/bench-memset-ifunc.c: New file.
471 * benchtests/bench-memset.c: New file.
472 * benchtests/bench-rawmemchr-ifunc.c: New file.
473 * benchtests/bench-rawmemchr.c: New file.
474 * benchtests/bench-stpcpy-ifunc.c: New file.
475 * benchtests/bench-stpcpy.c: New file.
476 * benchtests/bench-stpncpy-ifunc.c: New file.
477 * benchtests/bench-stpncpy.c: New file.
478 * benchtests/bench-strcasecmp-ifunc.c: New file.
479 * benchtests/bench-strcasecmp.c: New file.
480 * benchtests/bench-strcasestr-ifunc.c: New file.
481 * benchtests/bench-strcasestr.c: New file.
482 * benchtests/bench-strcat-ifunc.c: New file.
483 * benchtests/bench-strcat.c: New file.
484 * benchtests/bench-strchr-ifunc.c: New file.
485 * benchtests/bench-strchr.c: New file.
486 * benchtests/bench-strchrnul-ifunc.c: New file.
487 * benchtests/bench-strchrnul.c: New file.
488 * benchtests/bench-strcmp-ifunc.c: New file.
489 * benchtests/bench-strcmp.c: New file.
490 * benchtests/bench-strcpy-ifunc.c: New file.
491 * benchtests/bench-strcpy.c: New file.
492 * benchtests/bench-strcspn-ifunc.c: New file.
493 * benchtests/bench-strcspn.c: New file.
494 * benchtests/bench-strlen-ifunc.c: New file.
495 * benchtests/bench-strlen.c: New file.
496 * benchtests/bench-strncasecmp-ifunc.c: New file.
497 * benchtests/bench-strncasecmp.c: New file.
498 * benchtests/bench-strncat-ifunc.c: New file.
499 * benchtests/bench-strncat.c: New file.
500 * benchtests/bench-strncmp-ifunc.c: New file.
501 * benchtests/bench-strncmp.c: New file.
502 * benchtests/bench-strncpy-ifunc.c: New file.
503 * benchtests/bench-strncpy.c: New file.
504 * benchtests/bench-strnlen-ifunc.c: New file.
505 * benchtests/bench-strnlen.c: New file.
506 * benchtests/bench-strpbrk-ifunc.c: New file.
507 * benchtests/bench-strpbrk.c: New file.
508 * benchtests/bench-strrchr-ifunc.c: New file.
509 * benchtests/bench-strrchr.c: New file.
510 * benchtests/bench-strspn-ifunc.c: New file.
511 * benchtests/bench-strspn.c: New file.
512 * benchtests/bench-strstr-ifunc.c: New file.
513 * benchtests/bench-strstr.c: New file.
514
c1f75dc3
SP
515 * benchtests/Makefile: Disable parallel execution of targets.
516 (string-bench): Add memcpy.
517 (benchset): New variable to store a list of benchmark sets.
518 (bench-func): Renamed from bench.
519 (bench-set): New target.
520 (bench): Depend on bench-func and bench-set.
521 * benchtests/README: Add section on benchmark sets.
522 * benchtests/bench-memcpy-ifunc.c: New file.
523 * benchtests/bench-memcpy.c: New file.
524 * benchtests/bench-string.h: New file.
525
50fd745b
AS
5262013-06-11 Andreas Schwab <schwab@suse.de>
527
528 [BZ #15577]
529 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
530 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
531 values in the triple.
532 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
533 terminator in the group key.
534
3ee7e9fe
AJ
5352013-06-11 Andreas Jaeger <aj@suse.de>
536
537 * po/zh_TW.po: Update Chinese (traditional) translation from
538 translation project.
539
89fb6835
SP
5402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
541
542 * include/time.h (__clock_gettime): Add libc_hidden_proto.
543 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
544 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
546 (clock_getcpuclockid): Likewise.
547 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
548 Add weak_alias and libc_hidden_def.
549 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
550 * rt/clock_gettime.c (clock_gettime): Rename to
551 __clock_gettime. Add weak_alias and libc_hidden_def.
552 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
553 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
554 __clock_nanosleep. Add weak_alias and libc_hidden_def.
555 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
556 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
557 Likewise.
558 * rt/clock_settime.c (clock_settime): Rename to
559 __clock_settime. Add weak_alias and libc_hidden_def.
560 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
561
0efa6f8b
JM
5622013-06-10 Joseph Myers <joseph@codesourcery.com>
563
b8c61b4b
JM
564 * mach/err_boot.sub: Remove trailing whitespace.
565 * mach/err_ipc.sub: Likewise.
566 * mach/err_mach.sub: Likewise.
567
0efa6f8b
JM
568 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
569 (ROUNDING_TESTS_double): Likewise.
570 (ROUNDING_TESTS_long_double): Likewise.
571 (ROUNDING_TESTS): Likewise.
572 * math/libm-test.inc: Include <math-tests.h>.
573 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
574 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
575 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
576 (IF_ROUND_INIT_FE_UPWARD): Likewise.
577
50b818bf
SP
5782013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
579
580 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
581 of assigning.
582
60d2f8f3
JM
5832013-06-08 Joseph Myers <joseph@codesourcery.com>
584
4902d2c3
JM
585 * sysdeps/gnu/errlist.awk: Do not generate space at end of
586 otherwise empty TRANS lines.
587 * sysdeps/gnu/errlist.c: Regenerated.
588
60d2f8f3
JM
589 * catgets/gencat.c (error_print): Use (void) in function
590 definition.
591 * crypt/crypt_util.c (__init_des): Likewise.
592 * crypt/speeds.c (Stop): Likewise.
593 (main): Likewise.
594 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
595 * inet/ruserpass.c (token): Likewise.
596 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
597 * intl/localealias.c (extend_alias_table): Likewise.
598 * intl/plural-exp.c (init_germanic_plural): Likewise.
599 * libio/fcloseall.c (__fcloseall): Likewise.
600 * libio/genops.c (_IO_flush_all): Likewise.
601 (_IO_flush_all_linebuffered): Likewise.
602 (_IO_cleanup): Likewise.
603 (_IO_iter_begin): Likewise.
604 (_IO_iter_end): Likewise.
605 (_IO_list_lock): Likewise.
606 (_IO_list_unlock): Likewise.
607 (_IO_list_resetlock): Likewise.
608 * libio/getchar.c (getchar): Likewise.
609 * libio/getchar_u.c (getchar_unlocked): Likewise.
610 * libio/getwchar.c (getwchar): Likewise.
611 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
612 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
613 * login/getpt.c (__getpt): Likewise.
614 * login/tst-utmp.c (main): Likewise.
615 * malloc/hooks.c (__malloc_check_init): Likewise.
616 * malloc/malloc.c (__malloc_stats): Likewise.
617 * malloc/mtrace.c (tr_break): Likewise.
618 (mtrace): Likewise.
619 (muntrace): Likewise.
620 * misc/fstab.c (endfsent): Likewise.
621 * misc/getclktck.c (__getclktck): Likewise.
622 * misc/getdtsz.c (__getdtablesize): Likewise.
623 * misc/gethostid.c (gethostid): Likewise.
624 * misc/getpagesize.c (__getpagesize): Likewise.
625 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
626 (__get_nprocs): Likewise.
627 (__get_phys_pages): Likewise.
628 (__get_avphys_pages): Likewise.
629 * misc/getttyent.c (getttyent): Likewise.
630 (setttyent): Likewise.
631 (endttyent): Likewise.
632 * misc/getusershell.c (getusershell): Likewise.
633 (endusershell): Likewise.
634 (setusershell): Likewise.
635 (initshells): Likewise.
636 * misc/hsearch.c (__hdestroy): Likewise.
637 * misc/sync.c (sync): Likewise.
638 * misc/syslog.c (closelog_internal): Likewise.
639 (closelog): Likewise.
640 * misc/ttyslot.c (ttyslot): Likewise.
641 * misc/vhangup.c (vhangup): Likewise.
642 * posix/fork.c (__fork): Likewise.
643 * posix/getegid.c (__getegid): Likewise.
644 * posix/geteuid.c (__geteuid): Likewise.
645 * posix/getgid.c (__getgid): Likewise.
646 * posix/getpid.c (__getpid): Likewise.
647 * posix/getppid.c (__getppid): Likewise.
648 * posix/getuid.c (__getuid): Likewise.
649 * posix/pause.c (pause): Likewise.
650 * posix/setpgrp.c (setpgrp): Likewise.
651 * posix/setsid.c (__setsid): Likewise.
652 * posix/test-vfork.c (noop): Likewise.
653 * resolv/gethnamaddr.c (_endhtent): Likewise.
654 (_gethtent): Likewise.
655 (ht_endhostent): Likewise.
656 (gethostent): Likewise.
657 (dns_service): Likewise.
658 * stdlib/drand48.c (drand48): Likewise.
659 * stdlib/lrand48.c (lrand48): Likewise.
660 * stdlib/mrand48.c (mrand48): Likewise.
661 * stdlib/rand.c (rand): Likewise.
662 * stdlib/random.c (__random): Likewise.
663 * stdlib/setenv.c (clearenv): Likewise.
664 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
665 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
666 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
667 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
668 (__get_nprocs): Likewise.
669 (__get_phys_pages): Likewise.
670 (__get_avphys_pages): Likewise.
671 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
672 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
673 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
674 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
675 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
676 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
677 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
678 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
679 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
680 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
681 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
682 * sysdeps/mach/hurd/sync.c (sync): Likewise.
683 * sysdeps/posix/clock.c (clock): Likewise.
684 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
685 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
686 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
687 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
688 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
690 (__get_nprocs_conf): Likewise.
691 (__get_phys_pages): Likewise.
692 (__get_avphys_pages): Likewise.
693 * time/clock.c (clock): Likewise.
694 * time/tzset.c (__tzname_max): Likewise.
695
2e09a79a
JM
6962013-06-07 Joseph Myers <joseph@codesourcery.com>
697
698 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
699 (__bswap_32): Do not use "register".
700 * crypt/crypt.c (_ufc_doit_r): Likewise.
701 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
702 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
703 * gmon/gmon.c (__monstartup): Likewise.
704 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
705 * hurd/hurdmalloc.c (more_memory): Likewise.
706 (malloc): Likewise.
707 (free): Likewise.
708 (realloc): Likewise.
709 (malloc_fork_prepare): Likewise.
710 (malloc_fork_parent): Likewise.
711 (malloc_fork_child): Likewise.
712 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
713 (_svcauth_des): Likewise.
714 * inet/inet_lnaof.c (inet_lnaof): Likewise.
715 * inet/inet_net.c (inet_network): Likewise.
716 * inet/inet_netof.c (inet_netof): Likewise.
717 * inet/rcmd.c (__validuser2_sa): Likewise.
718 * io/fts.c (fts_open): Likewise.
719 (fts_load): Likewise.
720 (fts_close): Likewise.
721 (fts_read): Likewise.
722 (fts_children): Likewise.
723 (fts_build): Likewise.
724 (fts_stat): Likewise.
725 (fts_sort): Likewise.
726 (fts_alloc): Likewise.
727 (fts_lfree): Likewise.
728 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
729 (_IO_file_xsgetn): Likewise.
730 (_IO_file_xsgetn_mmap): Likewise.
731 * libio/iofopncook.c (_IO_cookie_read): Likewise.
732 (_IO_cookie_write): Likewise.
733 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
734 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
735 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
736 * malloc/obstack.c (_obstack_begin): Likewise.
737 (_obstack_begin_1): Likewise.
738 (_obstack_newchunk): Likewise.
739 (_obstack_allocated_p): Likewise.
740 (obstack_free): Likewise.
741 (_obstack_memory_used): Likewise.
742 * misc/getttyent.c (getttynam): Likewise.
743 (getttyent): Likewise.
744 (skip): Likewise.
745 (value): Likewise.
746 * misc/getusershell.c (initshells): Likewise.
747 * misc/syslog.c (__vsyslog_chk): Likewise.
748 * misc/ttyslot.c (ttyslot): Likewise.
749 * nis/nis_hash.c (__nis_hash): Likewise.
750 * posix/fnmatch_loop.c (FCT): Likewise.
751 * posix/getconf.c (print_all): Likewise.
752 (main): Likewise.
753 * posix/getopt.c (exchange): Likewise.
754 * posix/glob.c (globfree): Likewise.
755 (prefix_array): Likewise.
756 (__glob_pattern_type): Likewise.
757 * resolv/arpa/nameser.h (NS_GET16): Likewise.
758 (NS_GET32): Likewise.
759 (NS_PUT16): Likewise.
760 (NS_PUT32): Likewise.
761 * resolv/gethnamaddr.c (getanswer): Likewise.
762 (gethostbyname2): Likewise.
763 (gethostbyaddr): Likewise.
764 (_gethtent): Likewise.
765 (_gethtbyname2): Likewise.
766 (_gethtbyaddr): Likewise.
767 * resolv/ns_print.c (dst_s_get_int16): Likewise.
768 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
769 * resolv/res_init.c (__res_vinit): Likewise.
770 (net_mask): Likewise.
771 * resolv/res_mkquery.c (outchar): Likewise.
772 (PRINT): Likewise.
773 * stdio-common/printf_fp.c (outchar): Likewise.
774 (PRINT): Likewise.
775 * stdio-common/printf_fphex.c (outchar): Likewise.
776 (PRINT): Likewise.
777 * stdio-common/printf_size.c (outchar): Likewise.
778 (PRINT): Likewise.
779 * stdio-common/test_rdwr.c (main): Likewise.
780 * stdio-common/tfformat.c (matches): Likewise.
781 * stdio-common/vfprintf.c (outchar): Likewise.
782 (printf_unknown): Likewise.
783 (buffered_vfprintf): Likewise.
784 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
785 * stdio-common/xbug.c (AppendToBuffer): Likewise.
786 (ReadFile): Likewise.
787 * stdlib/qsort.c (SWAP): Likewise.
788 (_quicksort): Likewise.
789 * stdlib/setenv.c (__add_to_environ): Likewise.
790 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
791 * stdlib/strtol_l.c (__strtol_l): Likewise.
792 * stdlib/tst-strtod.c (main): Likewise.
793 * stdlib/tst-strtol.c (main): Likewise.
794 * stdlib/tst-strtoll.c (main): Likewise.
795 * string/bits/string2.h (__strcmp_cc): Likewise.
796 (__strcmp_cg): Likewise.
797 (__strcspn_c1): Likewise.
798 (__strcspn_c2): Likewise.
799 (__strcspn_c3): Likewise.
800 (__strspn_c1): Likewise.
801 (__strspn_c2): Likewise.
802 (__strspn_c3): Likewise.
803 (__strsep_1c): Likewise.
804 (__strsep_2c): Likewise.
805 (__strsep_3c): Likewise.
806 * string/memccpy.c (__memccpy): Likewise.
807 * string/stpcpy.c (__stpcpy): Likewise.
808 * string/strcmp.c (strcmp): Likewise.
809 * string/strrchr.c (strrchr): Likewise.
810 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
811 Likewise.
812 * sysdeps/mach/hurd/getcwd.c
813 (_hurd_canonicalize_directory_name_internal): Likewise.
814 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
815 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
816 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
817 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
818 Likewise, in both definitions.
819 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
820 definitions.
821 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
822 64] (__bswap_64): Likewise.
823 * time/test_time.c (main): Likewise.
824 * time/tzfile.c (__tzfile_read): Likewise.
825 (__tzfile_compute): Likewise.
826 * time/tzset.c (__tzset_parse_tz): Likewise.
827 (tzset_internal): Likewise.
828 (compute_change): Likewise.
829 * wcsmbs/wcscat.c (__wcscat): Likewise.
830 * wcsmbs/wcschr.c (wcschr): Likewise.
831 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
832 * wcsmbs/wcscspn.c (wcscspn): Likewise.
833 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
834 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
835 * wcsmbs/wcsspn.c (wcsspn): Likewise.
836 * wcsmbs/wcsstr.c (wcsstr): Likewise.
837 * wcsmbs/wmemchr.c (wmemchr): Likewise.
838 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
839 * wcsmbs/wmemset.c (wmemset): Likewise.
840
9e54314b
JM
8412013-06-06 Joseph Myers <joseph@codesourcery.com>
842
843 * scripts/config.guess: Update to version 2013-05-16.
844 * scripts/config.sub: Update to version 2013-04-24.
845 * scripts/install-sh: Update to version 2011-11-20.07.
846 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
847 * scripts/move-if-change: Update to version 2012-01-06 07:23.
848
350635a5
OB
8492013-06-06 Ondřej Bílka <neleai@seznam.cz>
850
851 * debug/fgetws_u_chk.c: Fix leading whitespaces.
852 * elf/sln.c: Likewise.
853 * hurd/hurd/ioctl.h: Likewise.
854 * hurd/hurdmalloc.c: Likewise.
855 * hurd/xattr.c: Likewise.
856 * include/shlib-compat.h: Likewise.
857 * inet/ruserpass.c: Likewise.
858 * libio/iofgets_u.c: Likewise.
859 * libio/iofgetws_u.c: Likewise.
860 * locale/programs/ld-identification.c: Likewise.
861 * locale/programs/ld-time.c: Likewise.
862 * mach/msg-destroy.c: Likewise.
863 * nss/nss_files/files-netgrp.c: Likewise.
864 * resolv/res_data.c: Likewise.
865 * soft-fp/op-1.h: Likewise.
866 * soft-fp/op-2.h: Likewise.
867 * soft-fp/op-4.h: Likewise.
868 * soft-fp/op-common.h: Likewise.
869 * stdio-common/printf_fphex.c: Likewise.
870 * stdlib/strtod_l.c: Likewise.
871 * sunrpc/rpc/clnt.h: Likewise.
872 * sysdeps/generic/framestate.c: Likewise.
873 * sysdeps/i386/bsd-_setjmp.S: Likewise.
874 * sysdeps/i386/bsd-setjmp.S: Likewise.
875 * sysdeps/i386/__longjmp.S: Likewise.
876 * sysdeps/i386/setjmp.S: Likewise.
877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
878 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
880 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
885 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
886 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
888 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
890 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
891 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
892 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
893 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
894 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
895 * sysdeps/ieee754/support.c: Likewise.
896 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
897 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
898 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
899 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
900 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
901 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
902 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
903 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
904 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
905 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
906 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
907 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
908 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
909 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
910 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
911 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
912 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
914
44a988af
OB
9152013-06-05 Ondřej Bílka <neleai@seznam.cz>
916
25506f09 917 * posix/transbug.c: Remove executable mode.
44a988af 918
9c84384c
JM
9192013-06-05 Joseph Myers <joseph@codesourcery.com>
920
921 * crypt/speeds.c: Remove trailing whitespace.
922 * dlfcn/default.c: Likewise.
923 * elf/ifuncdep2.c: Likewise.
924 * elf/ifuncmain1.c: Likewise.
925 * elf/ifuncmain1vis.c: Likewise.
926 * elf/testobj.h: Likewise.
927 * elf/tst-stackguard1.c: Likewise.
928 * gmon/sys/gmon.h: Likewise.
929 * hurd/hurdmsg.c: Likewise.
930 * hurd/new-fd.c: Likewise.
931 * hurd/ports-get.c: Likewise.
932 * iconvdata/ibm1008_420.c: Likewise.
933 * inet/tst-getni1.c: Likewise.
934 * inet/tst-getni2.c: Likewise.
935 * libio/ioungetc.c: Likewise.
936 * libio/wfiledoalloc.c: Likewise.
937 * manual/libm-err-tab.pl: Likewise.
938 * math/w_dremf.c: Likewise.
939 * misc/ftruncate.c: Likewise.
940 * posix/bug-glob2.c: Likewise.
941 * posix/tst-pcre.c: Likewise.
942 * posix/wait4.c: Likewise.
943 * resolv/README: Likewise.
944 * resolv/res_debug.h: Likewise.
945 * resolv/tst-inet_ntop.c: Likewise.
946 * setjmp/bug269-setjmp.c: Likewise.
947 * soft-fp/extended.h: Likewise.
948 * soft-fp/op-1.h: Likewise.
949 * soft-fp/op-2.h: Likewise.
950 * soft-fp/op-4.h: Likewise.
951 * soft-fp/op-8.h: Likewise.
952 * soft-fp/testit.c: Likewise.
953 * stdio-common/bug16.c: Likewise.
954 * stdlib/random.c: Likewise.
955 * sunrpc/rpcsvc/rquota.x: Likewise.
956 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
957 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
958 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
959 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
960 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
962 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
963 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
964 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
965 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
966 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
967 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
968 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
969 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
971 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
972 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
973 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
974 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
975 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
976 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
977 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
978 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
979 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
981 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
984 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
985 * sysdeps/ieee754/s_lib_version.c: Likewise.
986 * sysdeps/mach/hurd/check_fds.c: Likewise.
987 * sysdeps/mach/hurd/getsockname.c: Likewise.
988 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
989 * sysdeps/mach/hurd/recvfrom.c: Likewise.
990 * sysdeps/powerpc/bits/link.h: Likewise.
991 * sysdeps/powerpc/dl-procinfo.c: Likewise.
992 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
993 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
994 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
995 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
996 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
997 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
998 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
999 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1002 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1003 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1004 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1005 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1006 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1008 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1009 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1010 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1011 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1013 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1015 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1017 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1018 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1019 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1021 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1022 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1024 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1025 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1027 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1028 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1029 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1030 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1031 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1033 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1034 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1035 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1036 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1037 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1038 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1039 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1040 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1041 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1043 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1045 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1046 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1047 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1049 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1050 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1051 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1052 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1053 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1055 * sysdeps/powerpc/sysdep.h: Likewise.
1056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1057 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1058 * sysdeps/sh/dl-trampoline.S: Likewise.
1059 * sysdeps/sh/memset.S: Likewise.
1060 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1061 * sysdeps/sh/strlen.S: Likewise.
1062 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1063 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1064 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1065 * sysdeps/sparc/sparc32/rem.S: Likewise.
1066 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1067 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1068 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1069 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1070 * sysdeps/sparc/sparc32/urem.S: Likewise.
1071 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1072 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1073 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1074 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1075 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1076 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1077 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1078 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1079 * sysdeps/unix/bsd/times.c: Likewise.
1080 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1081 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1085 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1086 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1088 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1089 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1091 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1092 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1093 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1094 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1098 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1099 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1100 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1101 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1102 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1103 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1104 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1105 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1108 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1109 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1110 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1111 * sysdeps/x86_64/strcspn.S: Likewise.
1112
869378a5
RA
11132013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1114
1115 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1116 generated file. Regenerate properly from gen-translit.pl.
1117 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1118 locale/C-translit.h.
1119
840e2943
AS
11202013-06-05 Andreas Schwab <schwab@suse.de>
1121
1122 [BZ #15100]
1123 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1124 week as 6 instead of -1.
1125 * time/tst-strptime.c (day_tests): Add test case.
1126
4c60cb0c
SP
11272013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
1129 * sysdeps/generic/math_private.h
1130 (libc_feholdexcept_setround_53bit): Replace with
1131 libc_feholdsetround_53bit.
1132 (libc_feupdateenv_53bit): Replace with
1133 libc_feresetround_53bit.
1134 (SET_RESTORE_ROUND_53BIT): Adjust.
1135
d180203e
SP
11362013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1137
96df079a
SP
1138 * string/test-strchrnul.c: Add copyright header.
1139
d180203e
SP
1140 * posix/tst-getaddrinfo4.c: Increase test timeout.
1141
8b0ccb2d
CD
11422013-06-03 Carlos O'Donell <carlos@redhat.com>
1143
1144 [BZ #15536]
1145 * math/libm-test.inc (MAX_EXP): Remove
1146 (MIN_EXP): Define.
1147 (ulp): Use MIN_EXP - MANT_DIG.
1148 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1149
3b3c4d40
CD
11502013-05-31 Carlos O'Donell <carlos@redhat.com>
1151
1152 * po/be.po: Revert last change.
1153 * po/zh_CN.po: Likewise.
1154 * po/header.pot: Likewise.
1155
fab7ce3f
JM
11562013-05-31 Joseph Myers <joseph@codesourcery.com>
1157
1158 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1159 link-libc-deps to empty as target-specific variable.
1160 * Makerules (link-libc-args): New variable.
1161 (libc-for-link): Likewise.
1162 (link-libc-deps): Likewise.
1163 (lib%.so): Depend on $(link-libc-deps). Link with
1164 $(link-libc-args).
1165 (build-module): Link with $(link-libc-args).
1166 (build-module-asneeded): Likewise.
1167 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1168 list of objects.
1169 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1170 target-specific variable.
1171 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1172 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1173 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1174 libc.
1175 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1176 libc and ld.so.
1177 ($(objpfx)libpcprofile.so): Likewise.
1178 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1179 libc_nonshared.a.
1180 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1181 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1182 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1183 $(link-libc-deps).
1184 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1185 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1186 * login/Makefile ($(objpfx)libutil.so): Likewise.
1187 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1188 * math/Makefile ($(objpfx)libm.so): Likewise.
1189 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1190 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1191 variable instead of depending directly on libc.
1192 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1193 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1194 $(link-libc-deps).
1195 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1196 libc.
1197 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1198 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1199 ($(objpfx)libanl.so): Likewise.
1200 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1201 ld.so.
1202 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1203 $(link-libc-deps).
1204 * sysdeps/i386/fpu/Makefile: Remove file.
1205 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1206 ($(objpfx)libm.so): Remove dependency on ld.so.
1207
eca5920c
PF
12082013-05-30 Patsy Franklin <pfrankli@redhat.com>
1209
1210 [BZ # 15553]
1211 * nis/yp_xdr.c (XDRMAXNAME): Define.
1212 (XDRMAXRECORD): Define.
1213 (xdr_domainname): Use XDRMAXNAME.
1214 (xdr_mapname): Likewise.
1215 (xdr_peername): Likewise.
1216 (xdr_keydat): Use XDRMAXRECORD.
1217 (xdr_valdat): Likewise.
1218
12192013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1220
1221 [BZ #14256]
1222 * manual/errno.texi (ESTALE): Update to account for more than
1223 just NFS file systems.
1224 * sysdeps/gnu/errlist.c: Regenerated.
1225
b9375348
SP
12262013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1227
1228 [BZ #15465]
1229 * elf/Makefile (tests): Add tst-null-argv.
1230 (modules-names): Add tst-null-argv-lib.
1231 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1232 (tst-null-argv-ENV): Set environment for tst-null-argv.
1233 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1234 (RTLD_PROGNAME): New macro.
1235 * elf/tst-null-argv.c: New test case.
1236 * elf/tst-null-argv-lib.c: Library for test case.
1237 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1238 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1239 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1240 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1241 * elf/dl-init.c (call_init): Likewise.
1242 (_dl_init): Likewise.
1243 * elf/dl-load.c (print_search_path): Likewise.
1244 (_dl_map_object): Likewise.
1245 * elf/dl-lookup.c (do_lookup_x): Likewise.
1246 (add_dependency): Likewise.
1247 (_dl_lookup_symbol_x): Likewise.
1248 (_dl_debug_bindings): Likewise.
1249 * elf/dl-open.c (_dl_show_scope): Likewise.
1250 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1251 * elf/dl-version.c (match_symbol): Likewise.
1252 (_dl_check_map_versions): Likewise.
1253 * elf/rtld.c (dl_main): Likewise.
1254 (print_unresolved): Use RTLD_PROGNAME.
1255 (print_missing_version): Likewise.
1256 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1257 (elf_machine_rela): Likewise.
1258 * sysdeps/powerpc/powerpc32/dl-machine.c
1259 (__process_machine_rela): Likewise.
1260 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1261 Likewise.
1262 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1263 Likewise.
1264 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1265 Likewise.
1266 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1268 Likewise.
1269 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1270 Likewise.
1271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1272
8a9f20c8
CD
12732013-05-28 Carlos O'Donell <carlos@redhat.com>
1274
1275 * po/be.po: Add descriptive title.
1276 * po/zh_CN.po: Likewise.
1277 * po/header.pot: Likewise.
1278
0e60d68e
MF
12792013-05-28 Mike Frysinger <vapier@gentoo.org>
1280
1281 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1282 error message.
1283 (enlarge_archive): Likewise.
1284
56b672e9
BN
12852013-05-28 Ben North <ben@redfrontdoor.org>
1286
1287 * manual/arith.texi (frexp): It is the magnitude of the return
1288 value which lies in [0.5, 1), not the return value itself.
1289
5e056687
AZ
12902013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291
1292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1293
2b66ef5d
TS
12942013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1295
528c2405
TS
1296 * stdio-common/bug26.c (main): Correct fscanf template.
1297
07b4c13d
TS
1298 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1299 declare _dl_skip_args.
1300
ec9dd97c
TS
1301 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1302 Don't declare.
1303
2b66ef5d
TS
1304 * manual/platform.texi: Add missing @end deftypefun.
1305
4f8dfe27
JM
13062013-05-24 Joseph Myers <joseph@codesourcery.com>
1307
0323d086
JM
1308 [BZ #15529]
1309 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1310 bit of mantissa of 2^16382.
1311 * math/libm-test.inc (hypot_test_data): Add more tests.
1312
dd4259b9
JM
1313 * math/libm-test.inc: Add drem and pow10 to list of tested
1314 functions.
1315 (pow10_test): New function.
1316 (drem_test): Likewise.
1317 (drem_test_tonearest): Likewise.
1318 (drem_test_towardzero): Likewise.
1319 (drem_test_downward): Likewise.
1320 (drem_test_upward): Likewise.
1321 (main): Call the new functions.
1322
4f8dfe27
JM
1323 * math/libm-test.inc (finite_test_data): Remove.
1324 (finite_test): Run tests from isfinite_test_data.
1325 (gamma_test_data): Remove.
1326 (gamma_test): Run tests from lgamma_test_data.
1327 * sysdeps/i386/fpu/libm-test-ulps: Update.
1328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329
d116b7c4
AZ
13302013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1331
1332 * manual/platform.texi: Add PowerPC PPR function set documentation.
1333 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1334 implementation.
1335
e96e3767
CD
13362013-05-24 Carlos O'Donell <carlos@redhat.com>
1337
1338 * math/libm-test.inc (MAX_EXP): Define.
1339 (ULPDIFF): Define.
1340 (ulp): New function.
1341 (check_float_internal): Use ULPDIFF.
1342 (cpow_test): Disable failing test.
1343 (check_ulp): Test ulp() implemetnation.
1344 (main): Call check_ulp before starting tests.
1345
b679a606
JM
13462013-05-24 Joseph Myers <joseph@codesourcery.com>
1347
e8bdba36
JM
1348 * math/gen-libm-test.pl (generate_testfile): Do not handle
1349 START_DATA and END_DATA.
1350 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1351 END_DATA.
1352 (acos_tonearest_test_data): Likewise.
1353 (acos_towardzero_test_data): Likewise.
1354 (acos_downward_test_data): Likewise.
1355 (acos_upward_test_data): Likewise.
1356 (acosh_test_data): Likewise.
1357 (asin_test_data): Likewise.
1358 (asin_tonearest_test_data): Likewise.
1359 (asin_towardzero_test_data): Likewise.
1360 (asin_downward_test_data): Likewise.
1361 (asin_upward_test_data): Likewise.
1362 (asinh_test_data): Likewise.
1363 (atan_test_data): Likewise.
1364 (atanh_test_data): Likewise.
1365 (atan2_test_data): Likewise.
1366 (cabs_test_data): Likewise.
1367 (cacos_test_data): Likewise.
1368 (cacosh_test_data): Likewise.
1369 (carg_test_data): Likewise.
1370 (casin_test_data): Likewise.
1371 (casinh_test_data): Likewise.
1372 (catan_test_data): Likewise.
1373 (catanh_test_data): Likewise.
1374 (cbrt_test_data): Likewise.
1375 (ccos_test_data): Likewise.
1376 (ccosh_test_data): Likewise.
1377 (ceil_test_data): Likewise.
1378 (cexp_test_data): Likewise.
1379 (cimag_test_data): Likewise.
1380 (clog_test_data): Likewise.
1381 (clog10_test_data): Likewise.
1382 (conj_test_data): Likewise.
1383 (copysign_test_data): Likewise.
1384 (cos_test_data): Likewise.
1385 (cos_tonearest_test_data): Likewise.
1386 (cos_towardzero_test_data): Likewise.
1387 (cos_downward_test_data): Likewise.
1388 (cos_upward_test_data): Likewise.
1389 (cosh_test_data): Likewise.
1390 (cosh_tonearest_test_data): Likewise.
1391 (cosh_towardzero_test_data): Likewise.
1392 (cosh_downward_test_data): Likewise.
1393 (cosh_upward_test_data): Likewise.
1394 (cpow_test_data): Likewise.
1395 (cproj_test_data): Likewise.
1396 (creal_test_data): Likewise.
1397 (csin_test_data): Likewise.
1398 (csinh_test_data): Likewise.
1399 (csqrt_test_data): Likewise.
1400 (ctan_test_data): Likewise.
1401 (ctan_tonearest_test_data): Likewise.
1402 (ctan_towardzero_test_data): Likewise.
1403 (ctan_downward_test_data): Likewise.
1404 (ctan_upward_test_data): Likewise.
1405 (ctanh_test_data): Likewise.
1406 (ctanh_tonearest_test_data): Likewise.
1407 (ctanh_towardzero_test_data): Likewise.
1408 (ctanh_downward_test_data): Likewise.
1409 (ctanh_upward_test_data): Likewise.
1410 (erf_test_data): Likewise.
1411 (erfc_test_data): Likewise.
1412 (exp_test_data): Likewise.
1413 (exp_tonearest_test_data): Likewise.
1414 (exp_towardzero_test_data): Likewise.
1415 (exp_downward_test_data): Likewise.
1416 (exp_upward_test_data): Likewise.
1417 (exp10_test_data): Likewise.
1418 (exp2_test_data): Likewise.
1419 (expm1_test_data): Likewise.
1420 (fabs_test_data): Likewise.
1421 (fdim_test_data): Likewise.
1422 (finite_test_data): Likewise.
1423 (floor_test_data): Likewise.
1424 (fma_test_data): Likewise.
1425 (fma_towardzero_test_data): Likewise.
1426 (fma_downward_test_data): Likewise.
1427 (fma_upward_test_data): Likewise.
1428 (fmax_test_data): Likewise.
1429 (fmin_test_data): Likewise.
1430 (fmod_test_data): Likewise.
1431 (fpclassify_test_data): Likewise.
1432 (frexp_test_data): Likewise.
1433 (gamma_test_data): Likewise.
1434 (hypot_test_data): Likewise.
1435 (ilogb_test_data): Likewise.
1436 (isfinite_test_data): Likewise.
1437 (isgreater_test_data): Likewise.
1438 (isgreaterequal_test_data): Likewise.
1439 (isinf_test_data): Likewise.
1440 (isless_test_data): Likewise.
1441 (islessequal_test_data): Likewise.
1442 (islessgreater_test_data): Likewise.
1443 (isnan_test_data): Likewise.
1444 (isnormal_test_data): Likewise.
1445 (issignaling_test_data): Likewise.
1446 (isunordered_test_data): Likewise.
1447 (j0_test_data): Likewise.
1448 (j1_test_data): Likewise.
1449 (jn_test_data): Likewise.
1450 (ldexp_test_data): Likewise.
1451 (lgamma_test_data): Likewise.
1452 (lrint_test_data): Likewise.
1453 (lrint_tonearest_test_data): Likewise.
1454 (lrint_towardzero_test_data): Likewise.
1455 (lrint_downward_test_data): Likewise.
1456 (lrint_upward_test_data): Likewise.
1457 (llrint_test_data): Likewise.
1458 (llrint_tonearest_test_data): Likewise.
1459 (llrint_towardzero_test_data): Likewise.
1460 (llrint_downward_test_data): Likewise.
1461 (llrint_upward_test_data): Likewise.
1462 (log_test_data): Likewise.
1463 (log10_test_data): Likewise.
1464 (log1p_test_data): Likewise.
1465 (log2_test_data): Likewise.
1466 (logb_test_data): Likewise.
1467 (logb_downward_test_data): Likewise.
1468 (lround_test_data): Likewise.
1469 (llround_test_data): Likewise.
1470 (modf_test_data): Likewise.
1471 (nearbyint_test_data): Likewise.
1472 (nextafter_test_data): Likewise.
1473 (nexttoward_test_data): Likewise.
1474 (pow_test_data): Likewise.
1475 (pow_tonearest_test_data): Likewise.
1476 (pow_towardzero_test_data): Likewise.
1477 (pow_downward_test_data): Likewise.
1478 (pow_upward_test_data): Likewise.
1479 (remainder_test_data): Likewise.
1480 (remainder_tonearest_test_data): Likewise.
1481 (remainder_towardzero_test_data): Likewise.
1482 (remainder_downward_test_data): Likewise.
1483 (remainder_upward_test_data): Likewise.
1484 (remquo_test_data): Likewise.
1485 (rint_test_data): Likewise.
1486 (rint_tonearest_test_data): Likewise.
1487 (rint_towardzero_test_data): Likewise.
1488 (rint_downward_test_data): Likewise.
1489 (rint_upward_test_data): Likewise.
1490 (round_test_data): Likewise.
1491 (scalb_test_data): Likewise.
1492 (scalbn_test_data): Likewise.
1493 (scalbln_test_data): Likewise.
1494 (signbit_test_data): Likewise.
1495 (sin_test_data): Likewise.
1496 (sin_tonearest_test_data): Likewise.
1497 (sin_towardzero_test_data): Likewise.
1498 (sin_downward_test_data): Likewise.
1499 (sin_upward_test_data): Likewise.
1500 (sincos_test_data): Likewise.
1501 (sinh_test_data): Likewise.
1502 (sinh_tonearest_test_data): Likewise.
1503 (sinh_towardzero_test_data): Likewise.
1504 (sinh_downward_test_data): Likewise.
1505 (sinh_upward_test_data): Likewise.
1506 (sqrt_test_data): Likewise.
1507 (tan_test_data): Likewise.
1508 (tan_tonearest_test_data): Likewise.
1509 (tan_towardzero_test_data): Likewise.
1510 (tan_downward_test_data): Likewise.
1511 (tan_upward_test_data): Likewise.
1512 (tanh_test_data): Likewise.
1513 (tgamma_test_data): Likewise.
1514 (trunc_test_data): Likewise.
1515 (y0_test_data): Likewise.
1516 (y1_test_data): Likewise.
1517 (yn_test_data): Likewise.
1518 (significand_test_data): Likewise.
1519
b679a606
JM
1520 * math/gen-libm-test.pl (@functions): Remove variable.
1521 (generate_testfile): Don't handle START and END lines.
1522 * math/libm-test.inc (START): New macro.
1523 (END): Likewise.
1524 (END_COMPLEX): Likewise.
1525 (acos_test): Use END macro without arguments.
1526 (acos_test_tonearest): Likewise.
1527 (acos_test_towardzero): Likewise.
1528 (acos_test_downward): Likewise.
1529 (acos_test_upward): Likewise.
1530 (acosh_test): Likewise.
1531 (asin_test): Likewise.
1532 (asin_test_tonearest): Likewise.
1533 (asin_test_towardzero): Likewise.
1534 (asin_test_downward): Likewise.
1535 (asin_test_upward): Likewise.
1536 (asinh_test): Likewise.
1537 (atan_test): Likewise.
1538 (atanh_test): Likewise.
1539 (atan2_test): Likewise.
1540 (cabs_test): Likewise.
1541 (cacos_test): Use END_COMPLEX macro without arguments.
1542 (cacosh_test): Likewise.
1543 (carg_test): Use END macro without arguments.
1544 (casin_test): Use END_COMPLEX macro without arguments.
1545 (casinh_test): Likewise.
1546 (catan_test): Likewise.
1547 (catanh_test): Likewise.
1548 (cbrt_test): Use END macro without arguments.
1549 (ccos_test): Use END_COMPLEX macro without arguments.
1550 (ccosh_test): Likewise.
1551 (ceil_test): Use END macro without arguments.
1552 (cexp_test): Use END_COMPLEX macro without arguments.
1553 (cimag_test): Use END macro without arguments.
1554 (clog_test): Use END_COMPLEX macro without arguments.
1555 (clog10_test): Likewise.
1556 (conj_test): Likewise.
1557 (copysign_test): Use END macro without arguments.
1558 (cos_test): Likewise.
1559 (cos_test_tonearest): Likewise.
1560 (cos_test_towardzero): Likewise.
1561 (cos_test_downward): Likewise.
1562 (cos_test_upward): Likewise.
1563 (cosh_test): Likewise.
1564 (cosh_test_tonearest): Likewise.
1565 (cosh_test_towardzero): Likewise.
1566 (cosh_test_downward): Likewise.
1567 (cosh_test_upward): Likewise.
1568 (cpow_test): Use END_COMPLEX macro without arguments.
1569 (cproj_test): Likewise.
1570 (creal_test): Use END macro without arguments.
1571 (csin_test): Use END_COMPLEX macro without arguments.
1572 (csinh_test): Likewise.
1573 (csqrt_test): Likewise.
1574 (ctan_test): Likewise.
1575 (ctan_test_tonearest): Likewise.
1576 (ctan_test_towardzero): Likewise.
1577 (ctan_test_downward): Likewise.
1578 (ctan_test_upward): Likewise.
1579 (ctanh_test): Likewise.
1580 (ctanh_test_tonearest): Likewise.
1581 (ctanh_test_towardzero): Likewise.
1582 (ctanh_test_downward): Likewise.
1583 (ctanh_test_upward): Likewise.
1584 (erf_test): Use END macro without arguments.
1585 (erfc_test): Likewise.
1586 (exp_test): Likewise.
1587 (exp_test_tonearest): Likewise.
1588 (exp_test_towardzero): Likewise.
1589 (exp_test_downward): Likewise.
1590 (exp_test_upward): Likewise.
1591 (exp10_test): Likewise.
1592 (exp2_test): Likewise.
1593 (expm1_test): Likewise.
1594 (fabs_test): Likewise.
1595 (fdim_test): Likewise.
1596 (finite_test): Likewise.
1597 (floor_test): Likewise.
1598 (fma_test): Likewise.
1599 (fma_test_towardzero): Likewise.
1600 (fma_test_downward): Likewise.
1601 (fma_test_upward): Likewise.
1602 (fmax_test): Likewise.
1603 (fmin_test): Likewise.
1604 (fmod_test): Likewise.
1605 (fpclassify_test): Likewise.
1606 (frexp_test): Likewise.
1607 (gamma_test): Likewise.
1608 (hypot_test): Likewise.
1609 (ilogb_test): Likewise.
1610 (isfinite_test): Likewise.
1611 (isgreater_test): Likewise.
1612 (isgreaterequal_test): Likewise.
1613 (isinf_test): Likewise.
1614 (isless_test): Likewise.
1615 (islessequal_test): Likewise.
1616 (islessgreater_test): Likewise.
1617 (isnan_test): Likewise.
1618 (isnormal_test): Likewise.
1619 (issignaling_test): Likewise.
1620 (isunordered_test): Likewise.
1621 (j0_test): Likewise.
1622 (j1_test): Likewise.
1623 (jn_test): Likewise.
1624 (ldexp_test): Likewise.
1625 (lgamma_test): Likewise.
1626 (lrint_test): Likewise.
1627 (lrint_test_tonearest): Likewise.
1628 (lrint_test_towardzero): Likewise.
1629 (lrint_test_downward): Likewise.
1630 (lrint_test_upward): Likewise.
1631 (llrint_test): Likewise.
1632 (llrint_test_tonearest): Likewise.
1633 (llrint_test_towardzero): Likewise.
1634 (llrint_test_downward): Likewise.
1635 (llrint_test_upward): Likewise.
1636 (log_test): Likewise.
1637 (log10_test): Likewise.
1638 (log1p_test): Likewise.
1639 (log2_test): Likewise.
1640 (logb_test): Likewise.
1641 (logb_test_downward): Likewise.
1642 (lround_test): Likewise.
1643 (llround_test): Likewise.
1644 (modf_test): Likewise.
1645 (nearbyint_test): Likewise.
1646 (nextafter_test): Likewise.
1647 (nexttoward_test): Likewise.
1648 (pow_test): Likewise.
1649 (pow_test_tonearest): Likewise.
1650 (pow_test_towardzero): Likewise.
1651 (pow_test_downward): Likewise.
1652 (pow_test_upward): Likewise.
1653 (remainder_test): Likewise.
1654 (remainder_test_tonearest): Likewise.
1655 (remainder_test_towardzero): Likewise.
1656 (remainder_test_downward): Likewise.
1657 (remainder_test_upward): Likewise.
1658 (remquo_test): Likewise.
1659 (rint_test): Likewise.
1660 (rint_test_tonearest): Likewise.
1661 (rint_test_towardzero): Likewise.
1662 (rint_test_downward): Likewise.
1663 (rint_test_upward): Likewise.
1664 (round_test): Likewise.
1665 (scalb_test): Likewise.
1666 (scalbn_test): Likewise.
1667 (scalbln_test): Likewise.
1668 (signbit_test): Likewise.
1669 (sin_test): Likewise.
1670 (sin_test_tonearest): Likewise.
1671 (sin_test_towardzero): Likewise.
1672 (sin_test_downward): Likewise.
1673 (sin_test_upward): Likewise.
1674 (sincos_test): Likewise.
1675 (sinh_test): Likewise.
1676 (sinh_test_tonearest): Likewise.
1677 (sinh_test_towardzero): Likewise.
1678 (sinh_test_downward): Likewise.
1679 (sinh_test_upward): Likewise.
1680 (sqrt_test): Likewise.
1681 (tan_test): Likewise.
1682 (tan_test_tonearest): Likewise.
1683 (tan_test_towardzero): Likewise.
1684 (tan_test_downward): Likewise.
1685 (tan_test_upward): Likewise.
1686 (tanh_test): Likewise.
1687 (tgamma_test): Likewise.
1688 (trunc_test): Likewise.
1689 (y0_test): Likewise.
1690 (y1_test): Likewise.
1691 (yn_test): Likewise.
1692 (significand_test): Likewise.
1693
bae143d2
OB
16942013-05-24 Ondřej Bílka <neleai@seznam.cz>
1695
1696 [BZ #15381]
1697 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1698
9323d39b
EM
16992013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1700
d4ea44a0 1701 [BZ #14894]
9323d39b
EM
1702 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1703 __ppc_mdoio and __ppc_mdoom.
1704 * manual/platform.texi: Document new functions __ppc_yield,
1705 __ppc_mdoio and __ppc_mdoom.
1706
13e23af7
CD
17072013-05-22 Carlos O'Donell <carlos@redhat.com>
1708
1709 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1710 (main): Mention "tls" pseudo-hwcap is legacy.
1711 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1712
351fe550
JM
17132013-05-22 Joseph Myers <joseph@codesourcery.com>
1714
1715 * math/gen-libm-test.pl (parse_args): Output only string of
1716 arguments as text for test name, not full call or descriptions of
1717 tests for extra outputs.
1718 (generate_testfile): Do not pass function name to parse_args.
1719 Generate this_func variable from START.
1720 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1721 field to arg_str.
1722 (struct test_ff_f_data): Likewise.
1723 (test_ff_f_data_nexttoward): Likewise.
1724 (struct test_fi_f_data): Likewise.
1725 (struct test_fl_f_data): Likewise.
1726 (struct test_if_f_data): Likewise.
1727 (struct test_fff_f_data): Likewise.
1728 (struct test_c_f_data): Likewise.
1729 (struct test_f_f1_data): Likewise. Remove field extra_name.
1730 (struct test_fF_f1_data): Likewise.
1731 (struct test_ffI_f1_data): Likewise.
1732 (struct test_c_c_data): Rename test_name field to arg_str.
1733 (struct test_cc_c_data): Likewise.
1734 (struct test_f_i_data): Likewise.
1735 (struct test_ff_i_data): Likewise.
1736 (struct test_f_l_data): Likewise.
1737 (struct test_f_L_data): Likewise.
1738 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1739 and extra2_name.
1740 (COMMON_TEST_SETUP): New macro.
1741 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1742 (COMMON_TEST_CLEANUP): Likewise.
1743 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1744 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1745 macros.
1746 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1747 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1748 macros.
1749 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1750 (RUN_TEST_fff_f): Take argument string. Call new setup and
1751 cleanup macros.
1752 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1753 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1754 macros.
1755 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1756 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1757 macros.
1758 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1759 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1760 cleanup macros.
1761 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1762 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1763 cleanup macros.
1764 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1765 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1766 cleanup macros.
1767 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1768 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1769 macros.
1770 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1771 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1772 macros.
1773 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1774 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1775 macros.
1776 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1777 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1778 cleanup macros.
1779 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1780 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1781 cleanup macros.
1782 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1783 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1784 macros.
1785 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1786 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1787 cleanup macros.
1788 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1789 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1790 macros.
1791 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1792 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1793 macros.
1794 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1795 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1796 cleanup macros.
1797 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1798
85118d4d
EBM
17992013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1800
1801 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1802 to _sifields.sigfault.
1803 (si_addr_lsb): Define new macro.
1804 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1805 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1807
7a44c18f
CD
18082013-05-03 Carlos O'Donell <carlos at redhat.com>
1809
1810 [BZ #15441]
1811 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1812 returns -1.
1813 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1814 null return -1.
1815 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1816 loading the domain.
1817
b50a7181
JM
18182013-05-22 Joseph Myers <joseph@codesourcery.com>
1819
1820 * math/gen-libm-test.pl (parse_args): Do not include expected
1821 result in test name.
1822 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1824 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1826 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1828
051063c8
SP
18292013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1830
3ce9e010
SP
1831 * benchtests/Makefile: Sort function entries.
1832
051063c8
SP
1833 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1834 tanh, asinh, acosh, atanh.
1835 * benchtests/acos-inputs: New file.
1836 * benchtests/acosh-inputs: New file.
1837 * benchtests/asin-inputs: New file.
1838 * benchtests/asinh-inputs: New file.
1839 * benchtests/atanh-inputs: New file.
1840 * benchtests/cosh-inputs: New file.
1841 * benchtests/log-inputs: New file.
1842 * benchtests/sinh-inputs: New file.
1843 * benchtests/tanh-inputs: New file.
1844
47c22455
DL
18452013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1846
1847 [BZ #15339]
1848 * posix/tst-getaddrinfo4.c: New test.
1849 * posix/Makefile (tests): Add it.
1850
3d04f5db
SP
18512013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1852
1853 [BZ #15339]
1854 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1855 when no services were used.
1856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1857 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1858
d5dd6189
AS
18592013-05-21 Andreas Schwab <schwab@suse.de>
1860
1861 [BZ #15014]
1862 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1863 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1864 successful.
1865 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1866 redundant variable declarations and reallocation of buffer when
1867 parsing as IPv6 address. Always set NSS status when called from
1868 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1869 buffer too small. Correct computation of needed size.
1870 * nss/Makefile (tests): Add test-digits-dots.
1871 * nss/test-digits-dots.c: New test.
1872
fef94eab
SP
18732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1874
1875 * benchtests/Makefile: Remove instructions for adding
1876 benchmark tests.
1877 * benchtests/README: New file to explain how to execute and
1878 enhance the benchmark tests.
1879
e39adf43
AS
18802013-05-21 Andreas Schwab <schwab@suse.de>
1881
1882 [BZ #15493]
1883 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1884 * setjmp/tst-sigsetjmp.c: New test.
1885
b2b671b6
OB
18862013-05-20 Ondřej Bílka <neleai@seznam.cz>
1887
1888 * sysdeps/x86_64/memset.S (memset): New implementation.
1889 (__bzero): Likewise.
1890 (__memset_tail): New function.
1891
2d48b41c
OB
18922013-05-20 Ondřej Bílka <neleai@seznam.cz>
1893
1894 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1895 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1896 __memcpy_sse2_unaligned ifunc selection.
1897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1898 Add memcpy-sse2-unaligned.S.
1899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1900 Add: __memcpy_sse2_unaligned.
1901
f16cc3eb
JM
19022013-05-19 Joseph Myers <joseph@codesourcery.com>
1903
3e694268
JM
1904 [BZ #15490]
1905 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1906 math_force_eval before restoring floating-point envrionment.
1907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1908 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1909 Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1911 <math_private.h>.
1912 (__nearbyintl): Use math_force_eval before restoring
1913 floating-point environment.
1914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1915
db62a907
JM
1916 * math/gen-libm-test.pl (special_functions): Remove.
1917 (parse_args): Don't handle TEST_extra. Handle functions with no
1918 return value.
1919 * math/libm-test.inc (struct test_sincos_data): Replace with
1920 struct test_fFF_11_data.
1921 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1922 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1923 (sincos_test_data): Change element type to struct
1924 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1925 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1926 RUN_TEST_LOOP_sincos.
1927 * math/README.libm-test: Don't mention special handling of
1928 individual functions.
1929 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1930 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1931 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1932 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1935
f16cc3eb
JM
1936 * math/gen-libm-test.pl (get_variable): Remove function.
1937 (parse_args): Don't show pointer parameters to call in test
1938 names. Use "extra output N" in test names for extra outputs
1939 rather than naming variables.
1940
3779b5b6
JM
19412013-05-18 Joseph Myers <joseph@codesourcery.com>
1942
2ee094ff
JM
1943 [BZ #15488]
1944 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1945 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1946 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1947 double tests.
1948 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1949 disable.
1950 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1951 check_long_double.
1952
3779b5b6
JM
1953 * math/gen-libm-test.pl (@tests): Remove variable.
1954 ($count): Likewise.
1955 (new_test): Remove function.
1956 (show_exceptions): New function.
1957 (special_functions): Use show_exceptions instead of new_test.
1958 (parse_args): Likewise.
1959 (generate_testfile): Pass only function name in generated call to
1960 print_max_error or print_complex_max_error.
1961 (get_ulps): Do not handle complex tests specially.
1962 (output_test): Rename to ...
1963 (get_all_ulps_for_test): ... this. Return a string rather than
1964 printing to a file. Require ulps to be present.
1965 (output_ulps): Generate arrays rather than #defines.
1966 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1967 (struct ulp_data): New type.
1968 (BUILD_COMPLEX_ULP): Remove macro.
1969 (compare_ulp_data): New function.
1970 (find_ulps): Likewise.
1971 (find_test_ulps): Likewise.
1972 (find_function_ulps): Likewise.
1973 (find_complex_function_ulps): Likewise.
1974 (print_max_error): Determine allowed ulps using
1975 find_function_ulps.
1976 (print_complex_max_error): Determine allowed ulps using
1977 find_complex_function_ulps.
1978 (check_float_internal): Determine max ulps using find_test_ulps.
1979 (check_float): Do not take max_ulp parameter. Update call to
1980 check_float_internal.
1981 (check_complex): Likewise.
1982 (check_int): Do not take max_ulp parameter.
1983 (check_long): Likewise.
1984 (check_bool): Likewise.
1985 (check_longlong): Likewise.
1986 (struct test_f_f_data): Remove max_ulp field.
1987 (struct test_ff_f_data): Likewise.
1988 (struct test_ff_f_data_nexttoward): Likewise.
1989 (struct test_fi_f_data): Likewise.
1990 (struct test_fl_f_data): Likewise.
1991 (struct test_if_f_data): Likewise.
1992 (struct test_fff_f_data): Likewise.
1993 (struct test_c_f_data): Likewise.
1994 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1995 (struct test_fF_f1_data): Likewise.
1996 (struct test_ffI_f1_data): Likewise.
1997 (struct test_c_c_data): Remove max_ulp field.
1998 (struct test_cc_c_data): Likewise.
1999 (struct test_f_i_data): Likewise.
2000 (struct test_ff_i_data): Likewise.
2001 (struct test_f_l_data): Likewise.
2002 (struct test_f_L_data): Likewise.
2003 (struct test_sincos_data): Likewise.
2004 (RUN_TEST_f_f): Do not handle ulps.
2005 (RUN_TEST_LOOP_f_f): Likewise.
2006 (RUN_TEST_2_f): Likewise.
2007 (RUN_TEST_LOOP_2_f): Likewise.
2008 (RUN_TEST_fff_f): Likewise.
2009 (RUN_TEST_LOOP_fff_f): Likewise.
2010 (RUN_TEST_c_f): Likewise.
2011 (RUN_TEST_LOOP_c_f): Likewise.
2012 (RUN_TEST_f_f1): Likewise.
2013 (RUN_TEST_LOOP_f_f1): Likewise.
2014 (RUN_TEST_fF_f1): Likewise.
2015 (RUN_TEST_LOOP_fF_f1): Likewise.
2016 (RUN_TEST_fI_f1): Likewise.
2017 (RUN_TEST_LOOP_fI_f1): Likewise.
2018 (RUN_TEST_ffI_f1): Likewise.
2019 (RUN_TEST_LOOP_ffI_f1): Likewise.
2020 (RUN_TEST_c_c): Likewise.
2021 (RUN_TEST_LOOP_c_c): Likewise.
2022 (RUN_TEST_cc_c): Likewise.
2023 (RUN_TEST_LOOP_cc_c): Likewise.
2024 (RUN_TEST_f_i): Likewise.
2025 (RUN_TEST_LOOP_f_i): Likewise.
2026 (RUN_TEST_f_i_tg): Likewise.
2027 (RUN_TEST_LOOP_f_i_tg): Likewise.
2028 (RUN_TEST_ff_i_tg): Likewise.
2029 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2030 (RUN_TEST_f_b): Likewise.
2031 (RUN_TEST_LOOP_f_b): Likewise.
2032 (RUN_TEST_f_b_tg): Likewise.
2033 (RUN_TEST_LOOP_f_b_tg): Likewise.
2034 (RUN_TEST_f_l): Likewise.
2035 (RUN_TEST_LOOP_f_l): Likewise.
2036 (RUN_TEST_f_L): Likewise.
2037 (RUN_TEST_LOOP_f_L): Likewise.
2038 (RUN_TEST_sincos): Likewise.
2039 (RUN_TEST_LOOP_sincos): Likewise.
2040
8269107f
JM
20412013-05-17 Joseph Myers <joseph@codesourcery.com>
2042
bb38759d
JM
2043 [BZ #15480]
2044 [BZ #15485]
2045 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2046 main case of finite arguments, set rounding mode to FE_TONEAREST
2047 and discard exceptions.
2048 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2049 exceptions.
2050 (remainder_tonearest_test_data): New variable.
2051 (remainder_test_tonearest): New function.
2052 (remainder_towardzero_test_data): New variable.
2053 (remainder_test_towardzero): New function.
2054 (remainder_downward_test_data): New variable.
2055 (remainder_test_downward): New function.
2056 (remainder_upward_test_data): New variable.
2057 (remainder_test_upward): New function.
2058 (main): Call the new test functions.
2059
a00bdcf0
JM
2060 * math/libm-test.inc (struct test_f_f1_data): Remove field
2061 extra_init.
2062 (struct test_fF_f1_data): Likewise.
2063 (struct test_ffI_f1_data): Likewise.
2064 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2065 based on value of EXTRA_EXPECTED.
2066 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2067 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2068 EXTRA_VAR based on value of EXTRA_EXPECTED.
2069 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2070 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2071 EXTRA_VAR based on value of EXTRA_EXPECTED.
2072 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2073 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2074 EXTRA_VAR based on value of EXTRA_EXPECTED.
2075 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2076 * math/gen-libm-test.pl (parse_args): Don't output initializers
2077 for extra output values.
2078
de407f79
JM
2079 * math/libm-test.inc (check_int): Expect result to be exactly
2080 equal to expected value and do not handle ulps.
2081 (check_long): Likewise.
2082 (check_longlong): Likewise.
2083
8269107f
JM
2084 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2085 exceptions.
2086 (cimag_test_data): Likewise.
2087 (conj_test_data): Likewise.
2088 (copysign_test_data): Likewise.
2089 (cproj_test_data): Likewise.
2090 (creal_test_data): Likewise.
2091 (fabs_test_data): Likewise.
2092 (fdim_test_data): Likewise.
2093 (finite_test_data): Likewise.
2094 (floor_test_data): Likewise.
2095 (fmax_test_data): Likewise.
2096 (fmin_test_data): Likewise.
2097 (fmod_test_data): Likewise.
2098 (fpclassify_test_data): Likewise.
2099 (frexp_test_data): Likewise.
2100 (ilogb_test_data): Likewise.
2101 (isfinite_test_data): Likewise.
2102 (isgreater_test_data): Likewise.
2103 (isgreaterequal_test_data): Likewise.
2104 (isinf_test_data): Likewise.
2105 (isless_test_data): Likewise.
2106 (islessequal_test_data): Likewise.
2107 (islessgreater_test_data): Likewise.
2108 (isnan_test_data): Likewise.
2109 (isnormal_test_data): Likewise.
2110 (issignaling_test_data): Likewise.
2111 (isunordered_test_data): Likewise.
2112 (ldexp_test_data): Likewise.
2113 (lrint_test_data): Likewise.
2114 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2115 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2116 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2117 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2118 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2119 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2120 test input.
2121 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2122 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2123 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2124 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2125 that test input.
2126 (lrint_downward_test_data): Test for "inexact" exceptions.
2127 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2128 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2129 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2130 test input.
2131 (lrint_upward_test_data): Test for "inexact" exceptions.
2132 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2133 test input.
2134 (llrint_test_data): Test for "inexact" exceptions.
2135 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2136 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2137 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2138 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2139 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2140 (llrint_downward_test_data): Test for "inexact" exceptions.
2141 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2142 (llrint_upward_test_data): Test for "inexact" exceptions.
2143 (logb_test_data): Likewise.
2144 (logb_downward_test_data): Likewise.
2145 (nextafter_test_data): Likewise.
2146 (nexttoward_test_data): Likewise.
2147 (remainder_test_data): Likewise.
2148 (remquo_test_data): Likewise.
2149 (scalbn_test_data): Likewise.
2150 (scalbln_test_data): Likewise.
2151 (signbit_test_data): Likewise.
2152 (sqrt_test_data): Likewise.
2153 (significand_test_data): Likewise.
2154
48a18de1
SP
21552013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2156
2157 [BZ #15424]
2158 * benchtests/bench-modf.c (struct args): Mark arg0 as
2159 volatile.
2160 * scripts/bench.pl: Mark members of struct args as volatile.
2161
13d3b41a
AZ
21622013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163
68191c1d 2164 [BZ # 15497]
13d3b41a
AZ
2165 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2166 negative infinity on POWER6 or lower.
2167 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2168
2848b105
MR
21692013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2170
2171 [BZ #15442]
2172 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2173 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2174 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2175 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2176 (_FP_SETQNAN): New macro.
2177 (_FP_SETQNAN_SEMIRAW): Likewise.
2178 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2179 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2180 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2181 (FP_EXTEND): Use _FP_FRAC_SNANP.
2182 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2183 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2184 into account.
2185 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2186 New macro.
2187 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2188 Likewise.
2189
323e5cb7
JM
21902013-05-16 Joseph Myers <joseph@codesourcery.com>
2191
c58b274f
JM
2192 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2193 with DIVIDE_BY_ZERO_EXCEPTION.
2194 (gamma_test_data): Likewise.
2195 (lgamma_test_data): Likewise.
2196 (log_test_data): Likewise.
2197 (log10_test_data): Likewise.
2198 (log2_test_data): Likewise.
2199 (tgamma_test_data): Likewise.
2200
0ab34904
JM
2201 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2202 (acos_test_tonearest): Likewise.
2203 (acos_test_towardzero): Likewise.
2204 (acos_test_downward): Likewise.
2205 (acos_test_upward): Likewise.
2206 (acosh_test): Likewise.
2207 (asin_test): Likewise.
2208 (asin_test_tonearest): Likewise.
2209 (asin_test_towardzero): Likewise.
2210 (asin_test_downward): Likewise.
2211 (asin_test_upward): Likewise.
2212 (asinh_test): Likewise.
2213 (atan_test): Likewise.
2214 (atanh_test): Likewise.
2215 (atan2_test): Likewise.
2216 (cabs_test): Likewise.
2217 (cacos_test): Likewise.
2218 (cacosh_test): Likewise.
2219 (casin_test): Likewise.
2220 (casinh_test): Likewise.
2221 (catan_test): Likewise.
2222 (catanh_test): Likewise.
2223 (cbrt_test): Likewise.
2224 (ccos_test): Likewise.
2225 (ccosh_test): Likewise.
2226 (cexp_test): Likewise.
2227 (clog_test): Likewise.
2228 (clog10_test): Likewise.
2229 (cos_test): Likewise.
2230 (cos_test_tonearest): Likewise.
2231 (cos_test_towardzero): Likewise.
2232 (cos_test_downward): Likewise.
2233 (cos_test_upward): Likewise.
2234 (cosh_test): Likewise.
2235 (cosh_test_tonearest): Likewise.
2236 (cosh_test_towardzero): Likewise.
2237 (cosh_test_downward): Likewise.
2238 (cosh_test_upward): Likewise.
2239 (cpow_test): Likewise.
2240 (csin_test): Likewise.
2241 (csinh_test): Likewise.
2242 (csqrt_test): Likewise.
2243 (ctan_test): Likewise.
2244 (ctan_test_tonearest): Likewise.
2245 (ctan_test_towardzero): Likewise.
2246 (ctan_test_downward): Likewise.
2247 (ctan_test_upward): Likewise.
2248 (ctanh_test): Likewise.
2249 (ctanh_test_tonearest): Likewise.
2250 (ctanh_test_towardzero): Likewise.
2251 (ctanh_test_downward): Likewise.
2252 (ctanh_test_upward): Likewise.
2253 (erf_test): Likewise.
2254 (erfc_test): Likewise.
2255 (exp_test): Likewise.
2256 (exp_test_tonearest): Likewise.
2257 (exp_test_towardzero): Likewise.
2258 (exp_test_downward): Likewise.
2259 (exp_test_upward): Likewise.
2260 (exp10_test): Likewise.
2261 (exp2_test): Likewise.
2262 (expm1_test): Likewise.
2263 (fmod_test): Likewise.
2264 (gamma_test): Likewise.
2265 (hypot_test): Likewise.
2266 (j0_test): Likewise.
2267 (j1_test): Likewise.
2268 (jn_test): Likewise.
2269 (lgamma_test): Likewise.
2270 (log_test): Likewise.
2271 (log10_test): Likewise.
2272 (log1p_test): Likewise.
2273 (log2_test): Likewise.
2274 (logb_test_downward): Likewise.
2275 (pow_test): Likewise.
2276 (pow_test_tonearest): Likewise.
2277 (pow_test_towardzero): Likewise.
2278 (pow_test_downward): Likewise.
2279 (pow_test_upward): Likewise.
2280 (remainder_test): Likewise.
2281 (remquo_test): Likewise.
2282 (sin_test): Likewise.
2283 (sin_test_tonearest): Likewise.
2284 (sin_test_towardzero): Likewise.
2285 (sin_test_downward): Likewise.
2286 (sin_test_upward): Likewise.
2287 (sincos_test): Likewise.
2288 (sinh_test): Likewise.
2289 (sinh_test_tonearest): Likewise.
2290 (sinh_test_towardzero): Likewise.
2291 (sinh_test_downward): Likewise.
2292 (sinh_test_upward): Likewise.
2293 (sqrt_test): Likewise.
2294 (tan_test): Likewise.
2295 (tan_test_tonearest): Likewise.
2296 (tan_test_towardzero): Likewise.
2297 (tan_test_downward): Likewise.
2298 (tan_test_upward): Likewise.
2299 (tanh_test): Likewise.
2300 (tgamma_test): Likewise.
2301 (y0_test): Likewise.
2302 (y1_test): Likewise.
2303 (yn_test): Likewise.
2304
323e5cb7
JM
2305 * math/gen-libm-test.pl (adjust_arg): Remove function.
2306 (special_function): Remove argument $in_func. Only handle
2307 generating output for tables of tests, not inside functions.
2308 (parse_args): Likewise.
2309 (generate_testfile): Remove variable $in_func. Update call to
2310 parse_args.
2311 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2312 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2313 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2314 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2315 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2316 (MAX_VALUE_INIT): Rename macro to max_value.
2317 (MIN_VALUE_INIT): Rename macro to min_value.
2318 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2319 (plus_zero): Remove variable.
2320 (minus_zero): Likewise.
2321 (plus_infty): Likewise.
2322 (minus_infty): Likewise.
2323 (qnan_value): Likewise.
2324 (max_value): Likewise.
2325 (min_value): Likewise.
2326 (min_subnorm_value): Likewise.
2327
e054f494
RA
23282013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2329
2330 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2331 uint64_t or uint32_t usage.
2332 * crypt/sha256-block.c: Likewise.
2333 * crypt/sha256-crypt.c: Likewise.
2334 * crypt/sha256.c: Likewise.
2335 * crypt/sha512-block.c: Likewise.
2336 * crypt/sha512-crypt.c: Likewise.
2337 * crypt/sha512.c: Likewise.
2338 * debug/backtrace-tst.c: Likewise.
2339 * debug/pcprofiledump.c: Likewise.
2340 * elf/cache.c: Likewise.
2341 * elf/dl-cache.c: Likewise.
2342 * elf/dl-misc.c: Likewise.
2343 * elf/dl-profile.c: Likewise.
2344 * elf/dl-support.c: Likewise.
2345 * elf/ldconfig.c: Likewise.
2346 * elf/sprof.c: Likewise.
2347 * iconv/dummy-repertoire.c: Likewise.
2348 * iconv/iconv_charmap.c: Likewise.
2349 * iconv/skeleton.c: Likewise.
2350 * iconvdata/8bit-generic.c: Likewise.
2351 * iconvdata/cp737.h: Likewise.
2352 * iconvdata/cp775.h: Likewise.
2353 * iconvdata/ibm1008.h: Likewise.
2354 * iconvdata/ibm1025.h: Likewise.
2355 * iconvdata/ibm1046.h: Likewise.
2356 * iconvdata/ibm1097.h: Likewise.
2357 * iconvdata/ibm1112.h: Likewise.
2358 * iconvdata/ibm1122.h: Likewise.
2359 * iconvdata/ibm1123.h: Likewise.
2360 * iconvdata/ibm1124.h: Likewise.
2361 * iconvdata/ibm1129.h: Likewise.
2362 * iconvdata/ibm1130.h: Likewise.
2363 * iconvdata/ibm1132.h: Likewise.
2364 * iconvdata/ibm1133.h: Likewise.
2365 * iconvdata/ibm1137.h: Likewise.
2366 * iconvdata/ibm1140.h: Likewise.
2367 * iconvdata/ibm1141.h: Likewise.
2368 * iconvdata/ibm1142.h: Likewise.
2369 * iconvdata/ibm1143.h: Likewise.
2370 * iconvdata/ibm1144.h: Likewise.
2371 * iconvdata/ibm1145.h: Likewise.
2372 * iconvdata/ibm1146.h: Likewise.
2373 * iconvdata/ibm1147.h: Likewise.
2374 * iconvdata/ibm1148.h: Likewise.
2375 * iconvdata/ibm1149.h: Likewise.
2376 * iconvdata/ibm1153.h: Likewise.
2377 * iconvdata/ibm1154.h: Likewise.
2378 * iconvdata/ibm1155.h: Likewise.
2379 * iconvdata/ibm1156.h: Likewise.
2380 * iconvdata/ibm1157.h: Likewise.
2381 * iconvdata/ibm1158.h: Likewise.
2382 * iconvdata/ibm1160.h: Likewise.
2383 * iconvdata/ibm1161.h: Likewise.
2384 * iconvdata/ibm1162.h: Likewise.
2385 * iconvdata/ibm1163.h: Likewise.
2386 * iconvdata/ibm1164.h: Likewise.
2387 * iconvdata/ibm1166.h: Likewise.
2388 * iconvdata/ibm1167.h: Likewise.
2389 * iconvdata/ibm12712.h: Likewise.
2390 * iconvdata/ibm1390.h: Likewise.
2391 * iconvdata/ibm1399.h: Likewise.
2392 * iconvdata/ibm16804.h: Likewise.
2393 * iconvdata/ibm4517.h: Likewise.
2394 * iconvdata/ibm4899.h: Likewise.
2395 * iconvdata/ibm4909.h: Likewise.
2396 * iconvdata/ibm4971.h: Likewise.
2397 * iconvdata/ibm5347.h: Likewise.
2398 * iconvdata/ibm803.h: Likewise.
2399 * iconvdata/ibm856.h: Likewise.
2400 * iconvdata/ibm901.h: Likewise.
2401 * iconvdata/ibm902.h: Likewise.
2402 * iconvdata/ibm9030.h: Likewise.
2403 * iconvdata/ibm9066.h: Likewise.
2404 * iconvdata/ibm921.h: Likewise.
2405 * iconvdata/ibm922.h: Likewise.
2406 * iconvdata/ibm9448.h: Likewise.
2407 * iconvdata/isiri-3342.h: Likewise.
2408 * iconvdata/jis0201.h: Likewise.
2409 * include/link.h: Likewise.
2410 * include/netdb.h: Likewise.
2411 * inet/check_native.c: Likewise.
2412 * inet/check_pf.c: Likewise.
2413 * inet/getipv4sourcefilter.c: Likewise.
2414 * inet/getnameinfo.c: Likewise.
2415 * inet/getsourcefilter.c: Likewise.
2416 * inet/htonl.c: Likewise.
2417 * inet/setipv4sourcefilter.c: Likewise.
2418 * inet/setsourcefilter.c: Likewise.
2419 * inet/test-inet6_opt.c: Likewise.
2420 * inet/tst-network.c: Likewise.
2421 * locale/C-collate.c: Likewise.
2422 * locale/C-ctype.c: Likewise.
2423 * locale/C-time.c: Likewise.
2424 * locale/C-translit.h: Likewise.
2425 * locale/loadarchive.c: Likewise.
2426 * locale/programs/3level.h: Likewise.
2427 * locale/programs/charmap.c: Likewise.
2428 * locale/programs/charmap.h: Likewise.
2429 * locale/programs/ld-address.c: Likewise.
2430 * locale/programs/ld-collate.c: Likewise.
2431 * locale/programs/ld-ctype.c: Likewise.
2432 * locale/programs/ld-identification.c: Likewise.
2433 * locale/programs/ld-measurement.c: Likewise.
2434 * locale/programs/ld-messages.c: Likewise.
2435 * locale/programs/ld-monetary.c: Likewise.
2436 * locale/programs/ld-name.c: Likewise.
2437 * locale/programs/ld-numeric.c: Likewise.
2438 * locale/programs/ld-paper.c: Likewise.
2439 * locale/programs/ld-telephone.c: Likewise.
2440 * locale/programs/ld-time.c: Likewise.
2441 * locale/programs/linereader.c: Likewise.
2442 * locale/programs/locale.c: Likewise.
2443 * locale/programs/locarchive.c: Likewise.
2444 * locale/programs/locfile.h: Likewise.
2445 * locale/programs/repertoire.c: Likewise.
2446 * locale/programs/simple-hash.c: Likewise.
2447 * locale/programs/simple-hash.h: Likewise.
2448 * malloc/memusage.c: Likewise.
2449 * malloc/memusagestat.c: Likewise.
2450 * nis/nis_defaults.c: Likewise.
2451 * nis/nis_hash.c: Likewise.
2452 * nis/nis_print.c: Likewise.
2453 * nis/nis_xdr.c: Likewise.
2454 * nscd/connections.c: Likewise.
2455 * nscd/hstcache.c: Likewise.
2456 * nscd/nscd_gethst_r.c: Likewise.
2457 * nscd/nscd_getserv_r.c: Likewise.
2458 * nscd/nscd_helper.c: Likewise.
2459 * nscd/servicescache.c: Likewise.
2460 * nss/makedb.c: Likewise.
2461 * nss/nss_db/db-XXX.c: Likewise.
2462 * nss/nss_db/db-initgroups.c: Likewise.
2463 * nss/nss_db/db-netgrp.c: Likewise.
2464 * nss/nss_files/files-network.c: Likewise.
2465 * nss/nss_files/files-parse.c: Likewise.
2466 * posix/bug-regex5.c: Likewise.
2467 * posix/fnmatch_loop.c: Likewise.
2468 * posix/regcomp.c: Likewise.
2469 * posix/regexec.c: Likewise.
2470 * posix/tst-rfc3484-2.c: Likewise.
2471 * posix/tst-rfc3484-3.c: Likewise.
2472 * posix/tst-rfc3484.c: Likewise.
2473 * resolv/nss_dns/dns-canon.c: Likewise.
2474 * resolv/nss_dns/dns-network.c: Likewise.
2475 * resolv/res_init.c: Likewise.
2476 * resolv/res_mkquery.c: Likewise.
2477 * resolv/tst-aton.c: Likewise.
2478 * stdlib/cxa_atexit.c: Likewise.
2479 * stdlib/cxa_finalize.c: Likewise.
2480 * stdlib/gen-fpioconst.c: Likewise.
2481 * stdlib/strtol_l.c: Likewise.
2482 * string/tst-endian.c: Likewise.
2483 * sunrpc/auth_des.c: Likewise.
2484 * sunrpc/clnt_udp.c: Likewise.
2485 * sunrpc/rtime.c: Likewise.
2486 * sunrpc/svcauth_des.c: Likewise.
2487 * sunrpc/xdr.c: Likewise.
2488 * sunrpc/xdr_intXX_t.c: Likewise.
2489 * sunrpc/xdr_rec.c: Likewise.
2490 * sysdeps/generic/ldconfig.h: Likewise.
2491 * sysdeps/generic/ldsodefs.h: Likewise.
2492 * sysdeps/generic/memusage.h: Likewise.
2493 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2495 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2496 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2498 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2499 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2503 * sysdeps/posix/getaddrinfo.c: Likewise.
2504 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2505 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2506 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2507 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2508 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2509 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2510 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2511 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2512 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2514 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2515 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2516 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2517 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2518 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2519 * sysdeps/x86_64/dl-tls.h: Likewise.
2520 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2521 * time/alt_digit.c: Likewise.
2522 * time/era.c: Likewise.
2523 * wcsmbs/tst-c16c32-1.c: Likewise.
2524
8c75f674
JM
25252013-05-16 Joseph Myers <joseph@codesourcery.com>
2526
2527 * math/libm-test.inc (struct test_sincos_data): New type.
2528 (RUN_TEST_LOOP_sincos): New macro.
2529 (sincos_test_data): New variable.
2530 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2531
e6e49e59
RH
25322013-05-16 Richard Henderson <rth@redhat.com>
2533
2534 * math/atest-exp2.c (LIMB64): New macro.
2535 (CONSTSZ): New macro.
2536 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2537 (hexdig): Move ...
2538 (print_mpn_fp): ... to function scope.
2539 (read_mpn_hex): Remove.
2540 (get_log2): Remove.
2541 (exp2_mpn): Use mp_log2.
2542 (main): Use mp_exp1.
2543
15c7c18d
JM
25442013-05-16 Joseph Myers <joseph@codesourcery.com>
2545
105a07df
JM
2546 * math/libm-test.inc: Remove comment about not testing "inexact"
2547 exceptions.
2548 (INEXACT_EXCEPTION): New macro.
2549 (NO_INEXACT_EXCEPTION): Likewise.
2550 (INVALID_EXCEPTION_OK): Update value.
2551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2552 (OVERFLOW_EXCEPTION_OK): Likewise.
2553 (UNDERFLOW_EXCEPTION_OK): Likewise.
2554 (IGNORE_ZERO_INF_SIGN): Likewise.
2555 (ERRNO_UNCHANGED): Likewise.
2556 (ERRNO_EDOM): Likewise.
2557 (ERRNO_ERANGE): Likewise.
2558 (test_exceptions): Handle testing "inexact" exceptions.
2559 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2560 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2561 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2562 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2563 INEXACT_EXCEPTION.
2564 (rint_towardzero_test_data): Likewise.
2565 (rint_downward_test_data): Likewise.
2566 (rint_upward_test_data): Likewise.
2567
e9eee333
JM
2568 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2569 with OVERFLOW_EXCEPTION.
2570 (exp10_test_data): Likewise.
2571 (exp2_test_data): Likewise.
2572 (expm1_test_data): Likewise.
2573 (lgamma_test_data): Likewise.
2574 (pow_test_data): Likewise.
2575 (tgamma_test_data): Likewise.
2576 (yn_test_data): Remove duplicate test of overflow.
2577
1c38ff73
JM
2578 * math/libm-test.inc (struct test_cc_c_data): New type.
2579 (RUN_TEST_LOOP_cc_c): New macro.
2580 (cpow_test_data): New variable.
2581 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2582
15c7c18d
JM
2583 * math/libm-test.inc (struct test_f_L_data): New type.
2584 (RUN_TEST_LOOP_f_L): New macro.
2585 (llrint_test_data): New variable.
2586 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2587 (llrint_tonearest_test_data): New variable.
2588 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2589 (llrint_towardzero_test_data): New variable.
2590 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2591 (llrint_downward_test_data): New variable.
2592 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2593 (llrint_upward_test_data): New variable.
2594 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2595 (llround_test_data): New variable.
2596 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2597
f137ff13
PC
25982013-05-13 Peter Collingbourne <pcc@google.com>
2599
2600 * math/atest-exp2.c (get_log2): Remove const attribute.
2601
3608cb24
JM
26022013-05-15 Joseph Myers <joseph@codesourcery.com>
2603
2604 * math/libm-test.inc (struct test_f_l_data): New type.
2605 (RUN_TEST_LOOP_f_l): New macro.
2606 (lrint_test_data): New variable.
2607 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2608 (lrint_tonearest_test_data): New variable.
2609 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2610 (lrint_towardzero_test_data): New variable.
2611 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2612 (lrint_downward_test_data): New variable.
2613 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2614 (lrint_upward_test_data): New variable.
2615 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2616 (lround_test_data): New variable.
2617 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2618
39b1f617
PC
26192013-05-15 Peter Collingbourne <pcc@google.com>
2620
1deff3dc
PC
2621 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2622 (EXTRACT_WORDS64) Use where appropriate.
2623 (INSERT_WORDS64) Likewise.
2624
791f3ba0
PC
2625 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2626 constraints with x constraints.
2627 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2628
39b1f617
PC
2629 * malloc/obstack.c (_obstack_compat): Add initializer.
2630
12fba011
EM
26312013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2632
2633 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2634 si_trapno and add si_addr_lsb to _sifields.sigfault.
2635 (si_trapno): Remove macro.
2636 (si_addr_lsb): Define new macro.
2637 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2638
d369f531
JM
26392013-05-15 Joseph Myers <joseph@codesourcery.com>
2640
b861c6c4
JM
2641 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2642 instead of TEST_f_l.
2643 (llrint_test_tonearest): Likewise.
2644 (llrint_test_towardzero): Likewise.
2645 (llrint_test_downward): Likewise.
2646 (llrint_test_upward): Likewise.
2647 (llround_test): Likewise.
2648
7abeee12
JM
2649 * math/libm-test.inc (struct test_f_i_data): Add comment.
2650 (RUN_TEST_LOOP_f_b): New macro.
2651 (RUN_TEST_LOOP_f_b_tg): Likewise.
2652 (finite_test_data): New variable.
2653 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2654 (isfinite_test_data): New variable.
2655 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2656 (isinf_test_data): New variable.
2657 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2658 (isnan_test_data): New variable.
2659 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2660 (isnormal_test_data): New variable.
2661 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2662 (issignaling_test_data): New variable.
2663 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2664 (signbit_test_data): New variable.
2665 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2666
cbe8c4d3
JM
2667 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2668 with INVALID_EXCEPTION.
2669 (acosh_test_data): Likewise.
2670 (asin_test_data): Likewise.
2671 (atanh_test_data): Likewise.
2672 (fmod_test_data): Likewise.
2673 (log_test_data): Likewise.
2674 (log10_test_data): Likewise.
2675 (log2_test_data): Likewise.
2676 (pow_test_data): Likewise.
2677 (sqrt_test_data): Likewise.
2678 (y0_test_data): Likewise.
2679 (y1_test_data): Likewise.
2680 (yn_test_data): Likewise.
2681
5575c0e5
JM
2682 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2683 function contents.
2684
d369f531
JM
2685 * math/libm-test.inc (struct test_ff_i_data): New type.
2686 (RUN_TEST_LOOP_ff_i_tg): New macro.
2687 (isgreater_test_data): New variable.
2688 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2689 (isgreaterequal_test_data): New variable.
2690 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2691 (isless_test_data): New variable.
2692 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2693 (islessequal_test_data): New variable.
2694 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2695 (islessgreater_test_data): New variable.
2696 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2697 (isunordered_test_data): New variable.
2698 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2699
781fd748
DM
27002013-05-14 David S. Miller <davem@davemloft.net>
2701
2702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2703
87aa21df
JM
27042013-05-14 Joseph Myers <joseph@codesourcery.com>
2705
5e908270
JM
2706 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2707
f71172e5
JM
2708 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2709 extra_test to int.
2710 (struct test_f_i_data): Change type of max_ulp to int.
2711
8cfa635a
JM
2712 * math/libm-test.inc (test_ffI_f1_data): New type.
2713 (RUN_TEST_LOOP_ffI_f1): New macro.
2714 (remquo_test_data): New variable.
2715 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2716
2bcb36b2
JM
2717 * setjmp/tst-setjmp-fp.c: New file.
2718 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2719 (link-libm): New variable.
2720 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2721
acbd839a
JM
2722 * math/libm-test.inc (struct test_f_i_data): New type.
2723 (RUN_TEST_LOOP_f_i): New macro.
2724 (RUN_TEST_LOOP_f_i_tg): Likewise.
2725 (fpclassify_test_data): New variable.
2726 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2727 (ilogb_test_data): New variable.
2728 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2729
e414d745
JM
2730 * math/libm-test.inc (scalbln_test): Correct function name in END
2731 call.
2732
d9c2a0fd
JM
2733 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2734 (RUN_TEST_LOOP_fI_f1): New macro.
2735 (frexp_test_data): New variable.
2736 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2737
9dc9095d
JM
2738 * math/libm-test.inc (struct test_fF_f1_data): New type.
2739 (RUN_TEST_LOOP_fF_f1): New macro.
2740 (modf_test_data): New variable.
2741 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2742
87aa21df
JM
2743 * math/libm-test.inc (struct test_f_f1_data): New type.
2744 (RUN_TEST_LOOP_f_f1): New macro.
2745 (gamma_test_data): New variable.
2746 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2747 (lgamma_test_data): New variable.
2748 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2749
141af660
CD
27502013-05-13 Carlos O'Donell <carlos@redhat.com>
2751
2752 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2753 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2754 (main): Comment "tls" pseudo-hwcap.
2755
6d33265c
JM
27562013-05-13 Joseph Myers <joseph@codesourcery.com>
2757
68fc074c
JM
2758 * math/libm-test.inc (struct test_fl_f_data): New type.
2759 (RUN_TEST_LOOP_fl_f): New variable.
2760 (scalbln_test_data): New variable.
2761 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2762
243216e1
JM
2763 * math/libm-test.inc (struct test_fi_f_data): New type.
2764 (RUN_TEST_LOOP_fi_f): New macro.
2765 (ldexp_test_data): New variable.
2766 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2767 (scalbn_test_data): New variable.
2768 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2769
6a1992e2
JM
2770 * math/libm-test.inc (struct test_c_f_data): New type.
2771 (RUN_TEST_LOOP_c_f): New macro.
2772 (cabs_test_data): New variable.
2773 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2774 (carg_test_data): New variable.
2775 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2776 (cimag_test_data): New variable.
2777 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2778 (creal_test_data): New variable.
2779 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2780
0e400df5
JM
2781 * math/libm-test.inc (struct test_if_f_data): New type.
2782 (RUN_TEST_LOOP_if_f): New macro.
2783 (jn_test_data): New variable.
2784 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2785 (yn_test_data): New variable.
2786 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2787
6d33265c
JM
2788 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2789
f98ece5f
AZ
27902013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2791
2792 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2793 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2794
0f7d347b
SP
27952013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2796
43fe811b
SP
2797 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2798 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2799 (bench-deps): Add bench-timing.h.
2800 * benchtests-bench-skeleton.c: Include bench-timing.h.
2801 (main): Use TIMING_* macros instead of clock_gettime.
2802 * benchtests/bench-timing.h: New file.
2803
0f7d347b
SP
2804 [BZ #14582]
2805 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2806 Renamed from _LIB_VERSION.
2807 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2808
601a3a5f
JM
28092013-05-12 Joseph Myers <joseph@codesourcery.com>
2810
4f184d30
JM
2811 * math/libm-test.inc (struct test_fff_f_data): New type.
2812 (RUN_TEST_LOOP_fff_f): New macro.
2813 (fma_test_data): New variable.
2814 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2815 (fma_towardzero_test_data): New variable.
2816 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2817 (fma_downward_test_data): New variable.
2818 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2819 (fma_upward_test_data): New variable.
2820 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2821
08198877
JM
2822 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2823 (struct test_c_c_data): New type.
2824 (RUN_TEST_LOOP_c_c): New macro.
2825 (cacos_test_data): New variable.
2826 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2827 (cacosh_test_data): New variable.
2828 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2829 (casin_test_data): New variable.
2830 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2831 (casinh_test_data): New variable.
2832 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2833 (catan_test_data): New variable.
2834 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2835 (catanh_test_data): New variable.
2836 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2837 (ccos_test_data): New variable.
2838 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2839 (ccosh_test_data): New variable.
2840 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2841 (cexp_test_data): New variable.
2842 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2843 (clog_test_data): New variable.
2844 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2845 (clog10_test_data): New variable.
2846 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2847 (conj_test_data): New variable.
2848 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2849 (cproj_test_data): New variable.
2850 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2851 (csin_test_data): New variable.
2852 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2853 (csinh_test_data): New variable.
2854 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2855 (csqrt_test_data): New variable.
2856 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2857 (ctan_test_data): New variable.
2858 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2859 (ctan_tonearest_test_data): New variable.
2860 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2861 (ctan_towardzero_test_data): New variable.
2862 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2863 (ctan_downward_test_data): New variable.
2864 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2865 (ctan_upward_test_data): New variable.
2866 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2867 (ctanh_test_data): New variable.
2868 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2869 (ctanh_tonearest_test_data): New variable.
2870 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2871 (ctanh_towardzero_test_data): New variable.
2872 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2873 (ctanh_downward_test_data): New variable.
2874 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2875 (ctanh_upward_test_data): New variable.
2876 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2877 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2878 of BUILD_COMPLEX.
2879
601a3a5f
JM
2880 * math/libm-test.inc (struct test_ff_f_data): New type.
2881 (struct test_ff_f_data_nexttoward): Likewise.
2882 (RUN_TEST_LOOP_2_f): New macro.
2883 (RUN_TEST_LOOP_ff_f): Likewise.
2884 (atan2_test_data): New variable.
2885 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2886 (copysign_test_data): New variable.
2887 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2888 (fdim_test_data): New variable.
2889 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2890 (fmax_test_data): New variable.
2891 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2892 (fmin_test_data): New variable.
2893 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2894 (fmod_test_data): New variable.
2895 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2896 (hypot_test_data): New variable.
2897 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2898 (nextafter_test_data): New variable.
2899 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2900 (nexttoward_test_data): New variable.
2901 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2902 (pow_test_data): New variable.
2903 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2904 (pow_tonearest_test_data): New variable.
2905 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2906 (pow_towardzero_test_data): New variable.
2907 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2908 (pow_downward_test_data): New variable.
2909 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2910 (pow_upward_test_data): New variable.
2911 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2912 (remainder_test_data): New variable.
2913 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2914 (scalb_test_data): New variable.
2915 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2916 * sysdeps/i386/fpu/libm-test-ulps: Update.
2917
74c57478
JM
29182013-05-11 Joseph Myers <joseph@codesourcery.com>
2919
8329e4da
JM
2920 * math/libm-test.inc (fma_test): Use max_value instead of local
2921 variable fltmax.
2922 (nextafter_test): Likewise.
2923
74c57478
JM
2924 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2925 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2926 (acos_downward_test_data): New variable.
2927 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2928 (acos_upward_test_data): New variable.
2929 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2930 (acosh_test_data): New variable.
2931 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2932 (asin_test_data): New variable.
2933 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2934 (asin_tonearest_test_data): New variable.
2935 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2936 (asin_towardzero_test_data): New variable.
2937 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2938 (asin_downward_test_data): New variable.
2939 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2940 (asin_upward_test_data): New variable.
2941 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2942 (asinh_test_data): New variable.
2943 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2944 (atan_test_data): New variable.
2945 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2946 (atanh_test_data): New variable.
2947 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2948 (cbrt_test_data): New variable.
2949 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2950 (ceil_test_data): New variable.
2951 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2952 (cos_test_data): New variable.
2953 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2954 (cos_tonearest_test_data): New variable.
2955 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2956 (cos_towardzero_test_data): New variable.
2957 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2958 (cos_downward_test_data): New variable.
2959 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2960 (cos_upward_test_data): New variable.
2961 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2962 (cosh_test_data): New variable.
2963 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2964 (cosh_tonearest_test_data): New variable.
2965 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2966 (cosh_towardzero_test_data): New variable.
2967 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2968 (cosh_downward_test_data): New variable.
2969 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2970 (cosh_upward_test_data): New variable.
2971 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2972 (erf_test_data): New variable.
2973 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2974 (erfc_test_data): New variable.
2975 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2976 (exp_test_data): New variable.
2977 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2978 (exp_tonearest_test_data): New variable.
2979 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2980 (exp_towardzero_test_data): New variable.
2981 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2982 (exp_downward_test_data): New variable.
2983 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2984 (exp_upward_test_data): New variable.
2985 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2986 (exp10_test_data): New variable.
2987 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2988 (exp2_test_data): New variable.
2989 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2990 (expm1_test_data): New variable.
2991 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2992 (fabs_test_data): New variable.
2993 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2994 (floor_test_data): New variable.
2995 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2996 (j0_test_data): New variable.
2997 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2998 (j1_test_data): New variable.
2999 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3000 (log_test_data): New variable.
3001 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3002 (log10_test_data): New variable.
3003 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3004 (log1p_test_data): New variable.
3005 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3006 (log2_test_data): New variable.
3007 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3008 (logb_test_data): New variable.
3009 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3010 (logb_downward_test_data): New variable.
3011 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3012 (nearbyint_test_data): New variable.
3013 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3014 (rint_test_data): New variable.
3015 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3016 (rint_tonearest_test_data): New variable.
3017 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3018 (rint_towardzero_test_data): New variable.
3019 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3020 (rint_downward_test_data): New variable.
3021 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3022 (rint_upward_test_data): New variable.
3023 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3024 (round_test_data): New variable.
3025 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3026 (sin_test_data): New variable.
3027 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3028 (sin_tonearest_test_data): New variable.
3029 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3030 (sin_towardzero_test_data): New variable.
3031 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3032 (sin_downward_test_data): New variable.
3033 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3034 (sin_upward_test_data): New variable.
3035 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3036 (sinh_test_data): New variable.
3037 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3038 (sinh_tonearest_test_data): New variable.
3039 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3040 (sinh_towardzero_test_data): New variable.
3041 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3042 (sinh_downward_test_data): New variable.
3043 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3044 (sinh_upward_test_data): New variable.
3045 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3046 (sqrt_test_data): New variable.
3047 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3048 (tan_test_data): New variable.
3049 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3050 (tan_tonearest_test_data): New variable.
3051 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3052 (tan_towardzero_test_data): New variable.
3053 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3054 (tan_downward_test_data): New variable.
3055 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3056 (tan_upward_test_data): New variable.
3057 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3058 (tanh_test_data): New variable.
3059 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3060 (tgamma_test_data): New variable.
3061 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3062 (trunc_test_data): New variable.
3063 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3064 (y0_test_data): New variable.
3065 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3066 (y1_test_data): New variable.
3067 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3068 (significand_test_data): New variable.
3069 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3070
7187d844
CG
30712013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3072
3073 [BZ #12387]
3074 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3075
f63fae73
PT
30762013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3077
3078 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3079
8a67a4b3
AJ
30802013-05-10 Andreas Jaeger <aj@suse.de>
3081
3082 [BZ #15448]
3083 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3084 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3085
51df539d
JM
30862013-05-10 Joseph Myers <joseph@codesourcery.com>
3087
3088 * math/gen-libm-test.pl (adjust_arg): New function.
3089 (special_functions): Handle generating output in both functions
3090 and arrays.
3091 (parse_args): Likewise.
3092 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3093 $in_func argument to parse_args.
3094 * math/libm-test.inc (struct test_f_f_data): New type.
3095 (IF_ROUND_INIT_): New macro.
3096 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3097 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3098 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3099 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3100 (ROUND_RESTORE_): Likewise.
3101 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3102 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3103 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3104 (ROUND_RESTORE_FE_UPWARD): Likewise.
3105 (RUN_TEST_LOOP_f_f): New macro.
3106 (acos_test_data): New variable.
3107 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3108 (acos_tonearest_test_data): New variable.
3109 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3110
5c637fe5
SP
31112013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3112
3113 * benchtests/bench-skeleton.c (startup): Fix coding style.
3114
ab2b9461
JM
31152013-05-10 Joseph Myers <joseph@codesourcery.com>
3116
3117 [BZ #6809]
3118 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3119 negative infinity argument.
3120 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3121 negative infinity argument.
3122 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3123 negative infinity argument.
3124 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3125 domain errors.
3126
4c0fe6fe
FW
31272013-05-10 Florian Weimer <fweimer@redhat.com>
3128
3129 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3130 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3131 * iconv/iconv_prog.c (main): Likewise.
3132 * locale/programs/charmap-dir.c (charmap_readdir)
3133 (fopen_uncompressed): Likewise.
3134 * locale/programs/locfile.c (siblings_uncached)
3135 (write_locale_data): Use lstat64 instead of lstat.
3136 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3137 stat.
3138
a3375d29
AJ
31392013-05-10 Andreas Jaeger <aj@suse.de>
3140
3141 [BZ #15395]
3142 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3143 localization.
3144 Include <locale.h>.
3145
36129722
CD
31462013-05-09 Carlos O'Donell <carlos@redhat.com>
3147
3148 * elf/dl-close.c (_dl_close_worker): Add comments.
3149
faa7f811
JM
31502013-05-09 Joseph Myers <joseph@codesourcery.com>
3151
ed41ffef
JM
3152 [BZ #15359]
3153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3154 high part of pi/2.
3155 (__ieee754_rem_pio2l): Update comments.
3156
d0213cd0
JM
3157 [BZ #15429]
3158 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3159 high part of pi/2.
3160 (__ieee754_rem_pio2l): Update comments.
3161
0d3e777a
JM
3162 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3163 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3164
24f56066
JM
3165 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3166 M_PI_4l.
3167
faa7f811
JM
3168 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3169 (M_PI_34_LOG10El): Likewise.
3170 (M_PI2_LOG10El): Likewise.
3171 (M_PI4_LOG10El): Likewise.
3172 (M_PI_LOG10El): Likewise.
3173
e9a5e0fd
AZ
31742013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3175
3176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3177
d8cd06db
JM
31782013-05-08 Joseph Myers <joseph@codesourcery.com>
3179
a0d9f9d7
JM
3180 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3181 (MINUS_ZERO_INIT): Likewise.
3182 (PLUS_INFTY_INIT): Likewise.
3183 (MINUS_INFTY_INIT): Likewise.
3184 (QNAN_VALUE_INIT): Likewise.
3185 (MAX_VALUE_INIT): Likewise.
3186 (MIN_VALUE_INIT): Likewise.
3187 (MIN_SUBNORM_VALUE_INIT): Likewise.
3188 (plus_zero): Initialize with PLUS_ZERO_INIT.
3189 (minus_zero): Initialize with MINUS_ZERO_INIT.
3190 (plus_infty): Initialize with PLUS_INFTY_INIT.
3191 (minus_infty): Initialize with MINUS_INFTY_INIT.
3192 (qnan_value): Initialize with QNAN_VALUE_INIT.
3193 (max_value): Initialize with MAX_VALUE_INIT.
3194 (min_value): Initialize with MIN_VALUE_INIT.
3195 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3196
ae08db3b
JM
3197 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3198 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3199 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3200 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3201
f44bf14a
JM
3202 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3203 (RUN_TEST_2_f): Likewise.
3204 (RUN_TEST_ff_f): Likewise.
3205 (RUN_TEST_fi_f): Likewise.
3206 (RUN_TEST_fl_f): Likewise.
3207 (RUN_TEST_fff_f): Likewise.
3208 (RUN_TEST_c_f): Likewise.
3209 (RUN_TEST_f_f1): Likewise.
3210 (RUN_TEST_fF_f1): Likewise.
3211 (RUN_TEST_fI_f1): Likewise.
3212 (RUN_TEST_ffI_f1): Likewise.
3213 (RUN_TEST_c_c): Likewise.
3214 (RUN_TEST_cc_c): Likewise.
3215 (RUN_TEST_f_i): Likewise.
3216 (RUN_TEST_f_i_tg): Likewise.
3217 (RUN_TEST_ff_i_tg): Likewise.
3218 (RUN_TEST_f_b): Likewise.
3219 (RUN_TEST_f_b_tg): Likewise.
3220 (RUN_TEST_f_l): Likewise.
3221 (RUN_TEST_f_L): Likewise.
3222 (RUN_TEST_sincos): Likewise.
3223 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3224 whether to show exceptions. Do not include ");\n" in return
3225 value.
3226 (special_functions): Output call to RUN_TEST_sincos instead of
3227 check_float calls. Update calls to new_test.
3228 (parse_args): Output call to single RUN_TEST_* macro instead of
3229 check_* calls and other assignments. Update calls to new_test.
3230
d8cd06db
JM
3231 [BZ #2546]
3232 [BZ #2560]
3233 [BZ #5159]
3234 [BZ #15426]
3235 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3236 input to result for tgamma overflow.
3237 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3238 (gamma_coeff): New variable.
3239 (NCOEFF): New macro.
3240 (gamma_positive): New function.
3241 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3242 underflow here. Use gamma_positive instead of exp (lgamma) for
3243 other arguments.
3244 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3245 (gamma_coeff): New variable.
3246 (NCOEFF): New macro.
3247 (gammaf_positive): New function.
3248 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3249 underflow here. Use gamma_positive instead of exp (lgamma) for
3250 other arguments.
3251 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3252 (gamma_coeff): New variable.
3253 (NCOEFF): New macro.
3254 (gammal_positive): New function.
3255 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3256 underflow here. Use gamma_positive instead of exp (lgamma) for
3257 other arguments.
3258 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3259 (gamma_coeff): New variable.
3260 (NCOEFF): New macro.
3261 (gammal_positive): New function.
3262 (__ieee754_gammal_r): Handle positive infinity, overflow and
3263 underflow here. Handle NaN the same as positive infinity. Remove
3264 check x < 0xffffffff for negative integers. Use gamma_positive
3265 instead of exp (lgamma) for other arguments.
3266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3267 (gamma_coeff): New variable.
3268 (NCOEFF): New macro.
3269 (gammal_positive): New function.
3270 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3271 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3272 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3273 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3274 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3275 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3276 * sysdeps/generic/math_private.h (__gamma_productf): New
3277 prototype.
3278 (__gamma_product): Likewise.
3279 (__gamma_productl): Likewise.
3280 * math/Makefile (libm-calls): Add gamma_product.
3281 * math/libm-test.inc (tgamma_test): Add more tests.
3282 * sysdeps/i386/fpu/libm-test-ulps: Update.
3283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3284
bb7cf681
OB
32852013-05-08 Ondřej Bílka <neleai@seznam.cz>
3286
3287 * benchtests/bench-skeleton.c (main): Preheat CPU.
3288
ba853947
AJ
32892013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3290
3291 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3292
8347c74c
RM
32932013-05-07 Roland McGrath <roland@hack.frob.com>
3294
3295 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3296 and _dl_skip_args_internal.
3297
e8dd4791
CD
32982013-05-07 Carlos O'Donell <carlos@redhat.com>
3299
3300 * manual/message.texi (Message Translation): Talk about users.
3301 Message to key mapping impacts design.
3302
c7405830
RM
33032013-05-06 Roland McGrath <roland@hack.frob.com>
3304
a9173057
RM
3305 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3306
976e2f03
RM
3307 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3308
9723ffc5
RM
3309 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3310 * sysdeps/wordsize-64/glob64.c: ... here.
3311
962e6658
RM
3312 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3313 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3314 New macros.
3315
ee586a6d
RM
3316 * debug/getlogin_r_chk.c: Moved to ...
3317 * login/getlogin_r_chk.c: ... here.
3318 * debug/Makefile (routines): Move getlogin_r_chk to ...
3319 * login/Makefile (routines): ... here.
3320 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3321 * login/Versions (libc: GLIBC_2.4): ... here.
3322
355f9165
RM
3323 * io/poll.c (__poll): Renamed from poll.
3324 Add libc_hidden_def.
3325 (poll): Define as weak alias.
3326
bd9ffde6
RM
3327 * debug/ptsname_r_chk.c: Moved to ...
3328 * login/ptsname_r_chk.c: ... here.
3329 * debug/Makefile (routines): Move ptsname_r_chk to ...
3330 * login/Makefile (routines): ... here.
3331 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3332 * login/Versions (libc: GLIBC_2.4): ... here.
3333
8fb16a04
RM
3334 * posix/getlogin.c: Moved to ...
3335 * login/getlogin.c: ... here.
3336 * posix/getlogin_r.c: Moved to ...
3337 * login/getlogin_r.c: ... here.
3338 * posix/getlogin_r.c: Moved to ...
3339 * login/getlogin_r.c: ... here.
3340 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3341 * login/Makefile (routines): ... here.
3342 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3343 * login/Versions (libc: GLIBC_2.0): ... here.
3344
b99b892f
RM
3345 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3346 (setrlimit): Define as weak alias.
3347
c7405830
RM
3348 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3349 Call __ names for open, ftruncate, and close.
3350 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3351 (truncate): Define as weak alias.
3352
5bf96de5
JM
33532013-05-06 Joseph Myers <joseph@codesourcery.com>
3354
9ea3513c
JM
3355 * math/gen-libm-test.pl (parse_args): Initialize x before each
3356 test of frexp, modf and remquo.
3357
5bf96de5
JM
3358 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3359 test signgam value.
3360
16e616a7
AZ
33612013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3362
3363 [BZ #15418]
3364 [BZ #15419]
3365 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3366 internal tests.
3367 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3368
d5e82754
RM
33692013-05-06 Roland McGrath <roland@hack.frob.com>
3370
3371 * elf/dl-writev.h: New file.
3372 * elf/dl-misc.c: Include it.
3373 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3374 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3375
a7548d41
JM
33762013-05-04 Joseph Myers <joseph@codesourcery.com>
3377
b7dab1e4
JM
3378 * math/libm-test.inc (noXFails): Remove variable.
3379 (noXPasses): Likewise.
3380 (BUILD_COMPLEX_INT): Remove macro.
3381 (print_screen): Remove xfail argument.
3382 (print_screen_max_error): Likewise.
3383 (update_stats): Likewise.
3384 (print_max_error): Likewise. Update calls to other affected
3385 functions.
3386 (print_complex_max_error): Likewise.
3387 (test_single_exception): Update calls to print_screen.
3388 (test_single_errno): Likewise.
3389 (check_float_internal): Remove xfail argument. Update calls to
3390 other affected functions.
3391 (check_float): Likewise.
3392 (check_complex): Likewise.
3393 (check_int): Likewise.
3394 (check_long): Likewise.
3395 (check_bool): Likewise.
3396 (check_longlong): Likewise.
3397 (main): Don't print noXFails and noXPasses.
3398 * math/gen-libm-test.pl (top level): Don't mention expected
3399 failure handling in comment.
3400 (new_test): Don't handle expected failures.
3401 (parse_args): Don't mention expected failure handling in comment.
3402 (generate_testfile): Don't handle expected failures.
3403 (parse_ulps): Likewise.
3404 (print_ulps_file): Likewise.
3405 (get_failure): Remove function.
3406 (output_test): Don't handle expected failures.
3407 * make/README.libm-test: Don't mention expected failure handling.
3408
a7548d41
JM
3409 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3410 (minus_zero): Likewise.
3411 (plus_infty): Likewise.
3412 (minus_infty): Likewise.
3413 (qnan_value): Likewise.
3414 (max_value): Likewise.
3415 (min_value): Likewise.
3416 (min_subnorm_value): Likewise.
3417 (initialize): Do not initialize those variables dynamically.
3418
60bfd54c
RM
34192013-05-03 Roland McGrath <roland@hack.frob.com>
3420
cc0e6ed8
RM
3421 * io/open.c (__open_2): Moved to ...
3422 * io/open_2.c: ... this new file.
3423 * io/open64.c (__open64_2): Moved to ...
3424 * io/open64_2.c: ... this new file.
3425 * io/openat.c (__openat_2): Moved to ...
3426 * io/openat_2.c: ... this new file.
3427 * io/openat64.c (__openat64_2): Moved to ...
3428 * io/openat64_2.c: ... this new file.
3429 * io/Makefile (routines): Add them.
3430 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3431 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3432 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3433 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3434 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3435 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3436 (__openat64): Add hidden_ver.
3437 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3438 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3439
60bfd54c
RM
3440 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3441 Separately conditionalize setting of GLRO(dl_sysinfo) so
3442 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3443 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3444
83e7640f
AZ
34452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3446
3447 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3448 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3449 definition.
3450 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3451 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3452 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3453 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3454 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3455
d5dc2af3
JM
34562013-05-03 Joseph Myers <joseph@codesourcery.com>
3457
c31a5b1e
JM
3458 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3459 test signgam value.
3460
d5dc2af3
JM
3461 * math/libm-test.inc (hypot_test): Do not use
3462 IGNORE_ZERO_INF_SIGN.
3463
164fd39d
AJ
34642013-05-03 Andreas Jaeger <aj@suse.de>
3465
3466 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3467 Linux 3.9.
3468 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3469 (PF_MAX): Adjust for VSOCK change.
3470
8237f48c
AZ
34712013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3472
3473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3474
9df02941
CD
34752013-05-02 Carlos O'Donell <carlos@redhat.com>
3476
3477 [BZ #15264]
3478 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3479 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3480 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3481
d422395e
DM
34822013-05-02 David S. Miller <davem@davemloft.net>
3483
3484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3485
a07c5731
OB
34862013-05-01 Ondřej Bílka <neleai@seznam.cz>
3487
3488 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3489
1324e37f
RM
34902013-05-01 Roland McGrath <roland@hack.frob.com>
3491
3492 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3493
0695940b
RS
34942013-05-01 Richard Smith <richard@metafoo.co.uk>
3495
bb5f27ad 3496 [BZ #14952]
0695940b
RS
3497 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3498 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3499 Use __attribute__ ((__gnu_inline__)).
3500 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3501 Don't use __attribute__ ((__gnu_inline__)).
3502
10de07f5
JM
35032013-05-01 Joseph Myers <joseph@codesourcery.com>
3504
3505 [BZ #15423]
3506 * math/s_catan.c (__catan): Handle small real or imaginary part of
3507 input specially to avoid spurious underflow.
3508 * math/s_catanf.c (__catanf): Likewise.
3509 * math/s_catanh.c (__catanh): Likewise.
3510 * math/s_catanhf.c (__catanhf): Likewise.
3511 * math/s_catanhl.c (__catanhl): Likewise.
3512 * math/s_catanl.c (__catanl): Likewise.
3513 * math/libm-test.inc (catan_test): Add more tests.
3514 (catanh_test): Likewise.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517
cb4d5414
AZ
35182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3519
3520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3521
caf84319
JM
35222013-04-30 Joseph Myers <joseph@codesourcery.com>
3523
3524 [BZ #15416]
3525 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3526 accurately for denominator in atan2.
3527 * math/s_catanf.c (__catanf): Likewise.
3528 * math/s_catanh.c (__catanh): Likewise.
3529 * math/s_catanhf.c (__catanhf): Likewise.
3530 * math/s_catanhl.c (__catanhl): Likewise.
3531 * math/s_catanl.c (__catanl): Likewise.
3532 * math/libm-test.inc (catan_test): Add more tests.
3533 (catanh_test): Likewise.
3534 * sysdeps/i386/fpu/libm-test-ulps: Update.
3535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3536
d569c6ee
SP
35372013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3538
6dbe713d
SP
3539 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3540
f0ee064b
SP
3541 * benchtests/Makefile (bench): Remove slow benchmarks.
3542 * benchtests/atan-inputs: Add slow benchmark inputs.
3543 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3544 (BENCH_FUNC): Accept variant offset.
3545 (VARIANT): Define.
3546 * benchtests/bench-skeleton.c (main): Run benchmark for each
3547 variant.
3548 * benchtests/cos-inputs: Add slow benchmark inputs.
3549 * benchtests/exp-inputs: Likewise.
3550 * benchtests/pow-inputs: Likewise.
3551 * benchtests/sin-inputs: Likewise.
3552 * benchtests/slowatan-inputs: Remove.
3553 * benchtests/slowatan.c: Remove.
3554 * benchtests/slowcos-inputs: Remove.
3555 * benchtests/slowcos.c: Remove.
3556 * benchtests/slowexp-inputs: Remove.
3557 * benchtests/slowexp.c: Remove.
3558 * benchtests/slowpow-inputs: Remove.
3559 * benchtests/slowpow.c: Remove.
3560 * benchtests/slowsin-inputs: Remove.
3561 * benchtests/slowsin.c: Remove.
3562 * benchtests/slowtan-inputs: Remove.
3563 * benchtests/slowtan.c: Remove.
3564 * benchtests/tan-inputs: Add slow benchmark inputs.
3565 * scripts/bench.pl: Parse comments and directives.
3566
d569c6ee
SP
3567 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3568 in CPPFLAGS.
3569 ($(objpfx)bench-%.c): Remove *-ITER.
3570 * benchtests/bench-modf.c: Remove definition of ITER.
3571 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3572 (main): Loop for DURATION seconds instead of fixed number of
3573 iterations.
3574 * scripts/bench.pl: Don't expect iterations in parameters.
3575
a6a242fe
RM
35762013-04-29 Roland McGrath <roland@hack.frob.com>
3577
3578 * io/fchdir.c (__fchdir): Renamed from fchdir.
3579 (fchdir): Define as weak alias.
3580
f2da7793
JM
35812013-04-29 Joseph Myers <joseph@codesourcery.com>
3582
3583 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3584 (ERRNO_EDOM): Likewise.
3585 (ERRNO_ERANGE): Likewise.
3586 (noErrnoTests): New variable.
3587 (init_max_error): Set errno to 0.
3588 (test_single_errno): New function.
3589 (test_errno): Likewise.
3590 (check_float_internal): Call test_errno. Set errno to 0.
3591 (check_complex): Refer to errno tests in comment.
3592 (check_int): Call test_errno. Set errno to 0.
3593 (check_long): Likewise.
3594 (check_bool): Likewise.
3595 (check_longlong): Likewise.
3596 (cos_test): Use ERRNO_* flags for errno tests instead of
3597 check_int.
3598 (expm1_test): Likewise.
3599 (fmod_test): Likewise.
3600 (ilogb_test): Likewise.
3601 (lgamma_test): Likewise.
3602 (pow_test): Likewise.
3603 (remainder_test): Likewise.
3604 (sin_test): Likewise.
3605 (tan_test): Likewise.
3606 (yn_test): Likewise.
3607 (initialize): Set errno to 0.
3608 (main): Print number of errno tests.
3609 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3610
b1a36ceb
AJ
36112013-04-29 Andreas Jaeger <aj@suse.de>
3612
c3ed8088
AJ
3613 [BZ #15084]
3614 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3615 and RES_USEVC.
3616
f1a24198
AJ
3617 [BZ #15085]
3618 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3619 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3620 unimplemented.
3621
9ce3b2cb
AJ
3622 [BZ #15380]
3623 * stdlib/random.c (__initstate): Return NULL if
3624 __initstate fails.
3625
f1a24198 3626 [BZ #15086]
b1a36ceb
AJ
3627 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3628 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3629 RES_SNGLKUPREOP.
3630
7e7b6f36
AZ
36312013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632
3633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3634
4d14f449
JM
36352013-04-29 Joseph Myers <joseph@codesourcery.com>
3636
3637 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3638 of individual tests.
3639 (casin_test): Likewise.
3640 (casinh_test): Likewise.
3641
5b4217d7
JM
36422013-04-27 Joseph Myers <joseph@codesourcery.com>
3643
3644 [BZ #15409]
3645 * math/s_catan.c (__catan): Handle arguments with large real or
3646 imaginary part separately without squaring.
3647 * math/s_catanf.c (__catanf): Likewise.
3648 * math/s_catanh.c (__catanh): Likewise.
3649 * math/s_catanhf.c (__catanhf): Likewise.
3650 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3651 and redefine.
3652 (__catanhl): Handle arguments with large real or imaginary part
3653 separately without squaring.
3654 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3655 and redefine.
3656 (__catanl): Handle arguments with large real or imaginary part
3657 separately without squaring.
3658 * math/libm-test.inc (catan_test): Add more tests.
3659 (catanh_test): Likewise.
3660 * sysdeps/i386/fpu/libm-test-ulps: Update.
3661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3662
4220c3ef
AJ
36632013-04-27 Andreas Jaeger <aj@suse.de>
3664
3665 [BZ #15007]
3666 * stdlib/stdlib.h: Update guards for qecvt.
3667 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3668 <stdlib.h>.
3669
4721b2d1
AM
36702013-04-27 Allan McRae <allan@archlinux.org>
3671
3672 * sysdeps/i386/fpu/libm-test-ulps: Update.
3673
f0302940
JM
36742013-04-26 Joseph Myers <joseph@codesourcery.com>
3675
9457fd95
JM
3676 [BZ #15406]
3677 * math/s_catan.c: Include <float.h>.
3678 (__catan): Ensure underflow exception occurs for underflowed
3679 result.
3680 * math/s_catanf.c: Include <float.h>.
3681 (__catanf): Ensure underflow exception occurs for underflowed
3682 result.
3683 * math/s_catanh.c: Include <float.h>.
3684 (__catanh): Ensure underflow exception occurs for underflowed
3685 result.
3686 * math/s_catanhf.c: Include <float.h>.
3687 (__catanhf): Ensure underflow exception occurs for underflowed
3688 result.
3689 * math/s_catanhl.c: Include <float.h>.
3690 (__catanhl): Ensure underflow exception occurs for underflowed
3691 result.
3692 * math/s_catanl.c: Include <float.h>.
3693 (__catanl): Ensure underflow exception occurs for underflowed
3694 result.
3695 * math/libm-test.inc (catan_test): Add more tests.
3696 (catanh_test): Likewise.
3697
f0302940
JM
3698 [BZ #15405]
3699 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3700 underflowed result.
3701 * math/s_ccoshf.c (__ccoshf): Likewise.
3702 * math/s_ccoshl.c (__ccoshl): Likewise.
3703 * math/s_csin.c (__csin): Likewise.
3704 * math/s_csinf.c (__csinf): Likewise.
3705 * math/s_csinh.c (__csinh): Likewise.
3706 * math/s_csinhf.c (__csinhf): Likewise.
3707 * math/s_csinhl.c (__csinhl): Likewise.
3708 * math/s_csinl.c (__csinl): Likewise.
3709 * math/libm-test.inc (ccos_test): Add more tests.
3710 (ccosh_test): Likewise.
3711 (csin_test): Likewise.
3712 (csinh_test): Likewise.
3713
aa630f59
AZ
37142013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3715
3716 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3717 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3718 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3719 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3720 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3721 powerpc/power5+/fpu folders.
3722 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3723
3724
1b835983
MT
37252013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3726
3727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3728
73709b26
JM
37292013-04-25 Joseph Myers <joseph@codesourcery.com>
3730
3731 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3732 additions to variable.
3733 [$(config-machine) = x86_64] (modules-names): Likewise.
3734 ($(objpfx)tst-audit3): Remove dependency.
3735 ($(objpfx)tst-audit3.out): Likewise.
3736 ($(objpfx)tst-audit4): Likewise.
3737 ($(objpfx)tst-audit4.out): Likewise.
3738 ($(objpfx)tst-audit5): Likewise.
3739 ($(objpfx)tst-audit5.out): Likewise.
3740 ($(objpfx)tst-audit6): Likewise.
3741 ($(objpfx)tst-audit6.out): Likewise.
3742 ($(objpfx)tst-audit7): Likewise.
3743 ($(objpfx)tst-audit7.out): Likewise.
3744 (tst-audit3-ENV): Remove variable.
3745 (tst-audit4-ENV): Likewise.
3746 (tst-audit5-ENV): Likewise.
3747 (tst-audit6-ENV): Likewise.
3748 (tst-audit7-ENV): Likewise.
3749 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3750 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3751 addition to variable.
3752 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3753 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3754 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3755 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3756 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3757 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3758 tst-audit3, tst-audit4 and tst-audit5.
3759 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3760 tst-audit6 and tst-audit7.
3761 [$(subdir) = elf] (modules-names): Add audit modules for those
3762 tests.
3763 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3764 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3765 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3766 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3767 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3768 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3769 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3770 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3771 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3772 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3773 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3774 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3775 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3776 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3777 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3778 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3779 Likewise.
3780 [$(subdir) = elf && $(config-cflags-avx) = yes]
3781 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3782 [$(subdir) = elf && $(config-cflags-avx) = yes]
3783 (CFLAGS-tst-auditmod4a.c): Likewise.
3784 [$(subdir) = elf && $(config-cflags-avx) = yes]
3785 (CFLAGS-tst-auditmod4b.c): Likewise.
3786 [$(subdir) = elf && $(config-cflags-avx) = yes]
3787 (CFLAGS-tst-auditmod6b.c): Likewise.
3788 [$(subdir) = elf && $(config-cflags-avx) = yes]
3789 (CFLAGS-tst-auditmod6c.c): Likewise.
3790 [$(subdir) = elf && $(config-cflags-avx) = yes]
3791 (CFLAGS-tst-auditmod7b.c): Likewise.
3792 * elf/tst-audit3.c: Move to ...
3793 * sysdeps/x86_64/tst-audit3.c: ... here.
3794 * elf/tst-audit4.c: Move to ...
3795 * sysdeps/x86_64/tst-audit4.c: ... here.
3796 * elf/tst-audit5.c: Move to ...
3797 * sysdeps/x86_64/tst-audit5.c: ... here.
3798 * elf/tst-audit6.c: Move to ...
3799 * sysdeps/x86_64/tst-audit6.c: ... here.
3800 * elf/tst-audit7.c: Move to ...
3801 * sysdeps/x86_64/tst-audit7.c: ... here.
3802 * elf/tst-auditmod3a.c: Move to ...
3803 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3804 * elf/tst-auditmod3b.c: Move to ...
3805 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3806 * elf/tst-auditmod4a.c: Move to ...
3807 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3808 * elf/tst-auditmod4b.c: Move to ...
3809 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3810 * elf/tst-auditmod5a.c: Move to ...
3811 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3812 * elf/tst-auditmod5b.c: Move to ...
3813 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3814 * elf/tst-auditmod6a.c: Move to ...
3815 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3816 * elf/tst-auditmod6b.c: Move to ...
3817 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3818 * elf/tst-auditmod6c.c: Move to ...
3819 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3820 * elf/tst-auditmod7a.c: Move to ...
3821 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3822 * elf/tst-auditmod7b.c: Move to ...
3823 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3824
1ef74943
PP
38252013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3826
3827 [BZ #15366]
3828 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3829 define unconditionally.
3830 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3831 define unconditionally.
3832 (INT8_C, INT16_C, etc.): Likewise.
3833
93fd48c5
MR
38342013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3835
ae9552cf
MR
3836 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3837 __ehdr_start with hidden visibility.
3838
93fd48c5
MR
3839 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3840
418601aa
CD
38412013-04-24 Carlos O'Donell <carlos@redhat.com>
3842
3843 * math/libm-test.inc (cos_test): Use accurate hex constants.
3844 (sincost_test): Likewise.
3845
2f38fbfe
JM
38462013-04-24 Joseph Myers <joseph@codesourcery.com>
3847
5e221800
JM
3848 * math/libm-test.inc (catan_test): Add more tests.
3849 (catanh_test): Likewise.
3850
77f143fd
JM
3851 * math/s_catanf.c (__catanf): Use suffixed floating-point
3852 constants.
3853 * math/s_catanhf.c (__catanhf): Likewise.
3854 * math/s_catanhl.c (__catanhl): Likewise.
3855 * math/s_catanl.c (__catanl): Likewise.
3856
2f38fbfe
JM
3857 [BZ #15394]
3858 * math/s_catan.c (__catan): Calculate imaginary part of result
3859 with log1p not log unless computing log of number close to 0.
3860 * math/s_catanf.c (__catanf): Likewise.
3861 * math/s_catanl.c (__catanl): Likewise.
3862 * math/s_catanh.c (__catanh): Calculate real part of result with
3863 log1p not log unless computing log of number close to 0.
3864 * math/s_catanhf.c (__catanhf): Likewise.
3865 * math/s_catanhl.c (__catanhl): Likewise.
3866 * math/libm-test.inc (catan_test): Add more tests.
3867 (catanh_test): Likewise.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3870
45d69176
SP
38712013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3872
3873 * benchtests/Makefile: Mention files in which fast and slow
3874 paths of math functions are implemented.
3875
87f51853
RM
38762013-04-23 Roland McGrath <roland@hack.frob.com>
3877
3878 * sysdeps/posix/timespec_get.c: New file.
3879
3c026539
AZ
38802013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3881
3882 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3883 POWER.
3884 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3885 for POWER.
3886 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3887 powerpc/power5/fpu folders.
3888 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3889 * benchtests/Makefile: Add modf testcase.
3890 * benchtests/bench-modf.c: New file: Benchmark test for mo
3891
ff491d14
SP
38922013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 [BZ #14888]
3895 * time/Makefile (tests): Add tst-strptime-whitespace.
3896 * time/strptime_l.c (get_number): Use ISSPACE.
3897 (__strptime_internal): Likewise.
3898 * time/tst-strptime-whitespace.c: New test case.
3899
7ed3f4e8
AS
39002013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3901
3902 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3903 member.
3904 (_nss_files_init): Set it here.
3905
5c95f7b6
HC
39062013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3907
3908 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3909 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3910 unsigned.
3911
d34c9158
JBG
39122013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3913
3914 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3915
2169712d
SP
39162013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3917
3918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3919 size just once.
3920
29c5de99
DM
39212013-04-21 David S. Miller <davem@davemloft.net>
3922
3923 * po/ru.po: Update Russion translation from translation project.
3924
ccdad15d
AC
39252013-04-17 Adam Conrad <adconrad@0c3.net>
3926
3927 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3928 and setfsgid.
3929
0f122b8d
CD
39302013-04-17 Carlos O'Donell <carlos@redhat.com>
3931
5c5b07da 3932 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3933 * configure: Regenerate.
5c5b07da 3934 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3935 Add example to error message.
3936 * sysdeps/i386/configure: Regenerate.
3937
037714dd
SP
39382013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3939
3940 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3941 slowtan.
3942 * benchtests/cos-inputs: New file.
3943 * benchtests/slowcos-inputs: New file.
3944 * benchtests/slowcos.c: New file.
3945 * benchtests/slowtan-inputs: New file.
3946 * benchtests/slowtan.c: New file.
3947 * benchtests/tan-inputs: New file.
3948
e913141d
RM
39492013-04-16 Roland McGrath <roland@hack.frob.com>
3950
3951 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3952 considered kosher.
3953
a2964074
SP
39542013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3955
4856bcd2
SP
3956 * benchtests/Makefile: Include cppflags-iterator.mk to add
3957 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3958
a2964074
SP
3959 * Makefile.in (bench-clean): New target.
3960 * benchtests/Makefile (bench-clean): Likewise.
3961
9fbf9aca
DH
39622013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3963
3964 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3965
207d1e2a
TS
39662013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3967
3968 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3969
306dfba9
AS
39702013-04-15 Andreas Schwab <schwab@suse.de>
3971
3972 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3974 * nscd/pwdcache.c (cache_addpw): Likewise.
3975 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3976 more than recsize.
3977
206a6699
SP
39782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3979
3980 * benchtests/Makefile (bench): Write all output to
3981 bench-out.tmp together.
3982
0582f6b3
AS
39832013-04-15 Andreas Schwab <schwab@suse.de>
3984
3985 * nscd/nscd.c (main): Don't fork again after closing files.
3986
acb4325f
SP
39872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3988
5cb26d0a
SP
3989 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3990
acb4325f
SP
3991 * benchtests/Rules (bench-deps): Collect dependencies into a
3992 single variable. Add Makefile to dependencies.
3993 ($(objpfx)bench-%.c): Depend on bench-deps.
3994
47792506
RM
39952013-04-12 Roland McGrath <roland@hack.frob.com>
3996 Xavier Roche <roche+kml2@exalead.com>
3997
3998 [BZ #15361]
3999 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4000 just that it's a file descriptor.
4001 * manual/llio.texi (Synchronizing AIO Operations): Update description
4002 for EBADF error from aio_fsync.
4003
8fc1bee5
SP
40042013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4005
4006 * Rules (bench): Move target definition...
4007 * benchtests/Makefile: ... here.
4008
aba5e333
CD
40092013-04-11 Carlos O'Donell <carlos@redhat.com>
4010
4011 * math/libm-test.inc (cos_test): Fix PI/2 test.
4012 (sincos_test): Likewise.
4013 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4014 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4015
273cdee8
AS
40162013-04-11 Andreas Schwab <schwab@suse.de>
4017
6ecec3b6
AS
4018 [BZ #13988]
4019 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4020 accept exponent character only when digits were seen.
4021 * stdio-common/Makefile (tests): Add bug26.
4022 * stdio-common/bug26.c: New file.
4023
273cdee8
AS
4024 [BZ #14293]
4025 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4026 non-freeable.
4027
8da491f5
SP
40282013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4029
01dc6df9
SP
4030 * Makeconfig (rtld-prefix): Define built linker prefix.
4031 * Rules (run-bench): Use it.
4032 * math/Makefile (run-regen-ulps): Likewise.
4033
8da491f5
SP
4034 * Rules (bench): Remove eval.
4035
abe7f530
SP
40362013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4037 Roland McGrath <roland@hack.frob.com>
4038 Ondrej Bilka <neleai@seznam.cz>
4039
4040 [BZ #15346]
4041 * time/getdate.c: Include ctype.h and alloca.h.
4042 (__getdate_r): Trim leading and trailing spaces of input.
4043 * time/tst-getdate.c (tests): Add tests with leading and
4044 trailing spaces.
4045
61c23e62
RM
40462013-04-08 Roland McGrath <roland@hack.frob.com>
4047
4048 [BZ #14280]
4049 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4050 when computing value.
4051
7208a313
CD
40522013-04-06 Carlos O'Donell <carlos@redhat.com>
4053
085b2d41
CD
4054 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4055 Use testrun.sh to run libm tests.
4056
7208a313
CD
4057 [BZ #15309]
4058 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4059
872c0acd
MM
40602013-04-06 Marko Myllynen <myllynen@redhat.com>
4061
4062 [BZ #15264]
4063 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4064
26510bdd
CD
40652013-04-06 Carlos O'Donell <carlos@redhat.com>
4066
4067 * Makefile.in (regen-ulps): New target.
4068 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4069 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4070 [ifneq (no,$(PERL)] (regen-ulps): New target.
4071 [ifeq (no,$(PERL)] (regen-ulps): New target.
4072 * math/libm-test.inc (ulps_file_name): Define.
4073 (output_dir): New variable.
4074 (options): Add "output-dir" option.
4075 (parse_opt): Handle 'o' case.
4076 (main): If output_dir is non-NULL use it as a prefix
4077 otherwise use "".
4078 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4079
a01f19c8
CD
40802013-04-06 Carlos O'Donell <carlos@redhat.com>
4081
4082 [BZ #10060, #10062]
4083 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4084 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4085 fail configure if __sync_val_compare_and_swap is not inlined.
4086 * sysdeps/i386/configure: Regenerate.
4087 * configure.in: Build for i686 when configured for i386.
4088 * configure: Regenerate.
4089 * README: Remove i386 reference.
4090
b7a329a5
CD
40912013-04-06 Carlos O'Donell <carlos@redhat.com>
4092
4093 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4095
bf0f50df
TS
40962013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4097
ee091edf
TS
4098 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4099 (lmsnanval): New variables.
4100 (F): Add conversion tests.
4101 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4102 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4103
a8b792d6
TS
4104 * stdio-common/tstdiomisc.c (F): Properly collect individual
4105 tests' results.
4106
a1cbf437
TS
4107 [BZ #14686, #15336]
4108 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4109 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4110 Instead, use input NaN values or generate a qNaN by arithmetic
4111 operation. Also fix bugs to comply with the standard.
4112 * math/libm-test.inc (remainder_test): Add more tests.
4113
8b43a0c9
TS
4114 [BZ #15335, #15342]
4115 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4117 input NaN values or generate a qNaN by arithmetic operation.
4118
d91da4ce
TS
4119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4120 unreachable code.
4121
bf0f50df
TS
4122 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4123 definitions.
4124
05e166c8
JM
41252013-04-03 Joseph Myers <joseph@codesourcery.com>
4126
4127 [BZ #14478]
4128 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4129 underflowed result.
4130 * math/s_cexpf.c (__cexpf): Likewise.
4131 * math/s_cexpl.c (__cexpl): Likewise.
4132 * math/libm-test.inc (cexp_test): Add more tests.
4133
1cef1b19
AS
41342013-04-03 Andreas Schwab <schwab@suse.de>
4135
4136 [BZ #15330]
4137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4138 order arrays from heap if bigger than alloca cutoff.
4139
74d87055
TS
41402013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4141
4142 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4143 (SNAN_TESTS_double): Refer to GCC PR56831.
4144 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4145 GCC PR56828.
4146
d755bba4
SP
41472013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4148
90d5d5bb
SP
4149 * Rules (bench): Move bench.out after the run is complete.
4150
73e0cd5d
SP
4151 * Rules (bench): Echo currently running benchmark.
4152
64aabd4b
SP
4153 * benchtests/Makefile (bench): Add atan and slowatan.
4154 * benchtests/atan-inputs: New file.
4155 * benchtests/slowatan-inputs: New file.
4156 * benchtests/slowatan.c: New file.
4157
c871eccd
SP
4158 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4160 its value.
4161
d755bba4
SP
4162 [BZ #15305]
4163 * sysdeps/unix/sysv/linux/kernel-features.h
4164 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4165 __ASSUME_XFS_RESTRICTED_CHOWN.
4166 * sysdeps/unix/sysv/linux/pathconf.c
4167 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4168 Save and restore errno.
4169
52ce4860
JM
41702013-04-02 Joseph Myers <joseph@codesourcery.com>
4171
4172 [BZ #15327]
4173 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4174 arguments using __kernel_casinh.
4175 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4176 arguments using __kernel_casinhf.
4177 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4178 arguments using __kernel_casinhl.
4179 * math/libm-test.inc (cacosh_test): Add more tests.
4180 * sysdeps/i386/fpu/libm-test-ulps: Update.
4181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4182
81f311c2
SP
41832013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4184
e7906a47
SP
4185 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4187
92e3664b
SP
4188 * bench/Makefile (bench): Add sin and slowsin.
4189 * benchtests/sin-inputs: New file.
4190 * benchtests/slowsin-inputs: New file.
4191 * benchtests/slowsin.c: New file.
4192
81f311c2
SP
4193 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4194 (bench): Add slowexp and slowpow.
4195 (exp-ITER): Increase iterations.
4196 (pow-ITER): Likewise.
4197 * benchtests/exp-inputs: Change input.
4198 * benchtests/pow-inputs: Likewise.
4199 * benchtests/slowexp-inputs: New file.
4200 * benchtests/slowexp.c: New file.
4201 * benchtests/slowpow-inputs: New file.
4202 * benchtests/slowpow.c: New file.
4203
ab0f1aa9
AZ
42042013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4205
4206 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4207 instructions.
4208 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4209 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4210 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4211 * benchtests/Makefile: Add rint benchtest.
4212 * benchtests/rint-inputs: Input for rint benchtest.
4213
57267616
TS
42142013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4215
4216 * Versions.def (libm): Add GLIBC_2.18.
4217 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4218 hidden libm prototypes.
4219 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4220 * math/Makefile (libm-calls): Add s_issignaling.
4221 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4222 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4223 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4224 declaration.
4225 * math/math.h [__USE_GNU] (issignaling): New macro.
4226 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4227 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4232 * manual/arith.texi (issignaling): New section.
4233 * manual/libm-err-tab.pl (@all_functions): Update comment.
4234 * math/gen-libm-test.pl (parse_args): Apply special handling for
4235 issignaling.
4236 * math/libm-test.inc (print_float, issignaling_test): New
4237 functions.
4238 (check_float_internal): Add issignaling checks.
4239 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4240 default definition.
4241 * sysdeps/powerpc/math-tests.h: New file.
4242 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4243 tests.
4244 * math/test-snan.c (TEST_FUNC): Likewise.
4245
6142896d
DM
42462013-03-30 David S. Miller <davem@davemloft.net>
4247
4248 * po/de.po: Update from translation team.
4249
ccc8cadf
JM
42502013-03-30 Joseph Myers <joseph@codesourcery.com>
4251
4252 [BZ #10357]
4253 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4254 imaginary part less than 1.0 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 (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4259 (cacos_test): Add more tests.
4260 (casin_test): Likewise.
4261 (casinh_test): Likewise.
4262 * sysdeps/i386/fpu/libm-test-ulps: Update.
4263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4264
0f6a8d4b
SP
42652013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4266
0d1029de
SP
4267 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4268 ONE with its value.
4269
c2d94018
SP
4270 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4271 (__pow_mp): Replace ONE and MONE with their values.
4272 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4273 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4274 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4275 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4277 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4278
27ec37f1
SP
4279 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4280
a64d7e0e
SP
4281 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4282 (__pow_mp): Replace ZERO and MZERO with their values.
4283 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4285 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4287 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4288 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4289 (__sqr): Likewise.
4290
d26dd3eb
SP
4291 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4292
0f6a8d4b
SP
4293 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4294
e57b0c61
RM
42952013-03-28 Roland McGrath <roland@hack.frob.com>
4296
4297 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4298 Declare with __attribute__ ((weak)).
4299 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4300 Call __call_tls_dtors only if it's not NULL.
4301
356b3480
RM
43022013-03-28 Roland McGrath <roland@hack.frob.com>
4303
288f7d79
RM
4304 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4305 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4306 magic __ehdr_start linker symbol if it's defined.
4307 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4308 them up here if it was already done.
4309
dc0a0263
RM
4310 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4311 (_dl_aux_init): Use const in cast when setting it.
4312 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4313 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4314 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4315
3d3436ae
RM
4316 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4317 Declare them here.
4318 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4319 * csu/libc-tls.c: Nor here.
4320 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4321
356b3480
RM
4322 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4323 (__libc_message): Never call vsyslog.
4324
b0f1246a
AM
43252013-03-28 Alan Modra <amodra@gmail.com>
4326
4327 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4328 Define as empty.
4329 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4330 Likewise.
4331
fbbe2b9a
AZ
43322013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4333
4334 [BZ #15214]
4335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4336 underflow.
4337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4338
1728ab37
SP
43392013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
7a86be6e
SP
4341 [BZ #15304]
4342 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4343 Don't add gid passed as argument.
4344
1728ab37
SP
4345 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4346
3a7182a1
JM
43472013-03-27 Joseph Myers <joseph@codesourcery.com>
4348
4349 [BZ #15307]
4350 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4351 imaginary part between 1.0 and 1.5 and real part less than 0.5
4352 specially.
4353 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4354 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4355 * math/libm-test.inc (cacos_test): Add more tests.
4356 (casin_test): Likewise.
4357 (casinh_test): Likewise.
4358 * sysdeps/i386/fpu/libm-test-ulps: Update.
4359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360
6f2e90e7
SP
43612013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
5739f705
SP
4363 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4364 constants.
4365 (norm): Likewise.
4366 (denorm): Likewise.
4367 (__dbl_mp): Likewise.
4368 (add_magnitudes): Likewise.
4369 (sub_magnitudes): Likewise.
4370 (__add): Likewise.
4371 (__sub): Likewise.
4372 (__mul): Likewise.
4373 (__sqr): Likewise.
4374 (__inv): Likewise.
4375 (__dvd): Likewise.
4376
e375e83d
SP
4377 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4378 commented code.
4379 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4380 (__dubcos): Likewise.
4381 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4382 (__ieee754_acos): Likewise.
4383 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4384 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4385 (__exp1): Likewise.
4386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4387 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4388 (log1): Likewise.
4389 (my_log2): Likewise.
4390 (checkint): Likewise.
4391 * sysdeps/ieee754/dbl-64/e_remainder.c
4392 (__ieee754_remainder): Likewise.
4393 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4395 (bsloww): Likewise.
4396 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4397
6f2e90e7
SP
4398 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4399 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4400 MANTISSA_STORE_T to store computations on mantissa. Use
4401 macros for rounding and division.
4402 (denorm): Likewise.
4403 (__dbl_mp): Likewise.
4404 (add_magnitudes): Likewise.
4405 (sub_magnitudes): Likewise.
4406 (__mul): Likewise.
4407 (__sqr): Likewise.
4408 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4409 powers of two in terms of TWOPOW macro.
4410 (mp_no): Make type of mantissa as MANTISSA_T.
4411 [!RADIXI]: Define RADIXI.
4412 [!TWO52]: Define TWO52.
4413 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4414
fce14d4e
AZ
44152013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4416
4417 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4418 llroundl symbol when building for PPC32.
4419
9ad027fb
MW
44202013-03-24 Mark H Weaver <mhw@netris.org>
4421
4422 * manual/arith.texi (Normalization Functions): Fix prototypes for
4423 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4424
e42a38dd
AZ
44252013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426
4427 [BZ #13889]
4428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4429 high value to check if expl overflow.
4430 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4431 to check for underflow and overflow.
4432 * math/libm-test.inc: Add exp test.
4433
2e0fb521
DL
44342013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4435
4436 [BZ #11120]
4437 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4438 with NOT_IN_libc.
4439
b5784d95
AZ
44402013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441
4442 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4443 symbol.
4444
5aa4a1a1
TS
44452013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4446
bdef0be7
TS
4447 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4448 wrap blocks consisting of several statements.
4449
5aa4a1a1
TS
4450 * sysdeps/generic/math-tests.h: New file.
4451 * sysdeps/i386/fpu/math-tests.h: Likewise.
4452 * math/test-snan.c: Include it.
4453 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4454
98c48fe5
JM
44552013-03-21 Joseph Myers <joseph@codesourcery.com>
4456
4457 [BZ #15285]
4458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4459 (__ieee754_j0l): Do not improve calculations using cos of twice
4460 input for inputs above LDBL_MAX / 2.0L.
4461 (__ieee754_y0l): Likewise.
4462 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4463 (__ieee754_j1l): Do not improve calculations using cos of twice
4464 input for inputs above LDBL_MAX / 2.0L.
4465 (__ieee754_y1l): Likewise.
4466 * math/libm-test.inc (j0_test): Add another test.
4467 (j1_test): Likewise.
4468 (y0_test): Likewise.
4469 (y1_test): Likewise.
4470 * sysdeps/i386/fpu/libm-test-ulps: Update.
4471
3775a8bc
SP
44722013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
4474 * Rules ($(objpfx)bench-%.c): Include code from a C source
4475 file.
4476
0a1b2ae6
JM
44772013-03-21 Joseph Myers <joseph@codesourcery.com>
4478
4479 [BZ #15287]
4480 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4481 imaginary part 1.0 and real part less than 0.5 specially.
4482 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4483 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4484 * math/libm-test.inc (cacos_test): Add more tests.
4485 (casin_test): Likewise.
4486 (casinh_test): Likewise.
4487 * sysdeps/i386/fpu/libm-test-ulps: Update.
4488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4489
b33d4ce4
SP
44902013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4491
4492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4493 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4494
bef0b507
JM
44952013-03-20 Joseph Myers <joseph@codesourcery.com>
4496
4497 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4498 * config.make.in (config-cflags-sse4): Remove variable.
4499 (config-cflags-avx): Likewise.
4500 (config-cflags-sse2avx): Likewise.
4501 (config-cflags-novzeroupper): Likewise.
4502 (config-asflags-i686): Likewise.
4503 (have-mfma4): Likewise.
4504 (have-as-vis3): Likewise.
4505 (MIG): Likewise.
4506 * configure.in (MIG): Do not AC_SUBST.
4507 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4508 (libc_cv_cc_sse4): Do not AC_SUBST.
4509 (libc_cv_cc_avx): Likewise.
4510 (libc_cv_cc_sse2avx): Likewise.
4511 (libc_cv_cc_novzeroupper): Likewise.
4512 (libc_cv_cc_fma4): Likewise.
4513 (libc_cv_as_i686): Likewise.
4514 (libc_cv_sparc_as_vis3): Likewise.
4515 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4516 LIBC_CONFIG_VAR.
4517 (config-asflags-i686): Likewise.
4518 (config-cflags-avx): Likewise.
4519 (config-cflags-sse2avx): Likewise.
4520 (have-mfma4): Likewise.
4521 (config-cflags-novzeroupper): Likewise.
4522 * sysdeps/mach/configure.in (MIG): Likewise.
4523 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4524 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4525 LIBC_CONFIG_VAR.
4526 (config-cflags-avx): Likewise.
4527 (config-cflags-sse2avx): Likewise.
4528 (have-mfma4): Likewise.
4529 (config-cflags-novzeroupper): Likewise.
4530 * configure: Regenerated.
4531 * sysdeps/i386/configure: Likewise.
4532 * sysdeps/mach/configure: Likewise.
4533 * sysdeps/sparc/configure: Likewise.
4534 * sysdeps/x86_64/configure: Likewise.
4535
912cc4b3
RM
45362013-03-20 Roland McGrath <roland@hack.frob.com>
4537
4538 [BZ #14812]
4539 * locale/programs/localedef.c (options): Put N_ translation marker
4540 on argument names, not just descriptions.
4541
04eed2b0
MS
45422013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4543
4544 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4545
a065ceff
OB
45462013-03-20 Ondřej Bílka <neleai@seznam.cz>
4547
9bb2a810 4548 [BZ #14176]
a065ceff
OB
4549 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4550
a600e5ce
RM
45512013-03-19 Roland McGrath <roland@hack.frob.com>
4552
4553 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4554 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4555 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4556 [!BEFORE_ABORT] (before_abort): New function.
4557 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4558 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4559 (writev_for_fatal): New function.
4560 (WRITEV_FOR_FATAL): New macro; call that.
4561 (backtrace_and_maps): New function.
4562 (BEFORE_ABORT): New macro; call that.
4563 (struct str_list): Type removed.
4564 (__libc_message, __libc_fatal): Functions removed.
4565 Include <sysdeps/posix/libc_fatal.c> instead.
4566
6b18bea6
JM
45672013-03-19 Joseph Myers <joseph@codesourcery.com>
4568
4569 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4570 constants.
4571 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4572 double constants.
4573
aaa8cb4b
AS
45742013-03-19 Andreas Schwab <schwab@suse.de>
4575
44673770
AS
4576 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4577 * sysdeps/gnu/configure: Regenerate.
4578
aaa8cb4b
AS
4579 * configure.in: Substitute libc_cv_rtlddir.
4580 * configure: Regenerate.
4581 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4582 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4583 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4584 * elf/Makefile (install-others, CFLAGS-interp.c)
4585 (ldso_install, common-ldd-rewrite): Likewise.
4586 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4587 $(inst_slibdir)/$(rtld-installed-name).
4588 * scripts/rellns-sh: Add -p option.
4589 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4590 for source.
4591
d3cfc668
SP
45922013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4593
4594 * manual/nptl.texi: Renamed to ...
4595 * manual/threads.texi: ... this.
4596 * manual/Makefile (chapters): Update.
4597
0e2b9cdd
RM
45982013-03-18 Roland McGrath <roland@hack.frob.com>
4599
4600 [BZ #14812]
4601 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4602 on argument names, not just descriptions.
0e2b9cdd
RM
4603 * malloc/memusagestat.c (options): Likewise.
4604 * nss/getent.c (options): Likewise.
63270c24
RM
4605
46062013-03-18 Benno Schulenberg <bensberg@justemail.net>
4607
4608 [BZ #14812]
4609 * iconv/iconv_prog.c (options): Put N_ translation marker
4610 on argument names, not just descriptions.
4611 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4612
b2e1393c
OB
46132013-03-18 Ondrej Bilka <neleai@seznam.cz>
4614
4615 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4616 implementation which is faster on all x86_64 architectures.
4617 Tested on AMD, Intel Nehalem, SNB, IVB.
4618 * sysdeps/x86_64/strnlen.S: Likewise.
4619
4620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4621 Remove all multiarch strlen and strnlen versions.
4622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4623 Remove strlen and strnlen related parts.
4624
4625 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4626 Inline strlen part.
4627 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4628
4629 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4630 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4631 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4632 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4633 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4634 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4635
ec4ff04d
CD
46362013-03-17 Carlos O'Donell <carlos@redhat.com>
4637
4638 * manual/memory.texi (Malloc Tunable Parameters):
4639 Sort parameters alphabetically. Add comments for missing entries.
4640
cd18e90a
DM
46412013-03-17 David S. Miller <davem@davemloft.net>
4642
4643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4644
2a185d32
JM
46452013-03-16 Joseph Myers <joseph@codesourcery.com>
4646
d2f9799e
JM
4647 [BZ #15283]
4648 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4649 for arguments at most half maximum finite value.
4650 * math/libm-test.inc (j0_test): Add more tests.
4651 (j1_test): Likewise.
4652 (y0_test): Likewise.
4653 (y1_test): Likewise.
4654 * sysdeps/i386/fpu/libm-test-ulps: Update.
4655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4656
2a185d32
JM
4657 [BZ #14155]
4658 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4659 1 / x and functions P and Q for arguments above 0x1p256L.
4660 (__ieee754_y0l): Likewise.
4661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4662 (__ieee754_y1l): Likewise.
4663 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4664 (j1_test): Likewise.
4665 (y0_test): Likewise.
4666 (y1_test): Likewise.
4667
6cbec759
TS
46682013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4669
4670 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4671 variable.
4672
bc16e260
RM
46732013-03-15 Roland McGrath <roland@hack.frob.com>
4674
aefc9b8c
RM
4675 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4676 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4677 zero since it's initialized to EXEC_PAGESIZE.
4678
bc16e260
RM
4679 * sysdeps/unix/sysv/linux/ldsodefs.h
4680 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4681 * sysdeps/generic/ldsodefs.h: ... here.
4682
a57da955
TS
46832013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4684
af00a34d
TS
4685 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4686
495ded2c
TS
4687 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4688 math/test-snan.c.
4689 * math/test-snan.c: Renamed from
4690 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4691 * math/Makefile (tests): Add test-snan.
4692 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4693 test-powerpc-snan.
4694
777b0332
TS
4695 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4696 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4697 functions.
4698 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4699 __builtin_nan family of functions.
4700 * math/libm-test.inc (initialize): Initialize qnan_value with
4701 __builtin_nan family of functions.
4702 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4703 Remove variables.
4704 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4705 Remove functions.
4706 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4707 storage class. Initialize qNaN_var and sNaN_var with
4708 __builtin_nan and __builtin_nans families of functions,
4709 respectively.
4710
64d063b8
TS
4711 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4712 (sqrt_test): Remove duplicate test with qNaN input.
4713 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4714 (round_test, signbit_test, significand_test): Note missing +/-Inf
4715 as well as qNaN tests.
4716
67e971f1
TS
4717 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4718 qNaN_var. Fix a few strings, too.
4719 * math/libm-test.inc (nan_value): Rename to qnan_value.
4720 * math/gen-libm-test.pl (%beautify): Adjust to that.
4721 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4722 * math/test-misc.c (main): Likewise.
4723 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4724 to __qnan_bytes, and __qnan_union, respectively.
4725 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4726 Likewise.
4727 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4728 and lqnanval, respectively.
4729 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4730 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4731 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4732 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4733
64487e12
TS
4734 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4735 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4736 doubles.
4737
e015e27b
TS
4738 * math/test-misc.c (main): Fix copy'n'pastos.
4739 * misc/tst-efgcvt.c (special): Likewise.
4740
a57da955
TS
4741 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4742 Remove declarations.
4743
1e380345
SP
47442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4745
4746 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4747 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4748 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4749 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4750
ef26eece
AZ
47512013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4752
4753 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4754 macro to return vdso values correctly in IFUNC implementations.
4755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4756 Optimization by using IFUNC.
4757
8cfdb7e0
SP
47582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4759 Richard Henderson <rth@redhat.com>
4760 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4761
4762 * Makefile.in (bench): New target.
4763 * NEWS: Mention the benchmark framework.
4764 * Rules (bench): Likewise.
4765 (binaries-bench): Generate binaries for functions to
4766 benchmark.
4767 * benchtests/Makefile: New makefile for benchmark tests.
4768 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4769 programs.
4770 * benchtests/exp-inputs: New input file for EXP function.
4771 * benchtests/pow-inputs: New input file for POW function.
4772 * scripts/bench.pl: New script to generate source files for
4773 benchmark programs.
4774
bcda9880
SP
47752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4776
d22ca8cd
SP
4777 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4779 computations on mantissa. Use macros for rounding and
4780 division.
4781 (denorm): Likewise.
4782 (__dbl_mp): Likewise.
4783 (add_magnitudes): Likewise.
4784 (sub_magnitudes): Likewise.
4785 (__mul): Likewise.
4786 (__sqr): Likewise.
4787 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4788 powers of two in terms of TWOPOW macro.
4789 (mp_no): Make type of mantissa as MANTISSA_T.
4790 [!RADIXI]: Define RADIXI.
4791 [!TWO52]: Define TWO52.
4792 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4793
bcda9880
SP
4794 * manual/nptl.texi (cindex): Modify threads to pthreads.
4795
06d5adfb
JM
47962013-03-15 Joseph Myers <joseph@codesourcery.com>
4797
4798 * sysdeps/x86_64/preconfigure: Regenerated.
4799
41c7328e
JM
48002013-03-14 Joseph Myers <joseph@codesourcery.com>
4801
4802 [BZ #14155]
4803 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4804 0x1p28 and above.
4805 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4806 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4807 0x1p28 and above.
4808 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4809 * math/libm-test.inc (j0_test): Do not allow one spurious
4810 underflow exception.
4811 (y1_test): Likewise.
4812
e25cfa60
SP
48132013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
0409959c
SP
4815 * manual/Makefile (chapters): Add nptl.
4816 * manual/debug.texi (Debugging Support): Add link to Threads
4817 chapter.
4818 * manual/nptl.texi: New file.
4819
e25cfa60
SP
4820 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4821
58a1335e
PB
48222013-03-14 Petr Baudis <pasky@ucw.cz>
4823
4824 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4825 for non-NULL pointer before the memory validity test. Pointed
4826 out by Holger Brunck <holger.brunck@keymile.com>.
4827
9dc7c64f
AS
48282013-03-13 Andreas Schwab <schwab@suse.de>
4829
4830 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4831 instead of .os.
4832
54206aa6
JM
48332013-03-13 Joseph Myers <joseph@codesourcery.com>
4834
4835 * timezone/zic.c: Update from tzcode 2013b.
4836
e98cdb38
CD
48372013-03-12 Carlos O'Donell <carlos@redhat.com>
4838
4839 * manual/install.texi (Configuring and compiling):
4840 Mention i686 and i586.
4841 * INSTALL: Regenerate.
4842
9967e003
RM
48432013-03-12 Roland McGrath <roland@hack.frob.com>
4844
4845 * sysdeps/init_array/elf-init.c: New file.
4846 * csu/elf-init.c
4847 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4848 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4849
4850 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4851 __gmon_start__ as global, but as static with a .preinit_array pointer.
4852 * sysdeps/init_array/gmon-start.c: New file. Use that.
4853 * sysdeps/init_array/crti.S: New file, empty except for comments.
4854 * sysdeps/init_array/crtn.S: Likewise.
4855
e6b5a293 48562013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4857
4858 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4859 definining bcopy.
80f844c9
OB
4860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4861 Remove Prefer_SSE_for_memop.
4862 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4863 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4864 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4866 memset-x86-64.
80f844c9 4867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4868 Remove bzero, memset ifunc support.
80f844c9
OB
4869 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4870 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4871 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4872 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4873
fb6b0fcb
AS
48742013-03-11 Andreas Schwab <schwab@suse.de>
4875
4876 [BZ #15234]
4877 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4878 by SHLIB_COMPAT.
4879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4880 (GLIBC_2.16): Remove pthread_atfork.
4881
3e6bd4b1
PP
48822013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4883
4884 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4885 (ptestcases.h): Likewise.
4886
222d7f00
RM
48872013-03-08 Roland McGrath <roland@hack.frob.com>
4888
4889 * Makeconfig ($(common-objpfx)config.status): Depend on
4890 sysdeps/*/preconfigure{,.in} too.
4891
1ba4f030
JM
48922013-03-08 Joseph Myers <joseph@codesourcery.com>
4893
a222d91a
JM
4894 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4895 (__free_hook): Use void * instead of __malloc_ptr_t.
4896 (__malloc_hook): Likewise.
4897 (__realloc_hook): Likewise.
4898 (__memalign_hook): Likewise.
4899 (__after_morecore_hook): Likewise.
4900 * malloc/arena.c (save_malloc_hook): Likewise.
4901 (save_free_hook): Likewise.
4902 * malloc/hooks.c (malloc_hook_ini): Likewise.
4903 (realloc_hook_ini): Likewise.
4904 (memalign_hook_ini): Likewise.
4905 * malloc/malloc.c (malloc_hook_ini): Likewise.
4906 (realloc_hook_ini): Likewise.
4907 (memalign_hook_ini): Likewise.
4908 (__free_hook): Likewise.
4909 (__malloc_hook): Likewise.
4910 (__realloc_hook): Likewise.
4911 (__memalign_hook): Likewise.
4912 (__libc_malloc): Likewise.
4913 (__libc_free): Likewise.
4914 (__libc_realloc): Likewise.
4915 (__libc_memalign): Likewise.
4916 (__libc_valloc): Likewise.
4917 (__libc_pvalloc): Likewise.
4918 (__libc_calloc): Likewise.
4919 (__posix_memalign): Likewise.
4920 * malloc/morecore.c (__sbrk): Likewise.
4921 (__default_morecore): Likewise.
4922
5cc45e10
JM
4923 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4924
dd54b864
JM
4925 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4926 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4927 __malloc_ptrdiff_t.
4928
1ba4f030
JM
4929 * malloc/malloc.h (__malloc_size_t): Remove macro.
4930 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4931 __malloc_size_t.
4932 (old_memalign_hook): Likewise.
4933 (old_realloc_hook): Likewise.
4934 (struct hdr): Likewise.
4935 (flood): Likewise.
4936 (mallochook): Likewise.
4937 (memalignhook): Likewise.
4938 (reallochook): Likewise.
4939 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4940 (tr_old_realloc_hook): Likewise.
4941 (tr_old_memalign_hook): Likewise.
4942 (tr_mallochook): Likewise.
4943 (tr_reallochook): Likewise.
4944 (tr_memalignhook): Likewise.
4945
edf66e57
AZ
49462013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4947
4948 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4949 default_ldbl_pack and using as default implementation.
4950 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4951 implementation.
4952 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4953 redundant definition.
4954 (ldbl_insert_mantissa): Likewise.
4955 (ldbl_canonicalize): Likewise.
4956 (ldbl_nearbyint): Likewise.
4957 (ldbl_pack): Rename to ldbl_pack_ppc.
4958 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4959 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4960 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4961
6d9145d8
SP
49622013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4963
4964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4965 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4966 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4967 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4969 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4970 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4971 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4972
4dd4e157
AJ
49732013-03-07 Andreas Jaeger <aj@suse.de>
4974
4975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4976 bits/mman-linux.h.
4977
adbb8027
SP
49782013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4979
ce544b5b
SP
4980 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4981 Include mpa.h and declare __MPEXP.
4982 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4983 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4984 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4985 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4986 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4987 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4988 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4989
4cc149fd
SP
4990 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4991 (__slowpow): Use long double EXPL and LOGL functions to
4992 compute POW.
4993 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4994 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4995 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4996 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4997 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4998 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4999
e6ebd4a7
SP
5000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5001 intermediate variable to calculate exponent.
5002 (__sqr): Likewise.
5003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5004 Likewise.
5005 (__sqr): Likewise.
5006
82a9811d
SP
5007 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5008 [!NO__SQR]: Define __sqr.
5009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5010 and NO__SQR. Remove all code except __mul and __sqr. Include
5011 sysdeps/ieee754/dbl-64/mpa.c.
5012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5013
adbb8027
SP
5014 [BZ #12723]
5015 * posix/Makefile (tests): Add tst-pathconf.
5016 * posix/tst-pathconf.c: New test case.
5017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5018 _PC_PIPE_BUF.
5019 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5020
39120df9
PF
50212013-03-06 Patsy Franklin <pfrankli@redhat.com>
5022
5023 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5024
67525cb8
AJ
50252013-03-06 Andreas Jaeger <aj@suse.de>
5026
664a9ce4
AJ
5027 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5028 definition via __MAP_ANONYMOUS.
5029
8e39047d
AJ
5030 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5031 it's not part of Linux headers.
5032
67525cb8
AJ
5033 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5034 (MAP_HUGE_MASK): Define.
5035
5036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5037 Define.
5038 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5040 Define.
5041 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5042 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5043 Define.
5044 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5045 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5046 Define.
5047 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5048
5049 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5050 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5051 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5052 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5053 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5054 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5055
5056 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5057 Handle f2fs.
5058
5059 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5060 Handle f2fs and efivarfs.
5061
5062 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5063 f2fs.
5064
5065 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5066 (EFIVARFS_MAGIC): Add.
5067 (F2FS_LINK_MAX): Add.
5068
e1b42695
PP
50692013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5070
5071 * stdio-common/vfprintf.c: Replace __builtin_expect with
5072 __glibc_unlikely.
5073
2d67d91a
JM
50742013-03-06 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #13550]
5077 * sysdeps/generic/bp-sym.h: Remove file.
5078 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5079 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5080 <bp-sym.h> and <bp-asm.h>.
5081 (__longjmp): Don't use BP_SYM.
5082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5083 and <bp-asm.h>.
5084 (memcpy): Don't use BP_SYM.
5085 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5086 <bp-sym.h> and <bp-asm.h>.
5087 (memcpy): Don't use BP_SYM.
5088 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5089 <bp-asm.h>.
5090 (memcpy): Don't use BP_SYM.
5091 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5092 <bp-asm.h>.
5093 (memset): Don't use BP_SYM.
5094 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5095 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5096 (__bzero): Don't use BP_SYM.
5097 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5098 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5099 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5100 <bp-sym.h> and <bp-asm.h>.
5101 (memcmp): Don't use BP_SYM. Remove comment about bounded
5102 pointers.
5103 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5104 <bp-sym.h> and <bp-asm.h>.
5105 (memcpy): Don't use BP_SYM.
5106 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5107 <bp-sym.h> and <bp-asm.h>.
5108 (memset): Don't use BP_SYM.
5109 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5110 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5111 (__bzero): Don't use BP_SYM.
5112 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5113 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5114 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5115 <bp-sym.h> and <bp-asm.h>.
5116 (strncmp): Don't use BP_SYM. Remove comment about bounded
5117 pointers.
5118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5119 <bp-sym.h> and <bp-asm.h>.
5120 (memcpy): Don't use BP_SYM.
5121 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5122 <bp-sym.h> and <bp-asm.h>.
5123 (memset): Don't use BP_SYM.
5124 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5125 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5126 (__bzero): Don't use BP_SYM.
5127 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5128 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5130 <bp-sym.h> and <bp-asm.h>.
5131 (__memchr): Don't use BP_SYM.
5132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5133 <bp-sym.h> and <bp-asm.h>.
5134 (memcmp): Don't use BP_SYM. Remove comment about bounded
5135 pointers.
5136 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5137 <bp-sym.h> and <bp-asm.h>.
5138 (memcpy): Don't use BP_SYM.
5139 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5140 <bp-sym.h> and <bp-asm.h>.
5141 (__mempcpy): Don't use BP_SYM.
5142 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5143 <bp-sym.h> and <bp-asm.h>.
5144 (__memrchr): Don't use BP_SYM.
5145 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5146 <bp-sym.h> and <bp-asm.h>.
5147 (memset): Don't use BP_SYM.
5148 (__bzero): Likewise.
5149 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5150 <bp-sym.h> and <bp-asm.h>.
5151 (__rawmemchr): Don't use BP_SYM.
5152 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5153 <bp-sym.h> and <bp-asm.h>.
5154 (__STRCMP): Don't use BP_SYM.
5155 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5156 <bp-sym.h> and <bp-asm.h>.
5157 (strchr): Don't use BP_SYM.
5158 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5159 <bp-sym.h> and <bp-asm.h>.
5160 (__strchrnul): Don't use BP_SYM.
5161 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5162 <bp-sym.h> and <bp-asm.h>.
5163 (strlen): Don't use BP_SYM.
5164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5165 <bp-sym.h> and <bp-asm.h>.
5166 (strncmp): Don't use BP_SYM. Remove comment about bounded
5167 pointers.
5168 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5169 <bp-sym.h> and <bp-asm.h>.
5170 (__strnlen): Don't use BP_SYM.
5171 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5172 <bp-sym.h> and <bp-asm.h>.
5173 (__GI__setjmp): Don't use BP_SYM.
5174 (_setjmp): Likewise.
5175 (__sigsetjmp): Likewise.
5176 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5177 (L(start_addresses)): Don't use BP_SYM.
5178 (_start): Likewise.
5179 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5180 <bp-asm.h>.
5181 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5182 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5183 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5184 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5185 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5186 <bp-asm.h>.
5187 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5188 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5189 about bounded pointers.
5190 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5191 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5192 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5193 <bp-asm.h>.
5194 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5195 about bounded pointers. Remove GKM FIXME comments.
5196 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5197 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5198 <bp-asm.h>.
5199 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5200 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5201 Remove GKM FIXME comments.
5202 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5203 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5204 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5205 <bp-asm.h>.
5206 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5207 about bounded pointers. Remove GKM FIXME comment.
5208 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5209 and <bp-asm.h>.
5210 (strncmp): Don't use BP_SYM. Remove comment about bounded
5211 pointers.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5213 <bp-sym.h> and <bp-asm.h>.
5214 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5216 <bp-sym.h> and <bp-asm.h>.
5217 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5218 comment.
5219
cdcf361f
PP
52202013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5221
5222 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5223 call free(NULL).
5224
3c4a2b15
DM
52252013-03-05 David S. Miller <davem@davemloft.net>
5226
5227 * po/es.po: Update from translation team.
5228
cdcf361f 52292013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5230
5231 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5232 <bits/mman-linux.h>.
5233 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5234 is fine.
5235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5236 <bits/mman-linux.h> to end of file.
5237 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5238 is fine.
5239 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5240 <bits/mman-linux.h> to end of file.
5241 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5242 is fine.
5243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5244 <bits/mman-linux.h> to end of file.
5245
5246 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5247 (MCL_CURRENT, MCL_FUTURE): Define here.
5248
5f67c04f
AK
52492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5250
8a4473cc 5251 [BZ #15232]
5f67c04f
AK
5252 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5253 attribute_hidden.
5254 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5255
c3e94a95
AK
52562013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5257
5258 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5259 fourth parameter needed for rt_sigprocmask syscall.
5260 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5261 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5262 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5263 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5264 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5265 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5266
cfb6382a
JM
52672013-03-04 Joseph Myers <joseph@codesourcery.com>
5268
5269 [BZ #13550]
5270 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5271 comment about bounded pointers.
5272 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5273 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5274
539d8e01
AJ
52752013-03-04 Andreas Jaeger <aj@suse.de>
5276
5277 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5278 common definitions.
5279
5280 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5281 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5282 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5283 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5284 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5285 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5286
2e167a70 52872013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5288
5289 [BZ #15055]
5290 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5291 __ieee754_sqrl instead of __sqrl.
5292
68508633
JM
52932013-03-01 Joseph Myers <joseph@codesourcery.com>
5294
5295 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5296 * sysdeps/powerpc/fpu_control.h: ... here.
5297 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5298 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5299 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5300 * sysdeps/powerpc/bits/mathinline.h: ... here.
5301
7775448e
RM
53022013-03-01 Roland McGrath <roland@hack.frob.com>
5303
5304 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5305 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5306 to just [NEED_DL_SYSINFO_DSO].
5307 * elf/dl-support.c: Likewise.
5308 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5309 * elf/rtld.c (dl_main): Likewise.
5310 * elf/setup-vdso.h (setup_vdso): Likewise.
5311 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5312 * sysdeps/unix/sysv/linux/dl-sysdep.c
5313 (_dl_discover_osversion): Likewise.
5314
4e9b5995
CD
53152013-03-01 Carlos O'Donell <carlos@redhat.com>
5316
5317 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5318 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5319
e23872c8
SP
53202013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5321
e5c74c63
SP
5322 * NEWS: Mention libm performance improvements and non-x86 PI
5323 futex support.
5324
e23872c8
SP
5325 * csu/libc-start.c (__pthread_initialize_minimal): Change
5326 function arguments.
5327 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5328
b5510883
JM
53292013-02-28 Joseph Myers <joseph@codesourcery.com>
5330
5331 [BZ #13550]
5332 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5333 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5334 <bp-sym.h> and <bp-asm.h>.
5335 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5336 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5337 and <bp-asm.h>.
5338 (memcpy): Don't use BP_SYM.
5339 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5340 <bp-asm.h>.
5341 (__mpn_add_n): Don't use BP_SYM.
5342 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5343 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5344 and <bp-asm.h>.
5345 (__mpn_addmul_1): Don't use BP_SYM.
5346 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5347 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5348 <bp-sym.h>.
5349 (_setjmp): Don't use BP_SYM.
5350 (__novmx_setjmp): Likewise.
5351 (__GI__setjmp): Likewise.
5352 (__vmx_setjmp): Likewise.
5353 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5354 <bp-sym.h>.
5355 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5356 (__bzero): Don't use BP_SYM.
5357 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5358 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5359 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5360 <bp-sym.h> and <bp-asm.h>.
5361 (memcpy): Don't use BP_SYM.
5362 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5363 <bp-sym.h> and <bp-asm.h>.
5364 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5365 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5366 <bp-sym.h> and <bp-asm.h>.
5367 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5368 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5369 <bp-asm.h>.
5370 (__mpn_lshift): Don't use BP_SYM.
5371 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5372 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5373 <bp-asm.h>.
5374 (memset): Don't use BP_SYM.
5375 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5376 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5377 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5378 <bp-asm.h>.
5379 (__mpn_mul_1): Don't use BP_SYM.
5380 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5382 <bp-sym.h> and <bp-asm.h>.
5383 (memcmp): Don't use BP_SYM.
5384 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5385 <bp-sym.h> and <bp-asm.h>.
5386 (memcpy): Don't use BP_SYM.
5387 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5388 <bp-sym.h> and <bp-asm.h>.
5389 (memset): Don't use BP_SYM.
5390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5391 <bp-sym.h> and <bp-asm.h>.
5392 (strncmp): Don't use BP_SYM.
5393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5394 <bp-sym.h> and <bp-asm.h>.
5395 (memcpy): Don't use BP_SYM.
5396 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5397 <bp-sym.h> and <bp-asm.h>.
5398 (memset): Don't use BP_SYM.
5399 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5400 <bp-sym.h> and <bp-asm.h>.
5401 (__memchr): Don't use BP_SYM.
5402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5403 <bp-sym.h> and <bp-asm.h>.
5404 (memcmp): Don't use BP_SYM.
5405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5406 <bp-sym.h> and <bp-asm.h>.
5407 (memcpy): Don't use BP_SYM.
5408 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5409 <bp-sym.h> and <bp-asm.h>.
5410 (__mempcpy): Don't use BP_SYM.
5411 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5412 <bp-sym.h> and <bp-asm.h>.
5413 (__memrchr): Don't use BP_SYM.
5414 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5415 <bp-sym.h> and <bp-asm.h>.
5416 (memset): Don't use BP_SYM.
5417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5418 <bp-sym.h> and <bp-asm.h>.
5419 (__rawmemchr): Don't use BP_SYM.
5420 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5421 <bp-sym.h> and <bp-asm.h>.
5422 (__STRCMP): Don't use BP_SYM.
5423 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5424 <bp-sym.h> and <bp-asm.h>.
5425 (strchr): Don't use BP_SYM.
5426 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5427 <bp-sym.h> and <bp-asm.h>.
5428 (__strchrnul): Don't use BP_SYM.
5429 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5430 <bp-sym.h> and <bp-asm.h>.
5431 (strlen): Don't use BP_SYM.
5432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5433 <bp-sym.h> and <bp-asm.h>.
5434 (strncmp): Don't use BP_SYM.
5435 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5436 <bp-sym.h> and <bp-asm.h>.
5437 (__strnlen): Don't use BP_SYM.
5438 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5439 <bp-asm.h>.
5440 (__mpn_rshift): Don't use BP_SYM.
5441 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5442 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5443 <bp-sym.h> and <bp-asm.h>.
5444 (__sigsetjmp): Don't use BP_SYM.
5445 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5446 (L(start_addresses)): Don't use BP_SYM.
5447 (_start): Likewise.
5448 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5449 <bp-asm.h>.
5450 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5451 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5452 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5453 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5454 <bp-asm.h>.
5455 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5456 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5457 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5458 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5459 <bp-asm.h>.
5460 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5461 comments.
5462 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5463 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5464 <bp-asm.h>.
5465 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5466 FIXME comments.
5467 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5468 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5469 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5470 <bp-asm.h>.
5471 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5472 comment.
5473 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5474 and <bp-asm.h>.
5475 (strncmp): Don't use BP_SYM,
5476 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5477 <bp-asm.h>.
5478 (__mpn_sub_n): Don't use BP_SYM.
5479 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5480 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5481 and <bp-asm.h>.
5482 (__mpn_submul_1): Don't use BP_SYM.
5483 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5485 <bp-sym.h> and <bp-asm.h>.
5486 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5488 <bp-sym.h> and <bp-asm.h>.
5489 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5490 comment.
5491
8d19fe64
SP
54922013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5493
5494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5495 Use ZK to minimize writes to Z.
5496 (sub_magnitudes): Simplify code a bit.
5497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5498 Use ZK to minimize writes to Z.
5499 (sub_magnitudes): Simplify code a bit.
5500
85bd816a
RM
55012013-02-27 Roland McGrath <roland@hack.frob.com>
5502
5503 * csu/gmon-start.c: Add special exception to license text.
5504
b5977bf2
RH
55052013-02-27 Richard Henderson <rth@redhat.com>
5506
5507 * scripts/config.guess: Update from config.git.
5508 * scripts/config.sub: Likewise.
5509
11d6e2f2
SP
55102013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5511
09c14ed2
SP
5512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5513
a688864e
SP
5514 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5515
6295157a
SP
5516 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5517
b8de2202
SP
5518 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5519
11d6e2f2
SP
5520 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5521
7e80ddb8
RM
55222013-02-26 Roland McGrath <roland@hack.frob.com>
5523
5524 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5525 [$(build-shared = yes].
7e80ddb8 5526
7da6d9ed
SP
55272013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5528
45f05884
SP
5529 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5530 (__mul): Reduce iterations for calculating mantissa.
5531
2236d359
SP
5532 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5533 MPTWO.
5534 (__mpranred): Likewise.
5535
7da6d9ed
SP
5536 [BZ #15160]
5537 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5538 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5539
b7688c42
PE
55402013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5541
5542 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5543 Define __attribute__.
5544
53a5c423
SP
55452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5546
5547 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5548 unused.
5549 * posix/regex_internal.h (__attribute): Remove.
5550 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5551 (re_string_context_at): Likewise.
5552 (bitset_not): Use __attribute__ and mark function as possibly
5553 unused.
5554 (bitset_merge): Likewise.
5555 (bitset_mask): Likewise.
5556 (re_string_char_size_at): Likewise.
5557 (re_string_wchar_at): Likewise.
5558 (re_string_elem_size_at): Likewise.
5559
60f5a8b5
SP
55602013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5561
2a983a2e
SP
5562 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5563 code.
5564 (cc32): Likewise.
5565
e69804d1
SP
5566 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5567 (__acr): Likewise.
5568 (__cpy): Likewise.
5569 (norm): Likewise.
5570 (denorm): Likewise.
5571 (__dbl_mp): Likewise.
5572 (add_magnitudes): Likewise.
5573 (sub_magnitudes): Likewise.
5574 (__mul): Likewise.
5575 (__inv): Likewise.
5576
2f22a1e8
SP
5577 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5578 style.
5579
8930ddc7
SP
5580 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5581 style.
5582
dc60cb11
SP
5583 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5584 code.
5585
60f5a8b5
SP
5586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5587 up changes with default code.
5588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5589 Likewise.
5590
b4d1fd33
AM
55912013-02-24 Allan McRae <allan@archlinux.org>
5592
faf6f8bc
AM
5593 * manual/socket.texi (The Internet Namespace): Order menu items
5594 to match that in the file.
5595
b4d1fd33
AM
5596 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5597 node listing of the info page menu.
5598
2366713d
JM
55992013-02-21 Joseph Myers <joseph@codesourcery.com>
5600
5601 [BZ #13550]
5602 * sysdeps/i386/bp-asm.h: Remove file.
5603 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5604 (PARMS): Do not use macros from bp-asm.h.
5605 (S1): Likewise.
5606 (S2): Likewise.
5607 (SIZE): Likewise.
5608 (__mpn_add_n): Do not use BP_SYM
5609 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5610 "bp-asm.h".
5611 (PARMS): Do not use macros from bp-asm.h.
5612 (S1): Likewise.
5613 (SIZE): Likewise.
5614 (__mpn_addmul_1): Do not use BP_SYM
5615 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5616 "bp-asm.h".
5617 (PARMS): Do not use macros from bp-asm.h.
5618 (SIGMSK): Likewise.
5619 (_setjmp): Likewise. Do not use BP_SYM.
5620 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5621 "bp-asm.h".
5622 (PARMS): Do not use macros from bp-asm.h.
5623 (SIGMSK): Likewise.
5624 (setjmp): Likewise. Do not use BP_SYM.
5625 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5626 "bp-asm.h".
5627 (PARMS): Do not use macros from bp-asm.h.
5628 (__frexp): Do not use BP_SYM.
5629 (frexp): Likewise.
5630 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5631 "bp-asm.h".
5632 (PARMS): Do not use macros from bp-asm.h.
5633 (__frexpf): Do not use BP_SYM.
5634 (frexpf): Likewise.
5635 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5636 "bp-asm.h".
5637 (PARMS): Do not use macros from bp-asm.h.
5638 (__frexpl): Do not use BP_SYM.
5639 (frexpl): Likewise.
5640 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5641 "bp-asm.h".
5642 (PARMS): Do not use macros from bp-asm.h.
5643 (__remquo): Do not use BP_SYM.
5644 (remquo): Likewise.
5645 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5646 "bp-asm.h".
5647 (PARMS): Do not use macros from bp-asm.h.
5648 (__remquof): Do not use BP_SYM.
5649 (remquof): Likewise.
5650 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5651 "bp-asm.h".
5652 (PARMS): Do not use macros from bp-asm.h.
5653 (__remquol): Do not use BP_SYM.
5654 (remquol): Likewise.
5655 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5656 "bp-asm.h".
5657 (PARMS): Do not use macros from bp-asm.h.
5658 (DEST): Likewise.
5659 (SRC): Likewise.
5660 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5661 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5662 "bp-asm.h".
5663 (PARMS): Do not use macros from bp-asm.h.
5664 (strlen): Do not use BP_SYM.
5665 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5666 "bp-asm.h".
5667 (PARMS): Do not use macros from bp-asm.h.
5668 (S1): Likewise.
5669 (S2): Likewise.
5670 (SIZE): Likewise.
5671 (__mpn_add_n): Do not use BP_SYM.
5672 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5673 "bp-asm.h".
5674 (PARMS): Do not use macros from bp-asm.h.
5675 (S1): Likewise.
5676 (SIZE): Likewise.
5677 (__mpn_addmul_1): Do not use BP_SYM.
5678 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5679 weak_alias.
5680 (bzero): Likewise.
5681 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5682 "bp-asm.h".
5683 (PARMS): Do not use macros from bp-asm.h.
5684 (S): Likewise.
5685 (SIZE): Likewise.
5686 (__mpn_lshift): Do not use BP_SYM.
5687 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5688 "bp-asm.h".
5689 (PARMS): Do not use macros from bp-asm.h.
5690 (DEST): Likewise.
5691 (SRC): Likewise.
5692 (LEN): Likewise.
5693 (memcpy): Likewise. Do not use BP_SYM.
5694 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5695 libc_hidden_def and weak_alias.
5696 (mempcpy): Do not use BP_SYM in weak_alias.
5697 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5698 "bp-asm.h".
5699 (PARMS): Do not use macros from bp-asm.h.
5700 (DEST): Likewise.
5701 (LEN): Likewise.
5702 [!BZERO_P] (CHR): Likewise.
5703 (memset): Likewise. Do not use BP_SYM.
5704 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5705 "bp-asm.h".
5706 (PARMS): Do not use macros from bp-asm.h.
5707 (S1): Likewise.
5708 (SIZE): Likewise.
5709 (__mpn_mul_1): Do not use BP_SYM.
5710 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5711 "bp-asm.h".
5712 (PARMS): Do not use macros from bp-asm.h.
5713 (S): Likewise.
5714 (SIZE): Likewise.
5715 (__mpn_rshift): Do not use BP_SYM.
5716 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5717 "bp-asm.h".
5718 (PARMS): Do not use macros from bp-asm.h.
5719 (STR): Likewise.
5720 (CHR): Likewise.
5721 (strchr): Likewise. Do not use BP_SYM.
5722 (index): Do not use BP_SYM in weak_alias.
5723 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5724 "bp-asm.h".
5725 (PARMS): Do not use macros from bp-asm.h.
5726 (DEST): Likewise.
5727 (SRC): Likewise.
5728 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5729 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5730 "bp-asm.h".
5731 (PARMS): Do not use macros from bp-asm.h.
5732 (strlen): Do not use BP_SYM.
5733 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5734 "bp-asm.h".
5735 (PARMS): Do not use macros from bp-asm.h.
5736 (S1): Likewise.
5737 (S2): Likewise.
5738 (SIZE): Likewise.
5739 (__mpn_sub_n): Do not use BP_SYM.
5740 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5741 "bp-asm.h".
5742 (PARMS): Do not use macros from bp-asm.h.
5743 (S1): Likewise.
5744 (SIZE): Likewise.
5745 (__mpn_submul_1): Do not use BP_SYM.
5746 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5747 "bp-asm.h".
5748 (PARMS): Do not use macros from bp-asm.h.
5749 (S1): Likewise.
5750 (S2): Likewise.
5751 (SIZE): Likewise.
5752 (__mpn_add_n): Do not use BP_SYM.
5753 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5754 weak_alias.
5755 (bzero): Likewise.
5756 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5757 "bp-asm.h".
5758 (PARMS): Do not use macros from bp-asm.h.
5759 (BLK2): Likewise.
5760 (LEN): Likewise.
5761 (memcmp): Do not use BP_SYM.
5762 (bcmp): Do not use BP_SYM in weak_alias.
5763 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5764 "bp-asm.h".
5765 (PARMS): Do not use macros from bp-asm.h.
5766 (DEST): Likewise.
5767 (SRC): Likewise.
5768 (LEN): Likewise.
5769 (memcpy): Likewise. Do not use BP_SYM.
5770 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5771 "bp-asm.h".
5772 (PARMS): Do not use macros from bp-asm.h.
5773 (DEST): Likewise.
5774 (SRC): Likewise.
5775 (LEN): Likewise.
5776 (memmove): Likewise. Do not use BP_SYM.
5777 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5778 "bp-asm.h".
5779 (PARMS): Do not use macros from bp-asm.h.
5780 (DEST): Likewise.
5781 (SRC): Likewise.
5782 (LEN): Likewise.
5783 (__mempcpy): Likewise. Do not use BP_SYM.
5784 (mempcpy): Do not use BP_SYM in weak_alias.
5785 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5786 "bp-asm.h".
5787 (PARMS): Do not use macros from bp-asm.h.
5788 (DEST): Likewise.
5789 (LEN): Likewise.
5790 [!BZERO_P] (CHR): Likewise.
5791 (memset): Likewise. Do not use BP_SYM.
5792 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5793 "bp-asm.h".
5794 (PARMS): Do not use macros from bp-asm.h.
5795 (STR2): Likewise.
5796 (strcmp): Do not use BP_SYM.
5797 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5798 "bp-asm.h".
5799 (PARMS): Do not use macros from bp-asm.h.
5800 (STR): Likewise.
5801 (DELIM): Likewise.
5802 [USE_AS_STRTOK_R] (SAVE): Likewise.
5803 (FUNCTION): Likewise. Do not use BP_SYM.
5804 * sysdeps/i386/i686/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/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5809 (PARMS): Do not use macros from bp-asm.h.
5810 (S): Likewise.
5811 (SIZE): Likewise.
5812 (__mpn_lshift): Do not use BP_SYM.
5813 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5814 (PARMS): Do not use macros from bp-asm.h.
5815 (STR): Likewise.
5816 (CHR): Likewise.
5817 (__memchr): Do not use BP_SYM.
5818 (memchr): Do not use BP_SYM in weak_alias.
5819 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5820 (PARMS): Do not use macros from bp-asm.h.
5821 (BLK2): Likewise.
5822 (LEN): Likewise.
5823 (memcmp): Do not use BP_SYM.
5824 (bcmp): Do not use BP_SYM in weak_alias.
5825 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5826 (PARMS): Do not use macros from bp-asm.h.
5827 (S1): Likewise.
5828 (SIZE): Likewise.
5829 (__mpn_mul_1): Do not use BP_SYM.
5830 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5831 "bp-asm.h".
5832 (PARMS): Do not use macros from bp-asm.h.
5833 (STR): Likewise.
5834 (CHR): Likewise.
5835 (__rawmemchr): Do not use BP_SYM.
5836 (rawmemchr): Do not use BP_SYM in weak_alias.
5837 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5838 (PARMS): Do not use macros from bp-asm.h.
5839 (S): Likewise.
5840 (SIZE): Likewise.
5841 (__mpn_rshift): Do not use BP_SYM.
5842 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5843 (PARMS): Do not use macros from bp-asm.h.
5844 (SIGMSK): Likewise.
5845 (__sigsetjmp): Likewise. Do not use BP_SYM.
5846 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5847 (_start): Do not use BP_SYM.
5848 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5849 (PARMS): Do not use macros from bp-asm.h.
5850 (DEST): Likewise.
5851 (SRC): Likewise.
5852 (__stpcpy): Likewise. Do not use BP_SYM.
5853 (stpcpy): Do not use BP_SYM in weak_alias.
5854 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5855 "bp-asm.h".
5856 (PARMS): Do not use macros from bp-asm.h.
5857 (DEST): Likewise.
5858 (SRC): Likewise.
5859 (LEN): Likewise.
5860 (__stpncpy): Likewise. Do not use BP_SYM.
5861 (stpncpy): Do not use BP_SYM in weak_alias.
5862 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5863 (PARMS): Do not use macros from bp-asm.h.
5864 (STR): Likewise.
5865 (CHR): Likewise.
5866 (strchr): Likewise. Do not use BP_SYM.
5867 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5868 "bp-asm.h".
5869 (PARMS): Do not use macros from bp-asm.h.
5870 (STR): Likewise.
5871 (CHR): Likewise.
5872 (__strchrnul): Likewise. Do not use BP_SYM.
5873 (strchrnul): Do not use BP_SYM in weak_alias.
5874 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5875 "bp-asm.h".
5876 (PARMS): Do not use macros from bp-asm.h.
5877 (STOP): Likewise.
5878 (strcspn): Do not use BP_SYM.
5879 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5880 "bp-asm.h".
5881 (PARMS): Do not use macros from bp-asm.h.
5882 (STR): Likewise.
5883 (STOP): Likewise.
5884 (strpbrk): Likewise. Do not use BP_SYM.
5885 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5886 "bp-asm.h".
5887 (PARMS): Do not use macros from bp-asm.h.
5888 (STR): Likewise.
5889 (CHR): Likewise.
5890 (strrchr): Likewise. Do not use BP_SYM.
5891 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5892 (PARMS): Do not use macros from bp-asm.h.
5893 (SKIP): Likewise.
5894 (strspn): Do not use BP_SYM.
5895 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5896 (PARMS): Do not use macros from bp-asm.h.
5897 (STR): Likewise.
5898 (DELIM): Likewise.
5899 (SAVE): Likewise.
5900 (FUNCTION): Likewise. Do not use BP_SYM.
5901 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5902 aliases.
5903 (strtok_r): Likewise.
5904 (__GI___strtok_r): Likewise.
5905 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5906 (PARMS): Do not use macros from bp-asm.h.
5907 (S1): Likewise.
5908 (S2): Likewise.
5909 (SIZE): Likewise.
5910 (__mpn_sub_n): Do not use BP_SYM.
5911 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5912 "bp-asm.h".
5913 (PARMS): Do not use macros from bp-asm.h.
5914 (S1): Likewise.
5915 (SIZE): Likewise.
5916 (__mpn_submul_1): Do not use BP_SYM.
5917 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5918 <bp-sym.h>.
5919 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5920 and <bp-asm.h>.
5921 (PARMS): Do not use macros from bp-asm.h.
5922 (FLAGS): Likewise.
5923 (PTID): Likewise.
5924 (TLS): Likewise.
5925 (CTID): Likewise.
5926 (__clone): Do not use BP_SYM.
5927 (clone): Do not use BP_SYM in weak_alias.
5928 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5929 and <bp-asm.h>.
5930 (PARMS): Do not use macros from bp-asm.h.
5931 (LEN): Likewise.
5932 (__mmap64): Do not use BP_SYM.
5933 (mmap64): Do not use BP_SYM in weak_alias.
5934 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5935 <bp-sym.h> and <bp-asm.h>.
5936 (PARMS): Do not use macros from bp-asm.h.
5937 (__posix_fadvise64_l64): Do not use BP_SYM.
5938 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5939 (PARMS): Do not use macros from bp-asm.h.
5940 (NSOPS): Likewise.
5941 (semtimedop): Do not use BP_SYM.
5942 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5943 and <bp-asm.h>.
5944
582a3cff
AM
59452013-02-21 Allan McRae <allan@archlinux.org>
5946
5947 * manual/message.texi (Charset conversion in gettext):
5948 Move @end statement to beginning of line.
5949
bab8a695
SP
59502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5951
80945231
SP
5952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5953 static.
5954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5955 Likewise.
5956
bab8a695
SP
5957 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5958 (denorm): Likewise.
5959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5961
e21d7aa7
AK
59622013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5963
5964 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5965 tail-call to the resolved function if pltexit isn't needed.
5966
4c7a4263
SP
59672013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5968
5969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5970 or Y being zero as being unlikely.
5971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5972 Likewise.
5973
41f49342
CD
59742013-02-20 Carlos O'Donell <carlos@redhat.com>
5975
5976 * manual/nss.texi (System Databases and Name Service Switch):
5977 Remove frobnicate @pxref.
5978
50022a93
TS
59792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5980
5981 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5982 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5983
08cbd996
PM
59842013-02-20 Petr Machata <pmachata@redhat.com>
5985
5986 * elf/elf.h (R_ARM_TARGET1): New macro.
5987 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5988 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5989 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5990 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5991 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5992 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5993 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5994 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5995 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5996 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5997 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5998 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5999 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6000 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6001 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6002 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6003 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6004 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6005 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6006 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6007 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6008 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6009 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6010 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6011 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6012 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6013 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6014 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6015 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6016 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6017 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6018 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6019 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6020 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6021 (R_ARM_THM_GOT_BREL12): Likewise.
6022 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6023 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6024 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6025 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6026 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6027 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6028 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6029 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6030 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6031
c7b275d6
TS
60322013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6033
6034 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6035 __attribute_used__ to __attribute__ ((unused)).
6036
20cd7fb3
SP
60372013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6038
6039 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6040 powerpc mpa.c.
6041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6042 comment formatting.
6043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6044
92945b52
JM
60452013-02-19 Joseph Myers <joseph@codesourcery.com>
6046
6047 [BZ #13550]
6048 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6049 Remove macro.
6050 (ENTER): Remove both macro definitions.
6051 (LEAVE): Likewise.
6052 (CHECK_BOUNDS_LOW): Likewise.
6053 (CHECK_BOUNDS_HIGH): Likewise.
6054 (CHECK_BOUNDS_BOTH): Likewise.
6055 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6056 (RETURN_BOUNDED_POINTER): Likewise.
6057 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6058 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6059 (POP_ERRNO_LOCATION_RETURN): Likewise.
6060 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6061 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6062 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6063 macros.
6064 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6065 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6066 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6067 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6068 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6069 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6070 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6071 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6072 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6073 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6074 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6075 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6077 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6078 removed macros.
6079 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6080 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6081 macros.
6082 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6083 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6084 * sysdeps/i386/i586/memset.S (memset): Likewise.
6085 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6086 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6087 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6088 macros.
6089 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6090 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6091 Change uses of L(2) to L(out).
6092 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6093 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6094 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6095 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6096 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6097 removed macros.
6098 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6099 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6100 macros.
6101 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6102 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6103 (RETURN): Do not use macro LEAVE.
6104 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6105 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6106 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6107 * sysdeps/i386/i686/memset.S (memset): Likewise.
6108 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6109 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6110 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6111 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6112 Likewise.
6113 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6114 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6115 L(1_2) and L(1_3) into L(1).
6116 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6117 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6118 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6119 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6120 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6121 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6122 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6123 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6124 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6125 macros.
6126 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6127 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6128 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6129 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6130 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6131 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6132 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6133 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6134 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6135 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6136 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6137 * sysdeps/i386/strspn.S (strspn): Likewise.
6138 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6139 conditional code.
6140 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6141 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6142 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6143 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6144 L(1_3) into L(1_1).
6145 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6146 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6147 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6148 macros.
6149 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6150
2389741a
JJ
61512013-02-19 Jakub Jelinek <jakub@redhat.com>
6152
6153 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6154 macro.
6155
2016b3cd
SP
61562013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6157
e4f22324
SP
6158 * math/atest-exp.c (exp_mpn): Remove ROUND.
6159 * math/atest-exp2.c (exp_mpn): Likewise.
6160 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6161
2016b3cd
SP
6162 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6163 * stdlib/tst-tls-atexit-lib.c: Likewise.
6164 * stdlib/tst-tls-atexit.c: Likewise.
6165
4be9b544
MF
61662013-02-18 Mike Frysinger <vapier@gentoo.org>
6167
6168 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6169 and __attribute_alloc_size__.
6170
2f62b9ee
MF
61712013-02-18 Mike Frysinger <vapier@gentoo.org>
6172
6173 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6174 __attribute_alloc_size__.
6175 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6176 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6177
6ff444c4
MF
61782013-02-18 Mike Frysinger <vapier@gentoo.org>
6179
6180 * include/programs/xmalloc.h: New file.
6181 * catgets/gencat.c: Include it.
6182 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6183 * elf/pldd.c: Likewise.
6184 * iconv/iconv_charmap.c: Likewise.
6185 * iconv/iconvconfig.c: Likewise.
6186 * iconv/strtab.c: Likewise.
6187 * locale/programs/locale.c: Likewise.
6188 * locale/programs/localedef.h: Likewise.
6189 * locale/programs/simple-hash.c: Likewise.
6190 * nscd/nscd.h: Likewise.
6191 * nss/makedb.c: Likewise.
6192 * sysdeps/generic/ldconfig.h: Likewise.
6193
be179c8a
SP
61942013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6195
ba384f6e
SP
6196 * Versions.def: Add GLIBC_2.18.
6197 * include/link.h (struct link_map): New member l_tls_dtor_count.
6198 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6199 (__call_tls_dtors): Likewise.
6200 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6201 __cxa_thread_atexit_impl.
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6203 Likewise.
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6205 Likewise.
6206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6207 Likewise.
6208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6209 Likewise.
6210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6212 Likewise.
6213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6214 Likewise.
6215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6217 Likewise.
6218 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6219 (tests): Add test case tst-tls-atexit.
6220 (modules-names): Add shared library for tst-tls-atexit.
6221 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6222 (GLIBC_PRIVATE): Add __call_tls_dtors.
6223 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6224 for libstdc++.
6225 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6226 * stdlib/tst-tls-atexit.c: New test case.
6227 * stdlib/tst-tls-atexit-lib.c: New test case.
6228
ffaa74cf 6229 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6230
be179c8a
SP
6231 * elf/Versions (ld): Add _dl_find_dso_for_object.
6232 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6233 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6234 (dl_open_worker): Use _dl_find_dso_for_object.
6235 * elf/dl-sym.c (do_sym): Likewise.
6236 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6237
f78b5caa
AK
62382013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6239
6240 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6241 Syntactic changes only.
6242 (_dl_runtime_profile): Do a tail-call to the resolved function.
6243
29691210
JM
62442013-02-17 Joseph Myers <joseph@codesourcery.com>
6245
6246 [BZ #13550]
6247 * sysdeps/x86_64/bp-asm.h: Remove file.
6248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6249 <bp-sym.h> and <bp-asm.h>.
6250 (__clone): Do not use BP_SYM.
6251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6252 <bp-sym.h> and <bp-asm.h>.
6253 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6254 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6255 "bp-asm.h".
6256 (_setjmp): Do not use BP_SYM.
6257 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6258 "bp-asm.h".
6259 (setjmp): Do not use BP_SYM.
6260 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6261 libc_hidden_def.
6262 (mempcpy): Do not use BP_SYM in weak_alias.
6263 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6264 "bp-asm.h".
6265 (strchr): Do not use BP_SYM.
6266 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6267 "bp-asm.h".
6268 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6269 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6270 (_start): Do not use BP_SYM.
6271 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6272 "bp-asm.h".
6273 (strcat): Do not use BP_SYM.
6274 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6275 "bp-asm.h".
6276 (STRCMP): Do not use BP_SYM.
6277 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6278 "bp-asm.h".
6279 (STRCPY): Do not use BP_SYM.
6280 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6281 "bp-asm.h".
6282 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6283 "bp-asm.h".
6284 (FUNCTION): Do not use BP_SYM.
6285 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6286 weak_alias.
6287 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6288
f238fd19
AJ
62892013-02-17 Andreas Jaeger <aj@suse.de>
6290
6291 * time/Versions: Sort entries.
6292 * string/Versions: Likewise.
6293 * resolv/Versions: Likewise.
6294 * posix/Versions: Likewise.
6295 * iconv/Versions: Likewise.
6296 * elf/Versions: Likewise.
6297 * wcsmbs/Versions: Likewise.
6298
bd07f23c 62992013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6300
22af19f9
SP
6301 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6302 loop termination condition.
6303
4709fe76
SP
6304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6305 variable to calculate EZ.
6306 (__sqr): Likewise.
2d0e0f29
SP
6307
6308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6309 the lower precision input.
6310
daaa7713
JM
63112013-02-15 Joseph Myers <joseph@codesourcery.com>
6312
6313 [BZ #13550]
6314 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6315 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6316 (run-via-rtld-prefix): Do not handle %-bp tests.
6317 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6318 (all-object-suffixes): Remove .ob.
6319 (bppfx): Remove variable.
6320 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6321 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6322 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6323 [$(build-bounded) = yes] (libtype.ob): Likewise.
6324 * Makerules (elide-routines.ob): Remove variable.
6325 (do-tests-clean): Do not handle *-bp.out.
6326 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6327 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6328 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6329 (tests): Do not include $(tests-bp.out).
6330 (xtests): Do not include $(xtests-bp.out).
6331 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6332 [$(build-bounded) = yes] ($(addprefix
6333 $(objpfx),$(binaries-bounded))): Remove rule.
6334 ($(objpfx)%-bp.out): Remove rule.
6335 * config.make.in (build-bounded): Remove variable.
6336 * crypt/Makefile [$(build-bounded) = yes]
6337 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6338 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6339 append to variable.
6340 [$(build-bounded) = yes] (install-lib): Likewise.
6341 [$(build-bounded) = yes] (generated): Likewise.
6342 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6343 Remove rule.
6344 * intl/Makefile [$(build-bounded) = yes]
6345 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6346 * math/Makefile [$(build-bounded) = yes]
6347 ($(tests:%=$(objpfx)%-bp): Likewise.
6348 * misc/Makefile [$(build-bounded) = yes]
6349 ($(objpfx)tst-tsearch-bp): Likewise.
6350 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6351 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6352 Remove dependency.
6353 * string/Makefile (o-objects.ob): Remove variable.
6354 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6355 (CFLAGS-.ob): Remove variable.
6356 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6357 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6358 both definitions of variable.
6359 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6360 (ASFLAGS-.ob): Remove variable.
6361
e97ed6dd
JM
63622013-02-14 Joseph Myers <joseph@codesourcery.com>
6363
2bdd4ca6
JM
6364 [BZ #13550]
6365 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6366 Remove __BOUNDED_POINTERS__ from condition.
6367 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6368 * string/bits/string2.h [!__NO_STRING_INLINES &&
6369 !__BOUNDED_POINTERS__]: Likewise.
6370 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6371 Likewise.
6372 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6373 Remove conditional code.
6374 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6375 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6376 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6377 condition.
6378
e97ed6dd
JM
6379 [BZ #13550]
6380 * csu/libc-start.c: Do not include <bp-sym.h>.
6381 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6382 * elf/dl-open.c: Do not include <bp-sym.h>.
6383 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6384 * math/fegetenv.c: Do not include <bp-sym.h>.
6385 (fegetenv): Do not use BP_SYM in versioned symbols.
6386 * nptl/sysdeps/pthread/bits/libc-lockP.h
6387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6388 <bp-sym.h>.
6389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6390 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6392 (__pthread_mutex_destroy): Likewise.
6393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6394 (__pthread_mutex_lock): Likewise.
6395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6396 (__pthread_mutex_trylock): Likewise.
6397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6398 (__pthread_mutex_unlock): Likewise.
6399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6400 (__pthread_mutexattr_init): Likewise.
6401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6402 (__pthread_mutexattr_destroy): Likewise.
6403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6404 (__pthread_mutexattr_settype): Likewise.
6405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6406 (__pthread_rwlock_init): Likewise.
6407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6408 (__pthread_rwlock_destroy): Likewise.
6409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6410 (__pthread_rwlock_rdlock): Likewise.
6411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6412 (__pthread_rwlock_tryrdlock): Likewise.
6413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6414 (__pthread_rwlock_wrlock): Likewise.
6415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6416 (__pthread_rwlock_trywrlock): Likewise.
6417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6418 (__pthread_rwlock_unlock): Likewise.
6419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6420 (__pthread_key_create): Likewise.
6421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6422 (__pthread_setspecific): Likewise.
6423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6424 (__pthread_getspecific): Likewise.
6425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6426 Likewise.
6427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6428 (_pthread_cleanup_push_defer): Likewise.
6429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6430 (_pthread_cleanup_pop_restore): Likewise.
6431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6432 (pthread_setcancelstate): Likewise.
6433 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6434 <bp-sym.h>.
6435 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6436 (memchr): Do not use BP_SYM in weak_alias.
6437 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6438 (fegetenv): Do not use BP_SYM in versioned symbols.
6439 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6440 (fesetenv): Do not use BP_SYM in versioned symbols.
6441 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6442 (feupdateenv): Do not use BP_SYM in versioned symbols.
6443 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6444 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6445 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6446 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6447 (open64): Do not use BP_SYM in weak_alias.
6448 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6449 (fegetenv): Do not use BP_SYM in versioned symbols.
6450 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6451 (fesetenv): Do not use BP_SYM in versioned symbols.
6452 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6453 (feupdateenv): Do not use BP_SYM in versioned symbols.
6454 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6455 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6456 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6457 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6458 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6459 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6461 <bp-sym.h>.
6462 (__libc_start_main): Do not use BP_SYM.
6463
d6752ccd
SP
64642013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6465
cb57ce60
SP
6466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6467 redundant return line.
6468 (norm): Likewise.
6469 (denorm): Likewise.
6470 (dbl_mp): Likewise.
6471 (sub_magnitudes): Likewise.
6472 (__add): Likewise.
6473 (__sub): Likewise.
6474 (__mul): Likewise.
6475 (__inv): Likewise.
6476 (__dvd): Likewise.
6477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6478 (norm): Likewise.
6479 (denorm): Likewise.
6480 (dbl_mp): Likewise.
6481 (sub_magnitudes): Likewise.
6482 (__add): Likewise.
6483 (__sub): Likewise.
6484 (__mul): Likewise.
6485 (__inv): Likewise.
6486 (__dvd): Likewise.
6487
f414520d
SP
6488 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6489 instead of __mul.
6490 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6491 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6492 (cc32): Likewise.
6493
d6752ccd
SP
6494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6495 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6496 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6497 of __mul for squares.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6499 function
6500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6501 Likewise.
6502 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6503 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6504
70d9946a
JM
65052013-02-13 Joseph Myers <joseph@codesourcery.com>
6506
6507 [BZ #13550]
6508 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6509 code.
6510 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6511 prototype or function definition. Rename ubp_* variables and
6512 parameters. Remove argv definitions conditional on
6513 [__BOUNDED_POINTERS__].
6514 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6515 * elf/dl-runtime.c (_dl_fixup): Likewise.
6516 * include/set-hooks.h (RUN_HOOK): Likewise.
6517 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6518 definition.
6519 * string/strcpy.c (strcpy): Do not use __unbounded.
6520 * sysdeps/generic/frame.h (struct layout): Likewise.
6521 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6522 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6523 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6524 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6525 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6526 (__backtrace): Likewise.
6527 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6528 use __ptrvalue.
6529 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6530 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6531 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6532 Likewise.
6533 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6534 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6535 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6536 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6537 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6538 Do not use __unbounded.
6539 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6540 Rename __unboundedrlimits parameter to rlimits in prototype.
6541 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6542 Do not use __unbounded.
6543 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6544 not use __ptrvalue.
6545 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6546 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6547 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6548 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6549 __ptrvalue or __unbounded.
6550 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6551 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6552 use __unbounded.
6553 (__new_msgctl): Do not use __ptrvalue.
6554 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6555 __unbounded.
6556 (__libc_msgrcv): Do not use __ptrvalue.
6557 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6558 startup_info): Do not use __unbounded.
6559 (__libc_start_main): Likewise. Rename ubp_* variables and
6560 parameters. Remove argv definitions conditional on
6561 [__BOUNDED_POINTERS__].
6562 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6563 __ptrvalue.
6564 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6565 use __unbounded.
6566 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6567 or __ptrvalue.
6568 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6569 use __unbounded.
6570 (__new_shmctl): Do not use __ptrvalue.
6571 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6572 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6573 Likewise.
6574 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6575 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6576 (__libc_sigaction): Likewise.
6577 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6578 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6579 Likewise.
6580 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6581
cc7834d6
OB
65822013-02-13 Ondřej Bílka <neleai@seznam.cz>
6583
ffb1ec7b 6584 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6585
6586 * string/mempcpy.c: Implement by calling memcpy.
6587
bdf02814
SP
65882013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6589
c2af38aa
SP
6590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6591
4e92d59e
SP
6592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6593 evaluation.
6594
909279a5
SP
6595 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6596 values in the mantissa.
6597
bdf02814
SP
6598 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6599 minimize writes to Z.
6600 (sub_magnitudes): Simplify code a bit.
6601
cd525923
RM
66022013-02-12 Roland McGrath <roland@hack.frob.com>
6603
6604 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6605 from the message. The linker prefixes all warnings with that already.
6606
7e2f0d2d
AS
66072013-02-12 Andreas Schwab <schwab@suse.de>
6608
a445af0b
AS
6609 [BZ #15078]
6610 * posix/regexec.c (extend_buffers): Add parameter min_len.
6611 (check_matching): Pass minimum needed length.
6612 (clean_state_log_if_needed): Likewise.
6613 (get_subexp): Likewise.
6614 * posix/Makefile (tests): Add bug-regex34.
6615 (bug-regex34-ENV): Define.
6616 * posix/bug-regex34.c: New file.
6617
7e2f0d2d
AS
6618 [BZ #11561]
6619 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6620 elements compare against the byte sequence of it, not its name.
6621 * posix/Makefile (tests): Add bug-regex35.
6622 (bug-regex35-ENV): Define.
6623 * posix/bug-regex35.c: New file.
6624
a175b684
TV
66252013-02-11 Tom de Vries <tom@codesourcery.com>
6626
6627 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6628 comment.
6629 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6630 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6631 (CHECK_EOL): Add undef.
6632
310998fe 66332013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6634
6635 * bits/stdlib-bsearch.h: New file.
6636 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6637 * stdlib/stdlib.h: Likewise.
41eda41d 6638
8ded91fb
RM
66392013-02-11 Roland McGrath <roland@hack.frob.com>
6640
6641 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6642 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6643 declaration.
6644 * manual/search.texi (Array Search Function): Add missing const in
6645 lfind prototype.
6646 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6647 declaration to use rlim_t.
6648 (Basic Scheduling Functions): Remove erroneous const from
6649 sched_getparam prototype. Remove erroneous * from
6650 sched_get_priority_max and sched_get_priority_min prototypes.
6651 (Resource Usage): Fix summary @comment on vtimes to refer to
6652 sys/vtimes.h rather than vtimes.h.
6653 Add missing *s in vtimes prototype.
6654 (Limits on Resources): Fix ulimit prototype to return long int.
6655 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6656 prototypes to use long int rather than double.
6657 (BSD Random): Fix initstate and setstate to use char *, not void *.
6658 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6659 prototype to make second argument 'struct aiocb64 *const[]'.
6660 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6661 (Status of AIO Operations): Remove erroneous const in aio_return and
6662 aio_return64 prototypes.
6663 (Synchronizing I/O): Fix sync prototype to return void.
6664 * manual/startup.texi (Suboptions): Remove an erroneous const in
6665 getsubopt prototype.
6666 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6667 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6668 use size_t rather than int.
6669 (Scanning All Users): Likewise for getpwent_r.
6670 (Setting Groups): Add missing const to setgroups prototype.
6671 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6672 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6673 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6674 'const void *' rather than 'const char *'.
6675 (Host Address Functions): Likewise for inet_ntop.
6676 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6677 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6678 ssize_t for return value.
6679 (Sending Data): Likewise for send, sendto, sendmsg.
6680 (Socket Option Functions): Add a missing const in setsockopt prototype.
6681 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6682 use wchar_t for the argument.
6683 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6684 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6685 take no arguments.
6686 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6687 double/float/long double for second argument.
6688 Fix return types of significand, significandf, significandl.
6689 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6690 argument in fchmod prototype.
6691 (File Owner): Use uid_t and gid_t in fchown prototype.
6692 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6693 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6694 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6695 use 'const struct dirent **' as argument types to CMP function pointer
6696 argument.
6697 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6698 (File Times): Fix summary magic @comment for struct utimbuf and utime
6699 to refer to utime.h, not time.h.
6700 * manual/string.texi (Argz Functions): Add missing const in
6701 argz_extract and argz_next prototypes.
6702 (Finding Tokens in a String): Likewise for basename.
6703 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6704 (Copying and Concatenation): Fix typo in wmemmove prototype.
6705 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6706 (Signal Stack): Remove erroneous const in sigstack prototype.
6707 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6708 prototype.
6709 (Simple Calendar Time): Likewise for stime.
6710 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6711 prototype.
6712 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6713 say sys/sysctl.h instead.
6714 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6715 and vsyslog prototypes.
6716
fe77fe6d
TV
67172013-02-11 Tom de Vries <tom@codesourcery.com>
6718
6719 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6720 Remove.
6721
3a09b620
RM
67222013-02-11 Roland McGrath <roland@hack.frob.com>
6723
6724 * misc/sys/mman.h: Fix typo in mremap comment.
6725
550a0b89
RM
67262013-02-08 Roland McGrath <roland@hack.frob.com>
6727
6728 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6729 the '\0' terminator.
6730
a2da1673
JM
67312013-02-08 Joseph Myers <joseph@codesourcery.com>
6732
6733 [BZ #13550]
6734 * debug/segfault.c: Don't include <bp-checks.h>.
6735 * sysdeps/generic/bp-checks.h: Remove file.
6736 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6737 (__GETDENTS): Don't use CHECK_N.
6738 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6739 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6740 (__getgroups): Don't use CHECK_N.
6741 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6742 (setgroups): Don't use CHECK_N.
6743 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6744 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6745 (__libc_msgrcv): Don't use CHECK_N.
6746 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6747 (__libc_msgsnd): Don't use CHECK_N.
6748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6749 <bp-checks.h>.
6750 (__libc_pread): Don't use CHECK_N.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6752 include <bp-checks.h>.
6753 (__libc_pread64): Don't use CHECK_N.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6755 include <bp-checks.h>.
6756 (__libc_pwrite): Don't use CHECK_N.
6757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6758 include <bp-checks.h>.
6759 (__libc_pwrite64): Don't use CHECK_N.
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6761 <bp-checks.h>.
6762 (__libc_pread): Don't use CHECK_N.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6764 include <bp-checks.h>.
6765 (__libc_pread64): Don't use CHECK_N.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6767 include <bp-checks.h>.
6768 (__libc_pwrite): Don't use CHECK_N.
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6770 include <bp-checks.h>.
6771 (__libc_pwrite64): Don't use CHECK_N.
6772 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6773 (do_pread): Don't use CHECK_N.
6774 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6775 (do_pread64): Don't use CHECK_N.
6776 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6777 (do_pwrite): Don't use CHECK_N.
6778 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6779 (do_pwrite64): Don't use CHECK_N.
6780 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6781 (__libc_readv): Don't use CHECK_N.
6782 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6783 (semop): Don't use CHECK_N.
6784 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6785 <bp-checks.h>.
6786 (semtimedop): Don't use CHECK_N.
6787 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6788 (__libc_pread): Don't use CHECK_N.
6789 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6790 <bp-checks.h>.
6791 (__libc_pread64): Don't use CHECK_N.
6792 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6793 <bp-checks.h>.
6794 (__libc_pwrite): Don't use CHECK_N.
6795 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6796 <bp-checks.h>.
6797 (__libc_pwrite64): Don't use CHECK_N.
6798 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6799 <bp-checks.h>.
6800 (__libc_msgrcv): Don't use CHECK_N.
6801 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6802 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6803 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6804 (__libc_writev): Don't use CHECK_N.
6805
b84660a8
RM
68062013-02-08 Roland McGrath <roland@hack.frob.com>
6807
7f3e75f8
RM
6808 * string/strcpy.c: Removed unused variable.
6809
b84660a8
RM
6810 * Makeconfig (+sysdep-includes): Define with := rather than =.
6811 Use an existing include/ subdir of each sysdeps dir before it.
6812
471514d3
CD
68132013-02-08 Carlos O'Donell <carlos@redhat.com>
6814
6815 * nscd/connection.c (register_traced_file): Comment function.
6816 [HAVE_INOTIFY] (union __inev): Define.
6817 [HAVE_INOTIFY] (inotify_check_files): New function.
6818 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6819 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6820 clear_db_cache.
6821 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6822
b2d3c3be
CD
68232013-02-08 Carlos O'Donell <carlos@redhat.com>
6824
6825 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6826 loaded if not already and that a failure is permanent.
6827
b39949d2
CD
68282013-02-08 Carlos O'Donell <carlos@redhat.com>
6829
ddacd1db 6830 [BZ #15006]
b39949d2
CD
6831 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6832 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6833
b2c9eff4
JM
68342013-02-08 Joseph Myers <joseph@codesourcery.com>
6835
f3aae3f3
JM
6836 [BZ #13550]
6837 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6838 (CHECK_1_NULL_OK): Likewise.
6839 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6840 (__fxstat): Do not use CHECK_1.
6841 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6842 <bp-checks.h>.
6843 (___fxstat64): Do not use CHECK_1.
6844 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6845 <bp-checks.h>.
6846 (__fxstatat): Do not use CHECK_1.
6847 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6848 <bp-checks.h>.
6849 (__fxstatat64): Do not use CHECK_1.
6850 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6851 <bp-checks.h>.
6852 (__fxstat): Do not use CHECK_1.
6853 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6854 <bp-checks.h>.
6855 (__fxstatat): Do not use CHECK_1.
6856 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6857 <bp-checks.h>.
6858 (__getresgid): Do not use CHECK_1.
6859 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6860 <bp-checks.h>.
6861 (__getresuid): Do not use CHECK_1.
6862 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6863 <bp-checks.h>.
6864 (__lxstat): Do not use CHECK_1.
6865 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6866 <bp-checks.h>.
6867 (__old_msgctl): Do not use CHECK_1.
6868 (__new_msgctl): Likewise.
6869 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6870 <bp-checks.h>.
6871 (__new_setrlimit): Do not use CHECK_1.
6872 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6873 <bp-checks.h>.
6874 (__old_shmctl): Do not use CHECK_1.
6875 (__new_shmctl): Likewise.
6876 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6877 <bp-checks.h>.
6878 (__xstat): Do not use CHECK_1.
6879 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6880 (__lxstat): Do not use CHECK_1.
6881 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6882 <bp-checks.h>.
6883 (___lxstat64): Do not use CHECK_1.
6884 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6885 (__old_msgctl): Do not use CHECK_1.
6886 (__new_msgctl): Likewise.
6887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6888 <bp-checks.h>.
6889 (__gettimeofday): Do not use CHECK_1.
6890 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6891 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6892 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6893 <bp-checks.h>.
6894 (__gettimeofday): Do not use CHECK_1.
6895 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6896 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6897 (__new_shmctl): Do not use CHECK_1.
6898 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6899 <bp-checks.h>.
6900 (do_sigtimedwait): Do not use CHECK_1.
6901 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6902 <bp-checks.h>.
6903 (do_sigwaitinfo): Do not use CHECK_1.
6904 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6905 <bp-checks.h>.
6906 (msgctl): Do not use CHECK_1.
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6908 <bp-checks.h>.
6909 (shmctl): Do not use CHECK_1.
6910 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6911 (ustat): Do not use CHECK_1.
6912 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6913 <bp-checks.h>.
6914 (__fxstat): Do not use CHECK_1.
6915 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6916 <bp-checks.h>.
6917 (__fxstatat): Do not use CHECK_1.
6918 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6919 <bp-checks.h>.
6920 (__lxstat): Do not use CHECK_1.
6921 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6922 <bp-checks.h>.
6923 (__xstat): Do not use CHECK_1.
6924 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6925 (__xstat): Do not use CHECK_1.
6926 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6927 (___xstat64): Do not use CHECK_1.
6928
b2c9eff4
JM
6929 [BZ #13550]
6930 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6931 definitions.
6932 (CHECK_BOUNDS_HIGH): Likewise.
6933 * string/strcpy.c: Do not include <bp-checks.h>.
6934 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6935
f1d70dad
RM
69362013-02-07 Roland McGrath <roland@hack.frob.com>
6937
6938 * nscd/nscd-client.h (__nscd_drop_map_ref):
6939 Add __attribute__ ((unused)).
6940 * nis/nss-nisplus.h (niserr2nss): Likewise.
6941
6942 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6943 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6944
6945 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6946 Remove inline keyword.
6947 * include/rounding-mode.h (round_away): Likewise.
6948 * libio/wfileops.c (adjust_wide_data): Likewise.
6949 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6950 (__m128i_strloadu_tolower): Likewise.
6951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6952 (__m128i_strloadu_tolower): Likewise.
6953 * time/mktime.c (ydhms_diff): Likewise.
6954 * locale/elem-hash.h (elem_hash): Likewise.
6955 * locale/setlocale.c (setdata): Likewise.
6956 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6957 (re_string_wchar_at): Likewise.
6958 (bitset_not, bitset_merge, bitset_mask): Likewise.
6959 [!(__GNUC__ > 3)] (inline): Remove macro.
6960 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6961 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6962 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6963 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6964 * string/memcmp.c (memcmp_bytes): Likewise.
6965 * locale/programs/locarchive.c (compute_hashval): Likewise.
6966 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6967 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6968 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6969 * nss/getent.c (print_rpc, print_protocols): Likewise.
6970 (print_passwd, print_group, print_aliases): Likewise.
6971 * nis/nss-nisplus.h (niserr2nss): Likewise.
6972 * nscd/connections.c (restart_p): Likewise.
6973 Change return type to bool.
6974
eab55bfb
RM
69752013-02-05 Roland McGrath <roland@hack.frob.com>
6976
7bd642f5
RM
6977 * Makeconfig (all-Depend-files): Add existing
6978 $(sorted-subdirs:=/Depend) files.
6979 (all-subdirs): Remove nss.
6980 * sysdeps/unix/inet/Subdirs: Add it here instead.
6981 * hesiod/Depend: New file.
6982
573c29b2
RM
6983 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6984 instead of calling alloca.
6985
b2e25af0
RM
6986 * io/lseek.c (__lseek): Rename to __libc_lseek.
6987 Define __lseek as an alias.
6988
eab55bfb
RM
6989 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6990
9a0d1941
CD
69912013-02-04 Carlos O'Donell <carlos@redhat.com>
6992
6993 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6994 else clause and remove check for non-standard endianness.
6995
b83bbec4
DM
69962013-02-04 David S. Miller <davem@davemloft.net>
6997
6998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6999
6277fdab
JM
70002013-02-04 Joseph Myers <joseph@codesourcery.com>
7001
7002 [BZ #13550]
7003 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7004 (__ubp_memchr): Remove prototype.
7005 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7006 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7007 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7008 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7009 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7010 Remove alias.
7011 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7012 (__ubp_memchr): Likewise.
7013 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7014 (__ubp_memchr): Likewise.
7015 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7016 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7017 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7018 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7019 CHECK_STRING.
7020 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7021 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7022 (__getcwd): Do not use CHECK_STRING.
7023 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7024 <bp-checks.h>.
7025 (__real_chown): Do not use CHECK_STRING.
7026 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7027 <bp-checks.h>.
7028 (fchownat): Do not use CHECK_STRING.
7029 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7030 CHECK_STRING.
7031 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7032 <bp-checks.h>.
7033 (__lchown): Do not use CHECK_STRING.
7034 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7035 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7036 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7037 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7039 include <bp-checks.h>.
7040 (truncate64): Do not use CHECK_STRING.
7041 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7042 <bp-checks.h>.
7043 (__real_chown): Do not use CHECK_STRING.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7045 <bp-checks.h>.
7046 (__lchown): Do not use CHECK_STRING.
7047 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7048 <bp-checks.h>.
7049 (__chown): Do not use CHECK_STRING.
7050 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7051 <bp-checks.h>.
7052 (truncate64): Do not use CHECK_STRING.
7053 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7054 Likewise.
7055 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7056 (__xmknod): Do not use CHECK_STRING.
7057 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7058 <bp-checks.h>.
7059 (__xmknodat): Do not use CHECK_STRING.
7060 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7061 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7062
903ae060
AS
70632013-02-04 Andreas Schwab <schwab@suse.de>
7064
7065 [BZ #14142]
7066 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7067 * include/netdb.h: Likewise for h_errno.
7068 * elf/tst-stackguard1.c: Include <tls.h>.
7069
542f9466
JK
70702013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7071
7072 * elf/link.h (struct link_map): Extend the l_addr comment.
7073 * include/link.h (struct link_map): Likewise.
7074
e782a927
JM
70752013-02-01 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #13550]
7078 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7079 (BOUNDED_1): Remove macro.
7080 * debug/backtrace.c: Don't include <bp-checks.h>.
7081 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7082 (__backtrace): Likewise.
7083 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7084 <bp-checks.h>.
7085 (__backtrace): Don't use BOUNDED_1.
7086 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7087 <bp-checks.h>.
7088 (__backtrace): Don't use BOUNDED_1.
7089 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7090 (__backtrace): Don't use BOUNDED_1.
7091 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7092 (shmat): Don't use BOUNDED_N.
7093
8cf28c5e
JM
70942013-01-31 Joseph Myers <joseph@codesourcery.com>
7095
3a7ac8a0
JM
7096 [BZ #13550]
7097 * sysdeps/generic/bp-start.h: Remove file.
7098 * csu/libc-start.c: Don't include <bp-start.h>.
7099 (LIBC_START_MAIN): Set up __environ directly instead of using
7100 INIT_ARGV_and_ENVIRON.
7101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7102 <bp-start.h>.
7103
f3499f95
JM
7104 [BZ #13550]
7105 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7106 definitions.
7107 (CHECK_FCNTL): Likewise.
7108 (CHECK_N_PAGES): Likewise.
7109
32a45bea
JM
7110 [BZ #13550]
7111 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7112 definitions.
7113 (CHECK_SIGSET_NULL_OK): Likewise.
7114 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7115 <bp-checks.h>.
7116 (sigpending): Don't use CHECK_SIGSET.
7117 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7118 <bp-checks.h>.
7119 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7120 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7121 <bp-checks.h>.
7122 (do_sigsuspend): Don't use CHECK_SIGSET.
7123 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7124 use CHECK_SIGSET.
7125 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7126 (do_sigwait): Don't use CHECK_SIGSET.
7127 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7128 use CHECK_SIGSET.
7129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7130 include <bp-checks.h>.
7131 (sigpending): Don't use CHECK_SIGSET.
7132 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7133 include <bp-checks.h>.
7134 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7135 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7136 <bp-checks.h>.
7137 (sigpending): Don't use CHECK_SIGSET.
7138 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7139 <bp-checks.h>.
7140 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7141
2e8a5c8c
JM
7142 [BZ #13550]
7143 * sysdeps/generic/bp-semctl.h: Remove file.
7144 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7145 <bp-checks.h> and <bp-semctl.h>.
7146 (__old_semctl): Don't use CHECK_SEMCTL.
7147 (__new_semctl): Likewise.
7148 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7149 and <bp-semctl.h>.
7150 (__old_semctl): Don't use CHECK_SEMCTL.
7151 (__new_semctl): Likewise.
7152 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7153 <bp-checks.h> and <bp-semctl.h>.
7154 (__old_semctl): Don't use CHECK_SEMCTL.
7155 (__new_semctl): Likewise.
7156 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7157 <bp-checks.h> and <bp-semctl.h>.
7158 (semctl): Don't use CHECK_SEMCTL.
7159
c2d54929
JM
7160 [BZ #13550]
7161 * Makerules (elide-bp-thunks): Remove variable.
7162 (elide-routines.oS): Don't use $(elide-bp-thunks).
7163 (elide-routines.os): Likewise.
7164 (elide-routines.o): Likewise.
7165 (elide-routines.op): Likewise.
7166 (elide-routines.og): Likewise.
7167 (objects): Don't use $(bp-thunks).
7168 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7169 include.
7170 (common-generated): Do not add s-proto-bp.d.
7171 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7172 (int): Likewise.
7173 (typ): Likewise.
7174 Do not generate makefile rules for bounded-pointer thunks.
7175 * sysdeps/generic/bp-thunks.h: Remove file.
7176 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7177 * sysdeps/unix/s-proto-bp.S: Likewise.
7178
8cf28c5e
JM
7179 [BZ #15062]
7180 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7181 parts of result separately when argument is not close to line from
7182 -i to i and one part of argument is small.
7183 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7184 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7185 * math/libm-test.inc (cacos_test): Add more tests.
7186 (casin_test): Likewise.
7187 (casinh_test): Likewise.
7188 * sysdeps/i386/fpu/libm-test-ulps: Update.
7189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7190
c4e33b8d
DM
71912013-01-31 David S. Miller <davem@davemloft.net>
7192
7193 * po/de.po: Update from translation team.
7194
3b60b421
MK
71952013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7196
7197 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7198
bb931195
TS
71992013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7200
b5a5da23
TS
7201 * configure.in (_AC_PROG_CC_C89): New definition.
7202 * configure: Regenerate.
7203
bb931195
TS
7204 * configure.in (AC_PROG_CPP): New definition.
7205 * configure: Regenerate.
7206
8c53a12c
JM
72072013-01-23 Joseph Myers <joseph@codesourcery.com>
7208
7209 * debug/tst-backtrace.h: New file.
7210 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7211 (ret): Remove variable.
7212 (x): Likewise.
7213 (FAIL): Remove macro.
7214 (NO_INLINE): Likewise.
7215 (fn1): Use match function instead of strstr.
7216 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7217 (ret): Remove variable.
7218 (x): Likewise.
7219 (FAIL): Remove macro.
7220 (NO_INLINE): Likewise.
7221 (fn): Use match function instead of strstr.
7222 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7223 (ret): Remove variable.
7224 (x): Likewise.
7225 (FAIL): Remove macro.
7226 (NO_INLINE): Likewise.
7227 (handle_signal): Use match function instead of strstr.
7228 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7229 (ret): Remove variable.
7230 (x): Likewise.
7231 (FAIL): Remove macro.
7232 (NO_INLINE): Likewise.
7233 (handle_signal): Use match function instead of strstr.
7234
4858fa2a
RM
72352013-01-23 Roland McGrath <roland@hack.frob.com>
7236
7237 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7238
bae8e7f5
DM
72392013-01-23 David S. Miller <davem@davemloft.net>
7240
7241 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7242 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7243 argument of CAS if possible.
7244 * sysdeps/sparc/sparc64/bits/atomic.h
7245 (__arch_compare_and_exchange_val_32_acq): Likewise.
7246 (__arch_compare_and_exchange_val_64_acq): Likewise.
7247
9cbbc4ae
PT
72482013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7249
7250 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7251 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7252 Include <limits.h>.
67b3f58c 7253 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7254
5655a0b5
AC
72552013-01-23 Adam Conrad <adconrad@0c3.net>
7256
7257 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7258 (LDFLAGS-tst-array5): Likewise.
7259
052aff95
JM
72602013-01-23 Joseph Myers <joseph@codesourcery.com>
7261
7262 [BZ #15036]
7263 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7264 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7265 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7266 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7267
7c1e01aa
DM
72682013-01-21 David S. Miller <davem@davemloft.net>
7269
7270 * sysdeps/sparc/backtrace.c: New file.
7271 * sysdeps/sparc/sparc32/backtrace.h: New file.
7272 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7273 * sysdeps/sparc/sparc64/backtrace.h: New file.
7274 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7275 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7276 -funwind-tables.
7277
ab087e0a
AS
72782013-01-21 Andreas Schwab <schwab@suse.de>
7279
7280 [BZ #15020]
7281 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7282 closed its stdout.
7283
ed689c2f
AS
72842013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7285
7286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7287 "mpa2.h".
7288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7289
31d470ac
JM
72902013-01-18 Joseph Myers <joseph@codesourcery.com>
7291 Mark Mitchell <mark@codesourcery.com>
7292 Tom de Vries <tom@codesourcery.com>
7293 Paul Pluzhnikov <ppluzhnikov@google.com>
7294
7295 * debug/tst-backtrace2.c: New file.
7296 * debug/tst-backtrace3.c: Likewise.
7297 * debug/tst-backtrace4.c: Likewise.
7298 * debug/tst-backtrace5.c: Likewise.
7299 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7300 (CFLAGS-tst-backtrace3.c): Likewise.
7301 (CFLAGS-tst-backtrace4.c): Likewise.
7302 (CFLAGS-tst-backtrace5.c): Likewise.
7303 (LDFLAGS-tst-backtrace2): Likewise.
7304 (LDFLAGS-tst-backtrace3): Likewise.
7305 (LDFLAGS-tst-backtrace4): Likewise.
7306 (LDFLAGS-tst-backtrace5): Likewise.
7307 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7308 tst-backtrace4 and tst-backtrace5.
7309
90567f30 73102013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7311 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7312
7313 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7314 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7315 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7316 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7318 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7319 "+r" and remove output regs list as redundant. Add explicit inline
7320 asm to specify register of return val to work around compiler codegen
7321 bug. Remove (int) cast on return value. Add return type parameter to
7322 use in macro so that this macro does not truncate return value for
7323 64-bit values.
7324 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7325 pass to INTERNAL_VSYSCALL_NCS.
7326 (INLINE_VSYSCALL): Add 'long int' as return type to
7327 INTERNAL_VSYSCALL_NCS macro invocation.
7328 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7329 INTERNAL_VSYSCALL_NCS macro invocation.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7331
d3b9ea61
SP
73322013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7333
0b57daeb
SP
7334 [BZ #14496]
7335 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7336 Fix application of SIMD FP exception mask.
7337
caa99d06
SP
7338 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7339 mp_no from a power of two.
7340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7341 __mpexp_twomm1. Use __pow_mp.
7342
d3b9ea61
SP
7343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7344 multiplication.
7345
1dbaee3c
DM
73462013-01-17 David S. Miller <davem@davemloft.net>
7347
7348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7349
728d7b43
JM
73502013-01-17 Joseph Myers <joseph@codesourcery.com>
7351
7352 [BZ #15023]
7353 * include/complex.h: Condition contents on [!_COMPLEX_H].
7354 (__kernel_casinhf): New prototype.
7355 (__kernel_casinh): Likewise.
7356 (__kernel_casinhl): Likewise.
7357 * math/Makefile (libm_calls): Add k_casinh.
7358 * math/k_casinh.c: New file.
7359 * math/k_casinhf.c: Likewise.
7360 * math/k_casinhl.c: Likewise.
7361 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7362 finite nonzero arguments.
7363 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7364 finite nonzero arguments.
7365 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7366 finite nonzero arguments.
7367 * math/s_casinh.c: Do not include <float.h>.
7368 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7369 * math/s_casinhf.c: Do not include <float.h>.
7370 (__casinhf): Move code for finite nonzero arguments to
7371 k_casinhf.c.
7372 * math/s_casinhl.c: Do not include <float.h>.
7373 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7374 redefine.
7375 (__casinhl): Move code for finite nonzero arguments to
7376 k_casinhl.c.
7377 * math/libm-test.inc (cacos_test): Add more tests.
7378 * sysdeps/i386/fpu/libm-test-ulps: Update.
7379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7380
2a26ef3a
PT
73812013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7382
7383 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7384 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7385 [!HAVE_MREMAP]: Remove [defined linux] case.
7386 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7387
a897655d
SP
73882013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7389
7390 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7391
881ebe89 73922013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7393
7394 * elf/elf.h (R_386_SIZE32): New relocation.
7395 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7396 R_386_SIZE32.
7397 (elf_machine_rela): Likewise.
7398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7399 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7400
59981e9b
JM
74012013-01-17 Joseph Myers <joseph@codesourcery.com>
7402
7403 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7404 (FP_FAST_FMA): Do not define.
7405 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7406 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7407 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7408 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7409 !_SOFT_FLOAT]: Likewise.
7410 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7411 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7412 value.
7413 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7414 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7415 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7416 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7417 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7418 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7419 file.
7420
cfa8054f
AS
74212013-01-16 Andreas Schwab <schwab@suse.de>
7422
7423 [BZ #14327]
7424 * include/stdlib.h (__mktemp): Add declaration.
7425 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7426 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7427
dd930cc5
SP
74282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7429
881ebe89
SP
7430 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7431 definitions.
7432 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7433 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7434 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7435 definitions here.
7436 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7437 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7438 definitions.
7439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7440 and ONE.
7441 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7442 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7443 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7444 definitions.
7445 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7446 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7447 definitions.
7448 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7449
dd930cc5
SP
7450 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7451
c19a9f89
DM
74522013-01-15 David S. Miller <davem@davemloft.net>
7453
1aa61767
DM
7454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7455 trunc{,f} to libm-sysdep_routes.
7456 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7458 file.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7461 file.
7462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7463 file.
7464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7466 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7467 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7468 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7469 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7470 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7471 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7472
c42d5e98
DM
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7474 nearbyint{,f} to libm-sysdep_routes.
7475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7477 New file.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7479 file.
7480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7481 New file.
7482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7483 file.
7484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7486 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7487 file.
7488 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7489 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7490 file.
7491 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7492 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7493 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7494
c19a9f89
DM
7495 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7496 libc_feholdexcept and libc_fesetenv.
7497
357679d2
MF
74982013-01-15 Mike Frysinger <vapier@gentoo.org>
7499
7500 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7501
65a82e3d
DM
75022013-01-14 David S. Miller <davem@davemloft.net>
7503
8b954ab9
DM
7504 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7505 (SPARC_ASM_VIS2_IFUNC): Likewise.
7506 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7508 use of 'siam' instruction.
7509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7510 Likewise.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7512 Likewise.
7513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7514 Likewise.
7515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7520 file.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7522 file.
7523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7524 file.
7525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7526 file.
7527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7532 new VIS2 routines.
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7536 Likewise.
7537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7542 routines to libm-sysdep_routines.
7543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7544
65a82e3d
DM
7545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7546 fdim/fdimf to libm-sysdep_routines.
7547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7548 file.
7549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7551 file.
7552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7555 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7556 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7557 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7558 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7559
e34ab705
SP
75602013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7561
2a91b573
SP
7562 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7563 to optimize copies.
7564
1066a534
SP
7565 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7568
e34ab705
SP
7569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7570 local variable MPTWO.
7571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7572 Likewise.
7573
aba5e596
MF
75742013-01-13 Mike Frysinger <vapier@gentoo.org>
7575
7576 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7577 GLOB_NOESCAPE.
7578
e557e9e5
MF
75792013-01-13 Mike Frysinger <vapier@gentoo.org>
7580
7581 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7582
0428cec9
MF
75832013-01-13 Mike Frysinger <vapier@gentoo.org>
7584
7585 * manual/pattern.texi (glob_t): Document gl_flags.
7586 (glob64_t): Likewise.
7587
8794a964
DM
75882013-01-11 David S. Miller <davem@davemloft.net>
7589
66438c3f
RM
7590 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7591 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7592 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7593 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7594 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7595 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7597 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7598 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7599 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7600 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7601 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7602 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7603
4ae4244d
DM
7604 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7605 sparc V9 rather than using V8 code.
7606 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7607 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7608
8794a964
DM
7609 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7610 Move to...
7611 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7612 Here.
7613
6270516e
RM
76142013-01-11 Roland McGrath <roland@hack.frob.com>
7615
7616 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7617 not in the main loop.
7618 * configure: Regenerated.
7619
6a57d931
JM
76202013-01-11 Joseph Myers <joseph@codesourcery.com>
7621
7622 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7623 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7624 to just #else.
7625 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7626 [!__GLIBC_HAVE_LONG_LONG] case.
7627 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7628 condition to just #else.
7629 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7630 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7631 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7632 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7633 unconditional.
7634 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7635 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7636 #elif condition to just #else.
7637 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7638 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7639 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7640 #elif condition to just #else.
7641
0e8529e9
SE
76422013-01-11 Steve Ellcey <sellcey@mips.com>
7643
7644 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7645 (EF_MIPS_ARCH_64): Fix value.
7646 (EF_MIPS_ARCH_32R2): New.
7647 (EF_MIPS_ARCH_64R2): New.
7648
740b3dbe
L
76492013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7650
7651 * Makeconfig (+link-pie-before-libc): New.
7652 (+link-pie-after-libc): Likewise.
7653 (+link-pie-tests): Likewise.
7654 (+link-pie): Rewritten.
7655 (link-before-libc): Remove $(config-LDFLAGS).
7656 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7657 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7658 (config-LDFLAGS): Renamed to ...
7659 (rtld-LDFLAGS): This.
7660 (rtld-tests-LDFLAGS): New macro.
7661 (link-libc-rpath-link): Likewise.
7662 (link-libc-tests-rpath-link): Likewise.
7663 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7664 (link-libc): Prepand $(link-libc-rpath-link).
7665 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7666 (test-program-prefix): New macro.
7667 (test-via-rtld-prefix): Likewise.
7668 (test-program-cmd): Likewise.
7669 (host-test-program-cmd): Likewise.
7670 * Makefile ($(common-objpfx)testrun.sh): Replace
7671 $(run-program-prefix) with $(test-program-prefix).
7672 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7673 $(rtld-LDFLAGS).
7674 ($(common-objpfx)shlib.lds): Likewise.
7675 (build-module-helper): Likewise.
7676 ($(common-objpfx)format.lds): Likewise.
7677 * Rules (binaries-pie-tests): New.
7678 (binaries-pie-notests): Likewise.
7679 (binaries-pie): Rewritten.
7680 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7681 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7682 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7683 (make-test-out): Replace $(host-built-program-cmd) with
7684 $(host-test-program-cmd).
7685 * config.make.in (build-hardcoded-path-in-tests): New variable.
7686 * configure.in (--enable-hardcoded-path-in-tests): New configure
7687 option.
7688 (hardcoded_path_in_tests): New AC_SUBST.
7689 * configure: Regenerated.
7690 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7691 $(built-program-cmd) with $(test-program-cmd).
7692 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7693 (test_program_cmd): This.
7694 * elf/Makefile ($(objpfx)order.out): Run test with
7695 $(test-program-prefix).
7696 ($(objpfx)order2.out): Likewise.
7697 ($(objpfx)tst-initorder.out): Likewise.
7698 ($(objpfx)tst-initorder2.out): Likewise.
7699 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7700 $(test-program-cmd).
7701 ($(objpfx)tst-array1-static.out): Likewise.
7702 ($(objpfx)tst-array2.out): Likewise.
7703 ($(objpfx)tst-array3.out): Likewise.
7704 ($(objpfx)tst-array4.out): Likewise.
7705 ($(objpfx)tst-array5.out): Likewise.
7706 ($(objpfx)tst-array5-static.out): Likewise.
7707 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7708 $(test-program-cmd).
7709 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7710 $(run-program-prefix) with $(test-program-prefix).
7711 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7712 (test_program_prefix): This.
7713 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7714 $(run-program-prefix) with $(test-program-prefix).
7715 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7716 (test_program_prefix): This.
7717 * iconvdata/tst-tables.sh: Likewise.
7718 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7719 $(run-program-prefix) with $(test-program-prefix).
7720 ($(objpfx)tst-translit.out): Likewise.
7721 ($(objpfx)tst-gettext2.out): Likewise.
7722 ($(objpfx)tst-gettext4.out): Likewise.
7723 ($(objpfx)tst-gettext6.out): Likewise.
7724 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7725 (test_program_prefix): This.
7726 * intl/tst-gettext2.sh: Likewise.
7727 * intl/tst-gettext4.sh Likewise.
7728 * intl/tst-gettext6.sh: Likewise.
7729 * intl/tst-translit.sh: Likewise.
7730 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7731 with $(test-program-cmd).
7732 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7733 $(run-program-prefix) with $(test-program-prefix).
7734 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7735 (test_program_prefix): This.
7736 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7737 $(run-program-prefix) with $(test-program-prefix).
7738 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7739 (test_program_prefix): This.
7740 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7741 * posix/Makefile ($(objpfx)globtest.out): Replace
7742 $(run-via-rtld-prefix) and $(test-wrapper) with
7743 $(test-program-prefix) and $(test-via-rtld-prefix).
7744 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7745 $(test-program-prefix).
7746 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7747 $(host-test-program-cmd).
7748 (tst-spawn-ARGS): Likewise.
7749 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7750 $(test-program-prefix).
7751 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7752 (test_via_rtld_prefix): This.
7753 (test_wrapper): Renamed to ...
7754 (test_program_prefix): This.
7755 (run_program_prefix): Replaced by test_program_prefix.
7756 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7757 (test_program_prefix): This.
7758 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7759 with $(host-test-program-cmd).
7760 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7761 $(run-program-prefix) with $(test-program-prefix).
7762 ($(objpfx)tst-printf.out): Likewise.
7763 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7764 $(test-program-cmd).
7765 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7766 (test_program_prefix): This.
7767 * stdio-common/tst-unbputc.sh: Likewise.
7768 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7769 $(run-program-prefix) with $(test-program-prefix).
7770 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7771 (test_program_prefix): This.
7772 * string/Makefile ($(objpfx)tst-svc.out): Replace
7773 $(built-program-cmd) with $(test-program-cmd).
7774
c6fe55cf
AJ
77752013-01-11 Andreas Jaeger <aj@suse.de>
7776
7777 [BZ #15003]
7778 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7779 value. Sync with Linux 3.7.
7780
9e6919c8
DM
77812013-01-10 David S. Miller <davem@davemloft.net>
7782
7783 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7786
1c9f1a02
RM
77872013-01-10 Roland McGrath <roland@hack.frob.com>
7788
7789 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7790 never set.
7791 * configure: Regenerated.
7792
b9de2dde
DM
77932013-01-10 David S. Miller <davem@davemloft.net>
7794
7795 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7796 sparc V9 rather than using V8 code.
7797 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7798 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7799
e7f68ef4
RM
78002013-01-10 Roland McGrath <roland@hack.frob.com>
7801
7802 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7803 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7804 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7805 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7806 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7807 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7808 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7809 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7810 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7811 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7812 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7813 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7814 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7815 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7816 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7817 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7818 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7819 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7820 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7821 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7822 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7823 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7824 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7825 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7826 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7827 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7828 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7829
5a47cc9c
DM
78302013-01-10 David S. Miller <davem@davemloft.net>
7831
7832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7833
4cf8f209
L
78342013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7835
7836 * posix/Makefile (tests-static): New variable.
7837 (tests): Add $(tests-static).
7838 (tst-exec-static-ARGS): New variable.
7839 (tst-spawn-static-ARGS): Likewise.
7840 * posix/tst-exec-static.c: New file.
7841 * posix/tst-spawn-static.c: Likewise.
7842 * posix/tst-exec.c: Support run directly.
7843 * posix/tst-spawn.c: Likewise.
7844
fed0faa1
JM
78452013-01-10 Joseph Myers <joseph@codesourcery.com>
7846
828beb13
JM
7847 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7848 long.
7849 * math/bits/mathcalls.h (llrint): Likewise.
7850 (llround): Likewise.
7851 * stdlib/stdlib.h (struct drand48_data): Likewise.
7852 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7853 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7854 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7855 Likewise.
7856 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7857 Likewise.
7858 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7859 (elf_greg_t): Likewise.
7860 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7861 (__jmp_buf): Likewise.
7862 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7863 definitions.
7864 (llrint): Likewise, for all definitions.
7865 (llrintl): Likewise.
7866
fed0faa1
JM
7867 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7868 Remove [__GNUC__] condition.
7869 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7870 condition to just [__USE_ISOC99].
7871 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7872
1a20cb20
L
78732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7874
7875 [BZ #14200]
7876 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7877 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7878 defined.
7879 (_POSIX_V6_ILP32_OFF32): Likewise.
7880 (_XBS5_ILP32_OFF32): Likewise.
7881 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7882 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7883
751b85f7
SP
78842013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7885
7490eb81
SP
7886 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7887
751b85f7
SP
7888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7889 doubles __mpexp_twomm1. Adjust usage.
7890 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7891 Remove.
7892
988197f0
AS
78932013-01-10 Andreas Schwab <schwab@suse.de>
7894
7895 [BZ #14964]
7896 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7897 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7898
e83d7298
DM
78992013-01-09 David S. Miller <davem@davemloft.net>
7900
034ed64b 7901 [BZ #15003]
e83d7298
DM
7902 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7903 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7904 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7905 TCP_FASTOPEN): Define.
7906 (tcp_repair_opt): New structure.
7907 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7908 enum values.
7909 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7910 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7911 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7912 (tcp_cookie_transactions): New structure.
7913
d5e0b9bd
AB
79142013-01-09 Anton Blanchard <anton@samba.org>
7915
7916 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7917 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7919 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7920
0c07e3ea
JM
79212013-01-09 Joseph Myers <joseph@codesourcery.com>
7922
7923 * include/features.h (__USE_ANSI): Remove.
7924
232f7002
RM
79252013-01-09 Roland McGrath <roland@hack.frob.com>
7926
ad98e30c
RM
7927 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7928
232f7002
RM
7929 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7930
950c99ca
SP
79312013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7932
b5792741
SP
7933 * sysdeps/s390/fpu/libm-test-ulps: Update.
7934
47cf2278
SP
7935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7936
950c99ca
SP
7937 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7938 (__acr): Likewise.
7939 (__cpy): Likewise.
7940 (norm): Likewise.
7941 (denorm): Likewise.
7942 (__mp_dbl): Likewise.
7943 (__dbl_mp): Likewise.
7944 (add_magnitudes): Likewise.
7945 (sub_magnitudes): Likewise.
7946 (__add): Likewise.
7947 (__sub): Likewise.
7948 (__mul): Likewise.
7949 (__inv): Likewise.
7950 (__dvd): Likewise.
7951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7952 (__acr): Likewise.
7953 (__cpy): Likewise.
7954 (norm): Likewise.
7955 (denorm): Likewise.
7956 (__mp_dbl): Likewise.
7957 (__dbl_mp): Likewise.
7958 (add_magnitudes): Likewise.
7959 (sub_magnitudes): Likewise.
7960 (__add): Likewise.
7961 (__sub): Likewise.
7962 (__mul): Likewise.
7963 (__inv): Likewise.
7964 (__dvd): Likewise.
7965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7966 (__acr): Likewise.
7967 (__cpy): Likewise.
7968 (norm): Likewise.
7969 (denorm): Likewise.
7970 (__mp_dbl): Likewise.
7971 (__dbl_mp): Likewise.
7972 (add_magnitudes): Likewise.
7973 (sub_magnitudes): Likewise.
7974 (__add): Likewise.
7975 (__sub): Likewise.
7976 (__mul): Likewise.
7977 (__inv): Likewise.
7978 (__dvd): Likewise.
7979
eede9df9
JM
79802013-01-08 Joseph Myers <joseph@codesourcery.com>
7981
7982 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7983 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7984 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7985 2 && __USE_EXTERN_INLINES]: Likewise.
7986
c40ea3d9
AJ
79872013-01-08 Andreas Jaeger <aj@suse.de>
7988
7989 [BZ# 14985]
7990 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7991 Remove.
7992 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7993 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7994
2ccdea26
AB
79952013-01-07 Anton Blanchard <anton@samba.org>
7996
7997 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7998 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7999 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8000 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8001 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8002 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8003 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8004 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8006 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8007 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8008 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8009 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8010 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8011 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8012 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8013 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8014 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8015 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8016 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8017 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8018 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8020 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8021 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8022 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8023 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8024 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8026 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8027 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8029 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8031 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8032 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8035 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8037 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8039 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8040
a9708fed
JM
80412013-01-07 Joseph Myers <joseph@codesourcery.com>
8042
375607b9
JM
8043 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8044 (__MALLOC_PMT): Likewise.
8045 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8046 [__GNUC__], only on [_LIBC].
8047 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8048 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8049 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8050 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8051 forward declaration.
8052 (realloc_hook_ini): Likewise.
8053 (memalign_hook_ini): Likewise.
8054 (__libc_memalign): Do not use __MALLOC_PMT in variable
8055 declaration.
8056 (__libc_valloc): Likewise.
8057 (__libc_pvalloc): Likewise.
8058 (__libc_calloc): Likewise.
8059 (__posix_memalign): Likewise.
8060
a9708fed
JM
8061 [BZ #14996]
8062 * math/s_casinh.c: Include <float.h>.
8063 (__casinh): Do not do computation with squaring and square root
8064 for large arguments.
8065 * math/s_casinhf.c: Include <float.h>.
8066 (__casinhf): Do not do computation with squaring and square root
8067 for large arguments.
8068 * math/s_casinhl.c: Include <float.h>.
8069 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8070 (__casinhl): Do not do computation with squaring and square root
8071 for large arguments.
8072 * math/libm-test.inc (casin_test): Add more tests.
8073 (casinh_test): Likewise.
8074 * sysdeps/i386/fpu/libm-test-ulps: Update.
8075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8076
afec409a
L
80772013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8078
8079 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8080 (__x86_64_raw_data_cache_size): Likewise.
8081 (__x86_64_data_cache_size_half): Likewise.
8082 (__x86_64_raw_data_cache_size_half): Likewise.
8083 (__x86_64_shared_cache_size): Likewise.
8084 (__x86_64_raw_shared_cache_size): Likewise.
8085 (__x86_64_shared_cache_size_half): Likewise.
8086 (__x86_64_raw_shared_cache_size_half): Likewise.
8087 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8088 to ...
8089 (__x86_data_cache_size): This.
8090 (__x86_64_raw_data_cache_size): Renamed to ...
8091 (__x86_raw_data_cache_size): This.
8092 (__x86_64_data_cache_size_half): Renamed to ...
8093 (__x86_data_cache_size_half): This.
8094 (__x86_64_raw_data_cache_size_half): Renamed to ...
8095 (__x86_raw_data_cache_size_half): This.
8096 (__x86_64_shared_cache_size): Renamed to ...
8097 (__x86_shared_cache_size): This.
8098 (__x86_64_raw_shared_cache_size): Renamed to ...
8099 (__x86_raw_shared_cache_size): This.
8100 (__x86_64_shared_cache_size_half): Renamed to ...
8101 (__x86_shared_cache_size_half): This.
8102 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8103 (__x86_raw_shared_cache_size_half): This.
8104 * sysdeps/x86_64/memcpy.S: Updated.
8105 * sysdeps/x86_64/memset.S: Likewise.
8106 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8108 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8109
0b3986d0
DM
81102013-01-04 David S. Miller <davem@davemloft.net>
8111
8112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8113
e47686e9
AS
81142013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8115
d643bac1
AS
8116 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8117 1 to avoid redefinition warning.
8118 (__USE_GNU): Don't define.
8119 (init_signaling_nan): Protoize.
8120
e47686e9
AS
8121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8122
b18decba
SP
81232013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8124
fffb407f
SP
8125 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8127 (__cpymn): Likewise.
8128 (norm): Remove commented code.
8129 (denorm): Likewise.
8130 (__mp_dbl): Likewise.
8131 (__inv): Likewise.
8132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8133 (__cpymn): Likewise.
8134 (norm): Remove commented code.
8135 (denorm): Likewise.
8136 (__mp_dbl): Likewise.
8137 (__inv): Likewise.
8138
b18decba
SP
8139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8140 mp_no value for 1.0 and 2.0.
8141 (norm): Use RADIXI instead of radixi.d.
8142 (denorm): Likewise.
8143 (__mul): Use 0.0 instead of zero.d.
8144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8145 mp_no value for 1.0 and 2.0.
8146 (norm): Use RADIXI instead of radixi.d.
8147 (denorm): Likewise.
8148 (__mul): Use 0.0 instead of zero.d.
8149
cdc1c96f
JM
81502013-01-04 Joseph Myers <joseph@codesourcery.com>
8151
8152 [BZ #14994]
8153 * math/s_casinh.c (__casinh): Reduce finite argument to first
8154 quadrant then set signs of results at the end.
8155 * math/s_casinhf.c (__casinhf): Likewise.
8156 * math/s_casinhl.c (__casinhl): Likewise.
8157 * math/libm-test.inc (casin_test): Add more tests.
8158 (casinh_test): Likewise.
8159 * sysdeps/i386/fpu/libm-test-ulps: Update.
8160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8161
302913e1
SP
81622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8163
6420d207
SP
8164 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8165
a9e48ab4
SP
8166 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8167
b7837264
SP
8168 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8169 declarations.
8170 (denorm): Likewise.
8171 (__mp_dbl): Likewise.
8172 (__inv): Likewise.
8173
f8af25d2
SP
8174 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8175 and adjust the header comment.
8176
302913e1
SP
8177 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8178 variable name from declaration.
8179
5d7dd1ca
L
81802013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8181
8182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8183 Initialize COMMON_CPUID_INDEX_7 element.
8184 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8185 (CPUID_RTM): Likewise.
8186 (HAS_RTM): Likewise.
8187 (COMMON_CPUID_INDEX_7): New enum.
8188
2f5f40f4
AS
81892013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8190
8191 [BZ #14981]
8192 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8193 size is zero, record memory as freed.
8194
4056f4a0
AJ
81952013-01-03 Andreas Jaeger <aj@suse.de>
8196
8197 * po/ia.po: Add new Interlingua translation.
8198
ab15736f 81992012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8200
8201 * locale/programs/localedef.c: Fix description of '--posix' flag.
8202
568035b7
JM
82032013-01-02 Joseph Myers <joseph@codesourcery.com>
8204
e6898b8d
JM
8205 * NEWS: Update dates in second copyright notice.
8206 * README: Update copyright dates in example.
8207 * manual/libc.texinfo: Update copyright dates.
8208 * scripts/test-installation.pl: Update copyright date in --version
8209 output.
8210
0e2f9562
JM
8211 * hurd/ctty-input.c: Fix copyright notice formatting.
8212 * hurd/ctty-output.c: Likewise.
8213 * hurd/dtable.c: Likewise.
8214 * hurd/hurd-raise.c: Likewise.
8215 * hurd/hurdprio.c: Likewise.
8216 * hurd/msgportdemux.c: Likewise.
8217 * misc/sys/file.h: Likewise.
8218 * misc/sys/ioctl.h: Likewise.
8219 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8220 * sysdeps/mach/hurd/chdir.c: Likewise.
8221 * sysdeps/mach/hurd/fchdir.c: Likewise.
8222 * sysdeps/mach/hurd/rename.c: Likewise.
8223 * sysdeps/mach/hurd/rmdir.c: Likewise.
8224 * sysdeps/mach/hurd/seekdir.c: Likewise.
8225 * sysdeps/mach/hurd/setsid.c: Likewise.
8226 * sysdeps/posix/wait3.c: Likewise.
8227
568035b7
JM
8228 * All files with FSF copyright notices: Update copyright dates
8229 using scripts/update-copyrights.
8230 * intl/plural.c: Regenerated.
8231 * locale/programs/charmap-kw.h: Likewise.
8232 * locale/programs/locfile-kw.h: Likewise.
8233
da08f647
SP
82342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8235
0f5477af
SP
8236 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8237 four values.
8238
44e0d4c2
SP
8239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8240 calculation loop and add branch prediction.
8241
4d55b4e5
SP
8242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8243 check access beyond bounds of m1np.
8244
da08f647
SP
8245 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8246 MPTWO.
8247 (__inv): Remove local variable MPTWO to use the global
8248 constant.
8249 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8251 variable MPTWO.
8252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8253 MP3HALFS static const.
8254
8e051029
DM
82552013-01-01 David S. Miller <davem@davemloft.net>
8256
8257 * po/ca.po: Update from translation team.
8258
f4cf5f2d
JM
82592013-01-01 Joseph Myers <joseph@codesourcery.com>
8260
8261 * scripts/update-copyrights: New file.
8262 * Makeconfig: Reformat copyright notice.
8263 * ctype/ctype.h: Likewise.
8264 * debug/swprintf_chk.c: Likewise.
8265 * elf/dl-cache.c: Likewise.
8266 * elf/dl-debug.c: Likewise.
8267 * elf/dl-object.c: Likewise.
8268 * grp/initgroups.c: Likewise.
8269 * hurd/Makefile: Likewise.
8270 * hurd/hurd/signal.h: Likewise.
8271 * hurd/hurdfault.c: Likewise.
8272 * hurd/hurdioctl.c: Likewise.
8273 * hurd/hurdlookup.c: Likewise.
8274 * hurd/intr-msg.c: Likewise.
8275 * iconv/gconv_open.c: Likewise.
8276 * libio/swprintf.c: Likewise.
8277 * locale/lc-ctype.c: Likewise.
8278 * locale/nl_langinfo.c: Likewise.
8279 * mach/Machrules: Likewise.
8280 * mach/Makefile: Likewise.
8281 * malloc/obstack.h: Likewise.
8282 * manual/Makefile: Likewise.
8283 * manual/tsort.awk: Likewise.
8284 * misc/bits/stab.def: Likewise.
8285 * nis/nis_print_group_entry.c: Likewise.
8286 * nis/nis_table.c: Likewise.
8287 * nis/nss_compat/compat-pwd.c: Likewise.
8288 * nis/nss_compat/compat-spwd.c: Likewise.
8289 * po/Makefile: Likewise.
8290 * posix/fnmatch.c: Likewise.
8291 * posix/regex.h: Likewise.
8292 * resolv/Makefile: Likewise.
8293 * resolv/nss_dns/dns-network.c: Likewise.
8294 * resolv/res_hconf.c: Likewise.
8295 * scripts/gen-sorted.awk: Likewise.
8296 * soft-fp/soft-fp.h: Likewise.
8297 * stdio-common/printf.h: Likewise.
8298 * stdlib/monetary.h: Likewise.
8299 * stdlib/random.c: Likewise.
8300 * stdlib/random_r.c: Likewise.
8301 * sysdeps/generic/Makefile: Likewise.
8302 * sysdeps/gnu/Makefile: Likewise.
8303 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8331 * sysdeps/mach/hurd/errnos.awk: Likewise.
8332 * sysdeps/mach/hurd/fork.c: Likewise.
8333 * sysdeps/mach/hurd/getcwd.c: Likewise.
8334 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8335 * sysdeps/mach/hurd/mmap.c: Likewise.
8336 * sysdeps/mach/hurd/utimes.c: Likewise.
8337 * sysdeps/mach/hurd/xmknod.c: Likewise.
8338 * sysdeps/posix/profil.c: Likewise.
8339 * sysdeps/posix/readdir_r.c: Likewise.
8340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8341 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8342 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8343 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8345 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8347 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8349 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8350 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8351 * sysdeps/pthread/lio_listio.c: Likewise.
8352 * sysdeps/sparc/dl-procinfo.h: Likewise.
8353 * sysdeps/unix/i386/sysdep.S: Likewise.
8354 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8355 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8356 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8357 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8359 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8360 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8361 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8362 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8363 * sysdeps/wordsize-32/divdi3.c: Likewise.
8364 * time/sys/time.h: Likewise.
8365 * wcsmbs/Makefile: Likewise.
8366
0549fbba
DM
83672013-01-01 David S. Miller <davem@davemloft.net>
8368
a141f1a7
DM
8369 * po/fr.po: Update from translation team.
8370
0549fbba
DM
8371 * catgets/gencat.c: Update copyright year.
8372 * csu/version.c: Likewise.
8373 * debug/catchsegv.sh: Likewise.
8374 * debug/pcprofiledump.c: Likewise.
8375 * debug/xtrace.sh: Likewise.
8376 * elf/ldconfig.c: Likewise.
8377 * elf/ldd.bash.in: Likewise.
8378 * elf/pldd.c: Likewise.
8379 * elf/sotruss.ksh: Likewise.
8380 * elf/sprof.c: Likewise.
8381 * iconv/iconv_prog.c: Likewise.
8382 * iconv/iconvconfig.c: Likewise.
8383 * locale/programs/locale.c: Likewise.
8384 * locale/programs/localedef.c: Likewise.
8385 * login/programs/pt_chown.c: Likewise.
8386 * malloc/memusage.sh: Likewise.
8387 * malloc/memusagestat.c: Likewise.
8388 * malloc/mtrace.pl: Likewise.
8389 * nscd/nscd.c: Likewise.
8390 * nss/getent.c: Likewise.
8391 * nss/makedb.c: Likewise.
8392 * posix/getconf.c: Likewise.
8393
18ea052c
SP
83942012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8395
8396 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8397 numbers.
8398
9c89fca6
MF
83992012-12-30 Mike Frysinger <vapier@gentoo.org>
8400
8401 * math/bits/mathcalls.h (modf): Use __nonnull.
8402
085ec079
SP
84032012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8404
8405 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8406 (split): Use macro CN instead of the bare value.
8407 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8408 could be used.
8409 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8410 instead of the bare value.
8411 (power1): Likewise.
8412
6d9f97e1
SP
84132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8414
d63f73be
SP
8415 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8416 __ATAN_TWOM.
8417 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8418
6d9f97e1
SP
8419 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8420 their values.
8421 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8422 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8423 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8424 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8425
4c4febf5
AJ
84262012-12-28 Andreas Jaeger <aj@suse.de>
8427
af5843ef
AJ
8428 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8429 values are from Linux 3.7.
8430
4c4febf5
AJ
8431 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8432 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8433
99136f82
SP
84342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8435
2f216c3c 8436 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8437 TRUE case.
8438
99136f82
SP
8439 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8440 (norm): Likewise.
8441 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8442 variables with preprocessor constants.
8443 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8444 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8445 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8446
7fffbdff
BH
84472012-12-27 Bruno Haible <bruno@clisp.org>
8448
8449 [BZ #14317]
8450 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8451 only if needed.
8452
b76eb5f0
SP
84532012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8454
31a7fe5c
SP
8455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8456 and use variable directly.
8457 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8458
b76eb5f0
SP
8459 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8460 MPONE.
8461 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8462 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8463 variable MPONE.
8464 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8466 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8467 include directive. Remove local variable MPONE.
8468 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8469 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8471
2c8bfe7d
DM
84722012-12-25 David S. Miller <davem@davemloft.net>
8473
8474 * version.h (RELEASE): Set to "development".
8475 (VERSION): Set to "2.17.90".
8476 * NEWS: Add 2.18 section.
8477
147d03b0
DM
84782012-12-21 David S. Miller <davem@davemloft.net>
8479
8480 * po/hr.po: Update from translation team.
8481
a8ebb2b9
AK
84822012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8483
8484 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8485
95b4f1b6
SE
84862012-12-19 Steve Ellcey <sellcey@mips.com>
8487
b2d94007 8488 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8489
cedb2a90
MS
84902012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8491
8492 * manual/contrib.texi (Contributors): Spelling correction.
8493
bbf527d6
DM
84942012-12-15 David S. Miller <davem@davemloft.net>
8495
8496 * po/ru.po: Update from translation team.
8497
bc38c906
DM
84982012-12-13 David S. Miller <davem@davemloft.net>
8499
85429b1a
DM
8500 * NEWS: Mention IFUNC testsuite enhancements.
8501
d283e353
DM
8502 * po/pl.po: Update from translation team.
8503 * po/bg.po: Likewise.
8504
bc38c906
DM
8505 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8506 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8507
a181b0d7
DM
85082012-12-11 David S. Miller <davem@davemloft.net>
8509
4641d57e
DM
8510 * po/sv.po: Update from translation team.
8511
f7bc6495
DM
8512 * po/vi.po: Update from translation team.
8513
6fc9048f
DM
8514 * po/cs.po: Update from translation team.
8515
a181b0d7
DM
8516 * po/de.po: Update from translation team.
8517 * po/eo.po: Likewise.
8518 * po/nl.po: Likewise.
8519
f70bfe80
SP
85202012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8521
3c8b4190
SP
8522 [BZ #14246]
8523 * manual/argp.texi (Argp Helper Functions): Move node to follow
8524 Argp Parsing State.
8525
f70bfe80
SP
8526 [BZ #14872]
8527 * manual/conf.texi (Limits on File System Capacity): Mention if
8528 terminating null is included in the max size.
8529
188f0adf
AJ
85302012-12-10 Andreas Jaeger <aj@suse.de>
8531
8532 * po/cs.po: Update from translation team.
8533
56e7d3ad
SP
85342012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8535
8536 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8537 void pointer and cast to uintptr_t.
8538 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8539 path.
8540 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8541 * sysdeps/s390/s390-64/memset.S: Likewise.
8542
76f2d2ea 85432012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8544
8545 [BZ #14833]
8546 * menual/message.texi (Message Translation): Fix typos.
8547 (Helper programs for gettext): Likewise.
8548
67cbf9a2
AS
85492012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8550
8551 [BZ #14898]
8552 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8553 Change to -1.
8554
682d0e9a
DM
85552012-12-07 David S. Miller <davem@davemloft.net>
8556
8557 * po/libc.pot: Update.
8558
573cd484
RH
85592012-12-07 Richard Henderson <rth@redhat.com>
8560
7e9da188 8561 [BZ #10114]
573cd484
RH
8562 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8563 normal/normal case to before the switch.
8564 (_FP_DIV): Likewise.
8565
e933a943
MF
85662012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8567 Mike Frysinger <vapier@gentoo.org>
8568
8569 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8570 check for __NR_fadvise64_64.
8571
82123268
CM
85722012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8573
8574 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8575 0, not just to plain "0" as a statement.
8576 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8577 with cw.
8578
d9814526
JM
85792012-12-06 Joseph Myers <joseph@codesourcery.com>
8580
8581 * NEWS: Use sourceware.org in Bugzilla URL.
8582
7728c574
SP
85832012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8584
f16946dd
SP
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8586 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8587
5704bbcb
SP
8588 * stdio-common/tst-put-error.c (do_test): Add newline to the
8589 padded test to ensure flush.
8590
17aa0516
JL
85912012-12-05 Jeff Law <law@redhat.com>
8592
8593 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8594
363313b5
JM
85952012-12-05 Joseph Myers <joseph@codesourcery.com>
8596
effbd42a
JM
8597 * README: Don't refer to ports add-on as distributed separately.
8598 Mention AArch64 in list of systems supported in the ports add-on.
8599
87600365
JM
8600 * LICENSES: Add more non-FSF copyright and license notices.
8601
a0d7066a
JM
8602 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8603 ((unused)).
8604
66ca5a5b
JM
8605 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8606
363313b5
JM
8607 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8608 10000 as width of padded output.
8609
b37984ad
JM
86102012-12-04 Joseph Myers <joseph@codesourcery.com>
8611
9003570a
JM
8612 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8613
b37984ad
JM
8614 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8615 variable LX with __attribute__ ((unused)).
8616 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8617 Likewise.
8618 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8620 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8621 with __attribute__ ((unused)).
8622
c8df52ec
DM
86232012-12-04 David S. Miller <davem@abraco.davemloft.net>
8624
8625 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8626
b3b099af
JM
86272012-12-04 Joseph Myers <joseph@codesourcery.com>
8628
c33aa6e3
JM
8629 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8630 (CFLAGS-nldbl-acos.c): New variable.
8631 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8632 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8633 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8634 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8635 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8636 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8637 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8638 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8639 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8649 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8650 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8651 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8652 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8653 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8654 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8655 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8656 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8657 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8658 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8659 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8660 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8661 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8662 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8663 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8664 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8665 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8666 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8667 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8668 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8669 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8670 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8671 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8672 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8673 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8674 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8675 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8676 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8677 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8678 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8679 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8680 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8681 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8682 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8683 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8684 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8685 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8686 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8687 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8688 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8689 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8690 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8691 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8692 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8693 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8694 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8695 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8696 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8697 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8698 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8699 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8700 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8701 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8702 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8703 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8704 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8705 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8706 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8707 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8708 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8709 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8710 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8711 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8712 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8713 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8714 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8715 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8716 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8717 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8718 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8719 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8720 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8721 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8722 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8723 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8724 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8725 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8726 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8727 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8728
20f0018d
JM
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8730 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8731
b3b099af
JM
8732 [BZ #14914]
8733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8734 whole low double instead of just low 47 bits when splitting values
8735 into two parts.
8736
029264d1
AM
87372012-12-03 Allan McRae <allan@archlinux.org>
8738
8739 * manual/stdio.texi (Predefined Printf Handlers): Remove
8740 @hsep and @vsep usage.
8741
c9d6789e
MF
87422012-12-03 Mike Frysinger <vapier@gentoo.org>
8743
8744 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8745 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8746
4b7634a5
JL
87472012-12-03 Jeff Law <law@redhat.com>
8748
8749 * time/sys/time.h (settimeofday): Do not mark TV argument
8750 as __nonnull.
8751
eb6cbd24
MF
87522012-12-01 Mike Frysinger <vapier@gentoo.org>
8753
8754 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8755 when currently writing and seek to current position when not.
8756 * libio/Makefile (tests): Remove bug-fclose1.
8757 * libio/bug-fclose1.c: Delete.
8758
f638872a
JM
87592012-12-01 Joseph Myers <joseph@codesourcery.com>
8760
8761 * manual/arith.texi (feenableexcept): Fix typo.
8762 (fedisableexcept): Likewise.
8763
48085d14
RM
87642012-11-30 Roland McGrath <roland@hack.frob.com>
8765
8766 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8767 second, differently-typed declaration, rather than a cast.
8768
1a538b9f
SP
87692012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8770
8771 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8772 * include/rpc/svc.h: ... here.
8773
d07f2ff1 87742012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8775
8776 [BZ #13013]
8777 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8778 depending n and resplen2 to catch cases where answer
8779 equals answerp2.
8780
c93ec1f0
CD
87812012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8782
8783 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8784 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8785
37db69de
MF
87862012-11-29 Mike Frysinger <vapier@gentoo.org>
8787
8788 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8789
e10c4e4f
RM
87902012-11-29 Roland McGrath <roland@hack.frob.com>
8791
8792 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8793
2af1b328
JL
87942012-11-28 Jeff Law <law@redhat.com>
8795
8796 [BZ #13761]
8797 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8798 dataset_temporary. Track alloca usage into alloca_used.
8799 If dataset is large allocate and release it via malloc/free.
8800
111db5b1
FW
88012012-06-04 Florian Weimer <fweimer@redhat.com>
8802
f06cc227 8803 [BZ #14197]
111db5b1
FW
8804 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8805
dd694abd
DM
88062012-11-28 David S. Miller <davem@davemloft.net>
8807
8808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8809
9984dd01
JM
88102012-11-28 Joseph Myers <joseph@codesourcery.com>
8811
8812 [BZ #14803]
8813 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8814 of pi/2 rounded to nearest to 64 bits.
8815 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8816 nearest to 64 bits.
8817 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8818 bits.
8819
14bc93a9
JL
88202012-11-28 Jeff Law <law@redhat.com>
8821 Martin Osvald <mosvald@redhat.com>
8822
8823 [BZ #14889]
8824 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8825 * sunrpc/svc.c: Include time.h.
8826 (__svc_accept_failed): New function.
8827 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8828 any reason other than EINTR, call __svc_accept_failed.
8829 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8830 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8831
e3c6aa3a
AS
88322012-11-28 Andreas Schwab <schwab@suse.de>
8833
8834 * scripts/abilist.awk: Also handle indirect functions in .opd
8835 section.
8836
1bead169
JM
88372012-11-28 Joseph Myers <joseph@codesourcery.com>
8838
8839 [BZ #13881]
8840 * sysdeps/x86/fpu/powl_helper.c: New file.
8841 * sysdeps/x86/fpu/Makefile: Likewise.
8842 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8843 (p3): New object.
8844 (__ieee754_powl): Use __powl_helper for finite arguments except
8845 integer exponents below 8.
8846 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8847 (p3): New object.
8848 (__ieee754_powl): Use __powl_helper for finite arguments except
8849 integer exponents below 8.
8850 * math/libm-test.inc (pow_test): Add more tests and enable some
8851 previously disabled tests.
8852 * sysdeps/i386/fpu/libm-test-ulps: Update.
8853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8854
0817d63d
SP
88552012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8856 Carlos O'Donell <carlos_odonell@mentor.com>
8857
8858 * nss/makedb.c (is_prime): Assert that input is odd and greater
8859 than 4. Note that fact in a comment too.
8860 (next_prime): Add 4 to input.
8861
de2fd463
SP
88622012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8863
8864 [BZ #11741]
8865 * libio/Makefile (tests): Add test case tst-fwrite-error.
8866 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8867 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8868 * libio/tst-fwrite-error.c: New test case.
8869
c515fb51
L
88702012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8873 before casting to void *.
8874 * include/libc-internal.h (__pointer_type): New macro.
8875 (__integer_if_pointer_type_sub): Likewise.
8876 (__integer_if_pointer_type): Likewise.
8877 (cast_to_integer): Likewise.
8878 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8879 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8880 before casting to atomic64_t.
8881 (atomic_exchange_acq): Likewise.
8882 (__arch_exchange_and_add_body): Likewise.
8883 (__arch_add_body): Likewise.
8884 (atomic_add_negative): Likewise.
8885 (atomic_add_zero): Likewise.
8886
4cf77aa9
JM
88872012-11-26 Joseph Myers <joseph@codesourcery.com>
8888
8889 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8890 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8891 (add_fdes): Likewise.
8892 (linear_search_fdes): Likewise.
8893 (binary_search_unencoded_fdes): Likewise.
8894
d260b3b4
AS
88952012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8896
8897 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8898
67060746
AC
88992012-11-24 Adam Conrad <adconrad@0c3.net>
8900
8901 * configure.in: Autodetect C++ header directories.
8902 * configure: Regenerated.
8903
800938a1
MF
89042012-11-23 Mike Frysinger <vapier@gentoo.org>
8905
8906 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8907
4e6e34e6
AS
89082012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8909
8910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8911
7c7feb47
JM
89122012-11-22 Joseph Myers <joseph@codesourcery.com>
8913
7184dcdf
JM
8914 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8915 LDBL_MANT_DIG == 106]: Disable some tests.
8916 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8917 Likewise.
8918 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8919 Likewise.
8920
0a42601f
JM
8921 [BZ #14871]
8922 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8923 input for small inputs. Return +/- pi/2 for large inputs.
8924 * math/libm-test.inc (atan_test): Add more tests.
8925
79c9b9fe
JM
8926 * sysdeps/generic/unwind-dw2-fde-glibc.c
8927 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8928 __attribute__ ((unused)).
8929
c60d3bf2
JM
8930 [BZ #14645]
8931 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8932 x * y if x and y are nonzero and z is zero.
8933
ef1e0867
JM
8934 [BZ #14811]
8935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8936 nonzero exponents with absolute value below 0x1p-117 to +/-
8937 0x1p-117.
8938
1468ded3
JM
8939 [BZ #14869]
8940 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8941 up arguments below 2**-450, not just those below 2**-500.
8942 * math/libm-test.inc (hypot_test): Add another test.
8943
8e27e3cc
JM
8944 [BZ #14868]
8945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8946 Return a+b for ratio over 2**120, not 2**60.
8947 * math/libm-test.inc (hypot_test): Add another test.
8948
c9c0279b
JM
8949 * math/libm-test.inc (clog_test): Use
8950 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8951 (clog10_test): Likewise.
8952
7c7feb47
JM
8953 [BZ #6778]
8954 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8955
fff1530e
AS
89562012-11-22 Andreas Schwab <schwab@suse.de>
8957
8958 * sysdeps/i386/fpu/libm-test-ulps: Update.
8959
94558d30
PT
89602012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8961
8962 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8963 printf output with newline.
8964
7e1be741
L
89652012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8966
6bfea974
L
8967 [BZ #14865]
8968 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8969 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8970 -z nodlopen, -z initfirst and -z execstack support.
8971 * configure: Regenerated.
8972
7e1be741
L
8973 * elf/elf.h (DF_1_NODIRECT): New macro.
8974 (DF_1_IGNMULDEF): Likewise.
8975 (DF_1_NOKSYMS): Likewise.
8976 (DF_1_NOHDR): Likewise.
8977 (DF_1_EDITED): Likewise.
8978 (DF_1_NORELOC): Likewise.
8979 (DF_1_SYMINTPOSE): Likewise.
8980 (DF_1_GLOBAUDIT): Likewise.
8981 (DF_1_SINGLETON): Likewise.
8982 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8983 DT_1_SUPPORTED_MASK bits.
8984 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8985
105ce2ce
CD
89862012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8987
8988 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8989
123be9de
TS
89902012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8991
d072f3f7
TS
8992 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8993 macro.
8994
123be9de
TS
8995 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8996 (sendmmsg): Move declarations...
8997 * socket/sys/socket.h: ... here.
8998 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8999 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9000 include it from...
9001 * socket/recvmmsg.c: ... this new file.
9002 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9003 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9004 definition of __sendmmsg hidden.
9005 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9006 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9007 Move ENOSYS stub into and include it from...
9008 * socket/sendmmsg.c: ... this new file.
9009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9010 (sysdep_routines): Move recvmmsg and sendmmsg...
9011 * socket/Makefile (routines): ... here.
9012 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9013 (GLIBC_PRIVATE): Add __sendmmsg.
9014 * include/sys/socket.h (__sendmmsg): Add declarations.
9015 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9016 sendmmsg.
9017
cf9a5d18
JM
90182012-11-20 Joseph Myers <joseph@codesourcery.com>
9019
9020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9021 variable I1 with __attribute__ ((unused)).
9022 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9023
ecd4caf9
JM
90242012-11-19 Joseph Myers <joseph@codesourcery.com>
9025
be14d48f
JM
9026 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9027 DUMMY variables with __attribute__ ((unused)).
9028
ecd4caf9
JM
9029 * bits/byteswap.h: Include <bits/types.h>.
9030 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9031
986cab95
PT
90322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9033
9034 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9035 string_t. Do not manually set errno.
9036 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9037 length with __strnlen. Make sure to both set errno and return it on
9038 failure.
9039
6d33cc9d
DM
90402012-11-19 David S. Miller <davem@davemloft.net>
9041
9042 With help from Joseph Myers.
9043 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9044 very large arguments properly.
9045 * math/libm-test.inc (atan_test): New tests.
9046 (atan2_test): New tests.
9047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9049
ee663277
JM
90502012-11-19 Joseph Myers <joseph@codesourcery.com>
9051
877f2d8e
JM
9052 [BZ #14856]
9053 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9054 Define to 3.
9055
116fc08a
JM
9056 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9057 [POSIX] (EADDRNOTAVAIL): Likewise.
9058 [POSIX] (EAFNOSUPPORT): Likewise.
9059 [POSIX] (EALREADY): Likewise.
9060 [POSIX] (ECONNABORTED): Likewise.
9061 [POSIX] (ECONNREFUSED): Likewise.
9062 [POSIX] (ECONNRESET): Likewise.
9063 [POSIX] (EDESTADDRREQ): Likewise.
9064 [POSIX] (EDQUOT): Likewise.
9065 [POSIX] (EHOSTUNREACH): Likewise.
9066 [POSIX] (EIDRM): Likewise.
9067 [POSIX] (EISCONN): Likewise.
9068 [POSIX] (ELOOP): Likewise.
9069 [POSIX] (EMULTIHOP): Likewise.
9070 [POSIX] (ENETDOWN): Likewise.
9071 [POSIX] (ENETUNREACH): Likewise.
9072 [POSIX] (ENOBUFS): Likewise.
9073 [POSIX] (ENODATA): Likewise.
9074 [POSIX] (ENOLINK): Likewise.
9075 [POSIX] (ENOMSG): Likewise.
9076 [POSIX] (ENOPROTOOPT): Likewise.
9077 [POSIX] (ENOSR): Likewise.
9078 [POSIX] (ENOSTR): Likewise.
9079 [POSIX] (ENOTCONN): Likewise.
9080 [POSIX] (ENOTSOCK): Likewise.
9081 [POSIX] (EOPNOTSUPP): Likewise.
9082 [POSIX] (EOVERFLOW): Likewise.
9083 [POSIX] (EPROTO): Likewise.
9084 [POSIX] (EPROTONOSUPPORT): Likewise.
9085 [POSIX] (EPROTOTYPE): Likewise.
9086 [POSIX] (ESTALE): Likewise.
9087 [POSIX] (ETIME): Likewise.
9088 [POSIX] (ETXTBSY): Likewise.
9089 [POSIX] (EWOULDBLOCK): Likewise.
9090 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9091 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9092 [POSIX] (SEEK_CUR): Likewise.
9093 [POSIX] (SEEK_END): Likewise.
9094 [POSIX || UNIX98] (mode_t): Do not require.
9095 [POSIX] (off_t): Likewise.
9096 [POSIX] (pid_t): Likewise.
9097 [POSIX] (sys/stat.h): Do not allow header.
9098 [POSIX] (unistd.h): Likewise.
9099 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9100 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9101 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9102 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9103 require.
9104 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9105 sigevent): Specify elements.
9106 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9107 entry.
9108 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9109 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9110
a483863f
JM
9111 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9112 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9113 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9114 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9115 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9116 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9117 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9118 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9119 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9120 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9121 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9122 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9123 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9124 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9125 Likewise.
9126 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9127 Likewise.
9128 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9129 Likewise.
9130 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9131 Likewise.
9132 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9133 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9134 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9135 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9136 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9137 Specify lower bound on value.
9138 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9139 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9140 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9141 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9142 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9143 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9144 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9145 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9146 value.
9147 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9148 as optional.
9149 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9150 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9151 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9152 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9153 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9154 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9155 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9156 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9157 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9158 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9159 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9160 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9161 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9162 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9163 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9164 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9165 entry.
9166 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9167 optional.
9168 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9169 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9170 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9171 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9172 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9173 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9174 Likewise.
9175 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9176 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9177 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9178 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9179 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9180 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9181 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9182 as optional.
9183 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9184 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9185 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9186 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9187 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9188 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9189 specify as optional.
9190 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9191 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9192 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9193 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9194 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9195 [XPG3] (NL_LANGMAX): Likewise.
9196 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9197 [POSIX || XPG3] (NL_NMAX): Likewise.
9198 [POSIX || XPG3] (NL_SETMAX): Likewise.
9199 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9200 [XPG3] (NZERO): Likewise.
9201 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9202 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9203 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9204 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9205 (REG_ERANGE): Expect.
9206 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9207 optional-constant.
9208 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9209 Use (void) in prototype.
9210 [POSIX] (*_t): Allow.
9211 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9212 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9213 (WRDE_BADVAL): Expect.
9214
5ba924e3
JM
9215 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9216 expect.
9217 [XPG3 || XPG4] (O_RSYNC): Likewise.
9218 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9219 Likewise.
9220 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9221 [XPG3 || XPG4] (sigqueue): Likewise.
9222 [XPG3 || XPG4] (sigtimedwait): Likewise.
9223 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9224 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9225 [XPG3 || XPG4] (vsnprintf): Likewise.
9226 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9227 Likewise.
9228 [XPG3 || XPG4] (blksize_t): Likewise.
9229 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9230 Likewise.
9231 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9232 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9233 [XPG3 || XPG4] (struct itimerspec): Likewise.
9234 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9235 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9236 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9237 [XPG3 || XPG4] (clockid_t): Likewise.
9238 [XPG3 || XPG4] (timer_t): Likewise.
9239 [XPG3 || XPG4] (clock_getres): Likewise.
9240 [XPG3 || XPG4] (clock_gettime): Likewise.
9241 [XPG3 || XPG4] (clock_settime): Likewise.
9242 [XPG3 || XPG4] (nanosleep): Likewise.
9243 [XPG3 || XPG4] (timer_create): Likewise.
9244 [XPG3 || XPG4] (timer_delete): Likewise.
9245 [XPG3 || XPG4] (timer_gettime): Likewise.
9246 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9247 [XPG3 || XPG4] (timer_settime): Likewise.
9248 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9249 [XPG3 || XPG4] (getlogin_r): Likewise.
9250 [XPG3 || XPG4] (pread): Likewise.
9251 [XPG3 || XPG4] (pthread_atfork): Likewise.
9252 [XPG3 || XPG4] (pwrite): Likewise.
9253
ee663277
JM
9254 [BZ #14835]
9255 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9256 <bits/siginfo.h>.
9257
942caa16
PT
92582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9259
e19af380
PT
9260 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9261 finalizing MALLSTREAM.
9262
942caa16
PT
9263 * sysdeps/mach/hurd/syncfs.c: New file.
9264
cfde9b46
SP
92652012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9266
9267 [BZ #14719]
9268 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9269 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9270 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9271 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9272 (_nss_dns_gethostbyname4_r): Likewise.
9273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9274 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9275
f6da27e5
PH
92762012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9277
9278 [BZ #13763]
9279 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9280
6665d4a2
SM
92812012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9282
1f51ee92
SM
9283 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9284 * elf/cache.c (print_entry): Print ",AArch64" for
9285 FLAG_AARCH64_LIB64
9286
6665d4a2
SM
9287 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9288 * elf/cache.c (print_entry): Print ",hard-float" for
9289 FLAG_ARM_LIBHF.
9290
05b227bd
DM
92912012-11-18 David S. Miller <davem@davemloft.net>
9292
9293 With help from Joseph Myers.
9294 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9295 cutoff to 2**-13.
9296 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9297 cutoff to 2**-25.
9298 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9299 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9300 small.
9301 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9302 * math/libm-test.inc (y0_test): New tests.
9303 (y1_test): New tests.
9304 * sysdeps/i386/fpu/libm-test-ulps: Update.
9305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9307
786b0b67
AS
93082012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9309
9310 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9311 64-bit targets.
9312 * configure: Regenerated.
9313
8e18b86d
DM
93142012-11-17 David S. Miller <davem@davemloft.net>
9315
9316 [BZ #14811]
9317 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9318 nonzero exponents with absolute value below 0x1p-128 to +/-
9319 0x1p-128.
9320
531f1ae0
JM
93212012-11-17 Joseph Myers <joseph@codesourcery.com>
9322
12df29e2
JM
9323 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9324
150dc1a0
JM
9325 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9326
531f1ae0
JM
9327 * posix/getconf-speclist.c: New file.
9328 * posix/posix-envs.def: Likewise.
9329 * posix/confstr.c (START_ENV_GROUP): New macro.
9330 (END_ENV_GROUP): Likewise.
9331 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9332 (KNOWN_PRESENT_ENV_STRING): Likewise.
9333 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9334 (UNKNOWN_ENVIRONMENT): Likewise.
9335 (confstr): Include posix-envs.def instead of handling
9336 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9337 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9338 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9339 (END_ENV_GROUP): Likewise.
9340 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9341 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9342 (UNKNOWN_ENVIRONMENT): Likewise.
9343 (__sysconf): Include posix-envs.def instead of handling associated
9344 cases directly here.
9345 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9346 preprocessing getconf-speclist.c rather than running getconf or
9347 generating empty file.
9348
a93f9cbc
PT
93492012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9350
9351 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9352
d64d9f87
AL
93532012-11-16 Andrej Lajovic <natrij@gmail.com>
9354
9355 [BZ #14672]
9356 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9357
447885eb
DM
93582012-11-16 David S. Miller <davem@davemloft.net>
9359
9360 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9361 smaller than LDBL_EPSILON/2.0L, just return xm1.
9362
bcbf9830
L
93632012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9364
9365 * elf/tst-array1.c (init): Set constructor priority to 1000.
9366 (fini): Set destructor priority to 1000.
9367 * elf/tst-array2dep.c: Likewise.
9368
2b766585
SP
93692012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9370
9371 [BZ #11741]
9372 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9373 (_IO_new_file_xsputn): Also return EOF if none of the input
9374 data was written when overflow failed.
9375 * libio/iopadn.c (_IO_padn): Likewise.
9376 * libio/iowpadn.c (_IO_wpadn): Likewise.
9377 * stdio-common/tst-put-error.c: Add copyright notice.
9378 (do_test): Add case for printing padded string.
9379 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9380 _IO_padn returned error.
9381 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9382 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9383 return EOF.
9384
b1848fde
SP
93852012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9386
9387 * libio/libioP.h: Add comment note that the references to C++
9388 bits are now obsolete.
9389
2fd89785
MS
93902012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9391
9392 * math/libm-test.inc (check_complex): Use asprintf.
9393
e3ea5409
JM
93942012-11-14 Joseph Myers <joseph@codesourcery.com>
9395
9396 * debug/pcprofiledump.c (print_version): Update copyright year.
9397 * malloc/memusagestat.c (print_version): Likewise.
9398
2e64d265
L
93992012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 [BZ #14831]
9402 * elf/Makefile (tests): Add tst-audit8.
9403 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9404 ($(objpfx)tst-audit8.out): New target.
9405 (tst-audit8-ENV): New variable.
9406 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9407 audit if l_reloc_result is NULL.
9408 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9409 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9410 * elf/tst-audit8.c: New file.
9411
c485e4d2
MS
94122012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9413
9414 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9415 * misc/Makefile (CFLAGS-select.c): Define.
9416 * posix/Makefile (CFLAGS-pause.c): Define.
9417
3a0d900a
DM
94182012-11-13 David S. Miller <davem@davemloft.net>
9419
9420 * crypt/Makefile: Move test targets after toplevel Rules
9421 inclusion. Grab any necessary sysdep routines when linking.
9422 * crypt/md5.c (md5_process_block): Remove define, we will always
9423 name it __md5_process_block.
9424 (md5_finish_ctx): Update md5_process_block call.
9425 (md5_stream): Likewise.
9426 (md5_process_bytes): Likewise.
9427 (md5_process_block): Rename to __md5_process_block and move to ...
9428 * crypt/md5-block.c: ... here.
9429 * crypt/sha256.c (sha256_process_block): Move to ...
9430 * crypt/sha256-block.c: ... here.
9431 * crypt/sha512.c (sha512_process_block): Move to ...
9432 * crypt/sha512-block.c: ... here.
9433 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9434 path.
9435 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9436 * sysdeps/sparc/sparc64/multiarch/Makefile
9437 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9438 crypt subdir.
9439 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9440 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9441 multiarch changes.
9442 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9443 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9444 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9445 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9446 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9447 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9449 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9450 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9451 file.
9452 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9453 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9454 file.
9455 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9456
8ca89318
JM
94572012-11-13 Joseph Myers <joseph@codesourcery.com>
9458
e27d476a
JM
9459 * timezone/tzselect.ksh: Update from tzcode git revision
9460 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9461 * timezone/zdump.c: Likewise.
9462 * timezone/zic.c: Likewise.
9463 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9464 in TZVERSION setting, not $(PKGVERSION).
9465 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9466 REPORT_BUGS_TO settings.
9467
8ca89318
JM
9468 [BZ #14838]
9469 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9470 macro.
9471
47594329
MS
94722012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9473
9474 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9475 detection to immediately after _FP_ROUND().
9476 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9477 bits are 0.
9478
640ac3f1
DM
94792012-11-11 David S. Miller <davem@davemloft.net>
9480
9481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9482 inttypes.h
9483 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9484 __close rather than their public counterparts.
9485
3d2577bb
JM
94862012-11-10 Joseph Myers <joseph@codesourcery.com>
9487
9488 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9489 file.
9490 [UNIX98] (sem_timedwait): Do not expect.
9491 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9492 [XPG4 || UNIX98] (sockatmark): Do not expect.
9493 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9494 (clock_getcpuclockid): Do not expect.
9495 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9496 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9497 Do not expect.
9498 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9499 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9500 [UNIX98] (vwscanf): Likewise.
9501 [UNIX98] (vswscanf): Likewise.
9502
fb1ae1ee
JM
95032012-11-09 Joseph Myers <joseph@codesourcery.com>
9504
9ec6f8bd
JM
9505 * timezone/version.h: Remove file.
9506 * timezone/README: Do not refer to version.h.
9507 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9508 $(objpfx)version.h.
9509 ($(objpfx)zdump.o): Likewise.
c3f81911 9510 ($(objpfx)version.h): New target.
9ec6f8bd 9511
0aa8f8a1
JM
9512 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9513 2012i.
9514 * timezone/README: Don't mention modification to tzselect.ksh.
9515 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9516 work on unmodified tzselect.ksh. Substitute version numbers in
9517 tzselect.ksh.
9518
4e87147f
JM
9519 * Makefile (format-me): Remove.
9520 (INSTALL): Adjust indentation. Use commands directly instead of
9521 using $(format-me).
9522
8b748aed
JM
9523 * aclocal.m4 (ACX_PKGVERSION): New macro.
9524 (ACX_BUGURL): Likewise.
9525 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9526 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9527 (REPORT_BUGS_TO): Likewise.
9528 * configure: Regenerated.
9529 * config.h.in (PKGVERSION): New macro.
9530 (REPORT_BUGS_TO): Likewise.
9531 * config.make.in (PKGVERSION): New variable.
9532 (PKGVERSION_TEXI): Likewise.
9533 (REPORT_BUGS_TO): Likewise.
9534 (REPORT_BUGS_TEXI): Likewise.
9535 * Makefile (format-me): Use -I$(common-objpfx)manual.
9536 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9537 ($(common-objpfx)manual/%): New target.
9538 (manual/%): Remove target.
9539 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9540 (print_version): Use PKGVERSION.
9541 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9542 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9543 and REPORT_BUGS_TO.
9544 ($(objpfx)xtrace): Likewise.
9545 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9546 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9547 (print_version): Use PKGVERSION.
9548 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9549 (do_version): Use PKGVERSION.
9550 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9551 REPORT_BUGS_TO.
9552 (common-ldd-rewrite): Likewise.
9553 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9554 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9555 (print_version): Use PKGVERSION.
9556 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9557 * elf/pldd.c (argp_program_bug_address): Remove variable.
9558 (more_help): New function.
9559 (argp): Use more_help.
9560 (print_version): Use PKGVERSION.
9561 * elf/sln.c (main): Use PKGVERSION.
9562 (usage): Use REPORT_BUGS_TO.
9563 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9564 (top level): Use PKGVERSION.
9565 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9566 (print_version): Use PKGVERSION.
9567 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9568 (print_version): Use PKGVERSION.
9569 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9570 (print_version): Use PKGVERSION.
9571 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9572 (print_version): Use PKGVERSION.
9573 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9574 (print_version): Use PKGVERSION.
9575 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9576 (print_version): Use PKGVERSION.
9577 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9578 and BUGURL.
9579 ($(objpfx)memusage): Likewise.
9580 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9581 (do_version): Use PKGVERSION.
9582 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9583 (print_version): Use PKGVERSION.
9584 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9585 ($PKGVERSION): New variable.
9586 ($REPORT_BUGS_TO): Likewise.
9587 (usage): Use $REPORT_BUGS_TO.
9588 (top level): Use $PKGVERSION.
9589 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9590 ($(objpfx)pkgvers.texi): New rule.
9591 ($(objpfx)stamp-pkgvers): Likewise.
9592 * manual/install.texi: Include pkgvers.texi.
9593 (--with-pkgversion): Document new configure option.
9594 (--with-bugurl): Likewise.
9595 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9596 than necessarily for this particular distribution. Use
9597 REPORT_BUGS_TO for where to report bugs.
9598 * INSTALL: Regenerated.
9599 * manual/libc.texinfo: Include pkgvers.texi.
9600 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9601 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9602 (print_version): Use PKGVERSION.
9603 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9604 (print_version): Use PKGVERSION.
9605 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9606 (print_version): Use PKGVERSION.
9607 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9608 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9609 macro.
9610 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9611 (print_version): Use PKGVERSION.
9612 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9613 (print_version): Use PKGVERSION.
9614 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9615 and PKGVERSION.
9616
92e4b6a9
JM
9617 * timezone/checktab.awk: Update from tzcode 2012i.
9618 * timezone/ialloc.c: Likewise.
9619 * timezone/private.h: Likewise.
9620 * timezone/scheck.c: Likewise.
9621 * timezone/tzfile.h: Likewise.
9622 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9623 (TZVERSION): Hardcode tzcode version number.
9624 * timezone/zdump.c: Update from tzcode 2012i.
9625 * timezone/zic.c: Likewise.
9626 * timezone/version.h: New file.
9627 * timezone/README: Describe version.h. Update upstream location.
9628
9bde902c
JM
9629 [BZ #14824]
9630 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9631 (mktemp): Enable declaration.
9632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9634 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9636 Likewise.
9637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9638 Likewise.
9639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9640 Likewise.
9641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9642 Likewise.
9643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9644 Likewise.
9645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9646 Likewise.
9647
fb1ae1ee
JM
9648 [BZ #14821]
9649 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9650 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9651 for copies of such integer values.
9652 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9653 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9654
2c1adbcb
AJ
96552012-11-09 Andreas Jaeger <aj@suse.de>
9656
9657 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9658 definitions and declarations that are provided by
9659 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9660
d0f8457e
AK
96612012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9662
3a235abb 9663 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9664 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9665 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9666 definition.
9667
57241e26
MS
96682012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9669
9670 * elf/elf.h: Update comment before AArch64 relocations.
9671
60e8270d
DM
96722012-11-07 David S. Miller <davem@davemloft.net>
9673
9674 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9675 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9676 (__start_context): Declare.
9677 (__makecontext_ret): Delete.
9678 (__makecontext): Hook up __start_context instead of
9679 __makecontext_ret.
9680 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9681 (sysdep_routines): Add __start_context when in stdlib.
9682
0fbb0fbc
JM
96832012-11-07 Joseph Myers <joseph@codesourcery.com>
9684
9685 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9686 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9687 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9688 hardcoded "nm".
9689 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9690 (READELF): New variable. Use it instead of hardcoded "readelf".
9691
eb48db7e
L
96922012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9693
9694 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9695 * sysdeps/x86/Makefile: Here.
9696 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9697 * sysdeps/x86/tst-xmmymm.sh: This.
9698
05bcf62a
JM
96992012-11-07 Joseph Myers <joseph@codesourcery.com>
9700
c4b6cf53
JM
9701 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9702 expectations.
9703 [UNIX98] (pthread_barrier_t): Do not expect.
9704 [UNIX98] (pthread_barrierattr_t): Likewise.
9705 [UNIX98] (pthread_spinlock_t): Likewise.
9706 [UNIX98] (pthread_barrier_destroy): Likewise.
9707 [UNIX98] (pthread_barrier_init): Likewise.
9708 [UNIX98] (pthread_barrier_wait): Likewise.
9709 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9710 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9711 [UNIX98] (pthread_barrierattr_init): Likewise.
9712 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9713 [UNIX98] (pthread_getcpuclockid): Likewise.
9714 [UNIX98] (pthread_mutex_timedlock): Likewise.
9715 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9716 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9717 [UNIX98] (pthread_sigmask): Likewise.
9718 [UNIX98] (pthread_spin_destroy): Likewise.
9719 [UNIX98] (pthread_spin_init): Likewise.
9720 [UNIX98] (pthread_spin_lock): Likewise.
9721 [UNIX98] (pthread_spin_trylock): Likewise.
9722 [UNIX98] (pthread_spin_unlock): Likewise.
9723 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9724 Do not expect.
9725 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9726 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9727 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9728 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9729 [XPG3 || XPG4] (pthread_key_t): Likewise.
9730 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9731 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9732 [XPG3 || XPG4] (pthread_once_t): Likewise.
9733 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9734 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9735 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9736 [XPG3 || XPG4] (pthread_t): Likewise.
9737
cbe6e120
JM
9738 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9739 not expect.
9740 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9741
1b126443
JM
9742 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9743 Change function return type to int.
9744
b961a573
JM
9745 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9746 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9747 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9748 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9749 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9750 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9751 [!POSIX] (posix_madvise): Likewise.
9752 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9753 && !UNIX98].
9754 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9755 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9756 (mode_t): Likewise.
9757 (posix_mem_offset): Likewise.
9758 (posix_typed_mem_get_info): Likewise.
9759 (posix_typed_mem_open): Likewise.
9760
9e188909
JM
9761 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9762 Change condition to [XOPEN2K8].
9763
05bcf62a
JM
9764 * conform/conformtest.pl: Preprocess allow-header data with -x c
9765 instead of from stdin.
9766 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9767 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9768 [C99-based standards] (cerfc): Likewise.
9769 [C99-based standards] (cexp2): Likewise.
9770 [C99-based standards] (cexpm1): Likewise.
9771 [C99-based standards] (clog10): Likewise.
9772 [C99-based standards] (clog1p): Likewise.
9773 [C99-based standards] (clog2): Likewise.
9774 [C99-based standards] (clgamma): Likewise.
9775 [C99-based standards] (ctgamma): Likewise.
9776 [C99-based standards] (cerff): Likewise.
9777 [C99-based standards] (cerfcf): Likewise.
9778 [C99-based standards] (cexp2f): Likewise.
9779 [C99-based standards] (cexpm1f): Likewise.
9780 [C99-based standards] (clog10f): Likewise.
9781 [C99-based standards] (clog1pf): Likewise.
9782 [C99-based standards] (clog2f): Likewise.
9783 [C99-based standards] (clgammaf): Likewise.
9784 [C99-based standards] (ctgammaf): Likewise.
9785 [C99-based standards] (cerfl): Likewise.
9786 [C99-based standards] (cerfcl): Likewise.
9787 [C99-based standards] (cexp2l): Likewise.
9788 [C99-based standards] (cexpm1l): Likewise.
9789 [C99-based standards] (clog10l): Likewise.
9790 [C99-based standards] (clog1pl): Likewise.
9791 [C99-based standards] (clog2l): Likewise.
9792 [C99-based standards] (clgammal): Likewise.
9793 [C99-based standards] (ctgammal): Likewise.
9794 * conform/data/inttypes.h-data [C99-based standards]: Include
9795 stdint.h-data. Remove all expectations for stdint.h contents.
9796 [C99-based standards] (PRI*): Do not allow.
9797 [C99-based standards] (SCN*): Likewise.
9798 [C99-based standards] (*_t): Likewise.
9799 [C99-based-standards] (PRId8): Expect macro.
9800 [C99-based-standards] (PRIi8): Likewise.
9801 [C99-based-standards] (PRIo8): Likewise.
9802 [C99-based-standards] (PRIu8): Likewise.
9803 [C99-based-standards] (PRIx8): Likewise.
9804 [C99-based-standards] (PRIX8): Likewise.
9805 [C99-based-standards] (SCNd8): Likewise.
9806 [C99-based-standards] (SCNi8): Likewise.
9807 [C99-based-standards] (SCNo8): Likewise.
9808 [C99-based-standards] (SCNu8): Likewise.
9809 [C99-based-standards] (SCNx8): Likewise.
9810 [C99-based-standards] (PRIdLEAST8): Likewise.
9811 [C99-based-standards] (PRIiLEAST8): Likewise.
9812 [C99-based-standards] (PRIoLEAST8): Likewise.
9813 [C99-based-standards] (PRIuLEAST8): Likewise.
9814 [C99-based-standards] (PRIxLEAST8): Likewise.
9815 [C99-based-standards] (PRIXLEAST8): Likewise.
9816 [C99-based-standards] (SCNdLEAST8): Likewise.
9817 [C99-based-standards] (SCNiLEAST8): Likewise.
9818 [C99-based-standards] (SCNoLEAST8): Likewise.
9819 [C99-based-standards] (SCNuLEAST8): Likewise.
9820 [C99-based-standards] (SCNxLEAST8): Likewise.
9821 [C99-based-standards] (PRIdFAST8): Likewise.
9822 [C99-based-standards] (PRIiFAST8): Likewise.
9823 [C99-based-standards] (PRIoFAST8): Likewise.
9824 [C99-based-standards] (PRIuFAST8): Likewise.
9825 [C99-based-standards] (PRIxFAST8): Likewise.
9826 [C99-based-standards] (PRIXFAST8): Likewise.
9827 [C99-based-standards] (SCNdFAST8): Likewise.
9828 [C99-based-standards] (SCNiFAST8): Likewise.
9829 [C99-based-standards] (SCNoFAST8): Likewise.
9830 [C99-based-standards] (SCNuFAST8): Likewise.
9831 [C99-based-standards] (SCNxFAST8): Likewise.
9832 [C99-based-standards] (PRId16): Likewise.
9833 [C99-based-standards] (PRIi16): Likewise.
9834 [C99-based-standards] (PRIo16): Likewise.
9835 [C99-based-standards] (PRIu16): Likewise.
9836 [C99-based-standards] (PRIx16): Likewise.
9837 [C99-based-standards] (PRIX16): Likewise.
9838 [C99-based-standards] (SCNd16): Likewise.
9839 [C99-based-standards] (SCNi16): Likewise.
9840 [C99-based-standards] (SCNo16): Likewise.
9841 [C99-based-standards] (SCNu16): Likewise.
9842 [C99-based-standards] (SCNx16): Likewise.
9843 [C99-based-standards] (PRIdLEAST16): Likewise.
9844 [C99-based-standards] (PRIiLEAST16): Likewise.
9845 [C99-based-standards] (PRIoLEAST16): Likewise.
9846 [C99-based-standards] (PRIuLEAST16): Likewise.
9847 [C99-based-standards] (PRIxLEAST16): Likewise.
9848 [C99-based-standards] (PRIXLEAST16): Likewise.
9849 [C99-based-standards] (SCNdLEAST16): Likewise.
9850 [C99-based-standards] (SCNiLEAST16): Likewise.
9851 [C99-based-standards] (SCNoLEAST16): Likewise.
9852 [C99-based-standards] (SCNuLEAST16): Likewise.
9853 [C99-based-standards] (SCNxLEAST16): Likewise.
9854 [C99-based-standards] (PRIdFAST16): Likewise.
9855 [C99-based-standards] (PRIiFAST16): Likewise.
9856 [C99-based-standards] (PRIoFAST16): Likewise.
9857 [C99-based-standards] (PRIuFAST16): Likewise.
9858 [C99-based-standards] (PRIxFAST16): Likewise.
9859 [C99-based-standards] (PRIXFAST16): Likewise.
9860 [C99-based-standards] (SCNdFAST16): Likewise.
9861 [C99-based-standards] (SCNiFAST16): Likewise.
9862 [C99-based-standards] (SCNoFAST16): Likewise.
9863 [C99-based-standards] (SCNuFAST16): Likewise.
9864 [C99-based-standards] (SCNxFAST16): Likewise.
9865 [C99-based-standards] (PRId32): Likewise.
9866 [C99-based-standards] (PRIi32): Likewise.
9867 [C99-based-standards] (PRIo32): Likewise.
9868 [C99-based-standards] (PRIu32): Likewise.
9869 [C99-based-standards] (PRIx32): Likewise.
9870 [C99-based-standards] (PRIX32): Likewise.
9871 [C99-based-standards] (SCNd32): Likewise.
9872 [C99-based-standards] (SCNi32): Likewise.
9873 [C99-based-standards] (SCNo32): Likewise.
9874 [C99-based-standards] (SCNu32): Likewise.
9875 [C99-based-standards] (SCNx32): Likewise.
9876 [C99-based-standards] (PRIdLEAST32): Likewise.
9877 [C99-based-standards] (PRIiLEAST32): Likewise.
9878 [C99-based-standards] (PRIoLEAST32): Likewise.
9879 [C99-based-standards] (PRIuLEAST32): Likewise.
9880 [C99-based-standards] (PRIxLEAST32): Likewise.
9881 [C99-based-standards] (PRIXLEAST32): Likewise.
9882 [C99-based-standards] (SCNdLEAST32): Likewise.
9883 [C99-based-standards] (SCNiLEAST32): Likewise.
9884 [C99-based-standards] (SCNoLEAST32): Likewise.
9885 [C99-based-standards] (SCNuLEAST32): Likewise.
9886 [C99-based-standards] (SCNxLEAST32): Likewise.
9887 [C99-based-standards] (PRIdFAST32): Likewise.
9888 [C99-based-standards] (PRIiFAST32): Likewise.
9889 [C99-based-standards] (PRIoFAST32): Likewise.
9890 [C99-based-standards] (PRIuFAST32): Likewise.
9891 [C99-based-standards] (PRIxFAST32): Likewise.
9892 [C99-based-standards] (PRIXFAST32): Likewise.
9893 [C99-based-standards] (SCNdFAST32): Likewise.
9894 [C99-based-standards] (SCNiFAST32): Likewise.
9895 [C99-based-standards] (SCNoFAST32): Likewise.
9896 [C99-based-standards] (SCNuFAST32): Likewise.
9897 [C99-based-standards] (SCNxFAST32): Likewise.
9898 [C99-based-standards] (PRId64): Likewise.
9899 [C99-based-standards] (PRIi64): Likewise.
9900 [C99-based-standards] (PRIo64): Likewise.
9901 [C99-based-standards] (PRIu64): Likewise.
9902 [C99-based-standards] (PRIx64): Likewise.
9903 [C99-based-standards] (PRIX64): Likewise.
9904 [C99-based-standards] (SCNd64): Likewise.
9905 [C99-based-standards] (SCNi64): Likewise.
9906 [C99-based-standards] (SCNo64): Likewise.
9907 [C99-based-standards] (SCNu64): Likewise.
9908 [C99-based-standards] (SCNx64): Likewise.
9909 [C99-based-standards] (PRIdLEAST64): Likewise.
9910 [C99-based-standards] (PRIiLEAST64): Likewise.
9911 [C99-based-standards] (PRIoLEAST64): Likewise.
9912 [C99-based-standards] (PRIuLEAST64): Likewise.
9913 [C99-based-standards] (PRIxLEAST64): Likewise.
9914 [C99-based-standards] (PRIXLEAST64): Likewise.
9915 [C99-based-standards] (SCNdLEAST64): Likewise.
9916 [C99-based-standards] (SCNiLEAST64): Likewise.
9917 [C99-based-standards] (SCNoLEAST64): Likewise.
9918 [C99-based-standards] (SCNuLEAST64): Likewise.
9919 [C99-based-standards] (SCNxLEAST64): Likewise.
9920 [C99-based-standards] (PRIdFAST64): Likewise.
9921 [C99-based-standards] (PRIiFAST64): Likewise.
9922 [C99-based-standards] (PRIoFAST64): Likewise.
9923 [C99-based-standards] (PRIuFAST64): Likewise.
9924 [C99-based-standards] (PRIxFAST64): Likewise.
9925 [C99-based-standards] (PRIXFAST64): Likewise.
9926 [C99-based-standards] (SCNdFAST64): Likewise.
9927 [C99-based-standards] (SCNiFAST64): Likewise.
9928 [C99-based-standards] (SCNoFAST64): Likewise.
9929 [C99-based-standards] (SCNuFAST64): Likewise.
9930 [C99-based-standards] (SCNxFAST64): Likewise.
9931 [C99-based-standards] (PRIdMAX): Likewise.
9932 [C99-based-standards] (PRIiMAX): Likewise.
9933 [C99-based-standards] (PRIoMAX): Likewise.
9934 [C99-based-standards] (PRIuMAX): Likewise.
9935 [C99-based-standards] (PRIxMAX): Likewise.
9936 [C99-based-standards] (PRIXMAX): Likewise.
9937 [C99-based-standards] (SCNdMAX): Likewise.
9938 [C99-based-standards] (SCNiMAX): Likewise.
9939 [C99-based-standards] (SCNoMAX): Likewise.
9940 [C99-based-standards] (SCNuMAX): Likewise.
9941 [C99-based-standards] (SCNxMAX): Likewise.
9942 [C99-based-standards] (PRIdPTR): Likewise.
9943 [C99-based-standards] (PRIiPTR): Likewise.
9944 [C99-based-standards] (PRIoPTR): Likewise.
9945 [C99-based-standards] (PRIuPTR): Likewise.
9946 [C99-based-standards] (PRIxPTR): Likewise.
9947 [C99-based-standards] (PRIXPTR): Likewise.
9948 [C99-based-standards] (SCNdPTR): Likewise.
9949 [C99-based-standards] (SCNiPTR): Likewise.
9950 [C99-based-standards] (SCNoPTR): Likewise.
9951 [C99-based-standards] (SCNuPTR): Likewise.
9952 [C99-based-standards] (SCNxPTR): Likewise.
9953 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9954 allow.
9955 * conform/data/stdint.h-data: Update comments to clarify
9956 requirements.
9957 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9958 type.
9959 [C99-based standards] (INT8_MAX): Likewise.
9960 [C99-based standards] (INT16_MIN): Likewise.
9961 [C99-based standards] (INT16_MAX): Likewise.
9962 [C99-based standards] (INT32_MIN): Likewise.
9963 [C99-based standards] (INT32_MAX): Likewise.
9964 [C99-based standards] (INT64_MIN): Likewise.
9965 [C99-based standards] (INT64_MAX): Likewise.
9966 [C99-based standards] (UINT8_MAX): Likewise.
9967 [C99-based standards] (UINT16_MAX): Likewise.
9968 [C99-based standards] (UINT32_MAX): Likewise.
9969 [C99-based standards] (UINT64_MAX): Likewise.
9970 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9971 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9972 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9973 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9974 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9975 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9976 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9977 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9978 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9979 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9980 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9981 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9982 [C99-based standards] (INT_FAST8_MIN): Likewise.
9983 [C99-based standards] (INT_FAST8_MAX): Likewise.
9984 [C99-based standards] (INT_FAST16_MIN): Likewise.
9985 [C99-based standards] (INT_FAST16_MAX): Likewise.
9986 [C99-based standards] (INT_FAST32_MIN): Likewise.
9987 [C99-based standards] (INT_FAST32_MAX): Likewise.
9988 [C99-based standards] (INT_FAST64_MIN): Likewise.
9989 [C99-based standards] (INT_FAST64_MAX): Likewise.
9990 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9991 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9992 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9993 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9994 [C99-based standards] (INTPTR_MIN): Likewise.
9995 [C99-based standards] (INTPTR_MAX): Likewise.
9996 [C99-based standards] (UINTPTR_MAX): Likewise.
9997 [C99-based standards] (INTMAX_MIN): Likewise.
9998 [C99-based standards] (INTMAX_MAX): Likewise.
9999 [C99-based standards] (UINTMAX_MAX): Likewise.
10000 [C99-based standards] (PTRDIFF_MIN): Likewise.
10001 [C99-based standards] (PTRDIFF_MAX): Likewise.
10002 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10003 [C99-based standards] (SIZE_MAX): Likewise.
10004 [C99-based standards] (WCHAR_MAX): Likewise.
10005 [C99-based standards] (WINT_MAX): Likewise.
10006 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10007 constraint on value.
10008 [C99-based standards] (WCHAR_MIN): Likewise.
10009 [C99-based standards] (WINT_MIN): Likewise.
10010 [C99-based standards] (*_t): Allow.
10011 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10012 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10013 Include math.h-data and complex.h-data. Remove all expectations
10014 of math.h and complex.h contents.
10015 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10016 at end of line.
10017 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10018 (struct tm): Expect tag.
10019 [C99-based-standards] (wcstof): Expect function.
10020 [C99-based-standards] (wcstold): Likewise.
10021 [C99-based-standards] (wcstoll): Likewise.
10022 [C99-based-standards] (wcstoull): Likewise.
10023 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10024 macro-int-constant. Specify type.
10025 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10026 constraint on value.
10027 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10028 Specify type.
10029 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10030 Specify value.
10031 [ISO C standards]: Do not allow headers.
10032 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10033 wcs[abcdefghijklmnopqrstuvwxyz]*.
10034 [ISO C standards] (*_t): Do not allow.
10035 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10036 Expect function.
10037 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10038 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10039 Specify type.
10040 [ISO C standards]: Do not allow headers.
10041 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10042 is[abcdefghijklmnopqrstuvwxyz]*.
10043 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10044 to[abcdefghijklmnopqrstuvwxyz]*.
10045 [ISO C standards] (*_t): Do not allow.
10046 * conform/data/stdalign.h-data: New file.
10047 * conform/data/stdbool.h-data: Likewise.
10048 * conform/data/stdnoreturn.h-data: Likewise.
10049
7514feb8
RM
100502012-11-07 Roland McGrath <roland@hack.frob.com>
10051
10052 [BZ #14815]
10053 * manual/filesys.texi (Directory Entries): Typo fix.
10054 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10055
19b2ecfc
MS
100562012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10057
10058 * elf/elf.h (EM_AARCH64): New macro.
10059 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10060 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10061 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10062 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10063 (R_AARCH64_TLSDESC): Likewise.
10064 (NT_ARM_TLS): Likewise.
10065 (NT_ARM_HW_BREAK): Likewise.
10066 (NT_ARM_HW_WATCH): Likewise.
10067
60e235ee
JM
100682012-11-07 Joseph Myers <joseph@codesourcery.com>
10069
10070 [BZ #14811]
10071 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10072 (__ieee754_powl): Saturate nonzero exponents with absolute value
10073 below 0x1p-79 to +/- 0x1p-79.
10074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10075 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10076 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10077 nonzero exponents with absolute value below 0x1p-32 to +/-
10078 0x1p-32.
10079 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10080 (__ieee754_powl): Saturate nonzero exponents with absolute value
10081 below 0x1p-79 to +/- 0x1p-79.
10082 * math/libm-test.inc (pow_test): Add more tests.
10083
0ab234b7
AK
100842012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10085
10086 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10087 _dl_s390_cap_flags with kernel. Increase string length.
10088 (_dl_s390_platforms): Add z196 and zEC12.
10089
45832f74
JM
100902012-11-07 Joseph Myers <joseph@codesourcery.com>
10091
10092 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10093 Change XOPEN21K to XOPEN2K.
10094
19218757
MK
100952012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10096
10097 * string/memmove.c: Use memcpy when possible.
10098
c5f45721
AJ
100992012-11-06 Andreas Jaeger <aj@suse.de>
10100
10101 * po/eo.po: Update from translation team.
10102
82477c28
JM
101032012-11-06 Joseph Myers <joseph@codesourcery.com>
10104
10105 [BZ #14793]
10106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10107 exponent and small x and y exponents, scale x or y up. Increase
10108 by 2 the exponent used in scaling up.
10109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10111 * math/libm-test.inc (fma_test): Add more tests.
10112 (fma_test_towardzero): Likewise.
10113 (fma_test_downward): Likewise.
10114 (fma_test_upward): Likewise.
10115
99252c8c
JM
101162012-11-05 Joseph Myers <joseph@codesourcery.com>
10117
acfa885f
JM
10118 [BZ #14805]
10119 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10120 fenv_t *.
10121
99252c8c
JM
10122 [BZ #14801]
10123 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10124 namespace for names of struct fields.
10125 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10126 fenv_t fields.
10127 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10128 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10129
d6d98dea
ST
101302012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10131
10132 [BZ #3665]
10133 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10134
e10bb107
TS
101352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10136
10137 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10138 PTR_DEMANGLE.
10139
10140 [BZ #5246]
10141 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10142 PTR_DEMANGLE.
10143
a0c2940d
JM
101442012-11-04 Joseph Myers <joseph@codesourcery.com>
10145
10146 [BZ #14797]
10147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10148 definitely overflow as x * y not x * y + z.
10149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10150 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10151 * math/libm-test.inc (fma_test): Add more tests.
10152 (fma_test_towardzero): Likewise.
10153 (fma_test_downward): Likewise.
10154 (fma_test_upward): Likewise.
10155
b830319d
TS
101562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10157
10158 [BZ #157]
10159
10160 * include/stub-tag.h: Remove file.
10161 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10162 '#include' of it.
10163 * manual/maint.texi (Porting): Don't reference it.
10164 * Makerules ($(objpfx)stubs): Likewise.
10165 * dirent/closedir.c: Don't include <stub-tag.h>.
10166 * dirent/dirfd.c: Likewise.
10167 * dirent/fdopendir.c: Likewise.
10168 * dirent/getdents.c: Likewise.
10169 * dirent/getdents64.c: Likewise.
10170 * dirent/opendir.c: Likewise.
10171 * dirent/readdir.c: Likewise.
10172 * dirent/readdir64.c: Likewise.
10173 * dirent/readdir64_r.c: Likewise.
10174 * dirent/readdir_r.c: Likewise.
10175 * dirent/rewinddir.c: Likewise.
10176 * dirent/seekdir.c: Likewise.
10177 * dirent/telldir.c: Likewise.
10178 * gmon/profil.c: Likewise.
10179 * grp/setgroups.c: Likewise.
10180 * inet/if_index.c: Likewise.
10181 * io/access.c: Likewise.
10182 * io/chdir.c: Likewise.
10183 * io/chmod.c: Likewise.
10184 * io/chown.c: Likewise.
10185 * io/close.c: Likewise.
10186 * io/dup.c: Likewise.
10187 * io/dup2.c: Likewise.
10188 * io/dup3.c: Likewise.
10189 * io/euidaccess.c: Likewise.
10190 * io/faccessat.c: Likewise.
10191 * io/fchdir.c: Likewise.
10192 * io/fchmod.c: Likewise.
10193 * io/fchmodat.c: Likewise.
10194 * io/fchown.c: Likewise.
10195 * io/fchownat.c: Likewise.
10196 * io/fcntl.c: Likewise.
10197 * io/flock.c: Likewise.
10198 * io/fstatfs.c: Likewise.
10199 * io/fstatfs64.c: Likewise.
10200 * io/fstatvfs.c: Likewise.
10201 * io/fstatvfs64.c: Likewise.
10202 * io/futimens.c: Likewise.
10203 * io/fxstat.c: Likewise.
10204 * io/fxstat64.c: Likewise.
10205 * io/fxstatat.c: Likewise.
10206 * io/fxstatat64.c: Likewise.
10207 * io/getcwd.c: Likewise.
10208 * io/isatty.c: Likewise.
10209 * io/lchmod.c: Likewise.
10210 * io/lchown.c: Likewise.
10211 * io/link.c: Likewise.
10212 * io/linkat.c: Likewise.
10213 * io/lseek.c: Likewise.
10214 * io/lseek64.c: Likewise.
10215 * io/lxstat64.c: Likewise.
10216 * io/mkdir.c: Likewise.
10217 * io/mkdirat.c: Likewise.
10218 * io/mkfifo.c: Likewise.
10219 * io/mkfifoat.c: Likewise.
10220 * io/open.c: Likewise.
10221 * io/open64.c: Likewise.
10222 * io/openat.c: Likewise.
10223 * io/openat64.c: Likewise.
10224 * io/pipe.c: Likewise.
10225 * io/pipe2.c: Likewise.
10226 * io/poll.c: Likewise.
10227 * io/posix_fadvise.c: Likewise.
10228 * io/posix_fadvise64.c: Likewise.
10229 * io/posix_fallocate.c: Likewise.
10230 * io/posix_fallocate64.c: Likewise.
10231 * io/read.c: Likewise.
10232 * io/readlink.c: Likewise.
10233 * io/readlinkat.c: Likewise.
10234 * io/rmdir.c: Likewise.
10235 * io/sendfile.c: Likewise.
10236 * io/sendfile64.c: Likewise.
10237 * io/statfs.c: Likewise.
10238 * io/statfs64.c: Likewise.
10239 * io/statvfs.c: Likewise.
10240 * io/statvfs64.c: Likewise.
10241 * io/symlink.c: Likewise.
10242 * io/symlinkat.c: Likewise.
10243 * io/ttyname.c: Likewise.
10244 * io/ttyname_r.c: Likewise.
10245 * io/umask.c: Likewise.
10246 * io/unlink.c: Likewise.
10247 * io/unlinkat.c: Likewise.
10248 * io/utime.c: Likewise.
10249 * io/utimensat.c: Likewise.
10250 * io/write.c: Likewise.
10251 * io/xmknod.c: Likewise.
10252 * io/xmknodat.c: Likewise.
10253 * io/xstat.c: Likewise.
10254 * io/xstat64.c: Likewise.
10255 * login/getpt.c: Likewise.
10256 * login/grantpt.c: Likewise.
10257 * login/unlockpt.c: Likewise.
10258 * math/e_acoshl.c: Likewise.
10259 * math/e_acosl.c: Likewise.
10260 * math/e_asinl.c: Likewise.
10261 * math/e_atan2l.c: Likewise.
10262 * math/e_atanhl.c: Likewise.
10263 * math/e_coshl.c: Likewise.
10264 * math/e_expl.c: Likewise.
10265 * math/e_fmodl.c: Likewise.
10266 * math/e_gammal_r.c: Likewise.
10267 * math/e_hypotl.c: Likewise.
10268 * math/e_j0l.c: Likewise.
10269 * math/e_j1l.c: Likewise.
10270 * math/e_jnl.c: Likewise.
10271 * math/e_lgammal_r.c: Likewise.
10272 * math/e_log10l.c: Likewise.
10273 * math/e_log2l.c: Likewise.
10274 * math/e_logl.c: Likewise.
10275 * math/e_powl.c: Likewise.
10276 * math/e_rem_pio2l.c: Likewise.
10277 * math/e_sinhl.c: Likewise.
10278 * math/e_sqrtl.c: Likewise.
10279 * math/fclrexcpt.c: Likewise.
10280 * math/fedisblxcpt.c: Likewise.
10281 * math/feenablxcpt.c: Likewise.
10282 * math/fegetenv.c: Likewise.
10283 * math/fegetexcept.c: Likewise.
10284 * math/fegetround.c: Likewise.
10285 * math/feholdexcpt.c: Likewise.
10286 * math/fesetenv.c: Likewise.
10287 * math/fesetround.c: Likewise.
10288 * math/feupdateenv.c: Likewise.
10289 * math/fgetexcptflg.c: Likewise.
10290 * math/fraiseexcpt.c: Likewise.
10291 * math/fsetexcptflg.c: Likewise.
10292 * math/ftestexcept.c: Likewise.
10293 * math/k_cosl.c: Likewise.
10294 * math/k_rem_pio2l.c: Likewise.
10295 * math/k_sinl.c: Likewise.
10296 * math/k_tanl.c: Likewise.
10297 * math/s_asinhl.c: Likewise.
10298 * math/s_atanl.c: Likewise.
10299 * math/s_cbrtl.c: Likewise.
10300 * math/s_erfl.c: Likewise.
10301 * math/s_expm1l.c: Likewise.
10302 * math/s_log1pl.c: Likewise.
10303 * math/s_tanhl.c: Likewise.
10304 * misc/acct.c: Likewise.
10305 * misc/brk.c: Likewise.
10306 * misc/chflags.c: Likewise.
10307 * misc/chroot.c: Likewise.
10308 * misc/fchflags.c: Likewise.
10309 * misc/fgetxattr.c: Likewise.
10310 * misc/flistxattr.c: Likewise.
10311 * misc/fremovexattr.c: Likewise.
10312 * misc/fsetxattr.c: Likewise.
10313 * misc/fsync.c: Likewise.
10314 * misc/ftruncate.c: Likewise.
10315 * misc/futimes.c: Likewise.
10316 * misc/futimesat.c: Likewise.
10317 * misc/getdomain.c: Likewise.
10318 * misc/getdtsz.c: Likewise.
10319 * misc/gethostid.c: Likewise.
10320 * misc/gethostname.c: Likewise.
10321 * misc/getloadavg.c: Likewise.
10322 * misc/getpagesize.c: Likewise.
10323 * misc/getsysstats.c: Likewise.
10324 * misc/getxattr.c: Likewise.
10325 * misc/gtty.c: Likewise.
10326 * misc/ioctl.c: Likewise.
10327 * misc/lgetxattr.c: Likewise.
10328 * misc/listxattr.c: Likewise.
10329 * misc/llistxattr.c: Likewise.
10330 * misc/lremovexattr.c: Likewise.
10331 * misc/lsetxattr.c: Likewise.
10332 * misc/lutimes.c: Likewise.
10333 * misc/madvise.c: Likewise.
10334 * misc/mincore.c: Likewise.
10335 * misc/mlock.c: Likewise.
10336 * misc/mlockall.c: Likewise.
10337 * misc/mmap.c: Likewise.
10338 * misc/mprotect.c: Likewise.
10339 * misc/msync.c: Likewise.
10340 * misc/munlock.c: Likewise.
10341 * misc/munlockall.c: Likewise.
10342 * misc/munmap.c: Likewise.
10343 * misc/preadv.c: Likewise.
10344 * misc/preadv64.c: Likewise.
10345 * misc/ptrace.c: Likewise.
10346 * misc/pwritev.c: Likewise.
10347 * misc/pwritev64.c: Likewise.
10348 * misc/readv.c: Likewise.
10349 * misc/reboot.c: Likewise.
10350 * misc/remap_file_pages.c: Likewise.
10351 * misc/removexattr.c: Likewise.
10352 * misc/revoke.c: Likewise.
10353 * misc/select.c: Likewise.
10354 * misc/setdomain.c: Likewise.
10355 * misc/setegid.c: Likewise.
10356 * misc/seteuid.c: Likewise.
10357 * misc/sethostid.c: Likewise.
10358 * misc/sethostname.c: Likewise.
10359 * misc/setregid.c: Likewise.
10360 * misc/setreuid.c: Likewise.
10361 * misc/setxattr.c: Likewise.
10362 * misc/sstk.c: Likewise.
10363 * misc/stty.c: Likewise.
10364 * misc/swapoff.c: Likewise.
10365 * misc/swapon.c: Likewise.
10366 * misc/sync.c: Likewise.
10367 * misc/syncfs.c: Likewise.
10368 * misc/syscall.c: Likewise.
10369 * misc/truncate.c: Likewise.
10370 * misc/ualarm.c: Likewise.
10371 * misc/usleep.c: Likewise.
10372 * misc/ustat.c: Likewise.
10373 * misc/utimes.c: Likewise.
10374 * misc/vhangup.c: Likewise.
10375 * misc/writev.c: Likewise.
10376 * posix/_exit.c: Likewise.
10377 * posix/alarm.c: Likewise.
10378 * posix/execve.c: Likewise.
10379 * posix/fexecve.c: Likewise.
10380 * posix/fork.c: Likewise.
10381 * posix/fpathconf.c: Likewise.
10382 * posix/getaddrinfo.c: Likewise.
10383 * posix/getegid.c: Likewise.
10384 * posix/geteuid.c: Likewise.
10385 * posix/getgid.c: Likewise.
10386 * posix/getgroups.c: Likewise.
10387 * posix/getlogin.c: Likewise.
10388 * posix/getlogin_r.c: Likewise.
10389 * posix/getpgid.c: Likewise.
10390 * posix/getpid.c: Likewise.
10391 * posix/getppid.c: Likewise.
10392 * posix/getresgid.c: Likewise.
10393 * posix/getresuid.c: Likewise.
10394 * posix/getsid.c: Likewise.
10395 * posix/getuid.c: Likewise.
10396 * posix/glob64.c: Likewise.
10397 * posix/nanosleep.c: Likewise.
10398 * posix/pathconf.c: Likewise.
10399 * posix/pause.c: Likewise.
10400 * posix/posix_madvise.c: Likewise.
10401 * posix/pread.c: Likewise.
10402 * posix/pread64.c: Likewise.
10403 * posix/pwrite.c: Likewise.
10404 * posix/pwrite64.c: Likewise.
10405 * posix/sched_getaffinity.c: Likewise.
10406 * posix/sched_getp.c: Likewise.
10407 * posix/sched_gets.c: Likewise.
10408 * posix/sched_primax.c: Likewise.
10409 * posix/sched_primin.c: Likewise.
10410 * posix/sched_rr_gi.c: Likewise.
10411 * posix/sched_setaffinity.c: Likewise.
10412 * posix/sched_setp.c: Likewise.
10413 * posix/sched_sets.c: Likewise.
10414 * posix/sched_yield.c: Likewise.
10415 * posix/setgid.c: Likewise.
10416 * posix/setlogin.c: Likewise.
10417 * posix/setpgid.c: Likewise.
10418 * posix/setresgid.c: Likewise.
10419 * posix/setresuid.c: Likewise.
10420 * posix/setsid.c: Likewise.
10421 * posix/setuid.c: Likewise.
10422 * posix/sleep.c: Likewise.
10423 * posix/spawni.c: Likewise.
10424 * posix/sysconf.c: Likewise.
10425 * posix/times.c: Likewise.
10426 * posix/wait.c: Likewise.
10427 * posix/wait3.c: Likewise.
10428 * posix/wait4.c: Likewise.
10429 * posix/waitpid.c: Likewise.
10430 * resolv/gai_sigqueue.c: Likewise.
10431 * resource/getpriority.c: Likewise.
10432 * resource/getrlimit.c: Likewise.
10433 * resource/getrusage.c: Likewise.
10434 * resource/nice.c: Likewise.
10435 * resource/setpriority.c: Likewise.
10436 * resource/setrlimit.c: Likewise.
10437 * resource/ulimit.c: Likewise.
10438 * rt/aio_cancel.c: Likewise.
10439 * rt/aio_fsync.c: Likewise.
10440 * rt/aio_read.c: Likewise.
10441 * rt/aio_sigqueue.c: Likewise.
10442 * rt/aio_suspend.c: Likewise.
10443 * rt/aio_write.c: Likewise.
10444 * rt/clock_getres.c: Likewise.
10445 * rt/clock_gettime.c: Likewise.
10446 * rt/clock_nanosleep.c: Likewise.
10447 * rt/clock_settime.c: Likewise.
10448 * rt/lio_listio.c: Likewise.
10449 * rt/mq_close.c: Likewise.
10450 * rt/mq_getattr.c: Likewise.
10451 * rt/mq_notify.c: Likewise.
10452 * rt/mq_open.c: Likewise.
10453 * rt/mq_receive.c: Likewise.
10454 * rt/mq_send.c: Likewise.
10455 * rt/mq_setattr.c: Likewise.
10456 * rt/mq_timedreceive.c: Likewise.
10457 * rt/mq_timedsend.c: Likewise.
10458 * rt/mq_unlink.c: Likewise.
10459 * rt/shm_open.c: Likewise.
10460 * rt/shm_unlink.c: Likewise.
10461 * rt/timer_create.c: Likewise.
10462 * rt/timer_delete.c: Likewise.
10463 * rt/timer_getoverr.c: Likewise.
10464 * rt/timer_gettime.c: Likewise.
10465 * rt/timer_settime.c: Likewise.
10466 * setjmp/__longjmp.c: Likewise.
10467 * setjmp/setjmp.c: Likewise.
10468 * signal/kill.c: Likewise.
10469 * signal/killpg.c: Likewise.
10470 * signal/raise.c: Likewise.
10471 * signal/sigaction.c: Likewise.
10472 * signal/sigaltstack.c: Likewise.
10473 * signal/sigblock.c: Likewise.
10474 * signal/sigignore.c: Likewise.
10475 * signal/sigintr.c: Likewise.
10476 * signal/signal.c: Likewise.
10477 * signal/sigpause.c: Likewise.
10478 * signal/sigpending.c: Likewise.
10479 * signal/sigqueue.c: Likewise.
10480 * signal/sigreturn.c: Likewise.
10481 * signal/sigset.c: Likewise.
10482 * signal/sigsetmask.c: Likewise.
10483 * signal/sigstack.c: Likewise.
10484 * signal/sigsuspend.c: Likewise.
10485 * signal/sigtimedwait.c: Likewise.
10486 * signal/sigvec.c: Likewise.
10487 * signal/sigwait.c: Likewise.
10488 * signal/sigwaitinfo.c: Likewise.
10489 * signal/sysv_signal.c: Likewise.
10490 * socket/accept.c: Likewise.
10491 * socket/accept4.c: Likewise.
10492 * socket/bind.c: Likewise.
10493 * socket/connect.c: Likewise.
10494 * socket/getpeername.c: Likewise.
10495 * socket/getsockname.c: Likewise.
10496 * socket/getsockopt.c: Likewise.
10497 * socket/isfdtype.c: Likewise.
10498 * socket/listen.c: Likewise.
10499 * socket/recv.c: Likewise.
10500 * socket/recvfrom.c: Likewise.
10501 * socket/recvmsg.c: Likewise.
10502 * socket/send.c: Likewise.
10503 * socket/sendmsg.c: Likewise.
10504 * socket/sendto.c: Likewise.
10505 * socket/setsockopt.c: Likewise.
10506 * socket/shutdown.c: Likewise.
10507 * socket/sockatmark.c: Likewise.
10508 * socket/socket.c: Likewise.
10509 * socket/socketpair.c: Likewise.
10510 * stdio-common/ctermid.c: Likewise.
10511 * stdio-common/cuserid.c: Likewise.
10512 * stdio-common/remove.c: Likewise.
10513 * stdio-common/rename.c: Likewise.
10514 * stdio-common/renameat.c: Likewise.
10515 * stdio-common/tempname.c: Likewise.
10516 * stdlib/getcontext.c: Likewise.
10517 * stdlib/makecontext.c: Likewise.
10518 * stdlib/setcontext.c: Likewise.
10519 * stdlib/swapcontext.c: Likewise.
10520 * stdlib/system.c: Likewise.
10521 * streams/fattach.c: Likewise.
10522 * streams/fdetach.c: Likewise.
10523 * streams/getmsg.c: Likewise.
10524 * streams/getpmsg.c: Likewise.
10525 * streams/putmsg.c: Likewise.
10526 * streams/putpmsg.c: Likewise.
10527 * sysdeps/unix/bsd/getpt.c: Likewise.
10528 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10529 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10530 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10532 Likewise.
10533 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10534 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10535 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10536 * sysvipc/msgctl.c: Likewise.
10537 * sysvipc/msgget.c: Likewise.
10538 * sysvipc/msgrcv.c: Likewise.
10539 * sysvipc/msgsnd.c: Likewise.
10540 * sysvipc/semctl.c: Likewise.
10541 * sysvipc/semget.c: Likewise.
10542 * sysvipc/semop.c: Likewise.
10543 * sysvipc/semtimedop.c: Likewise.
10544 * sysvipc/shmat.c: Likewise.
10545 * sysvipc/shmctl.c: Likewise.
10546 * sysvipc/shmdt.c: Likewise.
10547 * sysvipc/shmget.c: Likewise.
10548 * termios/tcdrain.c: Likewise.
10549 * termios/tcflow.c: Likewise.
10550 * termios/tcflush.c: Likewise.
10551 * termios/tcgetattr.c: Likewise.
10552 * termios/tcgetpgrp.c: Likewise.
10553 * termios/tcsendbrk.c: Likewise.
10554 * termios/tcsetattr.c: Likewise.
10555 * termios/tcsetpgrp.c: Likewise.
10556 * time/adjtime.c: Likewise.
10557 * time/clock.c: Likewise.
10558 * time/getitimer.c: Likewise.
10559 * time/gettimeofday.c: Likewise.
10560 * time/setitimer.c: Likewise.
10561 * time/settimeofday.c: Likewise.
10562 * time/stime.c: Likewise.
10563 * time/time.c: Likewise.
10564
105652012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10566
a20492cf
PT
10567 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10568 /usr/old/bin.
10569
72e182e3
PT
10570 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10571 instead of spaces.
10572 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10573
fbeafede
JM
105742012-11-03 Joseph Myers <joseph@codesourcery.com>
10575
5b5b04d6
JM
10576 [BZ #14796]
10577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10578 FE_TONEAREST before applying Dekker multiplication and Knuth
10579 addition. Clear inexact exceptions and check for exact zero
10580 results afterwards.
10581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10584 * math/libm-test.inc (fma_test): Add more tests.
10585 (fma_test_towardzero): Likewise.
10586 (fma_test_downward): Likewise.
10587 (fma_test_upward): Likewise.
10588 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10589 function.
10590 (libc_fesetround): New macro.
10591 (libc_fesetroundf): Likewise.
10592 (libc_fesetroundl): Likewise.
10593 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10594 function.
10595 (libc_fesetround_387): Likewise.
10596 (libc_fesetroundf): New macro.
10597 (libc_fesetround): Likewise.
10598 (libc_fesetroundl): Likewise.
10599 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10600 function.
10601 (libc_fesetroundf): New macro.
10602 (libc_fesetround): Likewise.
10603 (libc_fesetroundl): Likewise.
10604 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10605 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10606 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10607 libm_hidden_ver.
10608 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10609 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10610 libm_hidden_def.
10611 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10612 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10613 libm_hidden_ver.
10614 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10615 libm_hidden_def.
10616
fbeafede
JM
10617 [BZ #3439]
10618 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10619 integer constant usable in #if and use that to give value to enum
10620 constant.
10621 (FE_DIVBYZERO): Likewise.
10622 (FE_UNDERFLOW): Likewise.
10623 (FE_OVERFLOW): Likewise.
10624 (FE_INVALID): Likewise.
10625 (FE_INVALID_SNAN): Likewise.
10626 (FE_INVALID_ISI): Likewise.
10627 (FE_INVALID_IDI): Likewise.
10628 (FE_INVALID_ZDZ): Likewise.
10629 (FE_INVALID_IMZ): Likewise.
10630 (FE_INVALID_COMPARE): Likewise.
10631 (FE_INVALID_SOFTWARE): Likewise.
10632 (FE_INVALID_SQRT): Likewise.
10633 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10634 (FE_TONEAREST): Likewise.
10635 (FE_TOWARDZERO): Likewise.
10636 (FE_UPWARD): Likewise.
10637 (FE_DOWNWARD): Likewise.
10638 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10639 (FE_DIVBYZERO): Likewise.
10640 (FE_OVERFLOW): Likewise.
10641 (FE_UNDERFLOW): Likewise.
10642 (FE_INEXACT): Likewise.
10643 (FE_TONEAREST): Likewise.
10644 (FE_DOWNWARD): Likewise.
10645 (FE_UPWARD): Likewise.
10646 (FE_TOWARDZERO): Likewise.
10647 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10648 (FE_UNDERFLOW): Likewise.
10649 (FE_OVERFLOW): Likewise.
10650 (FE_DIVBYZERO): Likewise.
10651 (FE_INVALID): Likewise.
10652 (FE_TONEAREST): Likewise.
10653 (FE_TOWARDZERO): Likewise.
10654 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10655 (FE_OVERFLOW): Likewise.
10656 (FE_UNDERFLOW): Likewise.
10657 (FE_DIVBYZERO): Likewise.
10658 (FE_INEXACT): Likewise.
10659 (FE_TONEAREST): Likewise.
10660 (FE_TOWARDZERO): Likewise.
10661 (FE_UPWARD): Likewise.
10662 (FE_DOWNWARD): Likewise.
10663 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10664 (FE_DIVBYZERO): Likewise.
10665 (FE_OVERFLOW): Likewise.
10666 (FE_UNDERFLOW): Likewise.
10667 (FE_INEXACT): Likewise.
10668 (FE_TONEAREST): Likewise.
10669 (FE_DOWNWARD): Likewise.
10670 (FE_UPWARD): Likewise.
10671 (FE_TOWARDZERO): Likewise.
10672
105ca950
CM
106732012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10674
10675 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10676
a542b389
AS
106772012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10678
10679 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10680 commands. Quote $PWD.
10681 (blacklist_exports): Don't use remove_newlines. Replace "declare
10682 -x" by "export".
10683 (remove_newlines): Remove.
10684
f62c8abc
L
106852012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10688 * stdlib/stdlib.h (atof): Moved to ...
10689 * include/bits/stdlib-float.h: Here. New file.
10690 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10691 * stdlib/bits/stdlib-float.h: New file.
10692 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10693 -mno-sse -mno-mmx.
10694 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10695 <xmmintrin.h>.
10696
0155d5b2
JM
106972012-11-02 Joseph Myers <joseph@codesourcery.com>
10698
a68d0680
JM
10699 * conform/conformtest.pl (@headers): Add fenv.h.
10700 * conform/data/fenv.h-data: New file.
10701 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10702 include of <math/fenv.h>.
10703
caf7f573
JM
10704 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10705 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10706 && !UNIX98]. Enables tests for XOPEN2K8.
10707 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10708 POSIX2008]: Likewise.
10709
6c073ad6
JM
10710 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10711 (struct rusage): Do not expect type or its members.
10712
0155d5b2
JM
10713 [BZ #3439]
10714 * math/math.h (FP_NAN): Define macro to integer constant usable in
10715 #if and use that to give value to enum constant.
10716 (FP_INFINITE): Likewise.
10717 (FP_ZERO): Likewise.
10718 (FP_SUBNORMAL): Likewise.
10719 (FP_NORMAL): Likewise.
10720
b5dcacb4
AS
107212012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10722
10723 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10724 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10725 arguments.
10726
f7934be8
RM
107272012-11-02 Roland McGrath <roland@hack.frob.com>
10728
10729 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10730 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10731 autoconf-time if not.
10732 * configure.in: Remove AC_PREREQ.
10733
d7d08bde
TMQMF
107342012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10735
10736 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10737 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10738 of the internal implementation.
10739
dcdae19a
JM
107402012-11-02 Joseph Myers <joseph@codesourcery.com>
10741
10742 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10743 except include of <misc/sys/syslog.h>.
10744
d6cffd3e
AS
107452012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10746
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10748 function returns with a NULL context exit with zero.
10749
b3563932
TMQMF
107502012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10751
10752 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10753
b288a93d
L
107542012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10757 (run_program_cmd): This.
10758 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10759 (tst_langinfo): New variable. Use it.
10760
a2421a68
SAS
107612012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10762
10763 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10764 floating point opcodes.
10765
6f796e1b
TS
107662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10767
7402596b
TS
10768 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10769 variable.
10770
d0d4f868
TS
10771 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10772
6f796e1b
TS
10773 * sysdeps/mach/hurd/powerpc: Remove directory.
10774 * sysdeps/mach/powerpc: Likewise.
10775
4da224a2
AS
107762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10777
10778 * scripts/check-local-headers.sh: Ignore c++ headers.
10779
341dd673
TS
107802012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10781
10782 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10783 __libc_cleanup_region_start argument.
10784
473611b2
JM
107852012-11-01 Joseph Myers <joseph@codesourcery.com>
10786
10787 [BZ #14784]
10788 [BZ #14785]
10789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10790 x * y using scaling, not as x * y + z.
10791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10793 * math/libm-test.inc (fma_test): Add more tests.
10794 (fma_test_towardzero): Likewise.
10795 (fma_test_downward): Likewise.
10796 (fma_test_upward): Likewise.
10797
4078da3d
TS
107982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10799
10800 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10801
903252aa
JM
108022012-10-31 Joseph Myers <joseph@codesourcery.com>
10803
10804 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10805 New variable.
10806
cbc818d0
TS
108072012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10808
10809 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10810
5a03cb1e
AS
108112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10812
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10814 Fix sort order.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10816 Likewise.
10817
90aff2ff
TMQMF
108182012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10819
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10821 Fix the order of the list for glibc 2.17.
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10823 Likewise.
10824
1818fcb7
AS
108252012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10826
10827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10828
ef82f4da
JM
108292012-10-31 Joseph Myers <joseph@codesourcery.com>
10830
16a0e2ec
JM
10831 [BZ #14610]
10832 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10833 for low part of x being zero before using __atanl (y).
10834 * math/libm-test.inc (atan2_test): Add another test.
10835
0eb69512
JM
10836 * manual/install.texi (Configuring and compiling): Document
10837 general use of test-wrapper and test-wrapper-env.
10838 * INSTALL: Regenerated.
10839
ef82f4da
JM
10840 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10841 (__fma): Do not extract and scale down low bits on after-rounding
10842 systems when result rounded to normal precision would have normal
10843 exponent.
10844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10845 (__fmal): Do not extract and scale down low bits on after-rounding
10846 systems when result rounded to normal precision would have normal
10847 exponent.
10848 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10849 (__fmal): Do not extract and scale down low bits on after-rounding
10850 systems when result rounded to normal precision would have normal
10851 exponent.
10852 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10853 macro.
10854 (fma_test): Add more tests.
10855 (fma_test_towardzero): Likewise.
10856 (fma_test_downward): Likewise.
10857 (fma_test_upward): Likewise.
10858
954ef0d9
L
108592012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/i386/tininess.h: Renamed to ...
10862 * sysdeps/x86/tininess.h: This.
10863 * sysdeps/x86_64/tininess.h: Removed.
10864
df61ffb2
JM
108652012-10-30 Joseph Myers <joseph@codesourcery.com>
10866
10867 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10868 input. Use $(build-program-cmd).
10869 ($(objpfx)tst-array1-static.out): Likewise.
10870 ($(objpfx)tst-array2.out): Likewise.
10871 ($(objpfx)tst-array3.out): Likewise.
10872 ($(objpfx)tst-array4.out): Likewise.
10873 ($(objpfx)tst-array5.out): Likewise.
10874 ($(objpfx)tst-array5-static.out): Likewise.
10875
01767843
CM
108762012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10877
47cc1490
CM
10878 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10879 if defined.
10880
01767843
CM
10881 * nss/nsswitch.h (nss_interface_function): Provide new
10882 macro for use with NSS functions.
10883 * grp/initgroups.c: Use new macro.
10884 * nss/getXXbyYY.c: Likewise.
10885 * nss/getXXbyYY_r.c: Likewise.
10886 * nss/getXXent.c: Likewise.
10887 * nss/getXXent_r.c: Likewise.
10888 * sysdeps/posix/getaddrinfo.c: Likewise.
10889
8321aa97
AJ
108902012-10-30 Andreas Jaeger <aj@suse.de>
10891
10892 * po/ru.po: Update Russion translation from translation project.
10893
2a27fd6d
JM
108942012-10-30 Joseph Myers <joseph@codesourcery.com>
10895
8627a232
JM
10896 [BZ #14152]
10897 [BZ #14783]
10898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10899 result and shift together with sticky bit instead of replicating
10900 round-to-nearest rounding.
10901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10903 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10904 missing underflow exceptions.
10905 (fma_test_towardzero): Add more tests.
10906 (fma_test_downward): Likewise.
10907 (fma_test_upward): Likewise.
10908
2a27fd6d
JM
10909 [BZ #14047]
10910 * sysdeps/generic/tininess.h: New file.
10911 * sysdeps/i386/tininess.h: Likewise.
10912 * sysdeps/sh/tininess.h: Likewise.
10913 * sysdeps/x86_64/tininess.h: Likewise.
10914 * stdlib/tst-strtod-underflow.c: Likewise.
10915 * stdlib/tst-tininess.c: Likewise.
10916 * stdlib/strtod_l.c: Include <tininess.h>.
10917 (round_and_return): Do not set errno for exact underflow cases.
10918 Force an underflow exception when setting errno for underflow.
10919 Determine underflow based on rounding to normal precision if
10920 TININESS_AFTER_ROUNDING.
10921 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10922 ERANGE for exact underflow cases.
10923 * stdlib/Makefile (tests): Add tst-tininess and
10924 tst-strtod-underflow.
10925 ($(objpfx)tst-tininess): Use $(link-libm).
10926 ($(objpfx)tst-strtod-underflow): Likewise.
10927
e7170363
AJ
109282012-10-30 Andreas Jaeger <aj@suse.de>
10929
e5088dc6
AJ
10930 [BZ#14767]
10931 * elf/Makefile (tests): Remove conditional for have-initfini-array
10932 since this is now always required and the variable does not exist
10933 anymore.
10934 (tests-static): Likewise.
10935 (modules-names): Likewise.
10936
e7170363 10937 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10938
10939 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10940 merged with constructor/destructor.
10941 (init_array): Likewise.
10942 * elf/tst-array2dep.c (fini_array): Likewise.
10943 (init_array): Likewise.
10944
60457d8a
MF
109452012-10-29 Mike Frysinger <vapier@gentoo.org>
10946
10947 * manual/message.texi: Delete @cartouche tags.
10948
8bece752
PT
109492012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10950
94ce799f
PT
10951 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10952 EOPNOTSUPP.
10953 * sysdeps/mach/hurd/fsync.c: Likewise.
10954
8bece752
PT
10955 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10956 [_POSIX_REALTIME_SIGNALS]: Change condition to
10957 [_POSIX_REALTIME_SIGNALS > 0].
10958
86ebe6b1
AJ
109592012-10-27 Andreas Jaeger <aj@suse.de>
10960
10961 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10962 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10964 [__WORDSIZE != 64]: Likewise.
10965
54399c08
L
109662012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10967
10968 * iconvdata/tst-table.sh: Remove ${SHELL}.
10969 * iconvdata/tst-tables.sh: Likewise.
10970
e2211bed
DM
109712012-10-25 David S. Miller <davem@davemloft.net>
10972
10973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10974 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10975 of strtoull.
10976
f303f97c
DM
10977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10978 ifunc-impl-list.c
10979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10980 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10981 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10982 file.
10983
1e9d84cd
RM
109842012-10-25 Roland McGrath <roland@hack.frob.com>
10985
10986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10987 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10988 __getdirentries.
10989
df381762
JM
109902012-10-25 Joseph Myers <joseph@codesourcery.com>
10991 Jim Blandy <jimb@codesourcery.com>
10992
10993 * scripts/cross-test-ssh.sh: New file.
10994 * manual/install.texi (Configuring and compiling): Document use of
10995 cross-test-ssh.sh.
10996 * INSTALL: Regenerated.
10997
bff64913
PT
109982012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10999
11000 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11001 EOPNOTSUPP.
11002
25fe8932
JM
110032012-10-25 Joseph Myers <joseph@codesourcery.com>
11004
11005 * Makeconfig (run-program-prefix): Fix comment.
11006
cc1290d0
JM
110072012-10-24 Joseph Myers <joseph@codesourcery.com>
11008 Jim Blandy <jimb@codesourcery.com>
11009
11010 * Makeconfig (test-wrapper): New variable,
11011 (test-wrapper-env): Likewise.
11012 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11013 (run-built-tests): Define to yes.
11014 (run-program-prefix): Use $(test-wrapper).
11015 (built-program-cmd): Likewise.
11016 * Rules (make-test-out): Use $(test-wrapper-env) and
11017 $(host-built-program-cmd).
11018 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11019 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11020 tst-pathopt.sh.
11021 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11022 $(test-wrapper-env) to tst-rtld-load-self.sh.
11023 ($(objpfx)order2.out): Use $(test-wrapper).
11024 ($(objpfx)tst-initorder.out): Likewise.
11025 ($(objpfx)tst-initorder2.out): Likewise.
11026 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11027 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11028 (test_wrapper_env): New variable. Use it to run ld.so.
11029 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11030 Use it to run ld.so.
11031 (test_wrapper_env): Likewise.
11032 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11033 $(test-wrapper) to run-iconv-test.sh.
11034 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11035 (ICONV): Use $test_wrapper.
11036 * posix/Makefile ($(objpfx)globtest.out): Pass
11037 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11038 globtest.sh, not $(run-program-prefix).
11039 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11040 (test_wrapper): Likewise.
11041 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11042 set together with run_via_rtld_prefix.
11043 (run_program_prefix): Define in terms of test_wrapper and
11044 run_via_rtld_prefix.
11045
6e6249d0
RM
110462012-10-24 Roland McGrath <roland@hack.frob.com>
11047
11048 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11049 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11050 Targets removed.
11051
11052 [BZ #14743]
11053 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11054 Declare __clock_getres, __clock_gettime, __clock_settime,
11055 __clock_nanosleep, and __clock_getcpuclockid.
11056 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11057 Remove librt_hidden_def (clock_gettime).
11058 * sysdeps/unix/clock_gettime.c: Likewise.
11059 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11061 * rt/clock_getres.c: Define __clock_getres as an alias.
11062 * sysdeps/posix/clock_getres.c: Likewise.
11063 * rt/clock_settime.c: Define __clock_settime as an alias.
11064 * sysdeps/unix/clock_settime.c: Likewise.
11065 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11066 * sysdeps/unix/clock_nanosleep.c: Likewise.
11067 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11068 * rt/clock-compat.c: New file.
11069 * rt/Makefile (librt-routines): Add clock-compat and move
11070 $(clock-routines) to ...
11071 (routines): ... here, new variable.
11072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11073 Don't add get_clockfreq here.
11074 * rt/Versions (libc: GLIBC_2.17): New version set.
11075 Add clock_* symbols here.
11076 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11078 (GLIBC_2.17): Add clock_* symbols.
11079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11083 Likewise.
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11085 Likewise.
11086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11090 * NEWS: Mention the move.
11091
11092 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11093 Use __open, __read, __close rather than their public counterparts.
11094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11095 (__get_clockfreq_via_cpuinfo): Likewise.
11096 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11097 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11098
11099 * config.h.in (HAVE_IFUNC): New #undef.
11100 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11101 was successful.
11102 * configure: Regenerated.
11103
0cae3f4b
MF
111042012-10-24 Mike Frysinger <vapier@gentoo.org>
11105
11106 * configure.in: Move READELF check to start of file.
11107 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11108 libc_cv_asm_gnu_indirect_function in the process.
11109 * configure: Regenerated.
11110
8175a253
MF
111112012-10-24 Mike Frysinger <vapier@gentoo.org>
11112
11113 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11114 send the output to /dev/null.
11115 (libc_cv_cc_with_libunwind): Likewise.
11116 (libc_cv_as_noexecstack): Likewise.
11117 * configure: Regenerate.
11118
0708a7d1
JM
111192012-10-24 Joseph Myers <joseph@codesourcery.com>
11120
10b40d85
JM
11121 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11122
0708a7d1
JM
11123 * posix/globtest.sh (TMPDIR): Do not set.
11124 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11125 (testout): Likewise.
11126
9fddec1a
AJ
111272012-10-24 Andreas Jaeger <aj@suse.de>
11128
3a8db22f
AJ
11129 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11130 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11131 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11132 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11133 posix_fadvise64, posix_fallocate64.
11134
9fddec1a
AJ
11135 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11136 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11137 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11138 Likewise.
11139 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11140 Likewise.
11141 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11142
11143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11144 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11145 <bits/fcntl-linux.h>.
11146 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11147
11148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11149 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11150 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11151 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11152 [__WORDSIZE != 64]: Likewise.
11153
ebfd1bbd
JM
111542012-10-23 Joseph Myers <joseph@codesourcery.com>
11155
03ac099f
JM
11156 * Makeconfig (run-built-tests): New variable.
11157 * Rules [$(cross-compiling) = yes]: Change condition to
11158 [$(run-built-tests) = no].
11159 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11160 to [$(run-built-tests) = yes].
11161 * elf/Makefile [$(cross-compiling) = no]: Likewise
11162 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11163 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11164 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11165 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11166 * io/Makefile [$(cross-compiling) = no]: Likewise.
11167 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11168 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11169 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11170 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11171 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11172 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11173 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11174 * string/Makefile [$(cross-compiling) = no]: Likewise.
11175
ebfd1bbd
JM
11176 * posix/Makefile ($(objpfx)globtest.out): Pass
11177 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11178 $(rtld-installed-name).
11179 * posix/globtest.sh (elf_objpfx): Remove variable.
11180 (rtld_installed_name): Likewise.
11181 (library_path): Likewise.
11182 (run_program_prefix): New variable. Use for running globtest
11183 binary.
11184
166bca24
JB
111852012-10-23 Jim Blandy <jimb@codesourcery.com>
11186 Joseph Myers <joseph@codesourcery.com>
11187
11188 * Makeconfig (host-built-program-cmd): New variable.
11189 * elf/Makefile (tst-stackguard1-ARGS): Use
11190 $(host-built-program-cmd).
11191 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11192 (tst-spawn-ARGS): Likewise.
11193 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11194
88866099
JM
111952012-10-23 Joseph Myers <joseph@codesourcery.com>
11196 Jim Blandy <jimb@codesourcery.com>
11197
11198 * Makeconfig (run-via-rtld-prefix): New variable.
11199 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11200 (built-program-cmd): Likewise.
11201
b4b4c296
AJ
112022012-10-22 Andreas Jaeger <aj@suse.de>
11203
11204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11205 __O_RSYNC if it exists, otherwise to O_SYNC.
11206
6fb54a22
JB
112072012-10-22 Jim Blandy <jimb@codesourcery.com>
11208 Joseph Myers <joseph@codesourcery.com>
11209
11210 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11211 /dev/null.
11212 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11213 from /dev/null
11214 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11215 /dev/null.
11216
481b90b9
AJ
112172012-10-22 Andreas Jaeger <aj@suse.de>
11218
2a0e2669
AJ
11219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11220 Define always.
11221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11222
76e38f9a
AJ
11223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11224 bits/fcntl-linux.h.
11225
7cd37b43
AJ
11226 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11227 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11228
481b90b9
AJ
11229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11230 to __O_LARGEFILE.
11231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11232 to __O_LARGEFILE.
11233
aba75984
JB
112342012-10-21 Jim Blandy <jimb@codesourcery.com>
11235 Joseph Myers <joseph@codesourcery.com>
11236
11237 * config.make.in (NM): New variable.
11238
88d4247f
AJ
112392012-10-21 Andreas Jaeger <aj@suse.de>
11240
11241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11242 definitions and declarations that are provided by
11243 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11244
f2eed205
L
112452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 [BZ #14683]
11248 * elf/Makefile (tests-static): Add tst-leaks1-static.
11249 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11250 ($(objpfx)tst-leaks1-static): New rule.
11251 ($(objpfx)tst-leaks1-static-mem): Likewise.
11252 (tst-leaks1-static-ENV): New macro.
11253 * elf/dl-open.c (dl_open_worker): Check the main application
11254 only if SHARED is defined.
11255 * elf/tst-leaks1-static.c: New file.
11256
335e6931
AJ
112572012-10-20 Andreas Jaeger <aj@suse.de>
11258
11259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11260 generic values for Linux.
11261 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11262 and declarations that are provided by <bits/fcntl-linux.h> and
11263 include <bits/fcntl-linux.h>.
11264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11266
ac5c94d3
RM
112672012-10-20 Roland McGrath <roland@hack.frob.com>
11268
11269 * io/fcntl.h: Move include of <bits/types.h> to the top and
11270 include it unconditionally.
11271
de54b33a
L
112722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11273
228cfb01
L
11274 * wcsmbs/Makefile (tests-ifunc): New variable.
11275 (tests): Add $(tests-ifunc).
11276 * wcsmbs/test-wcschr-ifunc.c: New file.
11277 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11278 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11279 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11280 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11281 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11282
69f07e5f
L
11283 * string/Makefile (tests-ifunc): New variable.
11284 (tests): Add $(tests-ifunc).
11285 * string/test-memccpy.c (TEST_NAME): New macro.
11286 * string/test-memchr.c (TEST_NAME): Likewise.
11287 * string/test-memcmp.c (TEST_NAME): Likewise.
11288 * string/test-memcpy.c (TEST_NAME): Likewise.
11289 * string/test-memmem.c (TEST_NAME): Likewise.
11290 * string/test-memmove.c (TEST_NAME): Likewise.
11291 * string/test-memset.c (TEST_NAME): Likewise.
11292 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11293 * string/test-stpcpy.c (TEST_NAME): Likewise.
11294 * string/test-stpncpy.c (TEST_NAME): Likewise.
11295 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11296 * string/test-strcasestr.c (TEST_NAME): Likewise.
11297 * string/test-strcat.c (TEST_NAME): Likewise.
11298 * string/test-strchr.c (TEST_NAME): Likewise.
11299 * string/test-strcmp.c(TEST_NAME): Likewise.
11300 * string/test-strcpy.c (TEST_NAME): Likewise.
11301 * string/test-strcspn.c (TEST_NAME): Likewise.
11302 * string/test-strlen.c (TEST_NAME): Likewise.
11303 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11304 * string/test-strncmp.c (TEST_NAME): Likewise.
11305 * string/test-strncpy.c (TEST_NAME): Likewise.
11306 * string/test-strnlen.c (TEST_NAME): Likewise.
11307 * string/test-strpbrk.c (TEST_NAME): Likewise.
11308 * string/test-strrchr.c (TEST_NAME): Likewise.
11309 * string/test-strspn.c (TEST_NAME): Likewise.
11310 * string/test-strstr.c (TEST_NAME): Likewise.
11311 * string/test-bcopy-ifunc.c: New file.
11312 * string/test-bzero-ifunc.c: Likewise.
11313 * string/test-memccpy-ifunc.c: Likewise.
11314 * string/test-memchr-ifunc.c: Likewise.
11315 * string/test-memcmp-ifunc.c: Likewise.
11316 * string/test-memcpy-ifunc.c: Likewise.
11317 * string/test-memmem-ifunc.c: Likewise.
11318 * string/test-memmove-ifunc.c: Likewise.
11319 * string/test-mempcpy-ifunc.c: Likewise.
11320 * string/test-memset-ifunc.c: Likewise.
11321 * string/test-rawmemchr-ifunc.c: Likewise.
11322 * string/test-stpcpy-ifunc.c: Likewise.
11323 * string/test-stpncpy-ifunc.c: Likewise.
11324 * string/test-strcasecmp-ifunc.c: Likewise.
11325 * string/test-strcasestr-ifunc.c: Likewise.
11326 * string/test-strcat-ifunc.c: Likewise.
11327 * string/test-strchr-ifunc.c: Likewise.
11328 * string/test-strchrnul-ifunc.c: Likewise.
11329 * string/test-strcmp-ifunc.c: Likewise.
11330 * string/test-strcpy-ifunc.c: Likewise.
11331 * string/test-strcspn-ifunc.c: Likewise.
11332 * string/test-strlen-ifunc.c: Likewise.
11333 * string/test-strncasecmp-ifunc.c: Likewise.
11334 * string/test-strncat-ifunc.c: Likewise.
11335 * string/test-strncmp-ifunc.c: Likewise.
11336 * string/test-strncpy-ifunc.c: Likewise.
11337 * string/test-strnlen-ifunc.c: Likewise.
11338 * string/test-strpbrk-ifunc.c: Likewise.
11339 * string/test-strrchr-ifunc.c: Likewise.
11340 * string/test-strspn-ifunc.c: Likewise.
11341 * string/test-strstr-ifunc.c: Likewise.
11342
de54b33a
L
11343 * debug/Makefile (tests-ifunc): New variable.
11344 (tests): Add $(tests-ifunc).
11345 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11346 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11347 * debug/test-stpcpy_chk-ifunc.c: New file.
11348 * debug/test-strcpy_chk-ifunc.c: Likewise.
11349
88481c16
SP
113502012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11351
11352 [BZ #13601]
11353 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11354 header is not read in.
11355
135948bd
JM
113562012-10-19 Joseph Myers <joseph@codesourcery.com>
11357
89f1c388
JM
11358 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11359 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11360 directly. Pass built executable to script as
11361 $(built-program-cmd).
11362 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11363 $testprogram without using LD_LIBRARY_PATH and $ldso.
11364
e40a0d21
JM
11365 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11366 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11367 $(rtld-installed-name).
11368 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11369 (rtld_installed_name): Likewise.
11370 (library_path): Likewise.
11371 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11372 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11373 $(run-program-prefix) to tst-tables.sh.
11374 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11375 it to run tst-table-from and tst-table-to.
11376 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11377 Pass it to tst-table.sh.
11378 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11379 $(run-program-prefix) to tst-gettext.sh.
11380 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11381 tst-translit.sh.
11382 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11383 tst-gettext2.sh.
11384 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11385 to run tst-gettext.
11386 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11387 to run tst-gettext2.
11388 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11389 to run tst-translit.
11390 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11391 $(run-program-prefix) to tst-mtrace.sh.
11392 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11393 to run tst-mtrace.
11394 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11395 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11396 $(rtld-installed-name).
11397 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11398 (rtld_installed_name): Likewise.
11399 (run_program_prefix): New variable. Use it to run wordexp-test.
11400
728e272a
JM
11401 * Makeconfig (ARCH): Remove all definitions.
11402 (machine): Likewise.
11403 [ARCH]: Remove conditional code.
11404 [!objdir]: Give error.
11405 [!objdir] (objpfx): Remove.
11406 [!objdir] (common-objpfx): Likewise.
11407 [!objdir] (common-objdir): Likewise.
11408 * configure.in (config_makefile): Remove. Hardcode Makefile in
11409 AC_CONFIG_FILES call.
11410 * configure: Regenerated.
11411
d528cdcf
JM
11412 [BZ #13888]
11413 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11414 or TMPDIR.
11415 (testout): Likewise.
11416
135948bd
JM
11417 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11418 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11419 $(rtld-installed-name).
11420 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11421 (rtld_installed_name): Likwise.
11422 (runit): Remove function.
11423 (run_getconf): New variable, Use it for running getconf binary.
11424
38c78296
L
114252012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11426
11427 [BZ #14716]
11428 * string/test-memmem.c (check_result): New function.
11429 (do_one_test): Use it.
11430 (check1): New function.
11431 (test_main): Use it.
11432
d077f65f
MT
114332012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11434
11435 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11436
ced52c71
JM
114372012-10-18 Joseph Myers <joseph@codesourcery.com>
11438
11439 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11440 (_G_LSEEK64): Likewise.
11441 (_G_MMAP64): Likewise.
11442 (_G_FSTAT64): Likewise.
11443 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11444 (_G_LSEEK64): Likewise.
11445 (_G_MMAP64): Likewise.
11446 (_G_FSTAT64): Likewise.
11447 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11448 unconditional. Call __mmap64 directly.
11449 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11450 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11451 __lseek64 directly.
11452 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11453 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11454 __mmap64 directly.
11455 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11456 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11457 __lseek64 directly.
11458 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11459 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11460 __lseek64 directly.
11461 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11462 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11463 __lseek64 directly.
11464 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11465 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11466 __fxstat64 directly.
11467 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11468 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11469 unconditional.
11470 (freopen64) [!_G_OPEN64]: Remove conditional code.
11471 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11472 unconditional.
11473 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11474 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11475 unconditional.
11476 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11477 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11478 unconditional.
11479 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11480 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11481 unconditional.
11482 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11483 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11484 unconditional.
11485 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11486 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11487 unconditional.
11488 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11489 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11490 unconditional.
11491 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11492
b741de23
SP
114932012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11494
11495 [BZ #12140]
11496 * manual/memory.texi (Malloc Tunable Parameters): Add note
11497 about free list pointers overwriting some perturb bytes.
11498 Wording suggested by Roland McGrath.
11499
f9b9d9c9
JM
115002012-10-17 Joseph Myers <joseph@codesourcery.com>
11501
11502 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11503 (lgamma_test): Likewise.
11504 (tgamma_test): Likewise.
11505
172a631a
FW
115062012-10-16 Florian Weimer <fweimer@redhat.com>
11507
11508 [BZ #14700]
11509 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11510 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11511
e9f37252
MK
115122012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11513
11514 * NEWS: Mention BZ #14716.
11515 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11516 when removing AVAILABLE1_USES_J macro.
11517
d394eb74
L
115182012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11519
11520 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11521 (__bswap_64): __uint64_t for unsigned 64-bit int.
11522
ca38dc17
AS
115232012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11524
11525 * include/string.h (memmem): Declare libc hidden alias.
11526 * string/memmem.c (memmem): Define libc hidden alias.
11527 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11528 __read, __close instead of open, read, close.
11529
9a387d1f
L
115302012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11531
ac49ecaf
L
11532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11533 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11534 global and hidden.
11535 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11536 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11537 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11538 Likewise.
11539 (__rawmemchr_sse2): Likewise.
11540 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11541 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11542 (__strchr_sse2): Likewise.
11543 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11544 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11545 (__strcasecmp_sse2): Likewise.
11546 (__strncasecmp_sse2): Likewise.
11547 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11548 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11549 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11550 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11551 (__strrchr_sse2): Likewise.
11552 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11553 ifunc-impl-list.c.
11554 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11555 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11556 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11557 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11558 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11560 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11561 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11562 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11563 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11564 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11565 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11566 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11567 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11568 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11569 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11570 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11571 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11572 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11573 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11574 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11575 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11576 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11577 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11578 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11579 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11580 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11581 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11582 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11583 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11584
b090e8ea
L
11585 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11586 global and hidden.
11587 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11588 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11589 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11590 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11591 Likewise.
11592 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11593 Likewise.
11594 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11595 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11596 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11597 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11598 ifunc-impl-list.c.
11599 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11600 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11601 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11602 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11603 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11604 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11605 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11606 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11607 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11608 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11609 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11610 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11611 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11612 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11613 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11614 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11615 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11616 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11617 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11618 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11619 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11620 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11621 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11622 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11623 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11624 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11625 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11626 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11627 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11628 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11629 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11630 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11632 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11633 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11634 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11636 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11637 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11639 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11640
11dd4af6
L
11641 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11642 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11643 * include/ifunc-impl-list.h: New file.
11644 * misc/ifunc-impl-list.c: Likewise.
11645 * misc/Makefile (routines): Add ifunc-impl-list.
11646 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11647 * string/test-string.h: Include <ifunc-impl-list.h>.
11648 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11649 impl_array): New variables.
11650 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11651 are defined.
11652 (test_init): Call __libc_ifunc_impl_list to initialize
11653 func_list if TEST_IFUNC and TEST_NAME are defined.
11654
9a387d1f
L
11655 * string/Makefile (strop-tests): Add bcopy and bzero.
11656 * string/test-bcopy.c: New file.
11657 * string/test-bzero.c: Likewise.
11658 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11659 defined.
11660 * string/test-memset.c: Support bzero test if TEST_BZERO is
11661 defined.
11662 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11663 __libc_memmove.
11664 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11665 __libc_memset.
11666 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11667 of memset.
11668
472371b9
JM
116692012-10-10 Joseph Myers <joseph@codesourcery.com>
11670
1e4a9536
JM
11671 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11672 * configure: Regenerated.
11673
d173d12e
JM
11674 * Makeconfig (+link-static-before-libc): Don't include
11675 $(link-static-libc).
11676
472371b9
JM
11677 * libio/libio.h (_IO_pos_t): Remove.
11678
89a3ad0b
AO
116792012-10-10 Alexandre Oliva <aoliva@redhat.com>
11680
11681 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11682 McGrath.
11683
e7451425
AO
116842012-10-10 Alexandre Oliva <aoliva@redhat.com>
11685
11686 * crypt/crypt-entry.c: Include fips-private.h.
11687 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11688 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11689 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11690 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11691
4ba74a35
AO
116922012-10-10 Alexandre Oliva <aoliva@redhat.com>
11693
11694 * crypt/crypt-private.h: Include stdbool.h.
11695 (_ufc_setup_salt_r): Return bool.
11696 * crypt/crypt-entry.c: Include errno.h.
11697 (__crypt_r): Return NULL with EINVAL for bad salt.
11698 * crypt/crypt_util.c (bad_for_salt): New.
11699 (_ufc_setup_salt_r): Check that salt is long enough and within
11700 the specified alphabet.
11701 * crypt/badsalttest.c: New file.
11702 * crypt/Makefile (tests): Add it.
11703 ($(objpfx)badsalttest): New.
11704
f96f1242
MK
117052012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11706
11707 * NEWS: Add entry for BZ #14602.
11708
0e8e0c1c
JM
117092012-10-09 Joseph Myers <joseph@codesourcery.com>
11710
11711 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11712 type-generic.
11713 * math/libm-test.inc: Update comment listing what functions and
11714 macros are tested.
11715 (isgreater_test): New function.
11716 (isgreaterequal_test): Likewise.
11717 (isless_test): Likewise.
11718 (islessequal_test): Likewise.
11719 (islessgreater_test): Likewise.
11720 (isunordered_test): Likewise.
11721 (main): Call the new functions.
11722
273edc5e
RM
117232012-10-09 Roland McGrath <roland@hack.frob.com>
11724
b8493de0
RM
11725 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11726 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11727 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11728 * sysdeps/i386/configure: Regenerated.
11729 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11730 * sysdeps/mach/configure: Regenerated.
11731 * sysdeps/mach/hurd/configure: Regenerated.
11732 * sysdeps/powerpc/configure: Regenerated.
11733 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11734 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11735 * sysdeps/s390/s390-32/configure: Regenerated.
11736 * sysdeps/s390/s390-64/configure: Regenerated.
11737 * sysdeps/sh/configure: Regenerated.
11738 * sysdeps/sparc/configure: Regenerated.
11739 * sysdeps/unix/sysv/linux/configure: Regenerated.
11740 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11741 * sysdeps/x86_64/configure: Regenerated.
11742
273edc5e
RM
11743 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11744 defined. Don't check if MAP is NULL.
11745
c8450f70
JM
117462012-10-09 Joseph Myers <joseph@codesourcery.com>
11747
11748 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11749 (_G_stat64): Likewise.
11750 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11751 (_G_stat64): Likewise.
11752 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11753 instead of struct _G_stat64.
11754 * libio/fileops.c (mmap_remap_check): Likewise.
11755 (decide_maybe_mmap): Likewise.
11756 (_IO_new_file_seekoff): Likewise.
11757 (_IO_file_stat): Likewise.
11758 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11759 _G_off64_t.
11760 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11761 instead of struct _G_stat64.
11762 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11763
57e605ba
MK
117642012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11765
11766 [BZ #14602]
11767 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11768 Replace with ...
11769 (CHECK_EOL): New macro.
11770 (two_way_short_needle): Check beginning of haystack for EOL. Use
11771 CHECK_EOL.
11772 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11773 Replace with CHECK_EOL.
11774 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11775 Replace with CHECK_EOL.
11776
ef1bb361
JM
117772012-10-08 Joseph Myers <joseph@codesourcery.com>
11778
11779 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11780 type-generic.
11781 * math/libm-test.inc: Update comment listing what functions and
11782 macros are tested.
11783 (finite_test): New function.
11784 (isinf_test): Likewise.
11785 (isnan_test): Likewise.
11786 (fpclassify_test): Test subnormal input.
11787 (isfinite_test): Likewise.
11788 (isnormal_test): Likewise.
11789 (main): Call the new functions.
11790
55f11534
JN
117912012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11792
11793 [BZ #14660]
11794 * Makerules (%.dynsym): Force C locale when running
11795 $(OBJDUMP) --dynamic-syms.
11796
1ab29350
AS
117972012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11798
11799 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11800 <stdint.h>.
11801
f1ecb7ef
DM
118022012-10-06 David S. Miller <davem@davemloft.net>
11803
11804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11805 upper 32-bits of the length value in %o2 since we use branch-on-register
11806 tests which consider the entire 64-bit register.
11807
5d41d91a
L
118082012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11809
11810 * string/test-strstr.c (check2): Add a test for page boundary.
11811
3baddb72
DM
118122012-10-05 David S. Miller <davem@davemloft.net>
11813
11814 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11815 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11816 file.
11817 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11818 sysdep_routines.
11819 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11820 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11821 and bzero when HWCAP_SPARC_CRYPTO is present.
11822
9cee5585
L
118232012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11824
d7e0dab9
L
11825 [BZ #14602]
11826 * string/test-strstr.c (check2): New function.
11827 (test_main): Call check2.
11828
03759f47
L
11829 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11830 and bug-strchr1.
11831 * string/bug-strcasestr1.c (do_test): Moved to ...
11832 * string/test-strcasestr.c (check1): Here. New function.
11833 (do_one_test): Break out result checking code into ...
11834 (check_result): This. New function.
11835 (do_one_test): Call check_result.
11836 (test_main): Call check1.
11837 * string/bug-strchr1.c (do_test): Moved to ...
11838 * string/test-strchr.c (check1): Here. New function.
11839 (do_one_test): Break out result checking code into ...
11840 (check_result): This. New function.
11841 (do_one_test): Call check_result.
11842 (test_main): Call check1.
11843 * string/bug-strstr1.c (main): Moved to ...
046f153e 11844 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11845 (do_one_test): Break out result checking code into ...
11846 (check_result): This. New function.
11847 (do_one_test): Call check_result.
11848 (test_main): Call check1.
11849 * string/bug-strcasestr1.c: Removed.
11850 * string/bug-strchr1.c: Likewise.
11851 * string/bug-strstr1.c: Likewise.
11852
53cea63e
L
11853 * elf/Makefile (dl-routines): Add hwcaps.
11854 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11855 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11856 (_dl_important_hwcaps): Moved to ...
11857 * elf/dl-hwcaps.c: Here. New file.
11858 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11859
9cee5585 11860 [BZ #14557]
bb859b06
L
11861 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11862 if IS_IN_rtld isn't defined.
11863
9cee5585
L
11864 * elf/dl-support.c (_dl_sysinfo_map): New.
11865 Include "get-dynamic-info.h" and "setup-vdso.h".
11866 (_dl_non_dynamic_init): Call setup_vdso.
11867 * elf/dynamic-link.h: Don't include <assert.h>.
11868 (elf_get_dynamic_info): Moved to ...
11869 * elf/get-dynamic-info.h: Here. New file.
11870 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11871 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11872 * elf/setup-vdso.h: Here. New file.
11873 * elf/rtld.c: Include "setup-vdso.h".
11874 (dl_main): Call setup_vdso.
11875
23c31b76
JM
118762012-10-05 Joseph Myers <joseph@codesourcery.com>
11877
28234b07
JM
11878 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11879 creal in comment listing functions tested. List finite, isinf,
11880 isnan, isless, islessequal, isgreater, isgreaterequal,
11881 islessgreater, isunordered, lgamma_r and pow10 as functions and
11882 macros not tested. Mention which functions not tested are aliases
11883 for other functions. Fix typo. Note that signs of NaNs are not
11884 tested.
11885
23c31b76
JM
11886 * scripts/config.guess: Update from config.git.
11887 * scripts/config.sub: Likewise.
11888
9043e228
RM
118892012-10-04 Roland McGrath <roland@hack.frob.com>
11890
11891 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11892 * misc/madvise.c (madvise): Renamed to __madvise.
11893 Make madvise a weak alias.
11894 * include/sys/mman.h: Declare __madvise.
11895 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11896 * sysdeps/unix/syscalls.list
11897 (madvise): Make __madvise the strong name, and madvise a weak alias.
11898 * sysdeps/unix/sysv/linux/syscalls.list
11899 (madvise, mmap): Remove redundant entries.
11900 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11901 * malloc/malloc.c (mtrim): Likewise.
11902 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11903
f57f8055
RM
119042012-10-03 Roland McGrath <roland@hack.frob.com>
11905
11906 * sysdeps/mach/hurd/dl-cache.c: File removed.
11907 * config.h.in (USE_LDCONFIG): New #undef.
11908 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11909 * configure: Regenerated.
11910 * elf/Makefile (dl-routines): Add dl-cache only under
11911 [$(use-ldconfig) = yes].
11912 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11913 cache on [USE_LDCONFIG].
11914 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11915 [USE_LDCONFIG].
11916 * elf/rtld.c (dl_main): Likewise.
11917
5bb0c10a
PT
119182012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11919
11920 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11921 _SC_LEVEL4_CACHE_LINESIZE.
11922
010188c6
RM
119232012-10-03 Roland McGrath <roland@hack.frob.com>
11924
11925 * sysdeps/unix/bsd/confstr.h: File removed.
11926
b6c5ec07
AO
119272012-10-02 Alexandre Oliva <aoliva@redhat.com>
11928
11929 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11930 sys/sdt-config.h.
11931
408223d4
RM
119322012-10-02 Roland McGrath <roland@hack.frob.com>
11933
11934 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11935 Make 'mapoff' field ElfW(Off) rather than off_t.
11936
bb9510dc
DL
119372012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11938
fc997c6e
DL
11939 * nscd/Makefile: Remove nscd-cflags and all its users.
11940 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11941 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11942
bb9510dc
DL
11943 [BZ #10631]
11944 * malloc.c (malloc_printerr): Clarify error message.
11945
05699367
L
119462012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 [BZ #14648]
11949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11950 Set bit_FMA_Usable if FMA is supported.
11951 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11952 macro.
11953 (bit_FMA4_Usable): Updated.
11954 (index_FMA_Usable): New macro.
11955 (CPUID_FMA): Likewise
11956 (HAS_FMA): Defined with bit_FMA_Usable.
11957
51367701
RM
119582012-10-01 Roland McGrath <roland@hack.frob.com>
11959
11960 * bits/types.h (__swblk_t): Type removed.
11961 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11962 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11963 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11964 (__SWBLK_T_TYPE): Likewise.
11965 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11966 (__SWBLK_T_TYPE): Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11968 (__SWBLK_T_TYPE): Likewise.
11969 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11970 (__SWBLK_T_TYPE): Likewise.
11971
4d57bf63 119722012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11973 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11974
11975 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11976 (xdr_mapname): Use YPMAXMAP as maxsize.
11977 (xdr_peername): Use YPMAXPEER as maxsize.
11978 (xdr_keydat): Use YPAXRECORD as maxsize.
11979 (xdr_valdat): Use YPMAXRECORD as maxsize.
11980
93c65d43
RM
119812012-10-01 Roland McGrath <roland@hack.frob.com>
11982
497a03d6
RM
11983 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11984
93c65d43
RM
11985 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11986 * csu/init-first.c: ... here.
11987 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11988 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11989 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11990 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11991 * sysdeps/i386/init-first.c: File removed.
11992 * sysdeps/sh/init-first.c: File removed.
11993
bec749fd
JM
119942012-10-01 Joseph Myers <joseph@codesourcery.com>
11995
11996 [BZ #14645]
11997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11998 if x * y might underflow to zero and z is zero.
11999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12001 * math/libm-test.inc (min_subnorm_value): New variable.
12002 (fma_test): Add more tests.
12003 (fma_test_towardzero): Likewise.
12004 (fma_test_downward): Likewise
12005 (fma_test_upward): Likewise.
12006 (initialize): Set min_subnorm_value.
12007
8ec5b013
JM
120082012-09-29 Joseph Myers <joseph@codesourcery.com>
12009
12010 [BZ #14638]
12011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12012 0 + 0.
12013 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12014 mode for addition resulting in exact zero.
12015 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12017 exact 0 + 0.
12018 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12020 * math/libm-test.inc (fma_test): Add more tests.
12021 (fma_test_towardzero): New function.
12022 (fma_test_downward): Likewise.
12023 (fma_test_upward): Likewise.
12024 (main): Call the new functions.
12025
b1fa802e
DM
120262012-09-28 David S. Miller <davem@davemloft.net>
12027
12028 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12029
d3b9fd9e
RM
120302012-09-28 Roland McGrath <roland@hack.frob.com>
12031
ea4d37b3
RM
12032 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12033 instead of SIGALRM.
12034
ac51c949
RM
12035 * sysdeps/gnu/_G_config.h: Moved to ...
12036 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12037 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12038 * sysdeps/generic/_G_config.h: ... here.
12039
28c195f7
RM
12040 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12041
848917f9
RM
12042 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12043
6bacf05b
RM
12044 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12045 Conditionalize target on [libnss_test1.so-version].
12046
91363dbb
RM
12047 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12048
cc87f7d8
RM
12049 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12050 (elfobjdir): Move out of conditionals.
12051
b1c608fe
RM
12052 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12053 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12054 (__nss_lookup_function): Conditionalize label remove_from_tree on
12055 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12056
1d9a6d96
DM
120572012-09-28 David S. Miller <davem@davemloft.net>
12058
12059 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12060 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12061 file.
12062 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12063 sysdep_routines.
12064 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12066 when HWCAP_SPARC_CRYPTO is present.
12067
72581615
PT
120682012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12069
12070 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12071
715a900c
JL
120722012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12073
12074 [BZ #6530]
12075 * stdio-common/vfprintf.c (process_string_arg): Revert
12076 2000-07-22 change.
12077
120782011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12079
12080 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12081 for testcase.
12082 * stdio-common/tst-sprintf.c: Include <locale.h>
12083 (main): Test sprintf's handling of incomplete multibyte
12084 characters.
12085
9bac1d86
L
120862012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12087
12088 * elf/dl-runtime.c (VERSYMIDX): Removed.
12089 * elf/dl-version.c (VERSYMIDX): Likewise.
12090 * elf/do-rel.h (VERSYMIDX): Likewise.
12091 (VALIDX): Likewise.
12092 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12093 * elf/rtld.c (VALIDX): Likewise.
12094 (ADDRIDX): Likewise.
9bac1d86
L
12095 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12096 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12097 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12098 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12099 (VALIDX): Likewise.
12100 (ADDRIDX): Likewise.
9bac1d86 12101
b31606c0
PT
121022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12103
12104 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12105
11541177
JL
121062012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12107
12108 [BZ #11438]
12109 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12110 to global scope.
12111 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12112 addresses are in the same scope as 192.0.2/24.
12113 * posix/gai.conf: Document new scope table defaults.
12114
adb26fae
SP
121152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12116
12117 [BZ #5298]
12118 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12119 for ftell. Compute offsets from write pointers instead.
12120 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12121
4573c6b0
SP
121222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12123
12124 [BZ #14543]
12125 * libio/Makefile (tests): New test case tst-fseek.
12126 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12127 combination works in wide mode.
12128 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12129 state when the external buffer state changes.
12130
aa9bbfe6
DM
121312012-09-27 David S. Miller <davem@davemloft.net>
12132
12133 [BZ #14376]
12134 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12135 pass reloc->r_addend in as the 'high' argument to
12136 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12137
784421e7
DM
12138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12139
c39bc8b8
PT
121402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12141
12142 * rt/tst-aio2.c: Include <pthread.h>.
12143 * rt/tst-aio3.c: Likewise.
12144
1ccc2399
SE
121452012-09-27 Steve Ellcey <sellcey@mips.com>
12146
12147 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12148
31ed4153
L
121492012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12150
25f5f885
L
12151 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12152 contents on [SHARED].
31ed4153 12153
b7bfe116
MP
121542012-09-26 Marek Polacek <polacek@redhat.com>
12155
12156 [BZ #14530]
12157 [BZ #13741]
12158 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12159 for C++ and GCC <4.3 as well as for non GCC compilers.
12160
43c4edba
MT
121612012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12162
12163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12164
6a1bf82f
RM
121652012-09-25 Roland McGrath <roland@hack.frob.com>
12166
12167 * Makefile.in (all, install): Declare with .PHONY.
12168 Reported by Michael Hope <michael.hope@linaro.org>.
12169
8ad11b9a
TMQMF
121702012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12171
12172 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12173 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12174 system header.
12175 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12176 Likewise.
12177 (sydep_routines): Add the new and the internal functions.
12178 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12179 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12181 (GLIBC_2.17): Add the new function.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12183 (GLIBC_2.17): Likewise.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12185 (GLIBC_2.17): Likewise.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12187 (GLIBC_2.17): Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12189
7e2fca8d
AM
121902012-09-25 Alan Modra <amodra@gmail.com>
12191
12192 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12193 Add release barrier before setting once_control to say
12194 initialisation is done. Add hints on lwarx. Use macro in
12195 place of isync.
12196 (clear_once_control): Add release barrier.
12197
b87c4b24
JM
121982012-09-25 Joseph Myers <joseph@codesourcery.com>
12199
d032e0d2
JM
12200 [BZ #13629]
12201 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12202 specially.
12203 * math/s_clog10.c (__clog10): Likewise.
12204 * math/s_clog10f.c (__clog10f): Likewise.
12205 * math/s_clog10l.c (__clog10l): Likewise.
12206 * math/s_clogf.c (__clogf): Likewise.
12207 * math/s_clogl.c (__clogl): Likewise.
12208 * math/Makefile (libm-calls): Add x2y2m1.
12209 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12210 (__x2y2m1): Likewise.
12211 (__x2y2m1l): Likewise.
12212 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12213 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12214 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12215 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12216 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12217 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12218 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12219 * sysdeps/i386/fpu/libm-test-ulps: Update.
12220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12221
b87c4b24
JM
12222 [BZ #14621]
12223 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12224 int as type of variable DEPTH.
12225 (glob): Use size_t instead of int as type of variables NEWCOUNT
12226 and OLD_PATHC.
12227
6d3bf199
LD
122282012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12229
22bf5c17
LD
12230 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12231 Add s_sincosf-sse2.
12232 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12233 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12234 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12235 macros for using routine as __sincosf_ia32.
12236 Use macro for function declaration and weak_alias.
12237 * sysdeps/i386/fpu/libm-test-ulps: Update.
12238
12239 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12241
12242 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12243 subnormal argument.
12244 * math/s_cexpf.c (__cexpf): Likewise.
12245 * math/s_csinf.c (__csinf): Likewise.
12246 * math/s_csinhf.c (__csinhf): Likewise.
12247 * math/s_ctanf.c (__ctanf): Likewise.
12248 * math/s_ctanhf.c (__ctanhf): Likewise.
12249 * math/s_ccosh.c (__ccoshf): Likewise.
12250 * math/s_cexp.c (__cexpl): Likewise.
12251 * math/s_csin.c (__csin): Likewise.
12252 * math/s_csinh.c (__csinh): Likewise.
12253 * math/s_ctan.c (__ctan): Likewise.
12254 * math/s_ctanh.c (ctanh): Likewise.
12255 * math/s_ccoshl.c (__ccoshl): Likewise.
12256 * math/s_cexpl.c (__cexpl): Likewise.
12257 * math/s_csinl.c (__csinl): Likewise.
12258 * math/s_csinhl.c (__csinhl): Likewise.
12259 * math/s_ctanl.c (__ctanl): Likewise.
12260 * math/s_ctanhl.c (__ctanhl): Likewise.
12261
203e5603
JM
122622012-09-25 Joseph Myers <joseph@codesourcery.com>
12263
12264 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12265 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12266 (_IO_off_t): Define to __off_t, not _G_off_t.
12267 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12268 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12269 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12270 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12271 type of __dummy and __dummy2 fields.
12272 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12273 (_G_ssize_t): Likewise.
12274 (_G_off_t): Likewise.
12275 (_G_pid_t): Likewise.
12276 (_G_uid_t): Likewise.
12277 (_G_wchar_t): Likewise.
12278 (_G_wint_t): Likewise.
12279 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12280 (_G_ssize_t): Likewise.
12281 (_G_off_t): Likewise.
12282 (_G_pid_t): Likewise.
12283 (_G_uid_t): Likewise.
12284 (_G_wchar_t): Likewise.
12285 (_G_wint_t): Likewise.
12286 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12287 (_G_ssize_t): Likewise.
12288 (_G_off_t): Likewise.
12289 (_G_pid_t): Likewise.
12290 (_G_uid_t): Likewise.
12291 (_G_wchar_t): Likewise.
12292 (_G_wint_t): Likewise.
12293
9fab36eb
SP
122942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12295
12296 * malloc/arena.c: Include malloc-sysdep.h.
12297 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12298 is sufficient to shrink the heap or an unmap is needed.
12299 * sysdeps/generic/malloc-sysdep.h: New file. Define
12300 new function check_may_shrink_heap.
12301 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12302 new function check_may_shrink_heap.
12303
2b4f00d1
SP
123042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12305
12306 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12307 comments.
12308
9a9028b1
DL
123092012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12310
57c69bef
DL
12311 * catgets/test-gencat.sh: Add "set -e".
12312 * elf/tst-pathopt.sh: Likewise.
12313 * grp/tst_fgetgrent.sh: Likewise.
12314 * iconvdata/run-iconv-test.sh: Likewise.
12315 * intl/tst-gettext.sh: Likewise.
12316 * intl/tst-gettext2.sh: Likewise.
12317 * intl/tst-gettext4.sh: Likewise.
12318 * intl/tst-gettext6.sh: Likewise.
12319 * intl/tst-translit.sh: Likewise.
12320 * io/ftwtest-sh: Likewise.
12321 * libio/test-freopen.sh: Likewise.
12322 * malloc/tst-mtrace.sh: Likewise.
12323 * posix/globtest.sh: Likewise.
12324 * posix/tst-getconf.sh: Likewise.
12325 * posix/wordexp-tst.sh: Likewise.
12326 * stdio-common/tst-printf.sh: Likewise.
12327 * stdio-common/tst-unbputc.sh: Likewise.
12328 * stdlib/tst-fmtmsg.sh: Likewise.
12329 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12330 * catgets/Makefile: Do not specify -e option when running
12331 testsuite shell scripts.
12332 * elf/Makefile: Likewise.
12333 * grp/Makefile: Likewise.
12334 * iconvdata/Makefile: Likewise.
12335 * intl/Makefile: Likewise.
12336 * io/Makefile: Likewise.
12337 * libio/Makefile: Likewise.
12338 * malloc/Makefile: Likewise.
12339 * posix/Makefile: Likewise.
12340 * stdio-common/Makefile: Likewise.
12341 * stdlib/Makefile: Likewise.
12342 * sysdeps/x86_64/Makefile: Likewise.
12343
9a9028b1
DL
12344 * io/ftwtest-sh: Add copyright header.
12345 * posix/globtest.sh: Likewise.
12346 * posix/tst-getconf.sh: Likewise.
12347 * posix/wordexp-tst.sh: Likewise.
12348 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12349
ced6f16e
L
123502012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12351
94b32c39
L
12352 [BZ #13679]
12353 * Makeconfig (+link): Defined as $(+link-static) if
12354 $(build-shared) isn't yes.
12355 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12356 isn't yes.
12357 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12358
189e935b
L
12359 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12360
ced6f16e
L
12361 [BZ #14562]
12362 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12363 new chunk size with MALLOC_ALIGN_MASK.
12364
a9f8e53a
JM
123652012-09-24 Joseph Myers <joseph@codesourcery.com>
12366
12367 [BZ #5044]
12368 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12369 <rounding-mode.h>.
12370 (__printf_fphex): Determine rounding using get_rounding_mode and
12371 round_away.
12372 * stdio-common/tst-printf-round.c (struct hex_test): New
12373 structure.
12374 (hex_tests): New variable.
12375 (test_hex_in_one_mode): New function.
12376 (do_test): Also run tests for hex float output.
12377
43153109
JM
123782012-09-21 Joseph Myers <joseph@codesourcery.com>
12379
12380 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12381 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12382 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12383 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12384 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12385 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12386 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12387 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12388
8a26625d
JM
123892012-09-20 Joseph Myers <joseph@codesourcery.com>
12390
12391 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12392 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12393 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12394 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12395
f3fd569c
DL
123962012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12397
12398 [BZ #14579]
12399 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12400 mode only.
12401 * elf/tst-rtld-load-self.sh: New test.
12402 * elf/Makefile: Run it.
12403
63bbedd4
JM
124042012-09-18 Joseph Myers <joseph@codesourcery.com>
12405
12406 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12407 (tst-writev-ENV): Remove.
12408 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12409
626f8b6a
CM
124102012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12411
12412 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12413
b7aaa4d6
JM
124142012-09-17 Joseph Myers <joseph@codesourcery.com>
12415
12416 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12417 unconditional.
12418 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12419 Likewise.
12420 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12421 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12422 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12423 Likewise.
12424
65513990
L
124252012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12426
12427 [BZ #14587]
12428 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12429 * config.make.in (have-cpp-asm-debuginfo): Removed.
12430 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12431 * configure: Regenerated.
12432
784761be
JM
124332012-09-14 Joseph Myers <joseph@codesourcery.com>
12434
12435 [BZ #5044]
12436 * stdio-common/printf_fp.c: Include <stdbool.h> and
12437 <rounding-mode.h>.
12438 (___printf_fp): Determine rounding using get_rounding_mode and
12439 round_away.
12440 * stdio-common/tst-printf-round.c: New file.
12441 * stdio-common/Makefile (tests): Add tst-printf-round.
12442 (link-libm): New variable.
12443 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12444
9503345f
L
124452012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12446
12447 [BZ #14576]
12448 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12449 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12450 Likewise.
12451 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12452 Likewise.
12453
ad35fc00
JM
124542012-09-13 Joseph Myers <joseph@codesourcery.com>
12455
12456 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12457 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12458 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12459 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12460
6c9b0f68
JM
124612012-09-12 Joseph Myers <joseph@codesourcery.com>
12462
12463 [BZ #14518]
12464 * include/rounding-mode.h: New file.
12465 * sysdeps/generic/get-rounding-mode.h: Likewise.
12466 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12467 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12468 (MAX_VALUE): New macro.
12469 (MIN_VALUE): Likewise.
12470 (overflow_value): New function.
12471 (underflow_value): Likewise.
12472 (round_and_return): Use overflow_value and underflow_value to
12473 determine return values in overflow and underflow cases. Use
12474 round_away to determine rounding depending on rounding mode.
12475 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12476 determine return values in overflow and underflow cases.
12477 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12478 (struct test_results): New structure.
12479 (struct test): Use struct test_results to store expected results
12480 for all rounding modes.
12481 (TEST): Include expected results for all rounding modes.
12482 (test_in_one_mode): New function.
12483 (do_test): Use test_in_one_mode to compute and check results.
12484 Check results for all rounding modes.
12485 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12486 $(link-libm).
12487
19fcedd5
AM
124882012-12-09 Allan McRae <allan@archlinux.org>
12489
1e9d84cd 12490 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12491
8bbfd2f1
JM
124922012-09-11 Joseph Myers <joseph@codesourcery.com>
12493
12494 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12495 (_G_int32_t): Likewise.
12496 (_G_uint16_t): Likewise.
12497 (_G_uint32_t): Likewise.
12498 (_G_HAVE_BOOL): Likewise.
12499 (_G_HAVE_ATEXIT): Likewise.
12500 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12501 (_G_HAVE_IO_FILE_OPEN): Likewise.
12502 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12503 (_G_int32_t): Likewise.
12504 (_G_uint16_t): Likewise.
12505 (_G_uint32_t): Likewise.
12506 (_G_HAVE_BOOL): Likewise.
12507 (_G_HAVE_ATEXIT): Likewise.
12508 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12509 (_G_HAVE_IO_FILE_OPEN): Likewise.
12510 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12511 (_G_int32_t): Likewise.
12512 (_G_uint16_t): Likewise.
12513 (_G_uint32_t): Likewise.
12514 (_G_HAVE_BOOL): Likewise.
12515 (_G_HAVE_ATEXIT): Likewise.
12516 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12517 (_G_HAVE_IO_FILE_OPEN): Likewise.
12518
b1dc5912
L
125192012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12520
12521 * csu/libc-tls.c: Update copyright years.
12522
0e886ef9
JM
125232012-09-10 Joseph Myers <joseph@codesourcery.com>
12524
28361c5e
JM
12525 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12526 [!_G_USING_THUNKS]: Remove conditional code.
12527 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12528 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12529
0e886ef9
JM
12530 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12531 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12532 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12533 (_G_VTABLE_LABEL_PREFIX): Likewise.
12534 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12535 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12536 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12537 (_G_VTABLE_LABEL_PREFIX): Likewise.
12538 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12539 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12540 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12541 (_G_VTABLE_LABEL_PREFIX): Likewise.
12542 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12543
bcba7aa2
L
125442012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 * libio/Makefile: Include ../Makeconfig before tests.
12547 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12548 only if $(build-shared) is yes.
12549
06585ee8
L
12550 * iconv/gconv_db.c: Update copyright years.
12551
80ccd52c
LD
125522012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12553
12554 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12555 unwind info if defined PIC. Fix special cases description.
12556 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12557
12558 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12559 DP_HI_MASK entry.
12560 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12561
691bc9c1
L
125622012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12563
3d9b46b3
L
12564 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12565
de2139a9
L
12566 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12567 is NULL.
12568
5ca78dd0
L
12569 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12570 (LDLIBS-tst-chk4): This.
12571 (LDFLAGS-tst-chk5): Renamed to ...
12572 (LDLIBS-tst-chk5): This.
12573 (LDFLAGS-tst-chk6): Renamed to ...
12574 (LDLIBS-tst-chk6): This.
12575 (LDFLAGS-tst-lfschk4): Renamed to ...
12576 (LDLIBS-tst-lfschk4): This.
12577 (LDFLAGS-tst-lfschk5): Renamed to ...
12578 (LDLIBS-tst-lfschk5): This.
12579 (LDFLAGS-tst-lfschk6): Renamed to ...
12580 (LDLIBS-tst-lfschk6): This.
12581
691bc9c1
L
12582 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12583 on $(common-objpfx)soversions.mk.
12584
65cafb1c
JM
125852012-09-07 Joseph Myers <joseph@codesourcery.com>
12586
12587 [BZ #10014]
12588 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12589 example host name.
12590
c78ab094
SP
125912012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12592
12593 * malloc/arena.c (arena_get_retry): New function that gets
12594 another arena for the caller to try its request on.
12595 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12596 current arena cannot fulfill the request.
12597 (__libc_memalign): Likewise.
12598 (__libc_memalign): Likewise.
12599 (__libc_pvalloc): Likewise.
12600 (__libc_calloc): Likewise.
12601
01f49f59
JT
126022012-09-05 John Tobey <john.tobey@gmail.com>
12603
12604 [BZ #13542]
12605 * manual/arith.texi (Operations on Complex): Fix description
12606 of carg branch cut.
12607
4c23fed5
JM
126082012-09-06 Joseph Myers <joseph@codesourcery.com>
12609
1d3c8572
JM
12610 [BZ #10014]
12611 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12612 host name.
12613
4c23fed5
JM
12614 [BZ #10038]
12615 * manual/memory.texi (Memory): Make order of menu items match
12616 order of sections.
12617
04570aaa
L
126182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12619
12620 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12621 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12622 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12623
b80af2f4
L
126242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12625
12626 * csu/libc-tls.c (static_dtv): Renamed to ...
12627 (_dl_static_dtv): This. Make it global.
12628 (_dl_initial_dtv): Removed.
12629 (__libc_setup_tls): Updated.
12630 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12631 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12632 DL_INITIAL_DTV.
12633
2abe9f15
PM
126342012-09-06 Petr Machata <pmachata@redhat.com>
12635
12636 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12637 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12638 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12639 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12640
0948c3af
L
126412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 [BZ #14545]
12644 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12645 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12646 freeing dtv[-1].
12647
a5055ad1
L
126482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12649
12650 [BZ #14544]
12651 * Makeconfig (link-static-before-libc): Replace $(+prector)
12652 with $(+prectorT).
12653 (link-static-after-libc): Replace $(+postctor) with
12654 $(+postctorT).
12655 (link-bounded): Replace $(+prector)/$(+postctor) with
12656 $(+prectorT)/$(+postctorT).
12657 (+prectorT): New macro.
12658 (+postctorT): Likewise.
12659
ed8c2ecd
JM
126602012-09-06 Joseph Myers <joseph@codesourcery.com>
12661
12662 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12663 (round_str): Handle values above the maximum for IBM long double
12664 as inexact.
12665 * stdlib/tst-strtod-round.c (tests): Regenerated.
12666
14c996c8
AK
126672012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12668
12669 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12670 assembler flag.
12671 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12672 zarch_nohighgprs around the zarch optimized routines.
12673 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12674 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12675 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12676 for zarch.
12677
430d6ce6
DM
126782012-09-05 David S. Miller <davem@davemloft.net>
12679
12680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12681
ff04dda4
DM
12682 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12683 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12684 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12685 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12686 entries.
12687
24d4e01b
AO
126882012-09-05 Alexandre Oliva <aoliva@redhat.com>
12689
12690 * malloc/arena.c: Fold copyright years.
12691 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12692
61d58174
AO
126932012-09-05 Alexandre Oliva <aoliva@redhat.com>
12694
12695 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12696
20196a5e
AO
126972012-09-05 Alexandre Oliva <aoliva@redhat.com>
12698
12699 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12700
5c447383
AO
127012012-09-05 Alexandre Oliva <aoliva@redhat.com>
12702
12703 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12704 change internal state upon failure.
12705
fad64255
AO
127062012-09-05 Alexandre Oliva <aoliva@redhat.com>
12707
12708 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12709 * malloc/memusage.c (mmap): Likewise.
12710 (mmap64, mremap): Likewise. Adjust name in comment.
12711
1ffb8c90
SP
127122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12713
12714 * libio/fileops.c: Fix typos in comments.
12715 * libio/oldfileops.c: Likewise.
12716 * libio/wfileops.c: Likewise.
12717
6ef9cc37
SP
127182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12719
12720 [BZ #1349]
12721 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12722 (tst-malloc-usable-ENV): Set environment for test case.
12723 * malloc/hooks.c (malloc_check_get_size): New function to get
12724 requested size.
12725 * malloc/malloc.c (musable): Use malloc_check_get_size.
12726 * malloc/tst-malloc-usable.c: New test case.
12727
4d038ae3
AS
127282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12729
12730 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12731
c4e85184
AM
127322012-09-05 Allan McRae <allan@archlinux.org>
12733
b9dafc56 12734 [BZ #13966]
c4e85184
AM
12735 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12736 determine header location.
12737 * configure: Regenerated.
12738
e1343020
AS
127392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12740
12741 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12742 float format.
12743 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12744 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12745 format.
e1343020
AS
12746 (test): Regenerate.
12747
0a9f1987
DM
127482012-09-04 David S. Miller <davem@davemloft.net>
12749
12750 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12751 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12752 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12753
29237804
FW
127542012-09-04 Florian Weimer <fweimer@redhat.com>
12755
12756 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12757 failures.
12758
edb3cb88
FW
12759 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12760
60160d83
JM
127612012-09-04 Joseph Myers <joseph@codesourcery.com>
12762
12763 [BZ #9914]
12764 * libio/iogetdelim.c: Include <limits.h>.
12765 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12766 + len + 1 would overflow.
12767
bcd6c8dc
AJ
127682012-09-03 Andreas Jaeger <aj@suse.de>
12769
12770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12771 * sysdeps/i386/fpu/libm-test-ulps: Update.
12772
4ffffbd2
LD
127732012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12774
12775 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12776 Add s_sinf-sse2, s_conf-sse2.
12777
12778 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12779 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12780 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12781 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12782
12783 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12784 for using routine as __sinf_ia32.
12785 Use macro for function declaration and weak_alias.
12786 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12787 for using routine as __cosf_ia32.
12788 Use macro for function declaration and weak_alias.
12789
12790 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12791 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12792
12793 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12794 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12796
12797 * math/libm-test.inc (cos_test): Add more test cases.
12798 (sin_test): Likewise.
12799 (sincos_test): Likewise.
12800
511fa286
AK
128012012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12802
12803 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12804 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12805 hidden.
12806 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12807
5f30cfec
L
128082012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12809
12810 [BZ #14538]
12811 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12812 first element of the GOT.
12813 (elf_machine_load_address): Return the difference between
12814 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12815
0786794f
AM
128162012-09-01 Allan McRae <allan@archlinux.org>
12817
5f30cfec
L
12818 [BZ #13412]
12819 * configure.in (AWK): Require gawk version 3.0 or later.
12820 * configure: Regenerated.
0786794f 12821
26889eac
JM
128222012-09-01 Joseph Myers <joseph@codesourcery.com>
12823
12824 * sysdeps/unix/sysv/linux/kernel-features.h
12825 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12826 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12827 [__NR_clock_getres]: Make code unconditional.
12828 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12829 (clock_getcpuclockid): Remove code left unreachable by removal of
12830 conditionals.
12831 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12832 code unconditional.
12833 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12834 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12835 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12836 Make code unconditional.
12837 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12838 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12839 * sysdeps/unix/sysv/linux/clock_settime.c
12840 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12841 conditional code.
12842 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12843 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12844
d22e28b0
L
128452012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12846
12847 [BZ #14476]
12848 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12849 scripts/test-installation.pl.
12850
12851 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12852 and $ld_so_version if it is set.
12853
050af9c4
SP
128542012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12855
12856 [BZ #14516]
12857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12858 failure if reading from procfs failed.
12859 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12860
ad845c0b
JM
128612012-08-27 Joseph Myers <joseph@codesourcery.com>
12862
12863 * sysdeps/unix/sysv/linux/kernel-features.h
12864 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12865 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12866 Remove conditional code.
12867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12868 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12869 Remove conditional code.
12870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12871 * sysdeps/unix/sysv/linux/i386/fxstat.c
12872 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12874 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12875 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12877 * sysdeps/unix/sysv/linux/i386/lxstat.c
12878 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12880 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12881 Remove conditional code.
12882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12883 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12884 Remove conditional code.
12885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12886 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12887 <kernel-features.h>.
12888 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12889 Remove.
12890 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12891 Remove conditional code.
12892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12893 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12894 Remove conditional.
12895
5dbf56af
MF
128962012-08-27 Mike Frysinger <vapier@gentoo.org>
12897
12898 [BZ #5400]
12899 * NEWS: Add fixed bug number.
12900
d6e70f43
JM
129012012-08-27 Joseph Myers <joseph@codesourcery.com>
12902
7efb4737
JM
12903 [BZ #14519]
12904 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12905 underflowing exponent in case of negative sign.
12906 * stdlib/tst-strtod-round-data: Add more tests.
12907 * stdlib/tst-strtod-round.c (tests): Regenerated.
12908
af92131a
JM
12909 [BZ #3479]
12910 * stdlib/strtod_l.c (NDIG): Remove.
12911 (HEXNDIG): Likewise.
12912 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12913 smallest representable value.
12914 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12915 lie within an exact representation of 1/2 ulp of the result.
12916 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12917 unconditionally.
12918 (TENS_P9_IDX): Define unconditionally.
12919 (TENS_P9_SIZE): Likewise.
12920 (TENS_P10_IDX): Likewise.
12921 (TENS_P10_SIZE): Likewise.
12922 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12923 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12924 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12925 entries for 10^2^13 and 10^2^14.
12926 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12927 (TENS_P13_IDX): Define.
12928 (TENS_P13_SIZE): Likewise.
12929 (TENS_P14_IDX): Likewise.
12930 (TENS_P14_SIZE): Likewise.
12931 (_fpioconst_pow10): Change array size to
12932 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12933 unconditional.
12934 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12935 1024]: Add entries for 10^2^13 and 10^2^14.
12936 [LAST_POW10 > _LAST_POW10]: Remove #error.
12937 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12938 (_fpioconst_pow10): Change array size to
12939 FPIOCONST_POW10_ARRAY_SIZE.
12940 * stdlib/gen-fpioconst.c: New file.
12941 * stdlib/gen-tst-strtod-round.c: Likewise.
12942 * stdlib/tst-strtod-round-data: Likewise.
12943 * stdlib/tst-strtod-round.c: Likewise.
12944 * stdlib/Makefile (tests): Add tst-strtod-round.
12945
d6e70f43
JM
12946 [BZ #14459]
12947 * stdlib/strtod_l.c: Include <stdint.h>.
12948 (NDEBUG): Do not define.
12949 (round_and_return): Change EXPONENT parameter to type intmax_t.
12950 Rearrange calculations to avoid internal overflow possibilities.
12951 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12952 Rearrange calculations to avoid internal overflow possibilities.
12953 Assert that number fits inside MPNSIZE limbs.
12954 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12955 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12956 calculations and add assertions to avoid internal overflow
12957 possibilities. Add casts to avoid signed/unsigned operations.
12958 * stdlib/tst-strtod-overflow.c: New file.
12959 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12960
1f529f7d
MP
129612012-08-25 Marek Polacek <polacek@redhat.com>
12962
12963 * time/time.h: Fix some typos in comments.
12964
59a629f1
RM
129652012-08-23 Roland McGrath <roland@hack.frob.com>
12966
12967 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12968 * posix/tst-rfc3484-2.c: Likewise.
12969 * posix/tst-rfc3484-3.c: Likewise.
12970
d3bafbc9
SM
129712012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12972
12973 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12974 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12975
4efcc022
JM
129762012-08-23 Joseph Myers <joseph@codesourcery.com>
12977
12978 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12979 #include of fxstatat64.c.
12980
3cc3ef96
RM
129812012-08-22 Roland McGrath <roland@hack.frob.com>
12982
f04e2132
RM
12983 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12984 * shadow/getspent_r.c: Likewise.
12985 * shadow/getspnam.c: Likewise.
12986 * shadow/getspnam_r.c: Likewise.
12987 * gshadow/getsgent.c: Likewise.
12988 * gshadow/getsgent_r.c: Likewise.
12989 * gshadow/getsgnam.c: Likewise.
12990 * gshadow/getsgnam_r.c: Likewise.
12991 * inet/getnetbyad.c: Likewise.
12992 * inet/getnetbyad_r.c: Likewise.
12993 * inet/getnetbynm.c: Likewise.
12994 * inet/getnetbynm_r.c: Likewise.
12995 * inet/getnetent.c: Likewise.
12996 * inet/getnetent_r.c: Likewise.
12997 * inet/getproto.c: Likewise.
12998 * inet/getproto_r.c: Likewise.
12999 * inet/getprtent.c: Likewise.
13000 * inet/getprtent_r.c: Likewise.
13001 * inet/getprtname.c: Likewise.
13002 * inet/getprtname_r.c: Likewise.
13003 * inet/getrpcbyname.c: Likewise.
13004 * inet/getrpcbyname_r.c: Likewise.
13005 * inet/getrpcbynumber.c: Likewise.
13006 * inet/getrpcbynumber_r.c: Likewise.
13007 * inet/getrpcent.c: Likewise.
13008 * inet/getrpcent_r.c: Likewise.
13009 * inet/getaliasent.c: Likewise.
13010 * inet/getaliasent_r.c: Likewise.
13011 * inet/getaliasname.c: Likewise.
13012 * inet/getaliasname_r.c: Likewise.
13013 * nscd/getgrgid_r.c: Likewise.
13014 * nscd/getgrnam_r.c: Likewise.
13015 * nscd/gethstbyad_r.c: Likewise.
13016 * nscd/gethstbynm3_r.c: Likewise.
13017 * nscd/getpwnam_r.c: Likewise.
13018 * nscd/getpwuid_r.c: Likewise.
13019 * nscd/getsrvbynm_r.c: Likewise.
13020 * nscd/getsrvbypt_r.c: Likewise.
13021 * nscd/gai.c: Likewise.
13022
c53d909c
RM
13023 * configure.in (build_nscd): New substituted variable, set
13024 by --disable-build-nscd and defaults to $use_nscd.
13025 * configure: Regenerated.
13026 * config.make.in (build-nscd): New substituted variable.
13027 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13028 Change conditional to require [$(build-nscd) = yes] as well.
13029 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13030
3cc3ef96
RM
13031 [BZ# 13696]
13032 * configure.in (use_nscd): New substituted variable, set by
13033 --disable-nscd. If enabled, define USE_NSCD.
13034 * configure: Regenerated.
13035 * config.h.in: Add USE_NSCD.
13036 * config.make.in (use-nscd): New substituted variable.
13037 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13038 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13039 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13040 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13041 (CFLAGS-getgrnam_r.c): Likewise.
13042 (CFLAGS-initgroups.c): Likewise.
13043 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13044 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13045 Variables removed.
13046 * inet/getnetgrent_r.c
13047 (nscd_setnetgrent): New function, broken out of ...
13048 (setnetgrent): ... here. Call it.
13049 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13050 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13051 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13052 * nscd/Makefile (routines, aux): Move definitions after include of
13053 Makeconfig. Conditionalize on [$(use-nscd) != no].
13054 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13055 Conditionalize on [USE_NSCD].
13056 (is_nscd, nscd_init_cb): Likewise.
13057 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13058 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13059 * nss/nss_db/db-init.c: Likewise.
13060 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13061 [USE_NSCD].
13062 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13063 (make_request): Use it.
13064 (cache_valid_p): New function.
13065 (__check_pf): Use it.
13066 * NEWS: Add item for --disable-nscd.
13067
07e51550
DL
130682012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13069
13070 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13071 to support sed >= 4.2.1-20-ga9bf076.
13072 * configure: Regenerated.
13073
35a5b08b
RM
130742012-08-22 Roland McGrath <roland@hack.frob.com>
13075
13076 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13077 Conditionalize whole body on [IREL].
13078
8479f23a
JL
130792012-08-22 Jeff Law <law@redhat.com>
13080
13081 [BZ #14505]
13082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13083 if the family is PF_UNSPEC.
13084
48da0b21
MF
130852012-08-22 Mike Frysinger <vapier@gentoo.org>
13086
13087 * Makerules (lib-version): Rename from V.
13088 (install-lib-nosubdir): Change V to lib-version.
13089
15d0da8c
WS
130902012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13091
13092 [BZ #14252]
13093 * powerpc32/power6/wcschr.c: New file.
13094 * powerpc32/power6/wcscpy.c: New file.
13095 * powerpc32/power6/wcsrchr.c: New file.
13096 * powerpc64/power6/wcschr.c: New file.
13097 * powerpc64/power6/wcscpy.c: New file.
13098 * powerpc64/power6/wcsrchr.c: New file.
13099
bcca0895
MK
131002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13101
13102 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13103 (two_way_short_needle): Use it.
5a4aaa33
RM
13104 * string/strstr.c (AVAILABLE1_USES_J): Define.
13105 * string/strcasestr.c: Likewise.
99677e57
MK
13106
13107 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13108 array references.
13109 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13110
400726de
MK
13111 [BZ #11607]
13112 * NEWS: Add an entry.
13113 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13114 define their defaults.
13115 (two_way_short_needle): Detect end-of-string on-the-fly.
13116 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13117 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13118 * string/bug-strcasestr1.c: New test.
13119 * string/Makefile: Run it.
13120
20a71f2c
MK
131212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13122
13123 [BZ #11607]
13124 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13125 the first character.
13126
21ad0558
RM
131272012-08-21 Roland McGrath <roland@hack.frob.com>
13128
13129 * csu/elf-init.c (__libc_csu_irel): Function removed.
13130 * csu/libc-start.c (apply_irel): New function.
13131 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13132
0e1d9911
JM
131332012-08-21 Joseph Myers <joseph@codesourcery.com>
13134
13135 * sysdeps/unix/sysv/linux/kernel-features.h
13136 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13137 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13138 <kernel-features.h>.
13139 [__NR_fadvise64_64]: Make code unconditional.
13140 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13141 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13142 !__NR_fadvise64_64)]: Likewise.
13143 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13144 !__NR_fadvise64_64))]: Likewise.
13145 [__NR_fadvise64]: Make code unconditional.
13146 [!__NR_fadvise64]: Remove conditional code.
13147 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13148 <kernel-features.h>.
13149 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13150 unconditional.
13151 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13152 conditional code.
13153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13154 not include <kernel-features.h>.
13155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13156 unconditional.
13157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13158 conditional code.
13159 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13160 include <kernel-features.h>.
13161 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13162 unconditional.
13163 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13164 conditional code.
13165
14a50c9d
WS
131662012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13167
13168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13169 slight instruction rearrangements per scrollpipe analysis.
13170 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13171
c0f4faf0
RM
131722012-08-20 Roland McGrath <roland@hack.frob.com>
13173
696da859
RM
13174 * manual/syslog.texi (syslog; vsyslog, closelog):
13175 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13176 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13177
c0f4faf0
RM
13178 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13179 DSOCAPS to match condition on defining it.
13180
348363b2
JM
131812012-08-20 Joseph Myers <joseph@codesourcery.com>
13182
a35cbf28
JM
13183 * sysdeps/unix/sysv/linux/kernel-features.h
13184 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13186 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13187 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13189 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13190 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13192 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13193 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13194
445f7ecd
JM
13195 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13196 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13197
348363b2
JM
13198 * sysdeps/unix/sysv/linux/kernel-features.h
13199 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13200 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13201 unconditional.
13202 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13203 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13204 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13205 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13206 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13207 Make code unconditional.
13208 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13209 (__mmap64) [!__NR_mmap2]: Likewise.
13210 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13211 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13212 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13213 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13214 [__NR_mmap2]: Make code unconditional.
13215 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13216 (__mmap64) [!__NR_mmap2]: Likewise.
13217
bc5bc0e5
AK
132182012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13219
13220 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13221
88d506de
AJ
132222012-08-18 Andreas Jaeger <aj@suse.de>
13223
13224 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13225
493387d2
MF
132262012-08-18 Mike Frysinger <vapier@gentoo.org>
13227
13228 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13229 * include/unistd.h (__have_sock_cloexec): Likewise.
13230 (__have_pipe2): Likewise.
13231 (__have_dup3): Likewise.
13232
a277af22
MF
132332012-08-18 Mike Frysinger <vapier@gentoo.org>
13234
13235 [BZ #9685]
13236 * include/unistd.h (__have_pipe2): Change define into an extern int.
13237 (__have_dup3): Likewise.
13238 * socket/have_sock_cloexec.c: Include fcntl.h.
13239 (__have_pipe2): New variable.
13240 (__have_dup3): Likewise.
13241
fdab8fd3
MF
132422012-08-17 Mike Frysinger <vapier@gentoo.org>
13243
13244 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13245
31035e80
MP
132462012-08-17 Marek Polacek <polacek@redhat.com>
13247
13248 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13249 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13250
3bd9e993
RM
132512012-08-17 Roland McGrath <roland@hack.frob.com>
13252
c91c505f
RM
13253 * configure.in: Add AC_SUBST for sysheaders.
13254 * configure: Regenerated.
13255 * config.make.in (sysheaders): New substituted variable.
13256
7c6f9d53
RM
13257 * sysdeps/unix/mkfifo.c: Moved ...
13258 * sysdeps/posix/mkfifo.c: ... here.
13259 * sysdeps/unix/mkfifoat.c: Moved ...
13260 * sysdeps/posix/mkfifoat.c: ... here.
13261
13262 * sysdeps/unix/utime.c: Moved ...
13263 * sysdeps/posix/utime.c: ... here.
13264
13265 * sysdeps/unix/time.c: Moved ...
13266 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13267 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13268 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13269
13270 * sysdeps/unix/nice.c: Moved ...
13271 * sysdeps/posix/nice.c: ... here.
13272
13273 * sysdeps/unix/alarm.c: Moved ...
13274 * sysdeps/posix/alarm.c: ... here.
13275
3bd9e993
RM
13276 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13277
d1f09384
JL
132782012-08-17 Jeff Law <law@redhat.com>
13279
13280 * intl/Makefile (codeset_mo): New variable.
13281 ($(codeset_mo)): New target.
13282 (tst-codeset.out): Depend on that. Remove explicit rule.
13283 (tst-gettext3.out, tst-gettext5.out): Likewise.
13284 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13285 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13286 * intl/tst-codeset.sh: Remove.
13287 * intl/tst-gettext3.sh: Likewise.
13288 * intl/tst-gettext5.sh: Likewise.
13289
2ae1ae5c
RM
132902012-08-17 Roland McGrath <roland@hack.frob.com>
13291
c31fdb83
RM
13292 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13293 * sysdeps/unix/syscalls.list: ... here.
13294
a0844057
RM
13295 * sysdeps/posix/getaddrinfo.c
13296 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13297 (gaiconf_init, gaiconf_reload): Use them.
13298 [!_STATBUF_ST_NSEC]
13299 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13300 Define using time_t rather than struct timespec.
13301
750c1f2a
RM
13302 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13303 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13304 Macros removed.
13305 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13306 [!NO_THREADS].
13307 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13308 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13309 Likewise.
13310
2ae1ae5c
RM
13311 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13312 __libc_cleanup_push argument.
13313
e66a42f5
RM
13314 * bits/param.h: New file.
13315 * misc/sys/param.h: New file.
13316 * include/sys/param.h: New file.
13317 * misc/Makefile (headers): Add bits/param.h.
13318 * sysdeps/generic/sys/param.h: File removed.
13319 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13320 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13321 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13322 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13323
b7c08a66
RM
13324 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13325 last change.
13326
b2e1c562
RM
13327 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13328 [_IO_MTSAFE_IO].
13329 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13330 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13331 New macros.
13332
c75ccd4c
RM
13333 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13334 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13335 rather than -D_IO_MTSAFE_IO conditionally.
13336 * stdio-common/Makefile (CPPFLAGS): Likewise.
13337 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13338 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13339 Use $(libio-mtsafe).
13340 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13341 of -D_IO_MTSAFE_IO.
13342 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13343 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13344 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13345 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13346 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13347 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13348 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13349 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13350 (CFLAGS-fread_u_chk.c): Likewise.
13351 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13352 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13353 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13354 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13355 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13356 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13357 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13358 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13359 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13360
13361 * libio/Makefile: Test [$(libc-reentrant) = yes]
13362 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13363
13364 * Makeconfig
13365 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13366 * sysdeps/pthread/configure: File removed.
13367 * sysdeps/pthread/Makeconfig: New file.
13368 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13369 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13370
d9195db8
GB
133712012-08-16 Gary Benson <gbenson@redhat.com>
13372
13373 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13374 unmapping the first object in a namespace.
13375
86466cd9
RM
133762012-08-16 Roland McGrath <roland@hack.frob.com>
13377
13378 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13379 (__internal_setnetgrent): ... this. Add internal_function to
13380 definition. Add libc_hidden_def.
13381 (setnetgrent): Update caller.
13382 (internal_endnetgrent): Renamed to ...
13383 (__internal_endnetgrent): ... this. Add internal_function to
13384 definition. Add libc_hidden_def.
13385 (endnetgrent): Update caller.
13386 (internal_getnetgrent_r): Renamed to ...
13387 (__internal_getnetgrent_r): ... this. Add internal_function to
13388 definition. Add libc_hidden_def.
13389 (__getnetgrent_r): Update caller.
13390 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13391
c3c8283c
JM
133922012-08-16 Joseph Myers <joseph@codesourcery.com>
13393
13394 * stdlib/longlong.h: Update from GCC.
13395
db1ee0a8
RM
133962012-08-16 Roland McGrath <roland@hack.frob.com>
13397
13398 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13399 on _QL, which is set by umul_ppmm but never used.
13400 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13401 variables, which are set by GMP macros but never used.
13402 * stdio-common/_itowa.c (_itowa): Likewise.
13403 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13404 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13405
30f69637
CD
134062012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13407
13408 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13409 struct La_sh_regs is not constant.
13410 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13411 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13412 and struct La_sparc64_regs are not constant.
13413
93a78ac4
JM
134142012-08-16 Joseph Myers <joseph@codesourcery.com>
13415
13416 * sysdeps/unix/sysv/linux/kernel-features.h
13417 (__ASSUME_POSIX_TIMERS): Remove.
13418 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13420 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13421 Make code unconditional.
13422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13423 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13424 Make code unconditional.
13425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13426 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13427 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13429 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13430 Make code unconditional.
13431 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13432 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13433 (__libc_missing_posix_timers): Remove.
13434
dd924cd7
RM
134352012-08-15 Roland McGrath <roland@hack.frob.com>
13436
4b4f2771
RM
13437 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13438 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13439
601c888b
RM
13440 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13441
176790a7
RM
13442 * elf/dl-sym.c: Include <stdlib.h>.
13443
329bc018
RM
13444 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13445 constants, which avoids warnings in 32-bit builds.
13446
e04e272d
RM
13447 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13448 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13449
952bf94a
RM
13450 * misc/lseek.c: File moved to ...
13451 * io/lseek.c: ... here.
13452
7c99b50a
RM
13453 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13454
dd924cd7
RM
13455 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13456 shifting LEN more than 31 bits at once.
13457
b3f479a8
LD
134582012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13459
13460 [BZ #14195]
8c4ae0d4
RM
13461 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13462 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13463 * string/test-strncasecmp.c (check1): Renamed to...
13464 (bz12205): ...this.
13465 (bz14195): Add new testcase for two empty input strings and N > 0.
13466 (test_main): Call new testcase, adapt for renamed function.
13467
9c55864e
AJ
134682012-08-15 Andreas Jaeger <aj@suse.de>
13469
13470 [BZ #14090]
13471 * crypt/md5test2.c: New test, based on test supplied by Serge
13472 Belyshev <belyshev@depni.sinp.msu.ru>.
13473 * crypt/Makefile (xtests): Add md5test-giant..
13474 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13475
02dcb6c5
PE
134762012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13477
13478 [BZ #14090]
13479 * crypt/md5.c (md5_process_block): Don't assume the buffer
13480 length is less than 2**32.
13481 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13482 length is less than 2**64.
13483
a3f95dcc
RM
134842012-08-15 Roland McGrath <roland@hack.frob.com>
13485
be75d758
RM
13486 * string/str-two-way.h: Include <sys/param.h>.
13487 (MAX): Macro removed.
13488
7312ca90
RM
13489 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13490 Move #define and #undef of memmove to just before and after
13491 including <string.h>.
13492
9a0a5486
RM
13493 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13494 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13495 and after including <string.h>. Move declarations of
13496 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13497 to before #include "string/memmove.c".
13498
67cc348d
RM
13499 * include/dirent.h: Declare __getdirentries.
13500
a3f95dcc
RM
13501 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13502 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13503
ca98e171
MF
135042012-08-14 Mike Frysinger <vapier@gentoo.org>
13505
13506 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13507 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13508 * sysdeps/i386/configure: Regenerated.
13509 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13510 STABS_CURRENT_FILE, and STABS_FUN.
13511 (END): Remove call to STABS_FUN_END.
13512 (STABS_CURRENT_FILE1): Delete.
13513 (STABS_CURRENT_FILE): Likewise.
13514 (STABS_FUN): Likewise.
13515 (STABS_FUN_END): Likewise.
13516 (STABS_FUN2): Likewise.
13517 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13518 * sysdeps/x86_64/configure: Regenerated.
13519
5908bf46
RM
135202012-08-14 Roland McGrath <roland@hack.frob.com>
13521
13522 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13523 * elf/dl-lookup.c: Likewise.
5908bf46 13524
f2c05b9e
JM
135252012-08-14 Joseph Myers <joseph@codesourcery.com>
13526
13527 * sysdeps/unix/sysv/linux/kernel-features.h
13528 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13529 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13530 unconditionally.
13531 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13532 unconditionally.
13533 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13534 condition on __ASSUME_CLONE_THREAD_FLAGS.
13535
e11f5155
AJ
135362012-08-14 Andreas Jaeger <aj@suse.de>
13537
13538 * sysdeps/i386/fpu/libm-test-ulps: Update.
13539
51a9ba86
MK
135402012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13541
2fdd4f78
AJ
13542 * include/atomic.h (atomic_exchange_and_add): Split into ...
13543 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13544 New atomic macros.
51a9ba86 13545
ba6cba9e
MT
135462012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13547
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13549
42443a47
JL
135502012-08-13 Jeff Law <law@redhat.com>
13551
13552 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13553 null byte in the output string.
13554
121dce05
JM
135552012-08-10 Joseph Myers <joseph@codesourcery.com>
13556
13557 * sysdeps/unix/sysv/linux/kernel-features.h
13558 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13559 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13560 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13562 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13563 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13564 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13565
bf51f568
JL
135662012-08-09 Jeff Law <law@redhat.com>
13567
13568 [BZ #13939]
13569 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13570 When avoid_arena is set, don't retry in the that arena. Pick the
13571 next one, whatever it might be.
13572 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13573 (arena_lock): Pass in new parameter to arena_get2.
13574 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13575 arena_get2.
13576 (__libc_malloc): Unify retrying after main arena failure with
13577 __libc_memalign version.
13578 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13579
f85fa270
L
135802012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13581
13582 [BZ #14166]
13583 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13584 to __redirect_strstr.
13585 (__strstr_sse42): Use typeof __redirect_strstr.
13586 (__strstr_ia32): Likewise.
13587 (__libc_strstr): New prototype.
13588 (strstr): Renamed to ...
13589 (__libc_strstr): This.
13590 (strstr): New strong alias of __libc_strstr.
13591 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13592 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13593 __redirect_time.
13594 Include <time.h>.
13595 (__libc_time): New prototype.
13596 (time_ifunc): Replace time with __libc_time.
13597 (time): New strong alias and hidden definition of __libc_time.
13598 (__GI_time): Remove strong alias.
13599 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13600 Include <stddef.h>.
13601 (memmove): Redefined to __redirect_memmove.
13602 (__memmove_sse2): Use typeof __redirect_memmove.
13603 (__memmove_ssse3): Likewise.
13604 (__memmove_ssse3_back): Likewise.
13605 (__libc_memmove): New prototype.
13606 (memmove): Renamed to ...
13607 (__libc_memmove): This.
13608 (memmove): New strong alias of __libc_memmove.
13609
33b4a91e
MS
136102012-08-08 Mark Salter <msalter@redhat.com>
13611
13612 * elf/elf.h
13613 (R_MN10300_TLS_GD): Define.
13614 (R_MN10300_TLS_LD): Likewise.
13615 (R_MN10300_TLS_LDO): Likewise.
13616 (R_MN10300_TLS_GOTIE): Likewise.
13617 (R_MN10300_TLS_IE): Likewise.
13618 (R_MN10300_TLS_LE): Likewise.
13619 (R_MN10300_TLS_DTPMOD): Likewise.
13620 (R_MN10300_TLS_DTPOFF): Likewise.
13621 (R_MN10300_TLS_TPOFF): Likewise.
13622 (R_MN10300_SYM_DIFF): Likewise.
13623 (R_MN10300_ALIGN): Likewise.
13624 (R_MN10300_NUM): Update.
13625
b36137f1
JM
136262012-08-08 Joseph Myers <joseph@codesourcery.com>
13627
13628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13629 Remove.
13630
cdd915fd
RM
136312012-08-08 Roland McGrath <roland@hack.frob.com>
13632
a2433aac
RM
13633 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13634
cdd915fd
RM
13635 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13636 sysdeps/unix -> sysdeps/posix move.
13637 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13638
bf9b740a
AM
136392012-08-07 Allan McRae <allan@archlinux.org>
13640
13641 [BZ #14303]
13642 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13643 (SUNOS_CPP): Likewise.
13644 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13645 not found.
13646 (open_input): Call CPP using execvp.
13647
93df14ee
JM
136482012-08-07 Joseph Myers <joseph@codesourcery.com>
13649
13650 * sysdeps/unix/sysv/linux/kernel-features.h
13651 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13652 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13653 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13654 (__ASSUME_WAITID_SYSCALL): Likewise.
13655 * sysdeps/unix/sysv/linux/dl-execstack.c
13656 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13657 code unconditional.
13658 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13659 conditional code.
13660 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13661 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13662 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13663 code.
13664 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13665 unconditional.
13666 [__ASSUME_WAITID_SYSCALL]: Likewise.
13667 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13668
d34689de
RM
136692012-08-07 Roland McGrath <roland@hack.frob.com>
13670
a281decc
RM
13671 * sysdeps/unix/closedir.c: Renamed to ...
13672 * sysdeps/posix/closedir.c: ... here.
13673 * sysdeps/unix/dirfd.c: Renamed to ...
13674 * sysdeps/posix/dirfd.c: ... here.
13675 * sysdeps/unix/dirstream.h: Renamed to ...
13676 * sysdeps/posix/dirstream.h: ... here.
13677 * sysdeps/unix/fdopendir.c: Renamed to ...
13678 * sysdeps/posix/fdopendir.c: ... here.
13679 * sysdeps/unix/opendir.c: Renamed to ...
13680 * sysdeps/posix/opendir.c: ... here.
13681 * sysdeps/unix/readdir.c: Renamed to ...
13682 * sysdeps/posix/readdir.c: ... here.
13683 * sysdeps/unix/readdir_r.c: Renamed to ...
13684 * sysdeps/posix/readdir_r.c: ... here.
13685 * sysdeps/unix/rewinddir.c: Renamed to ...
13686 * sysdeps/posix/rewinddir.c: ... here.
13687 * sysdeps/unix/seekdir.c: Renamed to ...
13688 * sysdeps/posix/seekdir.c: ... here.
13689 * sysdeps/unix/telldir.c: Renamed to ...
13690 * sysdeps/posix/telldir.c: ... here.
13691 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13692 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13693 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13694 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13695
22895b47
RM
13696 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13697 * bits/fcntl.h: ... here.
13698
707a53b6
RM
13699 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13700 not 0.
13701 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13702 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13703 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13704 (struct flock): Move l_start, l_len to the beginning.
13705 Use __pid_t for l_pid.
13706 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13707 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13708 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13709 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13710 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13711 [__USE_LARGEFILE64] (struct flock64): New type.
13712 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13713
f0bd3e25
RM
13714 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13715 * bits/dirent.h: ... here.
13716
d34689de
RM
13717 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13718 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13719
6dad2c06
JM
137202012-08-07 Joseph Myers <joseph@codesourcery.com>
13721
13722 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13723 Change from 2.6.0 to 2.6.16.
13724 * sysdeps/unix/sysv/linux/configure: Regenerated.
13725 * sysdeps/unix/sysv/linux/kernel-features.h
13726 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13727 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13728 version.
13729 (__ASSUME_UTIMES): Likewise.
13730 (__ASSUME_CLONE_STOPPED): Remove.
13731 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13732 architectures, not kernel version.
13733 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13734 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13735 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13736 (__ASSUME_WAITID_SYSCALL): Likewise.
13737 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13738 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13739 * README: State 2.6.16 as minimum Linux kernel version. Do not
13740 refer to older versions.
13741
03af9520
RM
137422012-08-06 Roland McGrath <roland@hack.frob.com>
13743
8e49df1d
RM
13744 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13745 Define alphasort64 as an alias.
13746 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13747 Define versionsort64 as an alias.
13748 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13749 Define scandir64 as an alias.
13750 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13751 Define scandirat64 as an alias.
13752 * dirent/alphasort64.c (alphasort64):
13753 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13754 * dirent/versionsort64.c: Likewise.
13755 * dirent/scandir64.c: Likewise.
13756 * dirent/scandirat64.c: Likewise.
13757 * sysdeps/wordsize-64/alphasort.c: File removed.
13758 * sysdeps/wordsize-64/alphasort64.c: File removed.
13759 * sysdeps/wordsize-64/scandir.c: File removed.
13760 * sysdeps/wordsize-64/scandir64.c: File removed.
13761 * sysdeps/wordsize-64/scandirat.c: File removed.
13762 * sysdeps/wordsize-64/scandirat64.c: File removed.
13763 * sysdeps/wordsize-64/versionsort.c: File removed.
13764 * sysdeps/wordsize-64/versionsort64.c: File removed.
13765 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13766 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13768 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13770 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13771 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13772 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13773
13774 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13776 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13778 [defined __arch64__ || defined __sparcv9]
13779 (__INO_T_MATCHES_INO64_T): New macro.
13780 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13781 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13782 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13783 * sysdeps/unix/sysv/linux/bits/dirent.h
13784 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13785 (_DIRENT_MATCHES_DIRENT64): New macro.
13786
03af9520
RM
13787 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13788 Define lockf64 as an alias.
13789 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13790 Define fseeko64 as an alias.
13791 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13792 Define ftello64 as an alias.
13793 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13794 Define _IO_fgetpos64 and fgetpos64 as aliases.
13795 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13796 Define _IO_fsetpos64 and fsetpos64 as aliases.
13797 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13798 Conditionalize body on this.
13799 * libio/fseeko64.c: Likewise.
13800 * libio/ftello64.c: Likewise.
13801 * libio/iofgetpos64.c: Likewise.
13802 * libio/iofsetpos64.c: Likewise.
13803 * sysdeps/wordsize-64/lockf.c: File removed.
13804 * sysdeps/wordsize-64/lockf64.c: File removed.
13805 * sysdeps/wordsize-64/fseeko.c: File removed.
13806 * sysdeps/wordsize-64/fseeko64.c: File removed.
13807 * sysdeps/wordsize-64/ftello.c: File removed.
13808 * sysdeps/wordsize-64/ftello64.c: File removed.
13809 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13810 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13811 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13812 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13814 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13815 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13816 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13817 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13818 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13819 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13820 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13821 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13823
13824 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13826 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13828 [defined __arch64__ || defined __sparcv9]
13829 (__OFF_T_MATCHES_OFF64_T): New macro.
13830 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13831 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13833 (__OFF_T_MATCHES_OFF64_T): New macro.
13834
c5757acd
L
138352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13836
13837 * stdlib/secure-getenv.c (__secure_getenv): Replace
13838 GLIBC_2_16 with GLIBC_2_17.
13839
3a31811e
L
138402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13841
13842 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13843 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13844
faa2bccb
DM
138452012-08-03 David S. Miller <davem@davemloft.net>
13846
13847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13848
85fe1997
JM
138492012-08-03 Joseph Myers <joseph@codesourcery.com>
13850
13851 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13852 Remove.
13853 (__ASSUME_CORRECT_SI_PID): Likewise.
13854 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13855 (__ASSUME_TMPFS_NAME): Likewise.
13856 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13857 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13858 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13859 (HAVE_AUX_SECURE): Make definition unconditional.
13860 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13861 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13862
4f75b7a0
RM
138632012-08-03 Roland McGrath <roland@hack.frob.com>
13864
13865 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13866 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13867 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13868 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13869 __eloop_threshold instead of SYMLOOP_MAX.
13870
13871 * sysdeps/generic/eloop-threshold.h: New file.
13872 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13873 of MAXSYMLINKS.
13874 * elf/chroot_canon.c (chroot_canon): Likewise.
13875
7aab07e4
JM
138762012-08-03 Joseph Myers <joseph@codesourcery.com>
13877
13878 [BZ #13717]
13879 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13880 Change to 2.6.0 everywhere.
13881 * sysdeps/unix/sysv/linux/configure: Regenerated.
13882 * sysdeps/unix/sysv/linux/kernel-features.h
13883 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13884 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13885 kernel versions.
13886 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13887 (__ASSUME_FUTEX_REQUEUE): Remove.
13888 (__ASSUME_STATFS64): Define unconditionally.
13889 (__ASSUME_AT_SECURE): Likewise.
13890 (__ASSUME_CORRECT_SI_PID): Likewise.
13891 (__ASSUME_TGKILL): Define without depending on kernel version for
13892 i386.
13893 (__ASSUME_UTIMES): Likewise.
13894 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13895 kernel version.
13896 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13897 (__ASSUME_TMPFS_NAME): Likewise.
13898 * README: Update reference to Linux kernel versions.
13899
b67e9372
MP
139002012-08-02 Marek Polacek <polacek@redhat.com>
13901
1f529f7d 13902 [BZ# 14150]
b67e9372
MP
13903 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13904 libc_cv_asm_type_prefix with %.
13905 * configure: Regenerated.
d2441631
RM
13906 * include/libc-symbols.h: Remove comment about
13907 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13908 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13909 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13910 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13911 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13912 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13913 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13914 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13915 * elf/tst-unique2mod1.c: Likewise.
13916 * elf/tst-unique1mod2.c: Likewise.
13917 * elf/tst-unique1mod1.c: Likewise.
13918 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13919 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13920 Replace ASM_TYPE_DIRECTIVE with .type.
13921 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13922 * sysdeps/i386/sysdep.h: Likewise.
13923 * sysdeps/x86_64/sysdep.h: Likewise.
13924 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13926 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13927 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13928 * sysdeps/powerpc/powerpc32/sysdep.h:
13929 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13930 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13931 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13932 * sysdeps/i386/fpu/e_powf.S: Likewise.
13933 * sysdeps/i386/fpu/e_expl.S: Likewise.
13934 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13935 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13936 * sysdeps/i386/fpu/e_pow.S: Likewise.
13937 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13938 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13939 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13940 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13941 * sysdeps/i386/fpu/e_log2.S: Likewise.
13942 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13943 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13944 * sysdeps/i386/fpu/e_powl.S: Likewise.
13945 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13946 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13947 * sysdeps/i386/fpu/e_logl.S: Likewise.
13948 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13949 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13950 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13951 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13952 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13953 * sysdeps/i386/fpu/e_log.S: Likewise.
13954 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13955 * sysdeps/i386/fpu/e_logf.S: Likewise.
13956 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13957 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13958 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13959 * sysdeps/i386/fpu/e_log10.S: Likewise.
13960 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13961 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13962 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13963 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13964 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13965 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13966 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13967 * sysdeps/i386/i686/strtok.S: Likewise.
13968 * sysdeps/i386/i386-mcount.S: Likewise.
13969 * sysdeps/i386/strtok.S: Likewise.
13970 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13971 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13972 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13973 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13974 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13975 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13976 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13977 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13978 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13979 * sysdeps/x86_64/_mcount.S: Likewise.
13980 * sysdeps/x86_64/strtok.S: Likewise.
13981 * sysdeps/sh/_mcount.S: Likewise.
13982
2747bf9a
RM
139832012-08-01 Roland McGrath <roland@hack.frob.com>
13984
13985 * libio/iofopen.c: Include <fcntl.h>.
13986 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13987 (_IO_fopen64, fopen64): Define as aliases.
13988 * libio/iofopen64.c: Include <fcntl.h>.
13989 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13990 Conditionalize body on this.
13991 * sysdeps/wordsize-64/iofopen.c: File removed.
13992 * sysdeps/wordsize-64/iofopen64.c: File removed.
13993
3fb791b8
MP
139942012-08-01 Marek Polacek <polacek@redhat.com>
13995
13996 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13997 Use dlfcn directly instead of a variable.
13998 (binfmt-subdir): Do not define.
13999 (dlfcn): Likewise.
14000
a9f1039f
JM
140012012-08-01 Joseph Myers <joseph@codesourcery.com>
14002
23bddc06
JM
14003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14004 Remove all definitions.
14005 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14006 <kernel-features.h>.
14007 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14008 (miss_F_GETOWN_EX): Remove all definitions.
14009 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14010 macro definition.
14011 [!__ASSUME_FCNTL64]: Remove conditional code.
14012 [__ASSUME_FCNTL64]: Make code unconditional.
14013 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14014 <kernel-features.h>.
14015 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14016 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14017 (lockf64) [__NR_fcntl64]: Make code unconditional.
14018 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14019
a9f1039f
JM
14020 * sysdeps/unix/sysv/linux/kernel-features.h
14021 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14022 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14023 Make code unconditional.
14024 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14025 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14027 [__NR_vfork]: Make code unconditional.
14028 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14029 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14031 [__NR_vfork]: Make code unconditional.
14032 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14033 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14034
09c0ee5f
RM
140352012-08-01 Roland McGrath <roland@hack.frob.com>
14036
48aec5b9
RM
14037 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14038 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14039
cd97c966
RM
14040 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14041 Define mkstemp64 as an alias.
3f55550c
RM
14042 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14043 Define mkstemps64 as an alias.
cd97c966
RM
14044 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14045 Define mkostemp64 as an alias.
b8625cfc
RM
14046 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14047 Define mkostemps64 as an alias.
cd97c966
RM
14048 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14049 Conditionalize body on this.
14050 * misc/mkostemp64.c: Likewise.
b8625cfc 14051 * misc/mkostemps64.c: Likewise.
3f55550c 14052 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14053 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14054 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14055 * sysdeps/wordsize-64/mkostemp.c: File removed.
14056 * sysdeps/wordsize-64/mkstemp.c: File removed.
14057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14059 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14061
09c0ee5f
RM
14062 [BZ #14138]
14063 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14064 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14065 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14066 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14067
14068 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14069 compat_symbol macros from <shlib-compat.h> rather than the underlying
14070 default_symbol_version and symbol_version macros, so that DEFAULT
14071 lines in shlib-versions are respected.
14072 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14073
7e66ee51
FW
140742012-08-01 Florian Weimer <fweimer@redhat.com>
14075
14076 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14077 Declare with warn_unused_result.
14078 (setgid, setregid, setegid, setresgid): Likewise.
14079 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14080 Likewise.
14081 * WUR-REPORT: Remove set*id functions.
14082
d2a54255
PT
140832012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14084
14085 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14086
7ecdb005
RM
140872012-07-31 Roland McGrath <roland@hack.frob.com>
14088
b4180a5e 14089 [BZ #10191]
789bd351
RM
14090 * include/sys/socket.h (__libc_accept, __libc_accept4):
14091 Add attribute_hidden.
14092 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14093
40ce302d
RM
14094 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14095 use of PTR_MANGLE.
14096 * inet/getnetgrent_r.c (setup): Likewise.
14097
7ecdb005
RM
14098 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14099
e2eabb2c
DM
141002012-07-31 David S. Miller <davem@davemloft.net>
14101
14102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14103
d0419dbf
JM
141042012-07-31 Joseph Myers <joseph@codesourcery.com>
14105
14106 [BZ #13629]
14107 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14108 value between 1.0 and 2.0 and smaller part has absolute value less
14109 than 1.0.
14110 * math/s_clog10.c (__clog10): Likewise.
14111 * math/s_clog10f.c (__clog10f): Likewise.
14112 * math/s_clog10l.c (__clog10l): Likewise.
14113 * math/s_clogf.c (__clogf): Likewise.
14114 * math/s_clogl.c (__clogl): Likewise.
14115 * math/libm-test.inc (clog_test): Add more tests.
14116 (clog10_test): Likewise.
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14119
2bc13872
FW
141202012-07-31 Florian Weimer <fweimer@redhat.com>
14121
14122 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14123 Exit with zero in case no suitable GID is found, and write a
14124 message to standard error.
14125
bea9b193
RM
141262012-07-30 Roland McGrath <roland@hack.frob.com>
14127
14128 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14129 rather than to 1.
14130 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14131 (MAXPATHLEN): Removed.
14132 (NOGROUP, NODEV): New macros.
14133 (setbit, clrbit, isset, isclr): New macros.
14134 (howmany, roundup, powerof2): New macros.
14135 (DEV_BSIZE): New macro.
14136
14137 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14138 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14139
14140 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14141 definition on [!__NO_LONG_DOUBLE_MATH].
14142
14143 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14144 PTR_MANGLE and PTR_DEMANGLE.
14145
14146 * socket/accept4.c (accept4): Rename to __libc_accept4.
14147 Define accept4 as a weak alias.
14148
14149 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14150 on [_DIRENT_HAVE_D_TYPE].
14151 * io/ftw.c (ftw_dir): Likewise.
14152
14153 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14154
14155 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14156
14157 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14158 Use the BSD numbers rather than the arbitrary ones we had.
14159 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14160 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14161 (SIGXCPU, SIGXFSZ): New macros.
14162 (_NSIG): Now 32.
14163
14164 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14165 initializer on [_LIBC_REENTRANT].
14166
14167 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14168 definitions inside [_POSIX_MAPPED_FILES].
14169
14170 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14171
14172 * dirent/opendir.c: Include <fcntl.h>.
14173
14174 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14175 (__libc_getspecific): Likewise.
14176 (__libc_key_create): Likewise.
14177
14178 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14179 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14180 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14181 (tmpfile64): Define as alias.
14182 * sysdeps/wordsize-64/tmpfile.c: File removed.
14183 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14185 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14186
14187 * stdio-common/vfscanf.c: Include <stdbool.h>.
14188 * nss/makedb.c: Likewise.
14189 * stdio-common/_i18n_number.h: Likewise.
14190 * argp/argp-help.c: Likewise.
14191 * posix/wordexp.c: Likewise.
14192 * sysdeps/posix/spawni.c: Likewise.
14193 * nss/nss_files/files-initgroups.c: Likewise.
14194 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14195 * nss/nss_files/files-initgroups.c: Likewise.
14196 * nss/nss_db/db-netgrp.c: Likewise.
14197 * nss/nss_db/db-initgroups.c: Likewise.
14198 * io/fchmodat.c: Include <sys/stat.h>.
14199
14200 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14201 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14202
14203 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14204 [HAVE_MMAP].
14205
14206 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14207 Add multiple inclusion protection.
14208
e5abc686
DM
142092012-07-27 David S. Miller <davem@davemloft.net>
14210
14211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14212
815e6fa3
GB
142132012-07-27 Gary Benson <gbenson@redhat.com>
14214
14215 [BZ #14298]
14216 * elf/rtld.c: Include <stap-probe.h>.
14217 (dl_main): Added static probes "init_start" and "init_complete".
14218 * elf/dl-load.c: Include <stap-probe.h>.
14219 (lose): Take new parameter "nsid".
14220 Added static probe "map_failed".
14221 (_dl_map_object_from_fd): Pass namespace id to lose.
14222 Added static probe "map_start".
14223 (open_verify): Pass namespace id to lose.
14224 * elf/dl-open.c: Include <stap-probe.h>.
14225 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14226 and "reloc_complete".
14227 * elf/dl-close.c: Include <stap-probe.h>.
14228 (_dl_close_worker): Added static probes "unmap_start" and
14229 "unmap_complete".
14230 * elf/rtld-debugger-interface.txt: New file documenting the above.
14231
9f98c16c
RM
142322012-07-26 Roland McGrath <roland@hack.frob.com>
14233
14234 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14235 rather than a string variable.
14236 * sunrpc/rpc_main.c (h_output): Likewise.
14237 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14238
f3c22df3
PT
142392012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14240
14241 * inet/check_native.c: New file.
14242
3129cfc6
JM
142432012-07-26 Joseph Myers <joseph@codesourcery.com>
14244
da865e95
JM
14245 [BZ #13629]
14246 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14247 if larger part has absolute value 1.0.
14248 * math/s_clog10.c (__clog10): Likewise.
14249 * math/s_clog10f.c (__clog10f): Likewise.
14250 * math/s_clog10l.c (__clog10l): Likewise.
14251 * math/s_clogf.c (__clogf): Likewise.
14252 * math/s_clogl.c (__clogl): Likewise.
14253 * math/libm-test.inc (clog_test): Add more tests.
14254 (clog10_test): Likewise.
14255 * sysdeps/i386/fpu/libm-test-ulps: Update.
14256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14257
3129cfc6
JM
14258 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14259 (pltexit): Likewise.
14260 (La_regs): Likewise.
14261 (La_retval): Likewise.
14262 (int_retval): Likewise.
14263 Update #error for removed macros to refer only to definitions in
14264 tst-audit.h.
14265 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14266 macro.
14267 (pltexit): Likewise.
14268 (La_regs): Likewise.
14269 (La_retval): Likewise.
14270 (int_retval): Likewise.
14271 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14272 macro.
14273 (pltexit): Likewise.
14274 (La_regs): Likewise.
14275 (La_retval): Likewise.
14276 (int_retval): Likewise.
14277 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14278 macro.
14279 (pltexit): Likewise.
14280 (La_regs): Likewise.
14281 (La_retval): Likewise.
14282 (int_retval): Likewise.
14283 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14284 macro.
14285 (pltexit): Likewise.
14286 (La_regs): Likewise.
14287 (La_retval): Likewise.
14288 (int_retval): Likewise.
14289 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14290 macro.
14291 (pltexit): Likewise.
14292 (La_regs): Likewise.
14293 (La_retval): Likewise.
14294 (int_retval): Likewise.
14295 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14296 macro.
14297 (pltexit): Likewise.
14298 (La_regs): Likewise.
14299 (La_retval): Likewise.
14300 (int_retval): Likewise.
14301 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14302 macro definitions in tst-audit.h.
14303 * sysdeps/i386/tst-audit.h: New file.
14304 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14305 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14306 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14307 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14308 * sysdeps/sh/tst-audit.h: Likewise.
14309 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14310 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14311 * sysdeps/x86_64/tst-audit.h: Likewise.
14312
bfc07087
AJ
143132012-07-26 Andreas Jaeger <aj@suse.de>
14314
b1b2aaf8
AJ
14315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14316 ptrace.
14317
14318 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14319 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14320 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14321 PTRACE_O_MASK.
14322 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14323 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14325
bfc07087
AJ
14326 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14327 value.
14328
14329 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14330 _sigsys.
14331 (si_call_addr, si_syscall, si_arch): Define new macro.
14332 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14333 _sigsys.
14334 (si_call_addr, si_syscall, si_arch): Define new marcro.
14335 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14336 _sigsys.
14337 (si_call_addr, si_syscall, si_arch): Define new macro.
14338 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14339 _sigsys.
14340 (si_call_addr, si_syscall, si_arch): Define new macro.
14341
89b4b02f
JM
143422012-07-25 Joseph Myers <joseph@codesourcery.com>
14343
14344 [BZ #13717]
14345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14346 Change to 2.4.21 where previously 2.4.1.
14347 * sysdeps/unix/sysv/linux/configure: Regenerated.
14348 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14349 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14350 Linux kernel version.
14351 (__ASSUME_STD_AUXV): Remove.
14352 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14353 kernel version.
14354 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14355 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14356 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14357 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14358 (__ASSUME_NETLINK_SUPPORT): Likewise.
14359 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14360 (__no_netlink_support): Remove conditional definition.
14361 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14362 Remove.
14363 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14364 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14365 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14366 (if_nameindex_ioctl): Remove.
14367 (if_nameindex_netlink): Do not handle __no_netlink_support.
14368 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14369 code.
14370 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14371 Remove conditional code.
14372 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14373 code.
14374 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14375 unconditional.
14376 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14377 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14378 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14379 Remove.
14380 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14381 [!__ASSUME_STD_AUXV]: Remove conditional code.
14382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14383 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14384 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14386 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14387 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14388 code.
14389 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14391 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14392 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14393 conditional code.
14394 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14396 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14397 code.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14399 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14400 conditional code.
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14402 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14403 code unconditional.
14404 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14405 conditional code.
14406 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14407 unconditional.
14408 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14409 conditional code.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14411 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14412 unconditional.
14413 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14414 conditional code.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14416 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14417 code unconditional.
14418 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14419 conditional code.
14420 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14421 unconditional.
14422 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14423 conditional code.
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14425 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14426 code unconditional.
14427 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14428 conditional code.
14429 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14430 unconditional.
14431 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14432 conditional code.
14433
842a39cd
AS
144342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14435
14436 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14437 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14438 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14439 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14440 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14441 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14442 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14443 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14444 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14445 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14446 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14447 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14448 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14449 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14451 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14452 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14453 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14454 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14456 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14457 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14459
84b3fd84
FW
144602012-07-25 Florian Weimer <fweimer@redhat.com>
14461
14462 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14463 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14464 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14465 Introduce __libc_secure_getenv.
0c7936d5
FW
14466 * stdlib/Versions (2.17): Add secure_getenv
14467 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14468 * stdlib/secure-getenv.c: Rename __secure_getenv to
14469 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14470 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14471 * stdlib/tst-secure-getenv.c: New.
14472 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14473 * manual/startup.texi (Environment Access): Document
14474 secure_getenv.
84b3fd84
FW
14475 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14476 __libc_secure_getenv.
14477 * inet/ruserpass.c (ruserpass): Likewise.
14478 * malloc/mtrace.c (mtrace): Likewise.
14479 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14480 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14481 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14482 * sysdeps/posix/tempname.c: Likewise. Evaluate
14483 HAVE_SECURE_GETENV.
14484 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14485 __secure_getenv to __libc_secure_getenv.
84b3fd84 14486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14488 Likewise.
14489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14490 Likewise.
14491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14498
56e49b71
JM
144992012-07-25 Joseph Myers <joseph@codesourcery.com>
14500
14501 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14502 (struct La_i86_retval): Likewise.
14503 (struct La_x86_64_regs): Likewise.
14504 (struct La_x86_64_retval): Likewise.
14505 (struct La_x32_regs): Likewise.
14506 (struct La_x32_retval): Likewise.
14507 (struct La_ppc32_regs): Likewise.
14508 (struct La_ppc32_retval): Likewise.
14509 (struct La_ppc64_regs): Likewise.
14510 (struct La_ppc64_retval): Likewise.
14511 (struct La_sh_regs): Likewise.
14512 (struct La_sh_retval): Likewise.
14513 (struct La_s390_32_regs): Likewise.
14514 (struct La_s390_32_retval): Likewise.
14515 (struct La_s390_64_regs): Likewise.
14516 (struct La_s390_64_retval): Likewise.
14517 (struct La_sparc32_regs): Likewise.
14518 (struct La_sparc32_retval): Likewise.
14519 (struct La_sparc64_regs): Likewise.
14520 (struct La_sparc64_retval): Likewise.
14521 (struct audit_ifaces): Remove architecture-specific pltenter and
14522 pltexit members.
14523 * sysdeps/i386/ldsodefs.h: New file.
14524 * sysdeps/powerpc/ldsodefs.h: Likewise.
14525 * sysdeps/s390/ldsodefs.h: Likewise.
14526 * sysdeps/sh/ldsodefs.h: Likewise.
14527 * sysdeps/sparc/ldsodefs.h: Likewise.
14528 * sysdeps/x86_64/ldsodefs.h: Likewise.
14529
354691b7
MP
145302012-07-25 Marek Polacek <polacek@redhat.com>
14531
14532 [BZ #6808]
14533 * math/libm-test.inc (yn_test): Add another test.
14534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14535 to ERANGE when the result is +-Inf.
14536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14537 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14538 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14539 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14540
bf9e2071
JM
145412012-07-24 Joseph Myers <joseph@codesourcery.com>
14542
14543 * conform/data/time.h-data (NULL): Use macro-constant. Require
14544 equal to 0.
14545 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14546 clock_t.
14547 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14548
57633811
TS
145492012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14550
14551 * configure.in <sysdeps resolving>: Correct printing
14552 Implies_before.
14553 * configure: Regenerate.
14554
c23c33b0
TS
145552012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14556
14557 * math/w_ilogb.c: Include <limits.h>.
14558 * math/w_ilogbl.c: Likewise.
14559
b5982523
JM
145602012-07-20 Joseph Myers <joseph@codesourcery.com>
14561
14562 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14563 va_copy. Document allowing for unavailable va_copy only as
14564 pre-C99 compatibility.
14565 * manual/string.texi (Copying and Concatenation): Use va_copy
14566 instead of __va_copy in concat example.
14567
ac4ea442
PT
145682012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14569
14570 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14571 (__sendto): Use create_address_port. Initialize APORT and deallocate
14572 it if not null.
14573
f98eafbd
PT
14574 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14575 with O_NOLINK passed to __file_name_lookup.
14576
898c7aab
PT
14577 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14578 with O_NOLINK passed to __file_name_lookup.
14579
0ced335a
PT
14580 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14581 negative N or less than NGIDS.
14582
b3404dbd
PT
14583 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14584 type to string_t. Set ERANGE as errno and return it if NAME is not big
14585 enough. Use memcpy instead of strncpy.
14586
0f48659e
JM
145872012-07-20 Joseph Myers <joseph@codesourcery.com>
14588
14589 * elf/Makefile (check-data): Remove.
14590 (localplt.data): New vpath directive.
14591 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14592 instead of $(check-data).
14593 * scripts/data/localplt-generic.data: Move to ...
14594 * sysdeps/generic/localplt.data: ... here.
14595 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14596 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14597 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14599 ... here.
14600 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14602 ... here.
14603 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14605 ... here.
14606 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14608 ... here.
14609 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14611 ... here.
14612 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14614 ... here.
14615
d37cbdaa
AZ
146162012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14617
14618 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14619 PPC32 and PPC64 files.
14620 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14621 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14622
46f85fc2
AK
146232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14624
14625 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14626 __makecontext_ret to ...
14627 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14628 ... here and call exit if uc_link is NULL. New file.
14629 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14630 __makecontext_ret.S.
14631 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14632 __makecontext_ret to ...
14633 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14634 ... here and call exit if uc_link is NULL. New file.
14635 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14636 __makecontext_ret.S.
14637
08f43f9b
AK
146382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14639
14640 * elf/elf.h (R_390_IRELATIVE): New definition.
14641 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14642 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14643 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14645 (elf_machine_lazy_rel): Likewise.
14646 * sysdeps/s390/dl-irel.h: New file.
14647 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14648 * sysdeps/s390/s390-64/memset.S: New asm code.
14649 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14650 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14652 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14653 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14654 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14656 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14657 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14658 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14659 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14660 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14661 * sysdeps/s390/s390-32/memset.S: New asm code.
14662 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14663
3b05db33
MP
146642012-07-17 Marek Polacek <polacek@redhat.com>
14665
14666 [BZ #14349]
14667 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14668 * sysdeps/s390/s390-64/configure.in: Likewise.
14669 * sysdeps/sparc/configure.in: Likewise.
14670 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14671 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14672 * sysdeps/i386/configure.in: Likewise.
14673 * sysdeps/x86_64/configure.in: Likewise.
14674 * sysdeps/sh/configure.in: Likewise.
14675 * sysdeps/s390/s390-32/configure: Regenerated.
14676 * sysdeps/s390/s390-64/configure: Likewise.
14677 * sysdeps/x86_64/configure: Likewise.
14678 * sysdeps/sh/configure: Likewise.
14679 * sysdeps/powerpc/powerpc64/configure: Likewise.
14680 * sysdeps/powerpc/powerpc32/configure: Likewise.
14681 * sysdeps/sparc/configure: Likwise.
14682 * sysdeps/i386/configure: Likewise.
14683
a66877c6
MP
14684 * elf/dl-open.c: Comment fixes.
14685
cfc82fd8
JM
146862012-07-17 Joseph Myers <joseph@codesourcery.com>
14687
bd29910a
JM
14688 * Makefile [CXX] (check-data): Remove.
14689 [CXX] (c++-types.data): New vpath directive.
14690 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14691 vpath. Do not allow for C++ type data being missing.
14692 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14693 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14694 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14695 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14696 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14697 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14698 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14700 ... here.
14701 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14703 ... here.
14704 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14706 ... here.
14707 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14709 ... here.
14710 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14712 ... here.
14713 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14715 ... here.
14716 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14718 ... here.
14719 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14721
cfc82fd8
JM
14722 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14723 definitions to architecture-specific files.
14724 (TLS_IE): Likewise.
14725 (TLS_LD): Likewise.
14726 (TLS_GD): Likewise.
14727 * sysdeps/i386/tls-macros.h: New file.
14728 * sysdeps/powerpc/tls-macros.h: Likewise.
14729 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14730 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14731 * sysdeps/sh/tls-macros.h: Likewise.
14732 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14733 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14734 * sysdeps/x86_64/tls-macros.h: Likewise.
14735
f7db3170
TS
147362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14737
07cbfc23
TS
14738 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14739 zero value for regular exit case.
14740
f7db3170
TS
14741 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14742 (__start_context): Preserve zero value for regular exit case.
14743
dc97c227
TS
147442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14745 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14746
14747 * manual/setjmp.texi (setcontext): Clarify normal process
14748 termination when uc_link is the null pointer.
14749 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14750 exit call.
14751
d0cd7d02
AS
147522012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14753
14754 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14755 preprocessor. Test for each exception mask separately.
14756
dd318934
AJ
147572012-07-16 Andreas Jaeger <aj@suse.de>
14758
14759 * po/ru.po: Update from translation team.
14760
8048311a
JM
147612012-07-15 Joseph Myers <joseph@codesourcery.com>
14762
14763 * conform/data/string.h-data (NULL): Use macro-constant. Require
14764 equal to 0.
14765 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14766 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14767 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14768 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14770
b637d46e
AJ
147712012-07-13 Andreas Jaeger <aj@suse.de>
14772
14773 * po/fr.po: Update from translation team.
14774
541428fe
MP
147752012-07-12 Marek Polacek <polacek@redhat.com>
14776
14777 [BZ #14173]
14778 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14779 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14780 loop condition.
14781
ec332e94
JM
147822012-07-12 Joseph Myers <joseph@codesourcery.com>
14783
14784 [BZ #13717]
14785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14786 Change to 2.4.1 where previously 2.4.0.
14787 * sysdeps/unix/sysv/linux/configure: Regenerated.
14788 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14789 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14790 version.
14791 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14792 (__ASSUME_AT_CLKTCK): Remove.
14793 (__ASSUME_AT_PAGESIZE): Likewise.
14794 (__ASSUME_AT_XID): Likewise.
14795 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14796 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14797 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14798 unconditionally.
14799 (HAVE_AUX_PAGESIZE): Likewise.
14800 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14801 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14802 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14803
7b6e99be
JB
148042012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14805
14806 [BZ #14307]
14807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14808 the temporary buffer used to invoke __gethostbyname2_r,
14809 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14810 host_data / struct gaih_addrtuple.
14811 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14812 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14813 header file nss/nsswitch.h.
14814 * nss/nsswitch.h (global scope): Add definition of implementation
14815 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14816 resolv/nss_dns/dns-host.c).
14817
608404eb
AJ
148182012-07-11 Andreas Jaeger <aj@suse.de>
14819
14820 * po/fr.po: Update from translation team.
14821
71220aca
AJ
14822 * po/sv.po: Update from translation team
14823 * po/fr.po: Another update from translation team.
14824
28cfe843
AZ
148252012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14826
14827 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14828 for subnormals or multiply small sinh result by itself.
14829 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14831
6b90f981
DM
148322012-07-11 David S. Miller <davem@davemloft.net>
14833
14834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14835
c6825772
AS
148362012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14837
14838 [BZ #14347]
14839 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14840 (INTERNAL_MARK): Shift it here.
14841
7b8e0d49
MP
148422012-07-10 Marek Polacek <polacek@redhat.com>
14843
14844 [BZ #14151]
14845 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14846 libc_cv_asm_global_directive with .globl.
14847 * configure: Regenerated.
14848 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14849 with .globl.
14850 * sysdeps/i386/configure: Regenerated.
14851 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14852 with .globl.
14853 * sysdeps/x86_64/configure: Regenerated.
14854 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14855 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14856 * elf/tst-unique2mod2.c: Likewise.
14857 * elf/tst-unique2mod1.c: Likewise.
14858 * elf/tst-unique1mod2.c: Likewise.
14859 * elf/tst-unique1mod1.c: Likewise.
14860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14861 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14863 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14864 * sysdeps/mach/sysdep.h: Likewise.
14865 * sysdeps/i386/sysdep.h: Likewise.
14866 * sysdeps/i386/i386-mcount.S: Likewise.
14867 * sysdeps/x86_64/_mcount.S: Likewise.
14868 * sysdeps/x86_64/sysdep.h: Likewise.
14869 * sysdeps/sh/_mcount.S: Likewise.
14870 * sysdeps/sh/sysdep.h: Likewise.
14871 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14872 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14873 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14874 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14875 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14876 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14877 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14878 * locale/localeinfo.h: Likewise.
14879 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14880 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14881
6c55cda3
RM
148822012-07-09 Roland McGrath <roland@hack.frob.com>
14883
14884 [BZ #14336]
14885 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14886 system".
14887 * manual/message.texi (The Uniforum approach): Likewise.
14888 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14889 (glibc iconv Implementation): Likewise.
14890
638a572e
JM
148912012-07-09 Joseph Myers <joseph@codesourcery.com>
14892
14893 [BZ #14337]
14894 * math/s_clog.c (__clog): Avoid scaling a value down where that
14895 could result in underflow.
14896 * math/s_clog10.c (__clog10): Likewise.
14897 * math/s_clog10f.c (__clog10f): Likewise.
14898 * math/s_clog10l.c (__clog10l): Likewise.
14899 * math/s_clogf.c (__clogf): Likewise.
14900 * math/s_clogl.c (__clogl): Likewise.
14901 * math/libm-test.inc (clog_test): Add more tests.
14902 (clog10_test): Likewise.
14903 * sysdeps/i386/fpu/libm-test-ulps: Update.
14904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14905
261f4859
AS
149062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14907
0abaf3e4
AS
14908 [BZ #14283]
14909 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14910 by 7 not 8 to examine high bit of fractional part.
14911
261f4859
AS
14912 [BZ #14042]
14913 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14914 for call to __mcount_internal.
14915 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14916 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14917 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14918
f17ac40d
JM
149192012-07-06 Joseph Myers <joseph@codesourcery.com>
14920
9ad63c23
JM
14921 [BZ #14154]
14922 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14923 approximation for values within 0x1p-13f of an odd multiple of
14924 pi/4.
14925 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14926 exception. Add more tests.
14927 * sysdeps/i386/fpu/libm-test-ulps: Update.
14928
f17ac40d
JM
14929 [BZ #6778]
14930 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14931 inputs and return -1 for them. Do not check for +Inf in case not
14932 reachable for +Inf.
14933 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14934 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14935 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14936 and return -1 for them. Do not check for +Inf in case not
14937 reachable for +Inf.
14938 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14939 define.
14940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14941 and return -1 for them. Do not check for +Inf in case not
14942 reachable for +Inf.
14943 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14944 spurious underflow.
14945 * sysdeps/i386/fpu/libm-test-ulps: Update.
14946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14947
fb21f89b
MF
149482012-07-06 Mike Frysinger <vapier@gentoo.org>
14949
14950 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14951
cdfe2c5e
JM
149522012-07-05 Joseph Myers <joseph@codesourcery.com>
14953
14954 [BZ #14157]
14955 [BZ #14331]
14956 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14957 could result in spurious underflow. Scale down values above
14958 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14959 * math/s_csqrtf.c (__csqrtf): Likewise.
14960 * math/s_csqrtl.c (__csqrtl): Likewise.
14961 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14962 spurious underflow.
14963 * sysdeps/i386/fpu/libm-test-ulps: Update.
14964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14965
70d35b67
AS
149662012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14967
704bc459
AS
14968 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14969 xopen-msg.sed.
14970 * catgets/xopen-msg.awk: New file.
14971 * catgets/xopen-msg.sed: Removed.
14972
70d35b67
AS
14973 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14974 po2text.sed.
14975 * intl/po2test.awk: New file.
14976 * intl/po2test.sed: Removed.
14977
ca61cf32
JM
149782012-07-04 Joseph Myers <joseph@codesourcery.com>
14979
14980 [BZ #14328]
14981 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14982 or multiply small sinh result by itself.
14983 * math/s_ctanf.c (__ctanf): Likewise.
14984 * math/s_ctanh.c (__ctanh): Likewise.
14985 * math/s_ctanhf.c (__ctanhf): Likewise.
14986 * math/s_ctanhl.c (__ctanhl): Likewise.
14987 * math/s_ctanl.c (__ctanl): Likewise.
14988 * math/libm-test.inc (ctan_test_tonearest): New function.
14989 (ctan_test_towardzero): Likewise.
14990 (ctan_test_downward): Likewise.
14991 (ctan_test_upward): Likewise.
14992 (ctanh_test_tonearest): Likewise.
14993 (ctanh_test_towardzero): Likewise.
14994 (ctanh_test_downward): Likewise.
14995 (ctanh_test_upward): Likewise.
14996 (main): Call these new functions.
14997 * sysdeps/i386/fpu/libm-test-ulps: Update.
14998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14999
ca48a46a
MF
150002012-07-03 Mike Frysinger <vapier@gentoo.org>
15001
15002 * .gitignore: Delete /ports entry.
15003
9d63d37d
AJ
150042012-07-03 Andreas Jaeger <aj@suse.de>
15005
15006 * po/bg.po: Update from translation team.
15007 * po/cs.po: Likewise.
15008 * po/de.po: Likewise.
15009 * po/hr.po: Likewise.
15010 * po/nl.pl: Likewise.
15011 * po/pl.po: Likewise.
15012 * po/vi.po: Likewise.
15013
370ca3d2
JM
150142012-07-03 Joseph Myers <joseph@codesourcery.com>
15015
95f5a9a8
JM
15016 * Makeconfig [!+link] (+link-before-libc): New variable.
15017 [!+link] (+link-after-libc): Likewise.
15018 [!+link] (+link-tests): Likewise.
15019 [!+link] (+link): Define in terms of $(+link-before-libc) and
15020 $(+link-after-libc).
15021 [!+link-static] (+link-static-before-libc): New variable.
15022 [!+link-static] (+link-static-after-libc): Likewise.
15023 [!+link-static] (+link-static-tests): Likewise.
15024 [!+link-static] (+link-static): Define in terms of
15025 $(+link-static-before-libc) and $(+link-static-after-libc).
15026 [build-shared] (link-libc-before-gnulib): New variable.
15027 [build-shared] (link-libc-tests): Likewise.
15028 [build-shared] (link-libc): Define in terms of
15029 $(link-libc-before-gnulib).
15030 [!build-shared] (link-libc-tests): New variable.
15031 (link-libc-static-tests): New variable.
15032 [!gnulib] (gnulib-arch): New variable.
15033 [!gnulib] (gnulib-tests): Likewise.
15034 [!gnulib] (static-gnulib-arch): Likewise.
15035 [!gnulib] (static-gnulib-tests): Likewise.
15036 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15037 Define with "=" instead of ":=".
15038 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15039 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15040 * Rules (binaries-all-notests): New variable.
15041 (binaries-all-tests): Likewise.
15042 (binaries-static-notests): Likewise.
15043 (binaries-static-tests): Likewise.
15044 (binaries-all): Define using $(binaries-all-notests) and
15045 $(binaries-all-tests).
15046 (binaries-static): Define using $(binaries-static-notests) and
15047 $(binaries-static-tests).
15048 (binaries-shared-tests): New variable.
15049 (binaries-shared-notests): Likewise.
15050 (binaries-shared): Remove variable.
15051 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15052 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15053 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15054 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15055 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15056 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15057 * elf/Makefile (sln-modules): New variable.
15058 (extra-objs): Add $(sln-modules:=.o).
15059 (ldconfig-modules): Add static-stubs.
15060 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15061 * elf/static-stubs.c: New file.
15062
7a845b2c
JM
15063 [BZ #14283]
15064 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15065 by 7 not 8 to examine high bit of fractional part. Use volatile
15066 variables when splitting into final array of floats if
15067 __FLT_EVAL_METHOD__ != 0.
15068 * math/libm-test.inc (cos_test): Add another test.
15069 (sin_test): Likewise.
15070 * sysdeps/i386/fpu/libm-test-ulps: Update.
15071
e2283f38
JM
15072 [BZ #14273]
15073 * math/libm-test.inc (cosh_test): Add more tests.
15074
370ca3d2
JM
15075 * version.h (RELEASE): Set to "development".
15076 (VERSION): Set to "2.16.90".
15077
ee9247c3
CD
150782012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15079
15080 * NEWS: Update copyright. Remove last-updated date.
15081 Mention math library bug fixes and timezone data changes.
15082 * README: Mention GNU/Hurd, x32, and HPPA support status.
15083
4648c381
TS
150842012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15085
15086 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15087
aac78a43
AJ
150882012-06-27 Andreas Jaeger <aj@suse.de>
15089
15090 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15091
ed3dbfad
AJ
150922012-06-25 Andreas Jaeger <aj@suse.de>
15093
15094 * sysdeps/s390/fpu/libm-test-ulps: Update.
15095
4d0ee855
AS
150962012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15097 Thomas Schwinge <thomas@codesourcery.com>
15098
15099 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15100 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15102 fanotify_mark.
15103
af1bce34
TS
151042012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15105
a9fa33ba
TS
15106 * sysdeps/mach/start.c: Remove file.
15107 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15108 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15109 * sysdeps/sh/init-first.c: Likewise.
15110
58f902b8
TS
15111 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15112 registers for frame unwinding purposes, add CFI directives.
15113 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15114 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15115 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15116 Likewise.
15117
1518f58b
TS
15118 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15119 __fortify_fail returning.
15120 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15121
db9b5059
TS
15122 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15123 sysdeps/sh/____longjmp_chk.S.
15124 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15125 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15126 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15127 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15128
967705fe
TS
15129 * sysdeps/sh/abort-instr.h: New file.
15130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15131 process in case exit returns.
15132
a9def8c4
TS
15133 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15134 initialize the GOT register before use.
15135
2a649725
TS
15136 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15137 calculation of ARGC > 4.
15138
af1bce34
TS
15139 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15140 meaningful names to some local labels.
15141
d230f50a
KK
151422012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15143 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15144
15145 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15146 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15147 (__arch_compare_and_exchange_val_16_acq): Likewise.
15148 (__arch_compare_and_exchange_val_32_acq): Likewise.
15149 (atomic_exchange_and_add): Fix gUSA sequence.
15150 (atomic_add): Likewise.
15151 (atomic_add_negative): Likewise.
15152 (atomic_add_zero): Likewise.
15153 (atomic_bit_test_set): Likewise.
15154
0479b305
AS
151552012-06-22 Andreas Schwab <schwab@redhat.com>
15156
15157 [BZ #13579]
15158 * include/link.h (struct link_map): Add l_free_initfini.
15159 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15160 l_initfini.
15161 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15162 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15163 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15164 set.
15165
0e3933b9
CD
151662012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15167
15168 * configure.in: Use AC_LANG_SOURCE.
15169 * configure: Regenerate.
15170
4248b1b1
RM
151712012-06-22 Roland McGrath <roland@hack.frob.com>
15172
15173 * configure.in (libc_cv_localstatedir): New substituted variable.
15174 * configure: Regenerated.
15175 * config.make.in (localstatedir): New variable, substituted from
15176 libc_cv_localstatedir.
15177 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15178 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15179 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15180 * sysdeps/gnu/configure: Regenerated.
15181
006dd861
JL
151822012-06-21 Jeff Law <law@redhat.com>
15183
15184 [BZ #14277]
15185 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15186 free. Simplify list management for _LIBC case.
15187
79662d42
JM
151882012-06-21 Joseph Myers <joseph@codesourcery.com>
15189
b7abb4bf
JM
15190 [BZ #14273]
15191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15192 Clear sign bit of 64-bit integer value before comparing against
15193 overflow value.
15194
79662d42
JM
15195 * sysdeps/mach/configure: Regenerated.
15196
1f150908
L
151972012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15198
15199 [BZ #14278]
15200 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15201
28363bbf
JL
152022012-06-21 Jeff Law <law@redhat.com>
15203
15204 [BZ #13882]
15205 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15206 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15207 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15208 * elf/dl-open.c (dl_open_worker): Likewise.
15209
09615db4
CD
152102012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15211
15212 * scripts/list-sources.sh: Scan PORTS for translations.
15213 * po/libc.pot: Regenerated.
15214
2174c6dd
AJ
152152012-06-21 Andreas Jaeger <aj@suse.de>
15216
15217 [BZ #12194]
15218 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15219 warning.
15220 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15221 * bits/byteswap-16.h (__bswap_16): Likewise.
15222 * bits/byteswap.h (__bswap_constant_16): Likewise.
15223
3ee947b1
L
152242012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15225
15226 [BZ #14117]
a2f34833
L
15227 * sysdeps/i386/fpu_control.h: Removed.
15228 * sysdeps/x86_64/fpu_control.h: Moved to ...
15229 * sysdeps/x86/fpu_control.h: Here.
15230
3ee947b1
L
15231 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15232 (_FPU_SETCW): Likewise.
15233
ed1825f8
L
152342012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15235
25f1282a
L
15236 [BZ #14117]
15237 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15238 * sysdeps/x86/fpu/bits/mathinline.h: This.
15239 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15240
ed1825f8
L
15241 [BZ #14050]
15242 [BZ #14117]
15243 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15244 functions if __x86_64__ is defined.
15245
36d54b74
CLT
152462012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15247
15248 * string/endian.h: Add !__ASSEMBLER__ condition for including
15249 conversion interfaces.
15250
10285c21
JM
152512012-06-15 Joseph Myers <joseph@codesourcery.com>
15252
15253 [BZ #14241]
15254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15255 of ABS(x) in calculating zero to negative powers other than odd
15256 integers.
15257 * math/libm-test.inc (pow_test): Add more tests.
15258
06c5abbd
AJ
152592012-06-15 Andreas Jaeger <aj@suse.de>
15260
15261 * manual/contrib.texi (Contributors): Update entry of Liubov
15262 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15263 Machado Filho.
15264
a3aeac40
CH
152652012-06-15 Cyril Hrubis <metan@ucw.cz>
15266
15267 * string/string.h: Add __wur to GNU version of strerror_r.
15268
49bdf4c1
L
152692012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15270
15271 [BZ #14229]
15272 * string/Makefile (tests): Add tst-strtok_r.
15273 * string/tst-strtok_r.c: New file.
15274 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15275 RAX_LP/RDX_LP on SAVE_PTR.
15276
834f9b8d
RM
152772012-06-14 Roland McGrath <roland@hack.frob.com>
15278
15279 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15280
75fa1921
JM
152812012-06-14 Joseph Myers <joseph@codesourcery.com>
15282
15283 * libm_test.inc (csqrt_test): Allow more spurious underflow
15284 exceptions.
15285 (j0_test): Likewise.
15286 (j1_test): Likewise.
15287 (y0_test): Likewise.
15288 (y1_test): Likewise.
15289
771766df
CD
152902012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15291
15292 * po/Makefile (libc.pot): Use UTF-8 charset.
15293
ceb9e56b
PP
152942012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15295
15296 [BZ #14210]
15297 Suppress sign-conversion warning from FD_SET.
15298 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15299 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15300 not unsigned long int.
15301 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15302
ddb28975
L
153032012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15304
15305 [BZ #14050]
15306 [BZ #14117]
15307 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15308 __extern_always_inline instead of __extern_inline.
15309 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15310 (__signbit): Likewise.
15311 (__signbitl): Support C++ namespace.
15312 (lrintf): New inline function.
15313 (lrint): Likewise.
15314 (llrintf): Likewise.
15315 (llrint): Likewise.
15316 (fmaxf): Likewise.
15317 (fmax): Likewise.
15318 (fminf): Likewise.
15319 (fmin): Likewise.
15320 (rint): Likewise.
15321 (rintf): Likewise.
15322 (ceil): Likewise.
15323 (ceilf): Likewise.
15324 (floor): Likewise.
15325 (floorf): Likewise.
15326 (nearbyint): Likewise.
15327 (nearbyintf): Likewise.
15328
d7b4fb26
TS
153292012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15330
15331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15332 non-default versions.
15333
eb55f5c2
RM
153342012-06-11 Roland McGrath <roland@hack.frob.com>
15335
15336 [BZ #14218]
15337 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15338
366af02c
TS
153392012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15340
99ff6e5c
TS
15341 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15342 (FE_UPWARD, FE_DOWNWARD): Don't define.
15343 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15345
366af02c
TS
15346 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15347 reading it.
15348 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15349 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15350
793ea851
KK
153512012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15352
15353 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15355 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15356 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15357
a728a38f
L
153582012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15359
15360 [BZ #14117]
c08010c7
L
15361 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15362 * sysdeps/i386/fpu/Implies: New file.
15363 * sysdeps/x86_64/fpu/Implies: Likewise.
15364 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15365 * sysdeps/x86/fpu/bits/fenv.h: This.
15366
a728a38f
L
15367 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15368 __SSE_MATH__.
15369
6e230d11
SP
153702012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15371
15372 [BZ #14134]
15373 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15374 character 0xffff that matches the last element of the
15375 conversion table.
15376
1b671feb
AZ
153772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15378
15379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15380 fmodl commit.
15381
6043738b
AZ
153822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15383
15384 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15385 values higher than 25.6283.
15386
34ae0b32
AZ
153872012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15388
15389 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15390 subnormal exponent extraction and add some __builtin_expect.
15391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15392 Fix for subnormal mantissa calculation.
15393
1214ec8f
MF
153942012-06-04 Mike Frysinger <vapier@gentoo.org>
15395
15396 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15397 cpu2 is -1 and errno is not ENOSYS.
15398
f3d1f93c
L
153992012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15400
15401 [BZ #14117]
0e4a3cd7
L
15402 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15403 * sysdeps/x86/bits/string.h: This.
15404 * sysdeps/x86_64/bits/string.h: Removed.
15405
6704c645
L
15406 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15407 if not compiling for x86-64, but compiling for >= i486.
15408
48495318
L
15409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15410 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15411
14adcbfc
L
15412 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15413 New macro from Linux kernel 3.4.0.
15414 (FP_XSTATE_MAGIC2): Likewise.
15415 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15416 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15417 (struct _fpx_sw_bytes): New struct.
15418 (struct _xsave_hdr): Likewise.
15419 (struct _ymmh_state): Likewise.
15420 (struct _xstate): Likewise.
15421
68e408ab
L
15422 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15423 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15425 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15426 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15427 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15428
f3d1f93c
L
15429 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15431 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15432 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15433 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15434 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15435
d9dc34cd
TMQMF
154362012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15437
15438 [BZ #13743]
15439 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15440 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15441 (sysdep_headers): Include sys/platform/ppc.h.
15442 * sysdeps/powerpc/test-gettimebase.c: Test for
15443 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15444 * manual/Makefile (appendices): Include platform.texi.
15445 * manual/contrib.texi (Contributors): Update @node pointers.
15446 * manual/maint.texi (Maintenance): Likewise.
15447 (Platform): New node.
15448 * manual/platform.texi: New file. Document the new features.
15449
4af3879c
SP
154502012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15451 Jakub Jelinek <jakub@redhat.com>
15452
15453 [BZ #14188]
15454 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15455 where __builtin_expect is unavailable.
15456
2fd6ff13
DM
154572012-06-03 David S. Miller <davem@davemloft.net>
15458
15459 * stdlib/longlong.h: Updated from GCC.
15460
173f7220
AS
154612012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15462
15463 [BZ #14042]
15464 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15465 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15466 __mcount_internal.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15468 (GLIBC_2.16): Likewise.
15469
f34a1c6f
L
154702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15473
88a4576f
JM
154742012-06-01 Joseph Myers <joseph@codesourcery.com>
15475
ea32bcdd
JM
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15477 (default-abi): New variable.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15479 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15480 variable.
15481 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15482 Likewise.
15483 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15484 Likewise.
15485 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15486 Likewise.
15487
88a4576f
JM
15488 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15489 definition. Document in comment.
15490
402fe938
DM
154912012-06-01 David S. Miller <davem@davemloft.net>
15492
15493 * stdlib/longlong.h: Updated from GCC.
15494
3553723f
L
154952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15496
15497 [BZ #14117]
3bd872c4
L
15498 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15499 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15500 sys/debugreg.h sys/io.h here.
15501 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15502 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15503 sys/io.h.
15504 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15505 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15506 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15507 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15508 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15509 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15510
3553723f
L
15511 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15512 Define only if __x86_64__ is defined.
15513
4842e4fe
JM
155142012-06-01 Joseph Myers <joseph@codesourcery.com>
15515
c5bfe3d5
JM
15516 [BZ #14048]
15517 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15518 Use int64_t for variable i.
15519 * math/libm-test.inc (fmod_test): Add more tests.
15520
4842e4fe
JM
15521 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15522 z computation is not scheduled after fetestexcept.
15523 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15524 Use math_force_eval instead of asm to ensure calculation scheduled
15525 before exception test.
15526 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15527 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15528
efb73488
AJ
155292012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15530
15531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15532 computation is not scheduled after fetestexcept.
15533
29bcce7c
L
155342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 [BZ #14117]
15537 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15538 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15539
73a68f94
AZ
155402012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15541
15542 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15543 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15544
67b6df78
L
155452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15546
edf2933a 15547 [BZ #14117]
ebc64a18
L
15548 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15549 <bits/wordsize.h>.
15550 (__WCHAR_MIN): Support __WORDSIZE == 64.
15551 (__WCHAR_MAX): Likewise.
15552
edf2933a
L
15553 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15554 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15555
57c6cf40
L
15556 [BZ #14183]
15557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15558 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15559
67b6df78 15560 [BZ #14117]
8eb6281e
L
15561 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15562 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15563
aac639f4
L
15564 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15565 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15566
67b6df78
L
15567 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15568 Defined to 1 if __x86_64__ isn't defined.
15569 (_STAT_VER_LINUX_OLD): New.
15570 (st_atime): Remove duplicate.
15571 (st_mtime): Likewise.
15572 (st_ctime): Likewise.
15573
1c2cfe81
DM
155742012-05-31 David S. Miller <davem@davemloft.net>
15575
15576 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15577 entries.
15578
5be8418c
AS
155792012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15580
e7725326
AS
15581 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15582 gen-libm-test.pl.
15583
5be8418c
AS
15584 [BZ #14132]
15585 * elf/dl-reloc.c: Include <_itoa.h>.
15586 (_dl_reloc_bad_type): Remove use of INTUSE.
15587 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15588 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15589 * stdio-common/psiginfo.c (psiginfo): Likewise.
15590 * stdio-common/psignal.c (psignal): Likewise.
15591 * string/strsignal.c (strsignal): Likewise.
15592 * include/signal.h (_sys_siglist): Declare hidden proto.
15593 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15594 INTVARDEF with libc_hidden_data_def.
15595 * stdio-common/itoa-udigits.c: Likewise.
15596 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15597 (_itoa_lower_digits_internal): Remove declaration.
15598 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15599 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15600 (_sys_sigabbrev_internal): Remove aliases.
15601 (_sys_siglist): Define hidden alias.
15602
507352f1
MT
156032012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15604
15605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15606 bits/sysctl.h.
15607
42bbb1c3
L
156082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15609
15610 [BZ #14117]
6bd784b6
L
15611 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15612 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15613
8bca20f0
L
15614 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15615 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15616 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15617 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15618 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15619 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15620
f9e890a9
L
15621 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15622 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15623 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15624
471101a1
L
15625 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15626 with __addr.
15627 (insw): Likewise.
15628 (insl): Likewise.
15629 (outsb): Likewise.
15630 (outsw): Likewise.
15631 (outsl): Likewise.
15632
6451c862
L
15633 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15634 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15635 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15636
a254b8c9
L
15637 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15638 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15639 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15640 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15641 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15642 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15643
b8dfdd92
L
15644 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15645 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15646
578cd270
L
15647 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15648 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15649
de662f5f
L
15650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15653
25653439
L
15654 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15655 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15656 to ...
15657 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15658
6bad24a0
L
15659 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15660 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15661 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15662
42bbb1c3
L
15663 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15664 for x86-64.
15665 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15666
2d10d547
JM
156672012-05-31 Joseph Myers <joseph@codesourcery.com>
15668
15669 * math/math.h (M_El): Use two more decimal places.
15670 (M_LOG2El): Likewise.
15671 (M_LOG10El): Likewise.
15672 (M_LN2l): Likewise.
15673 (M_LN10l): Likewise.
15674 (M_PIl): Likewise.
15675 (M_PI_2l): Likewise.
15676 (M_PI_4l): Likewise.
15677 (M_1_PIl): Likewise.
15678 (M_2_PIl): Likewise.
15679 (M_2_SQRTPIl): Likewise.
15680 (M_SQRT2l): Likewise.
15681 (M_SQRT1_2l): Likewise.
15682
f230c29b
DM
156832012-05-31 David S. Miller <davem@davemloft.net>
15684
15685 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15686 values between float registers.
15687 * sysdeps/sparc/sparc64/memset.S: Likewise.
15688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15689
fed806c3
MF
156902012-05-31 Mike Frysinger <vapier@gentoo.org>
15691
15692 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15693 -D_FORTIFY_SOURCE=1.
15694 (CPPFLAGS-tst-longjmp_chk.c): Define.
15695 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15696 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15697 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15698 CFLAGS-tst-wchar-h.c.
15699
30917259
MP
157002012-05-31 Marek Polacek <polacek@redhat.com>
15701
15702 [BZ #14132]
15703 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15704 __endmntent_internal): Remove declaration.
15705 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15706 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15707 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15708
1c58d5dc
DM
157092012-05-30 David S. Miller <davem@davemloft.net>
15710
15711 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15712 (___Q_simulate_exceptions): Use real FP ops rather than writing
15713 into the %fsr.
15714 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15715 Likewise.
15716
7dc00e0d
L
157172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15718
15719 [BZ #14117]
0bd53985
L
15720 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15721 * sysdeps/x86/bits/xtitypes.h: This.
15722
3a257e66
L
15723 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15724 * sysdeps/x86/bits/wordsize.h: This.
15725
62f62904
L
15726 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15727 * sysdeps/x86/bits/huge_vall.h: This.
15728
404fe9d9
L
15729 * sysdeps/i386/bits/select.h: Removed.
15730 * sysdeps/x86_64/bits/select.h: Renamed to ...
15731 * sysdeps/x86/bits/select.h: This.
15732
d48d0446
L
15733 * sysdeps/i386/bits/setjmp.h: Removed.
15734 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15735 * sysdeps/x86/bits/setjmp.h: This.
15736
7dc00e0d
L
15737 * sysdeps/i386/bits/mathdef.h: Removed.
15738 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15739 * sysdeps/x86/bits/mathdef.h: This.
15740
03277f8f
AS
157412012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15742
15743 [BZ #14132]
15744 * include/sys/socket.h (__connect_internal)
15745 (__libc_sa_len_internal): Remove declaration.
15746 (__connect, __libc_sa_len): Declare hidden_proto.
15747 (SA_LEN): Remove use of INTUSE.
15748 * socket/connect.c: Add libc_hidden_def.
15749 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15750 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15751 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15752 alias.
15753 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15754 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15755 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15756 of adding _internal alias.
15757
13764867
L
157582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15759
15760 [BZ #14117]
6bd97696
L
15761 * sysdeps/i386/bits/link.h: Removed.
15762 * sysdeps/i386/bits/linkmap.h: Likewise.
15763 * sysdeps/x86_64/bits/link.h: Renamed to ...
15764 * sysdeps/x86/bits/link.h: This.
15765 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15766 * sysdeps/x86/bits/linkmap.h: This.
15767
f726f0bb
L
15768 * sysdeps/i386/bits/endian.h: Removed.
15769 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15770 * sysdeps/x86/bits/endian.h: This.
15771
13764867
L
15772 * sysdeps/i386/bits/byteswap.h: Removed.
15773 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15774 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15775 * sysdeps/x86/bits/byteswap.h: This.
15776 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15777 * sysdeps/x86/bits/byteswap-16.h: This.
15778 * sysdeps/i386/Implies: Add x86.
15779 * sysdeps/x86_64/Implies: Likewise.
15780
ae251b0b
DM
157812012-05-30 David S. Miller <davem@davemloft.net>
15782
15783 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15784 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15785 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15786 (FP_TRAPPING_EXCEPTIONS): Define.
15787 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15788 (FP_TRAPPING_EXCEPTIONS): Define.
15789 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15790 subnormals only when inexact has been signalled or underflow
15791 exceptions are enabled.
15792 (_FP_PACK_CANONICAL): Likewise.
15793
d5c90867
L
157942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15795
15796 [BZ #14183]
15797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15798 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15799
63f1549e
RH
158002012-05-30 Richard Henderson <rth@twiddle.net>
15801
8d8f2279
RH
15802 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15803 with #ifndef NOT_IN_libc.
15804
63f1549e
RH
15805 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15806 marked to avoid plt entry.
15807
0ab0291b
L
158082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15809
15810 [BZ #14112]
15811 * Makeconfig (default-abi): New macro.
15812 (abi-includes): Likewise.
15813 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15814 $(abi-$(default-abi)-lib-soname) for soname if defined.
15815 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15816 abi-variants.
15817 * Makefile (installed-stubs): Likewise.
15818 * include/stubs-biarch.h: Removed.
15819 * scripts/lib-names.awk: Only handle one library at a time.
15820 * scripts/soversions.awk: Remove WORDSIZE support.
15821 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15822 entries.
15823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15824 Removed.
15825 (syscall-list-default-condition): Likewise.
15826 (syscall-list-default-condition): Likewise.
15827 (syscall-list-includes): Likewise.
15828 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15829 syscall-list-* with abi-*. Handle undefined abi-variants.
15830 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15831 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15832 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15833 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15834 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15835 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15836 Removed.
15837 (syscall-list-32-options): Likewise.
15838 (syscall-list-32-condition): Likewise.
15839 (syscall-list-64-options): Likewise.
15840 (syscall-list-64-condition): Likewise.
15841 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15842 macro.
15843 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15844 Renamed to ...
15845 (abi-*): This.
15846 (abi-64-ld-soname): New macro.
15847 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15848 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15849 Renamed to ...
15850 (abi-*): This.
15851 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15852 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15853
4da0431d
JM
158542012-05-30 Joseph Myers <joseph@codesourcery.com>
15855
3a85279c
JM
15856 * sysdeps/unix/sysv/linux/kernel-features.h
15857 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15858 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15859 include <kernel-features.h>.
15860 [!__NR_ftruncate64]: Remove conditional code.
15861 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15862 [__NR_ftruncate64]: Make code unconditional.
15863 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15864 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15865 include <kernel-features.h>.
15866 [!__NR_ftruncate64]: Remove conditional code.
15867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15868 [__NR_ftruncate64]: Make code unconditional.
15869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15871 include <kernel-features.h>.
15872 [!__NR_ftruncate64]: Remove conditional code.
15873 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15874 [__NR_ftruncate64]: Make code unconditional.
15875 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15877 include <kernel-features.h>.
15878 [!__NR_ftruncate64]: Remove conditional code.
15879 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15880 [__NR_ftruncate64]: Make code unconditional.
15881 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15882
4da0431d
JM
15883 * configure.in (libc_cv_fpie): Weaken to a compile test using
15884 LIBC_TRY_CC_OPTION.
15885 * configure: Regenerated.
15886
11ef492c
AK
158872012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15888
15889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15893 Refreshed.
15894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15900 Refreshed.
15901
d66ef399
DM
159022012-05-27 David S. Miller <davem@davemloft.net>
15903
15904 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15905 (___Q_zero): New.
15906 (__Q_simulate_exceptions): Return void. Change to simulate
15907 exceptions by writing into the %fsr.
15908 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15909 (__Qp_handle_exceptions): Likewise.
15910 (numbers): Delete.
15911 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15912 __Qp_handle_exceptions.
15913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15914 __Qp_handle_exceptions.
15915 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15916 as unused and give dummy FP_RND_NEAREST initializer.
15917 (FP_INHIBIT_RESULTS): Define.
15918 (___Q_simulate_exceptions): Update declaration.
15919 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15920 formatting.
15921 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15922 as unused and give dummy FP_RND_NEAREST initializer.
15923 (__Qp_handle_exceptions): Update declaration.
15924 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15925 formatting.
15926
04fb54b5
TS
159272012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15928
15929 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15930 the temporary FPU control word.
15931 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15932 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15933 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15934 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15935 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15936 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15937 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15938 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15939 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15940 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15941 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15942
3f99608f
KK
159432012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15944
15945 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15946 fields.
15947
65a4de4e
CLT
159482012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15949
15950 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15951 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15952 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15953 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15954 Likewise.
15955 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15956 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15957 Likewise.
15958
15749d40
UD
159592012-05-27 Ulrich Drepper <drepper@gmail.com>
15960
15961 * po/h.po: Update from translation team.
15962
25dbcb27
AS
159632012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15964
3d3f8e55
AS
15965 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15966
25dbcb27
AS
15967 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15968 handling of denormals.
15969 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15970 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15971 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15973 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15976 Likewise.
15977
7ad47a80 159782012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15979
15980 [BZ #14152]
15981 * math/libm-test.inc (fma_test): Don't always expect underflow
15982 exception.
15983
9c6ea9fa
SP
159842012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15985
15986 [BZ #12416]
15987 * elf/tst-execstack.c: Include stackinfo.h.
15988 (do_test): Adjust test case to ensure that pthread_getattr_np
15989 behaviour remains the same after marking stack executable.
15990
a8239222
JM
159912012-05-25 Joseph Myers <joseph@codesourcery.com>
15992
15993 * sysdeps/unix/sysv/linux/kernel-features.h
15994 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15995 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15996 kernel-features.h.
15997 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15998 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15999 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16000 kernel-features.h.
16001 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16002 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16003
918b5606
L
160042012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 * configure.in: Define the default includes to being none.
16007 * configure: Regenerated.
16008
3a097cc7
RM
160092012-05-25 Roland McGrath <roland@hack.frob.com>
16010
8422c9a5
RM
16011 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16012 * sysdeps/x86_64/setjmp.S: Likewise.
16013 * sysdeps/i386/bsd-setjmp.S: Likewise.
16014 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16015 * sysdeps/i386/setjmp.S: Likewise.
16016 * sysdeps/i386/__longjmp.S: Likewise.
16017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16018 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16019
3a097cc7
RM
16020 * include/stap-probe.h: New file.
16021 * configure.in: Handle --enable-systemtap.
16022 * configure: Regenerated.
16023 * config.h.in (USE_STAP_PROBE): New #undef.
16024 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16025 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16026 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16027
21708942
JM
160282012-05-25 Joseph Myers <joseph@codesourcery.com>
16029
16030 [BZ #13717]
16031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16032 to 2.4.0 where earlier.
16033 * sysdeps/unix/sysv/linux/configure: Regenerated.
16034 * sysdeps/unix/sysv/linux/i386/chown.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/i386/fchown.c: Do not include
16039 <kernel-features.h>.
16040 [__ASSUME_32BITUIDS]: Make code unconditional.
16041 [!__ASSUME_32BITUIDS]: Remove conditional code.
16042 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16043 [__ASSUME_32BITUIDS]: Make code unconditional.
16044 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16045 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16046 <kernel-features.h>.
16047 [__ASSUME_32BITUIDS]: Make code unconditional.
16048 [!__ASSUME_32BITUIDS]: Remove conditional code.
16049 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16050 <kernel-features.h>.
16051 [__ASSUME_32BITUIDS]: Make code unconditional.
16052 [!__ASSUME_32BITUIDS]: Remove conditional code.
16053 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16054 <kernel-features.h>.
16055 [__ASSUME_32BITUIDS]: Make code unconditional.
16056 [!__ASSUME_32BITUIDS]: Remove conditional code.
16057 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16058 <kernel-features.h>.
16059 [__ASSUME_32BITUIDS]: Make code unconditional.
16060 [!__ASSUME_32BITUIDS]: Remove conditional code.
16061 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16062 <kernel-features.h>.
16063 [__ASSUME_32BITUIDS]: Make code unconditional.
16064 [!__ASSUME_32BITUIDS]: Remove conditional code.
16065 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16066 <kernel-features.h>.
16067 [__ASSUME_32BITUIDS]: Make code unconditional.
16068 [!__ASSUME_32BITUIDS]: Remove conditional code.
16069 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16070 <kernel-features.h>.
16071 [__ASSUME_32BITUIDS]: Make code unconditional.
16072 [!__ASSUME_32BITUIDS]: Remove conditional code.
16073 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16074 <kernel-features.h>.
16075 [__ASSUME_32BITUIDS]: Make code unconditional.
16076 [!__ASSUME_32BITUIDS]: Remove conditional code.
16077 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16078 <kernel-features.h>.
16079 [__ASSUME_32BITUIDS]: Make code unconditional.
16080 [!__ASSUME_32BITUIDS]: Remove conditional code.
16081 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16082 <kernel-features.h>.
16083 [__ASSUME_32BITUIDS]: Make code unconditional.
16084 [!__ASSUME_32BITUIDS]: Remove conditional code.
16085 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16086 <kernel-features.h>.
16087 [__NR_setresgid] (__setresgid): Do not declare.
16088 [__ASSUME_32BITUIDS]: Make code unconditional.
16089 [!__ASSUME_32BITUIDS]: Remove conditional code.
16090 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16091 <kernel-features.h>.
16092 [__NR_setresuid] (__setresuid): Do not declare.
16093 [__ASSUME_32BITUIDS]: Make code unconditional.
16094 [!__ASSUME_32BITUIDS]: Remove conditional code.
16095 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16096 <kernel-features.h>.
16097 [__ASSUME_32BITUIDS]: Make code unconditional.
16098 [!__ASSUME_32BITUIDS]: Remove conditional code.
16099 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16100 <kernel-features.h>.
16101 [__ASSUME_32BITUIDS]: Make code unconditional.
16102 [!__ASSUME_32BITUIDS]: Remove conditional code.
16103 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16104 <kernel-features.h>.
16105 [__ASSUME_32BITUIDS]: Make code unconditional.
16106 [!__ASSUME_32BITUIDS]: Remove conditional code.
16107 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16108 <kernel-features.h>.
16109 [__ASSUME_32BITUIDS]: Make code unconditional.
16110 [!__ASSUME_32BITUIDS]: Remove conditional code.
16111 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16112 <kernel-features.h>.
16113 [__ASSUME_32BITUIDS]: Make code unconditional.
16114 [!__ASSUME_32BITUIDS]: Remove conditional code.
16115 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16116 <kernel-features.h>.
16117 [__ASSUME_32BITUIDS]: Make code unconditional.
16118 [!__ASSUME_32BITUIDS]: Remove conditional code.
16119 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16120 <kernel-features.h>.
16121 [__ASSUME_32BITUIDS]: Make code unconditional.
16122 [!__ASSUME_32BITUIDS]: Remove conditional code.
16123 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16124 <kernel-features.h>.
16125 [__ASSUME_32BITUIDS]: Make code unconditional.
16126 [!__ASSUME_32BITUIDS]: Remove conditional code.
16127 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16128 <kernel-features.h>.
16129 [__ASSUME_32BITUIDS]: Make code unconditional.
16130 [!__ASSUME_32BITUIDS]: Remove conditional code.
16131 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16132 <kernel-features.h>.
16133 [__ASSUME_32BITUIDS]: Make code unconditional.
16134 [!__ASSUME_32BITUIDS]: Remove conditional code.
16135 * sysdeps/unix/sysv/linux/kernel-features.h
16136 (__ASSUME_SETRESUID_SYSCALL): Remove.
16137 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16138 (__ASSUME_32BITUIDS): Likewise.
16139 (__ASSUME_LDT_WORKS): Likewise.
16140 (__ASSUME_O_DIRECTORY): Likewise.
16141 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16142 architecture but not kernel version.
16143 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16144 (__ASSUME_MMAP2_SYSCALL): Likewise.
16145 (__ASSUME_STAT64_SYSCALL): Likewise.
16146 (__ASSUME_IPC64): Likewise.
16147 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16148 <kernel-features.h>.
16149 [__ASSUME_32BITUIDS]: Make code unconditional.
16150 [!__ASSUME_32BITUIDS]: Remove conditional code.
16151 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16152 <kernel-features.h>.
16153 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16154 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16155 132096]: Remove conditional code.
16156 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16158 <kernel-features.h>.
16159 [__ASSUME_32BITUIDS]: Make code unconditional.
16160 [!__ASSUME_32BITUIDS]: Remove conditional code.
16161 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16162 <kernel-features.h>.
16163 [__ASSUME_32BITUIDS]: Make code unconditional.
16164 [!__ASSUME_32BITUIDS]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16166 <kernel-features.h>.
16167 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16168 unconditional.
16169 (__setresgid): Do not declare.
16170 [__ASSUME_32BITUIDS]: Make code unconditional.
16171 [!__ASSUME_32BITUIDS]: Remove conditional code.
16172 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16173 <kernel-features.h>.
16174 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16175 unconditional.
16176 (__setresuid): Do not declare.
16177 [__ASSUME_32BITUIDS]: Make code unconditional.
16178 [!__ASSUME_32BITUIDS]: Remove conditional code.
16179 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16180 <kernel-features.h>.
16181 [__ASSUME_32BITUIDS]: Make code unconditional.
16182 [!__ASSUME_32BITUIDS]: Remove conditional code.
16183 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16184 <kernel-features.h>.
16185 [__ASSUME_32BITUIDS]: Make code unconditional.
16186 [!__ASSUME_32BITUIDS]: Remove conditional code.
16187
a386f1cc
RH
161882012-05-25 Richard Henderson <rth@twiddle.net>
16189
16190 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16191 dl_hwcap to ifunc resolver.
16192 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16193 elf_ifunc_invoke.
16194 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16195 dl_hwcap to ifunc resolver.
16196 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16197
b6550497
JM
161982012-05-24 Joseph Myers <joseph@codesourcery.com>
16199
16200 [BZ #14153]
16201 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16202 for |x| <= 2**-26, not 2**-57.
16203 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16204 exception.
16205
b0bc23a1
JL
162062012-05-24 Jeff Law <law@redhat.com>
16207
16208 * stdio-common/Makefile (tests): Add bug25.
16209 * stdio-common/bug25.c: New test.
16210
347c92e9
L
162112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16212
16213 [BZ #13576]
16214 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16215 multiple of MALLOC_ALIGNMENT in size.
16216 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16217
6bcc8b3f
JM
162182012-05-24 Joseph Myers <joseph@codesourcery.com>
16219
16220 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16221 Require >= 256.
16222 (FILENAME_MAX): Use macro-int-constant.
16223 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16224 (_IOFBF): Use macro-int-constant.
16225 (_IOLBF): Likewise.
16226 (_IONBF): Likewise.
16227 (SEEK_CUR): Likewise.
16228 (SEEK_END): Likewise.
16229 (SEEK_SET): Likewise.
16230 (TMP_MAX): Likewise.
16231 (EOF): Use macro-int-constant. Require < 0.
16232 (NULL): Use macro-constant. Require == 0.
16233 (stdin): Require type to be FILE *.
16234 (stdout): Likewise.
16235 (stderr): Likewise.
16236 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16237 macro-int-constant.
16238 (EXIT_SUCCESS): Likewise.
16239 (NULL): Use macro-constant. Require == 0.
16240 (RAND_MAX): Use macro-int-constant.
16241 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16242 [C99-based standards] (strtof): Require function.
16243 [C99-based standards] (strtold): Likewise.
16244 [C99-based standards] (strtoll): Likewise.
16245 [C99-based standards] (strtoull): Likewise.
16246 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16247 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16248 [ISO || ISO99 || ISO11] (math.h): Likewise.
16249 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16250 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16252
d18ea0c5
AS
162532012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16254
16255 [BZ #14132]
56d25bb8
AS
16256 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16257 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16258 * intl/dgettext.c (DCGETTEXT): Likewise.
16259 * intl/gettext.c (DCGETTEXT): Likewise.
16260 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16261 * posix/regex_internal.h (gettext): Likewise.
16262 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16263 Remove declaration.
16264 * include/argz.h (__argz_count_internal)
16265 (__argz_stringify_internal): Remove declaration.
16266 (__argz_count, __argz_stringify): Declare hidden proto.
16267 * intl/dcgettext.c: Remove use of INTDEF.
16268 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16269 * string/argz-stringify.c: Likewise.
16270 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16271 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16272 Declare hidden proto.
d18ea0c5
AS
16273 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16274 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16275 Declare hidden proto.
16276 * include/stdio.h (__asprintf_internal): Don't declare.
16277 (__asprintf): Don't define as macro. Declare hidden proto.
16278 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16279 (__fsetlocking): Declare hidden proto.
16280 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16281 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16282 hidden proto.
16283 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16284 (_IO_setlinebuf): Remove use of INTUSE.
16285 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16286 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16287 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16288 Remove declaration.
16289 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16290 (_IO_do_flush): Remove use of INTUSE.
16291 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16292 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16293 (_IO_adjust_column, _IO_least_wmarker)
16294 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16295 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16296 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16297 (_IO_default_doallocate, _IO_wdefault_doallocate)
16298 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16299 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16300 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16301 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16302 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16303 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16304 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16305 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16306 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16307 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16308 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16309 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16310 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16311 proto.
16312 (_IO_flush_all_internal, _IO_adjust_column_internal)
16313 (_IO_default_uflow_internal, _IO_default_finish_internal)
16314 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16315 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16316 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16317 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16318 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16319 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16320 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16321 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16322 (_IO_file_close_internal, _IO_file_close_it_internal)
16323 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16324 (_IO_file_init_internal, _IO_file_attach_internal)
16325 (_IO_file_fopen_internal, _IO_file_read_internal)
16326 (_IO_file_sync_internal, _IO_file_seek_internal)
16327 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16328 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16329 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16330 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16331 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16332 (_IO_list_all_internal, _IO_link_in_internal)
16333 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16334 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16335 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16336 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16337 (_IO_do_write_internal, _IO_padn_internal)
16338 (_IO_getline_info_internal, _IO_getline_internal)
16339 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16340 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16341 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16342 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16343 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16344 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16345 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16346 with libc_hidden_ver, remove use of INTUSE.
16347 * libio/genops.c: Likewise.
16348 * libio/freopen.c: Likewise.
16349 * libio/freopen64.c: Likewise.
16350 * libio/iofclose.c: Likewise.
16351 * libio/iofdopen.c: Likewise.
16352 * libio/iofflush.c: Likewise.
16353 * libio/iofflush_u.c: Likewise.
16354 * libio/iofgets.c: Likewise.
16355 * libio/iofgets_u.c: Likewise.
16356 * libio/iofopen.c: Likewise.
16357 * libio/iofopncook.c: Likewise.
16358 * libio/iofread.c: Likewise.
16359 * libio/iofread_u.c: Likewise.
16360 * libio/ioftell.c: Likewise.
16361 * libio/iofwrite.c: Likewise.
16362 * libio/iogetline.c: Likewise.
16363 * libio/iogets.c: Likewise.
16364 * libio/iogetwline.c: Likewise.
16365 * libio/iopadn.c: Likewise.
16366 * libio/iopopen.c: Likewise.
16367 * libio/ioseekoff.c: Likewise.
16368 * libio/ioseekpos.c: Likewise.
16369 * libio/iosetbuffer.c: Likewise.
16370 * libio/iosetvbuf.c: Likewise.
16371 * libio/ioungetc.c: Likewise.
16372 * libio/ioungetwc.c: Likewise.
16373 * libio/iovdprintf.c: Likewise.
16374 * libio/iovsprintf.c: Likewise.
16375 * libio/iovsscanf.c: Likewise.
16376 * libio/memstream.c: Likewise.
16377 * libio/obprintf.c: Likewise.
16378 * libio/oldfileops.c: Likewise.
16379 * libio/oldiofclose.c: Likewise.
16380 * libio/oldiofdopen.c: Likewise.
16381 * libio/oldiofopen.c: Likewise.
16382 * libio/oldiopopen.c: Likewise.
16383 * libio/oldstdfiles.c: Likewise.
16384 * libio/putc.c: Likewise.
16385 * libio/setbuf.c: Likewise.
16386 * libio/setlinebuf.c: Likewise.
16387 * libio/stdfiles.c: Likewise.
16388 * libio/strops.c: Likewise.
16389 * libio/vasprintf.c: Likewise.
16390 * libio/vscanf.c: Likewise.
16391 * libio/vsnprintf.c: Likewise.
16392 * libio/vswprintf.c: Likewise.
16393 * libio/wfiledoalloc.c: Likewise.
16394 * libio/wfileops.c: Likewise.
16395 * libio/wgenops.c: Likewise.
16396 * libio/wmemstream.c: Likewise.
16397 * libio/wstrops.c: Likewise.
16398 * libio/__fpurge.c: Likewise.
16399 * libio/__fsetlocking.c: Likewise.
16400 * assert/assert.c: Likewise.
16401 * debug/fgets_chk.c: Likewise.
16402 * debug/fgets_u_chk.c: Likewise.
16403 * debug/fread_chk.c: Likewise.
16404 * debug/fread_u_chk.c: Likewise.
16405 * debug/gets_chk.c: Likewise.
16406 * debug/obprintf_chk.c: Likewise.
16407 * debug/vasprintf_chk.c: Likewise.
16408 * debug/vdprintf_chk.c: Likewise.
16409 * debug/vsnprintf_chk.c: Likewise.
16410 * debug/vsprintf_chk.c: Likewise.
16411 * malloc/mtrace.c: Likewise.
16412 * misc/error.c: Likewise.
16413 * misc/syslog.c: Likewise.
16414 * stdio-common/asprintf.c: Likewise.
16415 * stdio-common/fxprintf.c: Likewise.
16416 * stdio-common/getw.c: Likewise.
16417 * stdio-common/isoc99_fscanf.c: Likewise.
16418 * stdio-common/isoc99_scanf.c: Likewise.
16419 * stdio-common/isoc99_vfscanf.c: Likewise.
16420 * stdio-common/isoc99_vscanf.c: Likewise.
16421 * stdio-common/isoc99_vsscanf.c: Likewise.
16422 * stdio-common/printf-prs.c: Likewise.
16423 * stdio-common/printf_fp.c: Likewise.
16424 * stdio-common/printf_fphex.c: Likewise.
16425 * stdio-common/printf_size.c: Likewise.
16426 * stdio-common/putw.c: Likewise.
16427 * stdio-common/scanf.c: Likewise.
16428 * stdio-common/sprintf.c: Likewise.
16429 * stdio-common/tmpfile.c: Likewise.
16430 * stdio-common/vfprintf.c: Likewise.
16431 * stdio-common/vfscanf.c: Likewise.
16432 * stdlib/strfmon_l.c: Likewise.
16433 * sunrpc/openchild.c: Likewise.
16434 * sunrpc/xdr_stdio.c: Likewise.
16435 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16436 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16437
d6c33fda
RM
164382012-05-24 Roland McGrath <roland@hack.frob.com>
16439
c1487492
RM
16440 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16441
16442 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16443 in the third column, to generate for the shared library an IFUNC
16444 that uses _dl_vdso_vsym.
16445 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16446 * Makeconfig (object-suffixes-noshared): New variable.
16447
16448 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16449 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16450 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16451 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16452
d6c33fda
RM
16453 [BZ #14132]
16454 * include/sys/time.h (__gettimeofday): Remove macro.
16455 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16456 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16457 Remove INTDEF.
16458 (__gettimeofday): Add libc_hidden_def.
16459 (gettimeofday): Add libc_hidden_weak.
16460 * sysdeps/mach/gettimeofday.c: Likewise.
16461 * sysdeps/posix/gettimeofday.c: Likewise.
16462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16463 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16465 (__gettimeofday_internal): Remove strong_alias.
16466 (__gettimeofday): Add libc_hidden_def.
16467 (gettimeofday): Add libc_hidden_weak.
16468 * sysdeps/unix/syscalls.list (gettimeofday):
16469 Remove __gettimeofday_internal alias.
16470
b5a2bbe6
L
164712012-05-24 Daniel Jacobowitz <drow@false.org>
16472 H.J. Lu <hongjiu.lu@intel.com>
16473
16474 [BZ #12495]
16475 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16476 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16477 (largebin_index_32_big): New.
16478 (largebin_index): Use it for 16-byte alignment.
16479 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16480 correction with front_misalign.
16481
cfba4fda
L
164822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16483
7f907421
L
16484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16486 Likewise.
16487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16488 Likewise.
16489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16490 Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16492 Likewise.
16493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16494 Likewise.
16495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16496 Likewise.
16497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16498 Likewise.
16499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16500 Likewise.
16501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16502 Likewise.
16503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16504 Likewise.
16505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16506 Likewise.
16507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16508 Likewise.
16509
cfba4fda
L
16510 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16511 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16512
80bad0cc
JM
165132012-05-24 Joseph Myers <joseph@codesourcery.com>
16514
7a25eb06
JM
16515 [BZ #10846]
16516 [BZ #14036]
16517 * math/libm-test.inc (exp_test): Add test from bug 14036.
16518 (pow_test): Add test from bug 10846.
16519
795405f9
JM
16520 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16521 and other flags.
16522 (special_function): Do not include flags in test name.
16523 (parse_args): Likewise.
16524 * sysdeps/i386/fpu/libm-test-ulps: Update.
16525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16526 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16527 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16529
80bad0cc
JM
16530 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16531 exceptions.
16532 * math/libm-test.inc ("Philosophy"): Update comment about
16533 exception testing.
16534 (UNDERFLOW_EXCEPTION): New macro.
16535 (UNDERFLOW_EXCEPTION_OK): Likewise.
16536 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16537 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16538 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16539 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16540 (INVALID_EXCEPTION_OK): Update value.
16541 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16542 (OVERFLOW_EXCEPTION_OK): Likewise.
16543 (IGNORE_ZERO_INF_SIGN): Likewise.
16544 (test_exceptions): Handle underflow exceptions.
16545 (acos_test): Update for underflow exception expectations.
16546 (cexp_test): Likewise.
16547 (clog_test): Likewise.
16548 (clog10_test): Likewise.
16549 (csqrt_test): Likewise.
16550 (ctan_test): Likewise.
16551 (ctanh_test): Likewise.
16552 (exp_test): Likewise.
16553 (exp10_test): Likewise.
16554 (exp2_test): Likewise.
16555 (expm1_test): Likewise.
16556 (fma_test): Likewise.
16557 (j0_test): Likewise.
16558 (jn_test): Likewise.
16559 (nexttoward_test): Likewise.
16560 (pow_test): Likewise.
16561 (scalbn_test): Likewise.
16562 (scalbln_test): Likewise.
16563 (tan_test): Likewise.
16564 (y1_test): Likewise.
16565 * sysdeps/i386/fpu/libm-test-ulps: Update.
16566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16567
9e0e3d0b
DM
165682012-05-23 David S. Miller <davem@davemloft.net>
16569
16570 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16571 (__libc_sigaction): Remove unused local variables.
16572
ccd0a08f
L
165732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16574
16575 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16576
62bdf9a6
PE
165772012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16578
f8591f80
PE
16579 mktime: avoid signed integer overflow
16580 * time/mktime.c (__mktime_internal): Do not mishandle the case
16581 where diff == INT_MIN.
16582
94c7d826
PE
16583 mktime: simplify computation of average
16584 * time/mktime.c (ranged_convert): Use new time_t_avg function
16585 instead of rolling our own (probably-slower) code.
16586
ce73d683
PE
16587 mktime: do not assume signed right shift propagates sign bit
16588 * time/mktime.c (isdst_differ): New static function.
16589 (__mktime_internal): No need to normalize tm_isdst now.
16590 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16591 tm_isdst values.
16592
72a22e59
PE
16593 mktime: merge another wrapv change from gnulib
16594 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16595 from some compilers.
16596
68605433
PE
16597 mktime: remove incorrect attempt at unusual arithmetics
16598 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16599 The code didn't really work on such machines anyway.
16600 (TYPE_MINIMUM): Assume two's complement.
16601 (twos_complement_arithmetic): Verify that long_int and time_t
16602 are two's complement (or unsigned, in the latter case).
16603
03cf7fe3
PE
16604 mktime: check signed shifts on long_int and time_t, too
16605 * time/mktime.c (SHR): Check that shifts work as desired
16606 on the types long_int and time_t too, as SHR is used on
16607 such types.
16608
f04dfbc2
PE
16609 mktime: do not assume 'long' is wide enough
16610 * time/mktime.c (verify): Move decl up.
16611 (long_int): New type.
16612 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16613 to remove assumption in the code that 'long' is wide enough to
16614 store year values. This assumption is not true on x32 and on
16615 some non-glibc platforms.
16616
62bdf9a6
PE
16617 mktime: merge wrapv change from gnulib
16618 * time/mktime.c (WRAPV): New macro.
16619 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16620 (guess_time_tm, __mktime_internal): Do not assume that signed
16621 integer overflow wraps around; modern compilers generate code
16622 where this assumption is no longer valid.
16623
5e292e4f
L
166242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16625
16626 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16627 Replace "jmp L(pseudo_end)" with "ret".
16628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16629 Likewise.
16630
8caf8c87
AJ
166312012-05-23 Andreas Jaeger <aj@suse.de>
16632
16633 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16634 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16635
1a09dc56
AJ
166362012-05-23 Andreas Jaeger <aj@suse.de>
16637 Maximilian Attems <max@stro.at>
16638
16639 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16640 New macros.
16641
1c87aba0
L
166422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16643
16644 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16645 code so that pseudo_end is just ret and the stack pointer is
16646 correct also for static library in error case.
16647
40e45bd5
JM
166482012-05-23 Joseph Myers <joseph@codesourcery.com>
16649
c2670533
JM
16650 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16651 move to syscalls.list.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16656
40e45bd5
JM
16657 * manual/install.texi (Running make install): Do not mention Linux
16658 kernel version for which pt_chown is not needed.
16659 (Linux): Do not mention problems with nscd with 2.0 kernels.
16660 * INSTALL: Regenerated.
16661
be08eda5
AJ
166622012-05-23 Andreas Jaeger <aj@suse.de>
16663
16664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16665 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16666 macro.
16667 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16669 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16670 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16671 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16672 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16673 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16674 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16676 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16677 * sysdeps/unix/sysv/linux/bits/in.h
16678 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16679
a6a056bb
RM
166802012-05-22 Roland McGrath <roland@hack.frob.com>
16681
16682 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16683 (PREPARE_VERSION): Just use assert instead, it will be elided
16684 under [NDEBUG] anyway.
16685
c9009328
L
166862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16687
16688 * sysdeps/unix/sysv/linux/Makefile: Include
16689 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16690 (sysdep_routines): Remove sysctl.
c9009328
L
16691 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16692 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16693 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16694 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16695 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16696
73338355
AJ
166972012-05-22 Andreas Jaeger <aj@suse.de>
16698
16699 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16700 that pseudo_end is just ret and the stack pointer is correct also
16701 for static library in error case.
16702
d44638b0
PP
167032012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16704
16705 [BZ #14122]
16706 * nss/nsswitch.c (defconfig_entries): New variable.
16707 (__nss_database_lookup): Don't leak defconfig entries.
16708 (nss_parse_service_list): Don't leak on error paths.
16709 (free_database_entries): New function.
16710 (free_defconfig): New function.
16711 (free_mem): Move common code to free_database_entries.
16712
31a39bd8
L
167132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16714
da0331a8
L
16715 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16716 Add arch_prctl.
16717 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16718
31a39bd8
L
16719 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16720 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16722 New macro.
16723 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16724 (INTERNAL_SYSCALL_TYPES): Likewise.
16725 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16726 (LOAD_REGS_TYPES_[1-6]): Likewise.
16727 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16728 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16729
45470df3
AZ
167302012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16731
16732 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16733 copysignl for GLIBC_2_0.
16734 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16735 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16737 logbl for GLIBC_2_0.
16738 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16739 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16740
98a61bcb
L
167412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16742
a4f6e481
L
16743 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16744 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16745
f63d5db6
L
16746 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16747 Use "neg %eax".
16748
98a61bcb
L
16749 * time/mktime.c: Update copyright years.
16750
95770f14
PE
167512012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16752
6226efbd
PE
16753 mktime: merge comment-quoting-style change from gnulib
16754 * time/mktime.c: Quote 'like this' in comments.
16755 The GNU coding standards suggest that we no longer quote `like this',
16756 as "`" and "'" are typically rendered asymmetrically nowadays.
16757 The typical gnulib style is to quote 'like this' when quoting
16758 code, and "like this" when quoting English.
16759
b99e4f78
PE
16760 * time/mktime.c (compile-command): Add "-I.".
16761
643e01e6
PE
16762 mktime: merge mktime-internal.h change from gnulib
16763 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16764
2554247d
PE
16765 mktime: merge time_r change from gnulib
16766 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16767
826dd0ab
PE
16768 mktime: merge DEBUG change from gnulib
16769 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16770 case system <time.h> has a #define.
16771
bd83aabe
PE
16772 mktime: merge <sys/types.h> change from gnulib
16773 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16774 since <time.t> is now guaranteed to define time_t.
16775
95770f14
PE
16776 mktime: merge HAVE_CONFIG_H change from gnulib
16777 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16778
5e1a27a9
L
167792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16780
0e44a77e
L
16781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16782 Use "neg %eax".
16783
5e1a27a9
L
16784 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16785 __rlim_t cast.
16786 (struct rusage): Use anonymous union to pad each field to
16787 __syscall_slong_t.
16788
46259bec
DM
167892012-05-21 David S. Miller <davem@davemloft.net>
16790
16791 * Makefules (o-iterator): Remove .s cases.
16792 (compile-command.s): Delete.
16793 (COMPILE.s): Delete.
16794 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16795
59f0c22e
JM
167962012-05-21 Joseph Myers <joseph@codesourcery.com>
16797
16798 * configure.in (libc_cv_predef_stack_protector): Only consider
16799 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16800 * configure: Regenerated.
16801
20c07380
L
168022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16803
bbb3154b
L
16804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16805 New macro. Use R*LP on int and pointer.
16806 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16807 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16808 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16809 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16810
20c07380
L
16811 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16812 [__WORDSIZE_TIME64_COMPAT32] instead of
16813 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16814 (struct utmp): Likewise.
16815 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16816 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16817 Renamed to ...
16818 (__WORDSIZE_TIME64_COMPAT32): This.
16819 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16820 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16821 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16822 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16823 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16824 (__WORDSIZE_TIME64_COMPAT32): New macro.
16825
d8d1017e
AJ
168262012-05-21 Andreas Jaeger <aj@suse.de>
16827
16828 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16829 only if [SHARED]. Add prototype for __wcschr_ia32.
16830
6c7fb145
RM
168312012-05-21 Roland McGrath <roland@hack.frob.com>
16832
16833 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16834 of %rbp unmolested in the jmp_buf while mangling the low bits.
16835 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16836 unmolested high bits of %rbp while demangling the low bits.
16837 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16838
66274218
AJ
168392012-05-21 Andreas Jaeger <aj@suse.de>
16840
07c58f8f
AJ
16841 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16842 * sunrpc/svc_simple.c: Use it for registerrpc.
16843 * sunrpc/xcrypt.c: Use it for passwd2des.
16844
66274218
AJ
16845 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16846
61f65140
L
168472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16848
16849 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16850 Don't define if [__SYSCALL_WORDSIZE != 32].
16851 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16852 New macro.
16853
5fefb436
AJ
168542012-05-21 Bruno Haible <bruno@clisp.org>
16855 Andreas Jaeger <aj@suse.de>
16856
16857 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16858 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16859 inptr and inend for must_buffer_ch.
16860 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16861 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16862 * stdio-common/Makefile (tests): Remove bug15.
16863 (bug15-ENV): Remove macro.
16864 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16865 anymore.
16866
d8e272ab
AJ
168672012-05-19 Andreas Jaeger <aj@suse.de>
16868 Roland McGrath <roland@hack.frob.com>
16869
16870 * manual/contrib.texi: Completely rewritten. It contains now an
16871 alphabetical list of contributors and their contributions.
16872
4a56a162
RH
168732012-05-21 Richard Henderson <rth@twiddle.net>
16874
16875 * misc/getauxval.c (__getauxval): Use unsigned long int.
16876 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16877 (getauxval): Use unsigned long int.
16878
d024d23c
L
168792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16880
16881 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16882
cbc00a03
RM
168832012-05-21 Roland McGrath <roland@hack.frob.com>
16884
16885 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16886 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16887 __alignof__ (long double).
16888
478143fa
AZ
168892012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890
16891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16892
c7683a6d
RH
168932012-05-20 Richard Henderson <rth@twiddle.net>
16894
16895 * misc/getauxval.c: New file.
16896 * misc/sys/auxv.h: New file.
16897 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16898 (routines): Add getauxval.
16899 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16900 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16901 * elf/dl-sysdep.c (_dl_auxv): Remove.
16902 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16903 * elf/dl-support.c (_dl_auxv): New variable.
16904 (_dl_aux_init): Initialize it.
16905 * manual/startup.texi (Auxiliary Vector): New node.
16906 * sysdeps/generic/bits/hwcap.h: New file.
16907 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16908 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16909 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16910 * sysdeps/sparc/sysdep.h: ... here. Include it.
16911 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16914 Update.
c7683a6d
RH
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16923
a6f1845d
AZ
169242012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16925
16926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16927
cbcbe830
DM
169282012-05-19 David S. Miller <davem@davemloft.net>
16929
16930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16931
e0b16cc2
JM
169322012-05-19 Joseph Myers <joseph@codesourcery.com>
16933
16934 [BZ #14123]
16935 * math/s_ccosh.c: Include <float.h>
16936 (__ccosh): Avoid internal overflow calculating sinh and cosh
16937 values before multiplying by sin and cos values.
16938 * math/s_ccoshf.c: Likewise.
16939 * math/s_ccoshl.c: Likewise.
16940 * math/s_csin.c: Likewise.
16941 * math/s_csinf.c: Likewise.
16942 * math/s_csinl.c: Likewise.
16943 * math/s_csinh.c: Likewise.
16944 * math/s_csinhf.c: Likewise.
16945 * math/s_csinhl.c: Likewise.
16946 * math/libm-test.inc (ccos_test): Add more tests.
16947 (ccosh_test): Likewise.
16948 (csin_test): Likewise.
16949 (csinh_test): Likewise.
16950 * sysdeps/i386/fpu/libm-test-ulps: Update.
16951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16952
6ad13e08
L
169532012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16954
f66f0ce8
L
16955 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16956 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16957
6ad13e08
L
16958 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16959
b1d072a7
JM
169602012-05-19 Joseph Myers <joseph@codesourcery.com>
16961
16962 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16963 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16964 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16965 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16966 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16967 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16968 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16969 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16970 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16971 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16972 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16973 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16974 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16975 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16976 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16977 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16978 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16979 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16980 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16981 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16982 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16983 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16984 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16985 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16986 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16987 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16988 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16989 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16990 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16991 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16992 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16993
9eae47cb
AJ
169942012-05-18 Andreas Jaeger <aj@suse.de>
16995
16996 * csu/.gitignore: Delete.
16997
bb07f69f
L
169982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16999
17000 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17001 (timex): Use __syscall_slong_t.
17002
e6bdb741
AJ
170032012-05-18 Andreas Jaeger <aj@suse.de>
17004 Carlos O'Donell <carlos_odonell@mentor.com>
17005
17006 * manual/install.texi (Configuring and compiling): Update
17007 description about files modified in the source directory.
d6c33fda 17008 * INSTALL: Regenerated.
e6bdb741 17009
1b74487e
L
170102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17011
17012 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17013 value. Use "or" to set return value to -1.
17014 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17015 negate return value.
17016
a88b64b9
TMQMF
170172012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17018
17019 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17020 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17021 failure if the compiler has Graphite support disabled.
17022 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17023 Likewise.
17024 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17025 CFLAGS-memmove.c): Likewise.
17026 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17027 Likewise.
17028
3707636e
L
170292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17030
610b8622
L
17031 * sysdeps/x86_64/x32/_itoa.h: New file.
17032
7cd195df
L
17033 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17034 getdents system call only if kernel and user dirents have the
17035 same d_ino and d_off.
17036
94b07d20
L
17037 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17038 LLONG_MAX != LONG_MAX.
17039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17040 (_fitoa_word): Likewise.
17041
18298070
L
17042 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17043 years.
17044 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17045 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17046 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17047
553c7ea4
L
17048 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17049 include <bits/wordsize.h>. Check __x86_64__ instead of
17050 __WORDSIZE.
17051 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17052 if __x86_64__ is defined. Use anonymous union on fpstate.
17053
3707636e
L
17054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17055 anonymous union.
17056
b53ef01a
AS
170572012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17058
37fb1dc0
AS
17059 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17060 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17062 Refer to _rtld_local_ro instead of _rtld_global_ro.
17063 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17064 Likewise.
17065 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17066 Likewise.
17067 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17068 Likewise.
17069 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17070 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17071 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17072
b53ef01a
AS
17073 * sysdeps/powerpc/powerpc32/dl-machine.c
17074 (__elf_machine_runtime_setup) [PROF]: Don't reference
17075 _dl_prof_resolve.
17076
7a185db2
AJ
170772012-05-18 Andreas Jaeger <aj@suse.de>
17078
17079 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17080 function only available for GCCs before 3.4 since GCC 3.4
17081 introduced a builtin.
17082 (lrint): Likewise.
17083 (llrintf): Likewise.
17084 (llrint): Likewise.
17085 (fmaxf): Likewise.
17086 (fmax): Likewise.
17087 (fminf): Likewise.
17088 (fmin): Likewise.
17089 (rint): Likewise.
17090 (rintf): Likewise.
17091 (nearbyint): Likewise.
17092 (nearbyintf): Likewise.
17093 (ceil): Likewise.
17094 (ceilf): Likewise.
17095 (floor): Likewise.
17096 (floorf): Likewise.
17097
3e5aef87
L
170982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17099
428bd707
L
17100 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17101 on both fields and cast pointer to __syscall_ulong_t.
17102
3e5aef87
L
17103 * bits/types.h (__fsword_t): New type.
17104 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17105 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17107 (__FSWORD_T_TYPE): Likewise.
17108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17109 (__FSWORD_T_TYPE): Likewise.
17110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17111 (__FSWORD_T_TYPE): Likewise.
17112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17113 (__FSWORD_T_TYPE): Likewise.
17114 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17115 __SWORD_TYPE with __fsword_t.
17116 (statfs64): Likewise.
17117
1ba7c3dc
DM
171182012-05-17 David S. Miller <davem@davemloft.net>
17119
17120 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17121
59910343
AJ
171222012-05-17 Andreas Jaeger <aj@suse.de>
17123
17124 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17125 warning.
17126
2e4c1e9e
L
171272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17128
17129 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17130
de7f5ce7
AJ
171312012-05-17 Andreas Jaeger <aj@suse.de>
17132
17133 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17134 when it is used.
17135
286abc3d
CM
171362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17137
17138 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17139
477cc68e
L
171402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17141
17142 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17143 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17144
1a0994f5
CD
171452012-05-17 Andreas Jaeger <aj@suse.de>
17146 Carlos O'Donell <carlos_odonell@mentor.com>
17147
17148 [BZ #14059]
17149 * sysdeps/x86_64/multiarch/init-arch.h
17150 (bit_YMM_Usable): Rename to...
17151 (bit_AVX_Usable): ... this.
17152 (bit_FMA4_Usable): New macro.
17153 (bit_XMM_state): New macro.
17154 (bit_YMM_state): New macro.
17155 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17156 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17157 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17158 (CPUID_OSXSAVE): New macro.
17159 (CPUID_AVX): New macro.
17160 (CPUID_FMA4): New macro.
17161 (index_YMM_Usable): Rename to...
17162 (index_AVX_Usable): ... this.
17163 (HAS_AVX): Use HAS_ARCH_FEATURE.
17164 (HAS_FMA4): Likewise.
17165 (HAS_YMM_USABLE): Remove.
17166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17167 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17168 are present.
17169 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17170 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17171 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17172 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17173 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17174
0af797de
CM
171752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17176
17177 * math/libm-test.c: Support platforms without multiple rounding modes.
17178 * math/bug-nextafter.c: Support platforms without FP exceptions.
17179 * math/bug-nexttoward.c: Likewise.
17180 * math/test-fenv.c: Likewise.
17181 * math/test-misc.c: Likewise.
17182 * stdlib/bug-getcontext.c: Likewise.
17183
e39745ff
AJ
171842012-05-17 Andreas Jaeger <aj@suse.de>
17185
17186 * manual/examples/search.c (critter_cmp): Change signature to
17187 avoid warnings.
17188 * manual/string.texi (Collation Functions): Likewise.
17189
48970aba
L
171902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17191
17192 * bits/types.h: Fold copyright years.
17193 * bits/typesizes.h: Likewise.
17194 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17198 * time/time.h: Likewise.
17199
bedee953
PP
172002012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17201
17202 [BZ #208]
17203 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17204 in instead of returning them. Return void.
17205 (__libc_mallinfo): Accumulate over all arenas.
17206 (__malloc_stats): Adjust for change in int_mallinfo interface.
17207
61653dfb
RM
172082012-05-16 Roland McGrath <roland@hack.frob.com>
17209
30b99d79
RM
17210 [BZ #10375]
17211 * configure.in (NM): Add AC_CHECK_TOOL for it.
17212 (libc_extra_cflags): New substituted variable.
17213 Check for -fstack-protector being used implicitly.
17214 * configure: Regenerated.
17215 * config.make.in (config-extra-cflags): New variable,
17216 gets @libc_extra_cflags@.
17217 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17218
61653dfb
RM
17219 [BZ #10375]
17220 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17221 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17222 * configure: Regenerated.
17223 * config.make.in (CPPUNDEFS): New substituted variable.
17224 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17225 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17226 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17227
661768bb
L
172282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17229
17230 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17231 (mq_attr): Use __syscall_slong_t.
17232
d4261567
L
172332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17234
17235 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17236 Check __x86_64__ instead of __WORDSIZE.
17237 (_STAT_VER_LINUX): Likewise.
17238 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17239 __syscall_ulong_t and __syscall_slong_t.
17240 (stat64): Likewise.
17241
cf3ff365
L
172422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17243
17244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17245
76cf3e4d
L
172462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17247
17248 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17249
a637753a
L
172502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17251
17252 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17253 __syscall_ulong_t.
17254
d5e05119
L
17255 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17256 include <bits/wordsize.h>. Check __x86_64__ instead of
17257 __WORDSIZE.
17258 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17259 defined.
17260 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17261
f62ee380
L
17262 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17263 include <bits/wordsize.h>. Check __x86_64__ instead of
17264 __WORDSIZE.
17265 (user_regs_struct): Use "__extension__ unsigned long long"
17266 instead of "unsigned long" if __x86_64__ is defined.
17267 (user): Likewise. Pad after pointer field if __ILP32__ is
17268 defined.
17269
4e124ced
JM
172702012-05-16 Joseph Myers <joseph@codesourcery.com>
17271
6a3951a0
JM
17272 * configure.in (makeinfo): Require version 4.5 or later. Allow
17273 versions 5 to 9.
17274 * configure: Regenerated.
17275 * manual/install.texi (texinfo): Increase version requirement to
17276 4.5 or later.
17277 * INSTALL: Regenerated.
17278
4e124ced
JM
17279 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17280
953ca31a
L
172812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17282
17283 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17284
617aca05
L
17285 * sysdeps/x86_64/x32/ffs.c: New file.
17286
5762f7ae
L
17287 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17288 __syscall_ulong_t.
17289 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17290 defined. Use __syscall_ulong_t.
17291 (shminfo): Use __syscall_ulong_t.
17292 (shm_info): Likewise.
17293
a26b6856
L
17294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17295 __syscall_ulong_t.
17296
cb2b9ef7
L
17297 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17298 <bits/wordsize.h>.
17299 (msgqnum_t): Use __syscall_ulong_t.
17300 (msglen_t): Likewise.
17301 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17302 __syscall_ulong_t.
17303
34683bb0
L
17304 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17305 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17306
84a68786
L
17307 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17308
48baa5f1
L
17309 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17310 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17311
180be88b
L
17312 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17313 __syscall_slong_t.
17314
5e90c8ad
L
17315 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17316 include <bits/wordsize.h>. Check __x86_64__ instead of
17317 __WORDSIZE.
17318
23dfb58b
L
17319 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17320 "unsigned long long int" if __x86_64__ is defined.
17321 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17322
ce5d54b0
L
17323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17324 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17325 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17326
13dc9eac
L
17327 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17328 <stdint.h>.
17329 (GET_PC): Cast to uintptr_t first.
17330 (GET_FRAME): Likewise.
17331 (GET_STACK): Likewise.
17332
a7895d15
L
17333 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17334 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17336 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17338 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17339 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17340 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17341 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17342 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17343 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17344 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17345 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17346 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17353 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17355 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17357 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17358 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17359 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17360 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17361 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17362
656416c9
AS
173632012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17364
5bd66283
AS
17365 * Makerules (+depfiles): Also collect depfiles from .oS in
17366 $(extra-objs).
17367 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17368 .oS, $(libnldbl-routines)).
17369
656416c9
AS
17370 * Makerules (native-compile-mkdep-flags): Define.
17371 * sunrpc/Makefile (extra-objs): Add $(addprefix
17372 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17373 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17374 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17375 calling $(make-target-directory).
17376
a46f2169
L
173772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17378
17379 * bits/types.h (__snseconds_t): Removed.
17380 * time/time.h (struct timespec): Replace __snseconds_t with
17381 __syscall_slong_t.
17382 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17383 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17384 Likewise.
17385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17386 (__SNSECONDS_T_TYPE): Likewise.
17387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17388 (__SNSECONDS_T_TYPE): Likewise.
17389 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17390 (__SNSECONDS_T_TYPE): Likewise.
17391
6af6528b
L
173922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17393
17394 * sysdeps/mach/hurd/bits/typesizes.h
17395 (__SYSCALL_SLONG_TYPE): New macro.
17396 (__SYSCALL_ULONG_TYPE): Likewise.
17397
de986b56
L
173982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17399
17400 * bits/types.h (__syscall_slong_t): New type.
17401 (__syscall_ulong_t): Likewise.
17402
17403 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17404 (__SYSCALL_ULONG_TYPE): Likewise.
17405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17406 (__SYSCALL_SLONG_TYPE): Likewise.
17407 (__SYSCALL_ULONG_TYPE): Likewise.
17408 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17409 (__SYSCALL_SLONG_TYPE): Likewise.
17410 (__SYSCALL_ULONG_TYPE): Likewise.
17411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17412 (__SYSCALL_SLONG_TYPE): Likewise.
17413 (__SYSCALL_ULONG_TYPE): Likewise.
17414
85736dc7
L
174152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17416
17417 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17418 Add sigaltstack-offsets.sym.
17419 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17420 <sigaltstack-offsets.h>.
17421 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17422 longjmp_msg pointer.
17423 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17424 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17425 signal stack.
17426 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17427
cc03b296
JM
174282012-05-15 Joseph Myers <joseph@codesourcery.com>
17429
a9538892
JM
17430 * elf/stackguard-macros.h: Remove file.
17431 * sysdeps/generic/stackguard-macros.h: New file.
17432 * sysdeps/i386/stackguard-macros.h: Likewise.
17433 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17434 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17435 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17436 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17437 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17438 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17439 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17440 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17441 <elf/stackguard-macros.h>.
17442
cc03b296
JM
17443 [BZ #14109]
17444 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17445 __aligned__ in attribute.
17446 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17447 (gregset_t): Likewise.
17448
93171016
L
174492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17452 * sysdeps/x86_64/64/Implies-after: Here. New file.
17453 * sysdeps/x86_64/x32/Implies-after: New file.
17454
d86813a0
L
174552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17456
17457 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17458 and access return value for _dl_profile_fixup. Use R10_LP to
17459 load frame size.
17460
2953ec75
L
174612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17462
17463 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17464
3b550e9e
L
174652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17466
17467 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17468 * sysdeps/x86_64/x32/sysdep.h: New file.
17469
eda41706
L
174702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17471
17472 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17473 * sysdeps/x86_64/setjmp.S: Likewise.
17474
9ea01d93
AZ
174752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476
17477 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17478 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17479 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17480 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17481 remove unused global constant.
17482
02a91938
CM
174832012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17484
17485 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17486 include of <not-cancel.h>.
17487
6540185f
RM
174882012-05-15 Roland McGrath <roland@hack.frob.com>
17489
17490 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17491
509072a0
AJ
174922012-05-15 Jeff Law <law@redhat.com>
17493 Andreas Jaeger <aj@suse.de>
17494
17495 [BZ #13594]
17496 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17497 out from...
17498 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17499 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17500 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17501 code changing __hst_map_handle.map.
17502
ba75122d
RM
175032012-05-15 Roland McGrath <roland@hack.frob.com>
17504
17505 * configure.in (sysnames): Look for Implies-before and Implies-after
17506 files.
17507 * configure: Regenerated.
17508
890d8bd8
L
175092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17512 8-byte data alignment with LP_SIZE alignment.
17513
f6ee6623
L
175142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17515
17516 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17517 into R10_LP.
17518
ea2626f6
L
175192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17520
17521 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17522
085f715e
L
175232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17526 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17527 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17528 Likewise.
17529 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17530
be8498fc
L
175312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17532
17533 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17534 (stackinfo_sub_sp): Likewise.
17535
70bc83b9
L
175362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17537
17538 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17539 RAX_LP.
17540
9bc0b730
L
175412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17542
17543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17544 into R*_LP.
17545
6d2850e7
L
175462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17547
17548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17549 sizes into R*_LP.
17550
3cb84561
L
175512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17554
54e2ed81
L
175552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17556
17557 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17558 into R11_LP and load __x86_64_shared_cache_size_half into
17559 R8_LP.
17560
8a17f349
L
175612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17562
17563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17564 R8_LP.
17565
777b1eea
AZ
175662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17567
17568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17569 logb for POWER7.
17570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17571 logbf for POWER7.
17572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17573 logbl for POWER7.
17574 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17575 powerpc32/power7/fpu/s_logb.c via #include.
17576 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17577 powerpc32/power7/fpu/s_logbf.c via #include.
17578 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17579 powerpc32/power7/fpu/s_logbl.c via #include.
17580
d20d4ac2
JM
175812012-05-15 Joseph Myers <joseph@codesourcery.com>
17582
17583 * README.libm: Remove file.
17584
6cdef1ab
L
175852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17586
17587 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17588 count for x32. Use R*_LP and omit operand-size suffix.
17589
0b254d8f
L
175902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17591
17592 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17593 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17594 * sysdeps/x86_64/x32/shlib-versions: New file.
17595
ceb809dc
RM
175962012-05-14 Roland McGrath <roland@hack.frob.com>
17597
17598 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17599 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17600 Use _dl_fatal_printf instead.
17601
37f1abd4
JM
176022012-05-14 Joseph Myers <joseph@codesourcery.com>
17603
17604 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17605 set if not set by the user. Do not allow for being unset.
17606 * sysdeps/unix/sysv/linux/configure: Regenerated.
17607
11de3a33
L
176082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17609
17610 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17611 the `q' suffix from lea and replace .quad with ASM_ADDR.
17612
e02f153a
L
176132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17616 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17617 instead of $17.
17618 (PTR_DEMANGLE): Likewise.
17619
520ae0fd
L
176202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17621
17622 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17623 (LP_OP): Likewise.
17624 (ASM_ADDR): Likewise.
17625 (RAX_LP): Likewise.
17626 (RBP_LP): Likewise.
17627 (RBX_LP): Likewise.
17628 (RCX_LP): Likewise.
17629 (RDI_LP): Likewise.
17630 (RSI_LP): Likewise.
17631 (RSP_LP): Likewise.
17632 (R8_LP): Likewise.
17633 (R9_LP): Likewise.
17634 (R10_LP): Likewise.
17635 (R10_LP): Likewise.
17636 (R11_LP): Likewise.
17637 (R12_LP): Likewise.
17638 (R13_LP): Likewise.
17639 (R14_LP): Likewise.
17640 (R15_LP): Likewise.
17641
b985be81
L
176422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 * sysdeps/x86_64/x32/dl-machine.h: New file.
17645
6a4888ff
AJ
176462012-05-14 Andreas Jaeger <aj@suse.de>
17647
17648 * manual/Makefile (subdir): Remove export of subdir.
17649 (all): Remove target.
17650 (.PHONY): Remove all from list.
17651 (mkinstalldirs): Remove.
17652 (.PHONY): Remove installdirs from list.
17653 ($(inst_infodir)/libc.info): Use make-target-directory.
17654 (installdirs): Remove.
17655 (subdir_%): Remove.
17656 (glibc-targets): Remove.
17657 (lib): Remove.
17658 (stubs): Remove.
17659 ($(objpfx)stubs ../po/manual.pot): Remove.
17660 ($(objpfx)stamp%): Remove.
17661 (make-target-directory): Remove.
17662 (subdir_install): Remove.
17663 (routines): Remove.
17664 (aux): Remove.
17665 (sources): Remove.
17666 (objects): Remove.
17667 (headers): Remove.
17668
17669 [BZ #13750]
17670 * manual/.gitignore: Remove, it's not needed anymore.
17671 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17672 all files in it.
17673 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17674 directory.
17675 (texis): Renamed to $(objpfx)texis.
17676 (texis-path): New, contains path to generated files.
17677 (chapters.%): Use texis-path for complete path, add extra argument
17678 libc-texinfo.sh.
17679 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17680 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17681 (summary,texi, stamp-summary): Use complete path of
17682 files. Generate files in build dir.
17683 (dir-add.texi): Build in build dir.
17684 (libm-err.texi,stamp-libm-err): Likewise.
17685 (version.texi, stamp-version): Likewise.
17686 (.%c.texi): Likewise.
17687 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17688 (mostlyclean): Remove target.
17689 (realclean): Remove target.
17690 (generated): Add new variable with contents from mostlyclean and
17691 realclean, remove entries duplicated in common-mostlyclean, add
17692 stamp-libm-err and stamp-version.
17693 (generated-dirs): Add libc directory.
17694 ($(inst_infodir)/libc.info): Install files from build dir.
17695
17696 * manual/install.texi (Configuring and compiling): Adjust since
17697 the info files are not part of the tar ball anymore.
17698
7ac77294
AJ
176992012-05-14 Andreas Jaeger <aj@suse.de>
17700
17701 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17702 variable.
17703
ffb7875d
JM
177042012-05-14 Joseph Myers <joseph@codesourcery.com>
17705
17706 [BZ #13717]
17707 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17708 to 2.2.0 where earlier.
17709 * sysdeps/unix/sysv/linux/configure: Regenerated.
17710 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17711 Remove conditional code.
17712 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17713 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17714 Remove conditional code.
17715 [!__NR_lchown]: Likewise.
17716 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17717 [__NR_lchown]: Likewise.
17718 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17719 comment referencing __ASSUME_LCHOWN_SYSCALL.
17720 * sysdeps/unix/sysv/linux/i386/sigaction.c
17721 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17722 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17723 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17724 Remove conditional code.
17725 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17726 (__protocol_available): Remove #if 0 code.
17727 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17728 conditional code.
17729 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17730 * sysdeps/unix/sysv/linux/kernel-features.h
17731 (__ASSUME_GETCWD_SYSCALL): Don't define.
17732 (__ASSUME_REALTIME_SIGNALS): Likewise.
17733 (__ASSUME_PREAD_SYSCALL): Likewise.
17734 (__ASSUME_PWRITE_SYSCALL): Likewise.
17735 (__ASSUME_POLL_SYSCALL): Likewise.
17736 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17737 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17738 non-SPARC.
17739 (__ASSUME_SIOCGIFNAME): Don't define.
17740 (__ASSUME_MSG_NOSIGNAL): Likewise.
17741 (__ASSUME_SENDFILE): Define unconditionally.
17742 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17743 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17744 conditional code.
17745 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17746 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17747 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17748 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17749 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17750 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17751 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17753 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17756 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17765 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17768 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17771 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17774 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17776 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17777 Remove conditional code.
17778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17779 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17780 Remove conditional code.
17781 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17782 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17783 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17784 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17785 Remove conditional code.
17786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17787 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17788 Remove conditional code.
17789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17790 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17791 Remove conditional code.
17792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17793 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17794 Remove conditional code.
17795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17796 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17797 Remove conditional code.
17798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17799 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17802 * sysdeps/unix/sysv/linux/sigaction.c
17803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17805 * sysdeps/unix/sysv/linux/sigpending.c
17806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17808 * sysdeps/unix/sysv/linux/sigprocmask.c
17809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17811 * sysdeps/unix/sysv/linux/sigsuspend.c
17812 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17813 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17815 (__libc_missing_rt_sigs): Remove.
17816 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17817 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17818 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17819 Remove conditional code.
17820 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17821 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17822 return 1.
17823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17824 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17826 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17827
1bfb7291
AJ
178282012-05-14 Andreas Jaeger <aj@suse.de>
17829
caae5a81
AJ
17830 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17831 it's not used in glibc.
17832 (__coshm1): Likewise.
17833 (__acosh1p): Likewise.
17834 (__sgn): Likewise.
17835
1bfb7291
AJ
17836 * manual/string.texi (Copying and Concatenation): Add missing
17837 variable in concat example.
17838 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17839
c044d724
L
178402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17841
144c5467 17842 [BZ #14103]
c044d724
L
17843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17844 __builtin_clzl with __builtin_clzll.
17845
2523c62b
L
178462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 [BZ #14104]
17849 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17850 libc_freeres_ptr.
17851
d7bb4c42
LD
178522012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17853
17854 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17855 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17856 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17857 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17858
9dc4e1fb
MF
178592012-05-14 Mike Frysinger <vapier@gentoo.org>
17860
17861 * NEWS: Update ia64 info.
17862
c7df0112
AS
178632012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17864
17865 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17866 used as bcopy.
17867
dc70356c
TS
178682012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17869
17870 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17871 * sysdeps/unix/syscalls.list (dup3): Likewise.
17872 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17873 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17874
9fb1a21f
L
178752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17876
17877 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17878 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17879
4822a2a5
L
178802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17881
17882 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17883 thread pointer.
17884 (TLS_IE): Use mov/add instead of movq/addq to load thread
17885 pointer.
17886 (TLS_GD_PREFIX): New.
17887 (TLS_GD): Use it.
17888
842b81d6
DM
178892012-05-11 David S. Miller <davem@davemloft.net>
17890
17891 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17892 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17893 (_FPU_SETCW): Likewise.
17894
1cf463cd
L
178952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17896
17897 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17898 is 32-byte aligned.
17899
60cc4a18
AS
179002012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17901
17902 [BZ #11837]
17903 * iconvdata/gb18030.c: Update tables.
17904 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17905 characters specially.
17906 (BODY for TO_LOOP): Add encoding of missing ranges.
17907
febb44a4
TS
179082012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17909
17910 [BZ #13673]
17911 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17912 * sysdeps/mach/hurd/dup3.c: Likewise.
17913 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17914 * sysdeps/powerpc/memmove.c:: Likewise.
17915
0a10fb9e
L
179162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17917
17918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17919 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17920
df8a552f
L
179212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17922
17923 * elf/elf.h (R_X86_64_RELATIVE64): New.
17924 (R_X86_64_NUM): Updated.
17925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17926 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17927 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17928 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17929 tst-quad1pie tst-quad2pie
17930 (modules-names): Add tst-quadmod1 tst-quadmod2.
17931 ($(objpfx)tst-quad1): New dependency.
17932 ($(objpfx)tst-quad2): Likewise.
17933 ($(objpfx)tst-quad1pie): Likewise.
17934 ($(objpfx)tst-quad2pie): Likewise.
17935 * sysdeps/x86_64/tst-quad1.c: New file.
17936 * sysdeps/x86_64/tst-quad1pie.c: New file.
17937 * sysdeps/x86_64/tst-quad2.c: Likewise.
17938 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17939 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17940 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17941 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17942 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17943
f34d6f84
ST
179442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17945
f42d41d1
ST
17946 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17947 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17948 * streams/stropts.h (t_scalar_t): Define type.
17949
3c3571fc
ST
17950 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17951 (_PATH_PRESERVE): Set to "/var/lib".
17952 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17953
61f06bd3
ST
17954 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17955 instead of int.
17956
918d4d71
ST
17957 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17958 if __dir_mkfile succeeded.
17959
f34d6f84
ST
17960 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17961 checking for _hurd_dtablesize. Unlock it right after having
17962 finished _hurd_dtable allocation.
17963
10589b4a
TS
179642012-05-10 Thomas Schwinge <thomas@schwinge.name>
17965
674cdbc7
TS
17966 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17967 * sysdeps/mach/hurd/configure: Regenerated.
17968 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17969 special-casing to...
17970 * sysdeps/gnu/configure.in: ... this new file.
17971 * sysdeps/unix/sysv/linux/configure: Regenerated.
17972 * sysdeps/gnu/configure: New generated file.
17973
8e41b99f
TS
17974 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17975 for Linux: use nsec instead of usec, as well as:
17976 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17977 members of type struct timespec.
17978 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17979 New macros.
17980 (struct stat64): Likewise.
17981 (_STATBUF_ST_NSEC): New macro.
17982 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17983
10589b4a
TS
17984 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17985 __strtoul_internal rather than strtoul.
17986
63643c85
PT
179872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17988
17989 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17990 and reject them.
17991
3faebe6a
ST
179922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17993
17994 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17995 which preserves existing values.
17996 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17997
c6474b07
PT
179982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17999
18000 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18001 TIMEOUT values. Return EINVAL for NFDS values either negative or
18002 greater than FD_SETSIZE.
18003
1043890b
ST
180042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18005
18006 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18007 allocated, call __vm_protect to finish enabling the existing space, and
18008 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18009 allocate the remainder.
18010
37ed8b9b
PT
180112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18012
18013 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18014 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18015
db653660
ST
180162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18017
37ed8b9b
PT
18018 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18019 sysdeps/mach/hurd/readlink.c.
b29d4053 18020
db653660
ST
18021 * posix/tst-sysconf.c (posix_options): Only use
18022 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18023 _POSIX_SYNCHRONIZED_IO when they are defined
18024 * sysdeps/mach/hurd/bits/posix_opt.h:
18025 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18026 (_XOPEN_REALTIME): Undefine macro.
18027 (_XOPEN_REALTIME_THREADS): Undefine macro.
18028 (_XOPEN_SHM): Undefine macro.
18029 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18030 macro to -1.
18031 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18032 macro to -1.
18033 (_POSIX_ASYNC_IO): Undefine macro.
18034 (_POSIX_PRIORITIZED_IO): Undefine macro.
18035 (_POSIX_SPIN_LOCKS): Define macro to -1.
18036
ee16e894
ST
18037 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18038 SA_NODEFER, SA_RESETHAND.
18039 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18040 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18041 F_DUPFD_CLOEXEC.
18042
6103ae3b
TS
180432012-05-10 Thomas Schwinge <thomas@schwinge.name>
18044
18045 * elf/Makefile (pldd-modules): Define unconditionally.
18046
80b4e5f3
TS
180472012-05-10 Thomas Schwinge <thomas@schwinge.name>
18048
18049 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18050
edadcbd6
ST
180512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052
18053 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18054 Return ENOENT when name is empty.
18055 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18056
80694780
TS
180572012-05-10 Thomas Schwinge <thomas@schwinge.name>
18058
1792c087
TS
18059 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18060
80694780
TS
18061 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18062
6b645f0d
ST
180632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18064
80694780
TS
18065 Fix mlock in all cases except non-readable pages.
18066 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18067 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18068
6b645f0d
ST
18069 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18070 (__mkdir): When path is `/', just fail with EEXIST.
18071 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18072
e468f8a3
TS
180732012-05-10 Thomas Schwinge <thomas@schwinge.name>
18074
18075 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18076 <sys/uio.h> (for writev).
18077 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18078 and <sys/param.h> (for MIN).
18079
a4186cff
PT
180802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18081
18082 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18083 REQUESTED_TIME. Properly set the remaining time and return EINTR
18084 if interrupted.
18085
510bbf14
TS
180862012-05-10 Thomas Schwinge <thomas@schwinge.name>
18087
18088 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18089 Depend on against $(link-rpcuserlibs).
18090
5d5722e8
ST
180912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18092
a4186cff
PT
18093 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18094 (__libc_stack_end): Do not use attribute_relro.
18095 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18096 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18097 to libthread-provided value.
a4186cff
PT
18098 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18099 attribute_relro.
5d5722e8 18100
37233df9
TS
181012012-05-10 Thomas Schwinge <thomas@schwinge.name>
18102
be971a2b
TS
18103 [BZ #3748]
18104 * bits/libc-lock.h (__libc_once_get): New macro.
18105 * sysdeps/mach/bits/libc-lock.h: Likewise.
18106 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18107 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18108 instead of using implementation details.
18109
37233df9
TS
18110 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18111 * libio/freopen.c: Likewise.
18112 * libio/freopen64.c: Likewise.
18113 * misc/syslog.c: Likewise.
18114 * nscd/connections.c: Likewise.
18115 * nscd/netgroupcache.c: Likewise.
18116 * sysdeps/posix/getcwd.c: Likewise.
18117
38de94a5
RM
181182012-05-10 Roland McGrath <roland@hack.frob.com>
18119
18120 * math/w_ilogbf.c: Add #include <limits.h>.
18121
67530489
ST
181222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18123
a4186cff 18124 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18125 path instead of returning without unlocking.
18126
67530489
ST
18127 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18128 immediate-write ioctls.
18129 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18130
5aa3a74a
TS
181312012-05-10 Thomas Schwinge <thomas@schwinge.name>
18132
18bad2ae
TS
18133 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18134 __builtin_frame_address instead of making assumptions about the
18135 location of the return address relative to DATA. Force early load of
18136 the return address.
18137 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18138 __builtin_frame_address.
18139
5aa3a74a
TS
18140 dup3 for GNU Hurd.
18141 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18142 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18143 implement dup3 and do some further code clean-ups.
18144 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18145 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18146
ecd0de9a
ST
181472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18148
cd9fa985
ST
18149 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18150
a4186cff
PT
18151 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18152 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18153 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18154 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18155 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18156 d->port.lock.
802ca5a5 18157
a4186cff
PT
18158 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18159 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18160 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18161
bcf55240
TS
181622012-05-10 Thomas Schwinge <thomas@schwinge.name>
18163
6960eb42
TS
18164 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18165 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18166 definitions.
18167
eb43375f
TS
18168 accept4 for GNU Hurd.
18169 * include/sys/socket.h (__libc_accept4): New prototype.
18170 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18171 to implement __libc_accept4.
18172 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18173 __libc_accept4.
18174 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18175
bcf55240
TS
18176 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18177 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18178 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18179 signal-defines.sym.
18180
6178c55b
ST
181812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18182
a4186cff 18183 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18184
6f080c2f
TS
181852012-05-10 Thomas Schwinge <thomas@schwinge.name>
18186
18187 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18188 assertion on O_CLOEXEC flag.
18189 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18190 * hurd/intern-fd.c: Likewise.
18191 * hurd/port2fd.c: Likewise.
18192
bcfe3a54
ST
181932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18194
18195 [BZ #3906]
18196 * bits/in.h (IPV6_PKTINFO): Define new macro.
18197 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18198
89c9aa49
AZ
181992012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18200
18201 [BZ #13954]
18202 [BZ #13955]
18203 [BZ #13956]
18204 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18206 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18207 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18209 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18210 * math/libm-test.inc (logb_test) : Additional logb tests.
18211
021db4be
AJ
182122012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18213 Andreas Jaeger <aj@suse.de>
18214
18215 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18216 * configure: Regenerated.
18217 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18218 * config.make.in (link-obsolete-rpc): New substituted variable.
18219 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18220 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18221 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18222 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18223 so that libc.a contains the symbols.
18224 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18225 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18226 * sunrpc/auth_none.c: Likewise.
18227 * sunrpc/auth_unix.c: Likewise.
18228 * sunrpc/authdes_prot.c: Likewise.
18229 * sunrpc/authuxprot.c: Likewise.
18230 * sunrpc/clnt_gen.c: Likewise.
18231 * sunrpc/clnt_perr.c: Likewise.
18232 * sunrpc/clnt_raw.c: Likewise.
18233 * sunrpc/clnt_simp.c: Likewise.
18234 * sunrpc/clnt_tcp.c: Likewise.
18235 * sunrpc/clnt_udp.c: Likewise.
18236 * sunrpc/clnt_unix.c: Likewise.
18237 * sunrpc/des_crypt.c: Likewise.
18238 * sunrpc/des_soft.c: Likewise.
18239 * sunrpc/get_myaddr.c: Likewise.
18240 * sunrpc/key_call.c: Likewise.
18241 * sunrpc/key_prot.c: Likewise.
18242 * sunrpc/netname.c: Likewise.
18243 * sunrpc/pm_getmaps.c: Likewise.
18244 * sunrpc/pm_getport.c: Likewise.
18245 * sunrpc/pmap_clnt.c: Likewise.
18246 * sunrpc/pmap_prot.c: Likewise.
18247 * sunrpc/pmap_prot2.c: Likewise.
18248 * sunrpc/pmap_rmt.c: Likewise.
18249 * sunrpc/publickey.c: Likewise.
18250 * sunrpc/rpc_cmsg.c: Likewise.
18251 * sunrpc/rpc_common.c: Likewise.
18252 * sunrpc/rpc_dtable.c: Likewise.
18253 * sunrpc/rpc_prot.c: Likewise.
18254 * sunrpc/rpc_thread.c: Likewise.
18255 * sunrpc/rtime.c: Likewise.
18256 * sunrpc/svc.c: Likewise.
18257 * sunrpc/svc_auth.c: Likewise.
18258 * sunrpc/svc_raw.c: Likewise.
18259 * sunrpc/svc_run.c: Likewise.
18260 * sunrpc/svc_tcp.c: Likewise.
18261 * sunrpc/svc_udp.c: Likewise.
18262 * sunrpc/svc_unix.c: Likewise.
18263 * sunrpc/svcauth_des.c: Likewise.
18264 * sunrpc/xcrypt.c: Likewise.
18265 * sunrpc/xdr.c: Likewise.
18266 * sunrpc/xdr_array.c: Likewise.
18267 * sunrpc/xdr_float.c: Likewise.
18268 * sunrpc/xdr_intXX_t.c: Likewise.
18269 * sunrpc/xdr_mem.c: Likewise.
18270 * sunrpc/xdr_rec.c: Likewise.
18271 * sunrpc/xdr_ref.c: Likewise.
18272 * sunrpc/xdr_sizeof.c: Likewise.
18273 * sunrpc/xdr_stdio.c: Likewise.
18274
b5c086a2
RM
182752012-05-10 Roland McGrath <roland@hack.frob.com>
18276
18277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18278 change. Update copyright years.
18279
6d74dd09
JM
182802012-05-10 Joseph Myers <joseph@codesourcery.com>
18281
18282 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18283
28e72501
MK
182842012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18285 Joseph Myers <joseph@codesourcery.com>
18286 Paul Pluzhnikov <ppluzhnikov@google.com>
18287
18288 [BZ #14012]
18289 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18290 requiring rpcgen.
18291 [cross-compiling] (extra-libs): Likewise.
18292 [cross-compiling] (extra-libs-others): Likewise.
18293 [cross-compiling] (librpcsvc-routines): Likewise.
18294 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18295 [cross-compiling] (omit-deps): Likewise.
18296 (sunrpc-CPPFLAGS): New variable.
18297 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18298 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18299 (cross-rpcgen-objs): New variable.
18300 (extra-objs): Append $(cross-rpcgen-objs).
18301 ($(cross-rpcgen-objs)): New rule.
18302 ($(objpfx)cross-rpcgen): Likewise.
18303 (rpcgen-cmd): Define to use $(built-program-file). Expand
18304 comment.
18305 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18306 ($(objpfx)x%.stmp): Likewise.
18307 * sunrpc/proto.h [IS_IN_build] (_): Define.
18308 [IS_IN_build] (_libc_intl_domainname): Likewise.
18309
c8c59454
L
183102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18311
18312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18313 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18314 and R_X86_64_TPOFF64.
18315
6f27cd16
JM
183162012-05-10 Joseph Myers <joseph@codesourcery.com>
18317
18318 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18319 sysdeps/unix/sysv/syscalls.list.
18320 (stime): Likewise.
18321 (utime): Likewise.
18322 * sysdeps/unix/sysv/syscalls.list: Remove file.
18323
02467e1c
PE
183242012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18325
18326 [BZ #3440]
18327 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18328 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18329 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18330 (__LC_IDENTIFICATION): Make these macros useful in #if
18331 expressions, as required by C99.
18332
da392631
AS
183332012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18334
18335 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18336 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18337 after this.
18338
8115f29b
L
183392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18340
18341 * stdlib/longlong.h: Updated from GCC.
18342
bdd74070
AJ
183432012-05-09 Andreas Jaeger <aj@suse.de>
18344
edfe0dbe
AJ
18345 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18346 default is first entry.
18347 (run_mode): Set type.
18348 (main): Remove informal message about syslog.
18349 (options): Fix typo.
18350
bcfe3a54
ST
18351 [BZ #14053]
18352 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18353 to asm.
bcfe3a54
ST
18354 (lrint): Likewise.
18355 (llrintf): Likewise.
18356 (llrint): Likewise.
18357 (rint): Likewise.
18358 (rintf): Likewise.
18359 (nearbyint): Likewise.
18360 (nearbyintf): Likewise.
bdd74070 18361
91d8d69e
AJ
183622012-05-09 Andreas Jaeger <aj@suse.de>
18363 Pedro Alves <palves@redhat.com>
18364
18365 * nscd/nscd.c (run_mode): Use enum.
18366 (main): Cleanup coding style issue.
18367
bb90b80b
AJ
183682012-05-09 Alexandre Oliva <aoliva@redhat.com>
18369 Andreas Jaeger <aj@suse.de>
18370
bcfe3a54
ST
18371 * nscd/nscd.c (go_background): Replaced with...
18372 (run_mode): ... this.
bb90b80b 18373 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18374 (options): Add -F --foreground.
18375 (main): Implement it.
18376 (parse_opt): Parse it.
bb90b80b 18377
1a4b75a1
AJ
183782012-05-09 Andreas Jaeger <aj@suse.de>
18379
18380 [BZ #14083]
18381 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18382 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18383 -Wconversion warning.
18384 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18385 Likewise.
18386
b1cc2472
JM
183872012-05-09 Joseph Myers <joseph@codesourcery.com>
18388
18389 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18390 == 0.
18391 (LC_ALL): Use macro-int-constant.
18392 (LC_COLLATE): Likewise.
18393 (LC_CTYPE): Likewise.
18394 (LC_MESSAGES): Likewise.
18395 (LC_MONETARY): Likewise.
18396 (LC_NUMERIC): Likewise.
18397 (LC_TIME): Likewise.
18398 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18399 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18400 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18401 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18402 Specify type.
18403 [C99-based standards] (float_t): Expect type.
18404 [C99-based standards] (double_t): Expect type.
18405 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18406 type.
18407 [C99-based standards] (HUGE_VALL): Likewise.
18408 [C99-based standards] (INFINITY): Likewise.
18409 [C99-based standards] (NAN): Likewise.
18410 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18411 [C99-based standards] (FP_NAN): Likewise.
18412 [C99-based standards] (FP_NORMAL): Likewise.
18413 [C99-based standards] (FP_SUBNORMAL): Likewise.
18414 [C99-based standards] (FP_ZERO): Likewise.
18415 [C99-based standards] (FP_FAST_FMA): Use
18416 optional-macro-int-constant. Specify type. Require == 1.
18417 [C99-based standards] (FP_FAST_FMAF): Likewise.
18418 [C99-based standards] (FP_FAST_FMAL): Likewise.
18419 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18420 [C99-based standards] (FP_ILOGBNAN): Likewise.
18421 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18422 Specify type.
18423 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18424 [C99-based standards] (math_errhandling): Specify type.
18425 [ISO99 || ISO11] (signgam): Do not allow.
18426 [non-C99-based standards] (copysignf): Do not allow.
18427 [non-C99-based standards] (exp2f): Likewise.
18428 [non-C99-based standards] (log2f): Likewise.
18429 [non-C99-based standards] (modff): Allow.
18430 [non-C99-based standards] (erff): Do not allow.
18431 [non-C99-based standards] (erfcf): Likewise.
18432 [non-C99-based standards] (gammaf): Likewise.
18433 [non-C99-based standards] (hypotf): Likewise.
18434 [non-C99-based standards] (j0f): Likewise.
18435 [non-C99-based standards] (j1f): Likewise.
18436 [non-C99-based standards] (jnf): Likewise.
18437 [non-C99-based standards] (lgammaf): Likewise.
18438 [non-C99-based standards] (tgammaf): Likewise.
18439 [non-C99-based standards] (y0f): Likewise.
18440 [non-C99-based standards] (y1f): Likewise.
18441 [non-C99-based standards] (ynf): Likewise.
18442 [non-C99-based standards] (isnanf): Likewise.
18443 [non-C99-based standards] (acoshf): Likewise.
18444 [non-C99-based standards] (asinhf): Likewise.
18445 [non-C99-based standards] (atanhf): Likewise.
18446 [non-C99-based standards] (cbrtf): Likewise.
18447 [non-C99-based standards] (expm1f): Likewise.
18448 [non-C99-based standards] (ilogbf): Likewise.
18449 [non-C99-based standards] (log1pf): Likewise.
18450 [non-C99-based standards] (logbf): Likewise.
18451 [non-C99-based standards] (nextafterf): Likewise.
18452 [non-C99-based standards] (remainderf): Likewise.
18453 [non-C99-based standards] (rintf): Likewise.
18454 [non-C99-based standards] (scalbf): Likewise.
18455 [non-C99-based standards] (copysignl): Likewise.
18456 [non-C99-based standards] (exp2l): Likewise.
18457 [non-C99-based standards] (log2l): Likewise.
18458 [non-C99-based standards] (modfl): Allow.
18459 [non-C99-based standards] (erfl): Do not allow.
18460 [non-C99-based standards] (erfcl): Likewise.
18461 [non-C99-based standards] (gammal): Likewise.
18462 [non-C99-based standards] (hypotl): Likewise.
18463 [non-C99-based standards] (j0l): Likewise.
18464 [non-C99-based standards] (j1l): Likewise.
18465 [non-C99-based standards] (jnl): Likewise.
18466 [non-C99-based standards] (lgammal): Likewise.
18467 [non-C99-based standards] (tgammal): Likewise.
18468 [non-C99-based standards] (y0l): Likewise.
18469 [non-C99-based standards] (y1l): Likewise.
18470 [non-C99-based standards] (ynl): Likewise.
18471 [non-C99-based standards] (isnanl): Likewise.
18472 [non-C99-based standards] (acoshl): Likewise.
18473 [non-C99-based standards] (asinhl): Likewise.
18474 [non-C99-based standards] (atanhl): Likewise.
18475 [non-C99-based standards] (cbrtl): Likewise.
18476 [non-C99-based standards] (expm1l): Likewise.
18477 [non-C99-based standards] (ilogbl): Likewise.
18478 [non-C99-based standards] (log1pl): Likewise.
18479 [non-C99-based standards] (logbl): Likewise.
18480 [non-C99-based standards] (nextafterl): Likewise.
18481 [non-C99-based standards] (remainderl): Likewise.
18482 [non-C99-based standards] (rintl): Likewise.
18483 [non-C99-based standards] (scalbl): Likewise.
18484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18485 [non-C99-based standards] (FP_*): Do not allow.
18486 [C99-based standards] (FP_*): Change to
18487 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18488 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18489 allow.
18490 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18491 (SIG_ERR): Likewise.
18492 [X/Open-based standards] (SIG_HOLD): Likewise.
18493 (SIG_IGN): Likewise.
18494 (SIGABRT): Use macro-int-constant. Specify type. Require
18495 positive value.
18496 (SIGFPE): Likewise.
18497 (SIGILL): Likewise.
18498 (SIGINT): Likewise.
18499 (SIGSEGV): Likewise.
18500 (SIGTER): Likewise.
18501 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18502 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18503 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18504 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18505 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18506 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18507 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18508 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18509 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18510 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18511 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18512 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18513 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18514 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18515 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18516 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18517 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18518 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18519 [X/Open-based standards] (SIGTRAP): Likewise.
18520 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18521 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18522 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18523 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18524 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18525 allow.
18526
b9f1922d
IW
185272012-05-08 Ian Wienand <ianw@vmware.com>
18528
18529 [BZ #14080]
18530 * time/tzset.c (__tzset_parse_tz): Update default rules for
18531 daylight time changes in the Energy Policy Act of 2005.
18532
1db86e88
AJ
185332012-05-09 Andreas Jaeger <aj@suse.de>
18534
18535 [BZ #13983]
18536 * elf/ldconfig.c (parse_conf): Change string to make clear that
18537 ldconfig only issued a warning if ld.so.conf does not exist.
18538
dee4a4e3
DM
185392012-05-08 David S. Miller <davem@davemloft.net>
18540
ee0db190
DM
18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18542 movxtod instead of popping the value on the stack.
18543
dee4a4e3
DM
18544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18545
6a43ec98
CD
185462012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18547
18548 * config.h.in: Add HAVE_ARM_PCS_VFP.
18549
05c2c961
RMG
185502012-05-08 Roland Mc Grath <roland@hack.frob.com>
18551
bcfe3a54
ST
18552 [BZ #13979]
18553 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18554 checking but the checks are disabled for any reason.
05c2c961 18555
4b30f61a
L
185562012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18557
18558 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18559 and ELF64_R_TYPE with ELFW(R_TYPE).
18560
eee2bc67
JM
185612012-05-08 Joseph Myers <joseph@codesourcery.com>
18562
7ea5391a
JM
18563 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18564 (ulimit): Likewise.
18565
eee2bc67
JM
18566 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18567 (settimeofday): Likewise.
18568
abb66a67
MF
185692012-05-08 Mike Frysinger <vapier@gentoo.org>
18570
18571 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18572 a struct th_u2 inside the union, and move tu_block/tu_code into
18573 a new th_u3 union of tu_block/tu_code inside of that. Move
18574 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18575 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18576 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18577 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18578 (th_stuff): Change to th_u1.tu_stuff.
18579 (th_data): Define.
18580 (th_msg): Change to th_u1.th_u2.tu_data.
18581
7f18b530
DM
185822012-05-07 David S. Miller <davem@davemloft.net>
18583
05760585
DM
18584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18585
7f18b530
DM
18586 [BZ #14074]
18587 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18588 (SETUP_PIC_REG): Use it.
18589 (SETUP_PIC_REG_LEAF): Use it.
18590
495fd99f
JM
185912012-05-07 Joseph Myers <joseph@codesourcery.com>
18592
18593 [BZ #13885]
18594 [BZ #13923]
18595 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18596 USE_AS_EXPM1L.
18597 (EXPL_FINITE): Likewise.
18598 (FLDLOG): Likewise.
18599 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18600 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18601 e_expl.S.
18602 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18603 USE_AS_EXPM1L.
18604 (EXPL_FINITE): Likewise.
18605 (FLDLOG): Likewise.
18606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18607 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18608 e_expl.S.
18609 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18610 test of -max_value argument for long double.
18611 * sysdeps/i386/fpu/libm-test-ulps: Update.
18612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18613
6693d694
DM
186142012-05-06 David S. Miller <davem@davemloft.net>
18615
18616 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18617 quad soft-float symbols whose references which are compiler
18618 generated.
18619 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18620
6c23e11c
JM
186212012-05-06 Joseph Myers <joseph@codesourcery.com>
18622
d8b82cad
JM
18623 [BZ #13884]
18624 [BZ #13914]
18625 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18626 USE_AS_EXP10L.
18627 (EXPL_FINITE): Likewise.
18628 (FLDLOG): Likewise.
18629 (c0): Likewise.
18630 (c1): Likewise.
18631 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18632 Adjust comments for base varying.
18633 (__expl_finite): Change alias to EXPL_FINITE.
18634 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18635 e_expl.S.
18636 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18637 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18638 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18639 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18641 USE_AS_EXP10L.
18642 (EXPL_FINITE): Likewise.
18643 (FLDLOG): Likewise.
18644 (c0): Likewise.
18645 (c1): Likewise.
18646 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18647 Adjust comments for base varying.
18648 (__expl_finite): Change alias to EXPL_FINITE.
18649 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18650 tests for bugs.
18651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18652
6c23e11c
JM
18653 [BZ #14064]
18654 * math/libm-test.inc (check_float_internal): Correct ulp
18655 calculation for subnormal expected results.
18656
29ba805c
AJ
186572012-05-06 Andreas Jaeger <aj@suse.de>
18658
18659 * Makeconfig (+math-flags): New, set to -frounding-math.
18660 (+cflags): Add +math-flags so that all of glibc gets compiled with
18661 it.
18662
18663 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18664
7b17aeda
JM
186652012-05-05 Joseph Myers <joseph@codesourcery.com>
18666
5779f134
JM
18667 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18668 Disable one test.
18669
41498f4d
JM
18670 [BZ #13787]
18671 [BZ #13922]
18672 [BZ #14036]
18673 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18674 (__ieee754_expl): Allow for and saturate large arguments.
18675 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18676 (u_threshold): Likewise.
18677 (__exp): Call __ieee754_exp before checking for overflow and
18678 underflow.
18679 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18680 (u_threshold): Likewise.
18681 (__expf): Call __ieee754_expf before checking for overflow and
18682 underflow.
18683 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18684 (u_threshold): Likewise.
18685 (__expl): Call __ieee754_expl before checking for overflow and
18686 underflow.
18687 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18688 (__ieee754_expl): Allow for and saturate large arguments.
18689 * math/libm-test.inc (exp_test): Add another test. Do not allow
18690 missing overflow exception on overflow.
18691 (expm1_test): Do not allow missing overflow exception on overflow.
18692
6698b8bf
JM
18693 * sysdeps/i386/fpu/e_expl.c: Move to ...
18694 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18695 rather than using inline asm.
18696 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18697 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18698 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18699
7b17aeda
JM
18700 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18701 (nice): Likewise.
18702 (poll): Likewise.
18703 (signal): Likewise.
18704 (time): Likewise.
18705 (times): Likewise.
18706
f7c85819
JM
187072012-05-04 Joseph Myers <joseph@codesourcery.com>
18708
18709 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18710 sysdeps/unix/common/syscalls.list.
18711 (fchmod): Likewise.
18712 (fchown): Likewise.
18713 (ftruncate): Likewise.
18714 (getrusage): Likewise.
18715 (gettimeofday): Likewise.
18716 (setpgid): Likewise.
18717 (setregid): Likewise.
18718 (setreuid): Likewise.
18719 (sigaction): Likewise.
18720 (truncate): Likewise.
18721 (vhangup): Likewise.
18722 * sysdeps/unix/common/syscalls.list: Remove file.
18723 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18724 * sysdeps/unix/sysv/linux/Implies: Likewise.
18725
336270d0
L
187262012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18727
18728 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18730 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18731 Moved to ...
18732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18733 Here.
18734 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18735 to ...
18736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18737 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18738 to ...
18739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18740 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18741 to ...
18742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18743 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18744 to ...
18745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18746 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18747 to ...
18748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18749 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18750 to ...
18751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18752 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18753 to ...
18754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18755 Here.
18756 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18757 to ...
18758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18759 Here.
18760 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18761 to ...
18762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18763 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18764 Moved to ...
18765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18766 Here.
18767 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18768 to ...
18769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18770
d128e450
JM
187712012-05-04 Joseph Myers <joseph@codesourcery.com>
18772
fa8ee516
JM
18773 * sysdeps/unix/common/bits/dirent.h: Remove file.
18774 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18775
d128e450
JM
18776 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18777 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18778 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18779 * sysdeps/unix/bsd/isatty.c: Likewise.
18780 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18781 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18782 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18783
ff8faaf0 187842012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18785
62881be4 18786 [BZ #13563]
31dc8730
AZ
18787 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18788 long double comparison inaccuracies.
18789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18791
6fef930c
AS
187922012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18793
18794 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18796
8f203e6c
JM
187972012-05-04 Joseph Myers <joseph@codesourcery.com>
18798
18799 [BZ #14049]
18800 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18801 nonzero digits before rounding a hex value.
18802 * stdlib/tst-strtod.c (tests): Add another test.
18803
5197d9c2
AK
188042012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18805
18806 * sysdeps/s390/fpu/libm-test-ulps: Update.
18807
f0c1dedf
AJ
188082012-05-03 Andreas Jaeger <aj@suse.de>
18809
18810 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18811 does not get optimized out.
18812 (malloc_opt_barrier): New.
18813
a65ef2ae 188142012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18815 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18816
2b942cb7 18817 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18818 intermediate file deletion.
2b942cb7 18819 (generated): Add .symlist files.
a65ef2ae 18820
54b71e02
JM
188212012-05-03 Joseph Myers <joseph@codesourcery.com>
18822
18823 [BZ #13775]
18824 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18825 Redirect under this condition.
18826 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18827 [__USE_GNU] (__dprintf_chk): Not under this condition.
18828 [__USE_GNU] (__vdprintf_chk): Likewise.
18829 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18830 under this condition.
18831 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18832 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18833 [__USE_XOPEN2K8] (vdprintf): Likewise.
18834 [__USE_GNU] (__dprintf_chk): Not under this condition.
18835 [__USE_GNU] (__vdprintf_chk): Likewise.
18836 [__USE_GNU] (dprintf): Likewise.
18837 [__USE_GNU] (vdprintf): Likewise.
18838
d3dfcc41
RM
188392012-05-03 Roland McGrath <roland@hack.frob.com>
18840
18841 * elf/Makefile (common-generated): Set this instead of generated for
18842 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18843 $(all-built-dso)-derived lists.
18844
7ac30cc5
AJ
188452012-05-03 Andreas Jaeger <aj@suse.de>
18846
0c51e550
AJ
18847 * sysdeps/i386/fpu/libm-test-ulps: Update.
18848
7ac30cc5
AJ
18849 * FAQ: Removed.
18850 * FAQ.in: Likewise.
18851 * scripts/gen-FAQ.pl: Likewise.
18852 * manual/install.texi (Installation): Point to online location of
18853 FAQ.
18854 * Makefile (files-for-dist): Remove FAQ.
18855 (FAQ): Remove.
18856
d4c2917f
AM
188572012-05-02 Allan McRae <allan@archlinux.org>
18858
18859 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18860 (LDFLAGS-reldepmod5.so): Likewise.
18861 (LDFLAGS-reldep6mod1.so): Likewise.
18862 (LDFLAGS-reldep6mod4.so): Likewise.
18863 (LDFLAGS-reldep8mod3.so): Likewise.
18864 (LDFLAGS-unload4mod1.so): Likewise.
18865 (LDFLAGS-unload4mod2.so): Likewise.
18866 (LDFLAGS-tst-initorder): Likewise.
18867 (LDFLAGS-tst-initordera2.so): Likewise.
18868 (LDFLAGS-tst-initordera3.so): Likewise.
18869 (LDFLAGS-tst-initordera4.so): Likewise.
18870 (LDFLAGS-tst-initorderb2.so): Likewise.
18871 (LDFLAGS-noload): Likewise.
18872 (LDFLAGS-next): Likewise.
18873 (LDFLAGS-order2mod1.so): Likewise.
18874 (LDFLAGS-order2mod2.so): Likewise.
18875 (LDFLAGS-tst-initorder2): Likewise.
18876 (LDFLAGS-tst-initorder2a.so): Likewise.
18877 (LDFLAGS-tst-initorder2b.so): Likewise.
18878 (LDFLAGS-tst-initorder2c.so): Likewise.
18879 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18880
d77f993f
DM
188812012-05-02 David S. Miller <davem@davemloft.net>
18882
18883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18884
171a70b4
PP
188852012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18886
18887 [BZ #14055]
18888 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18889
0be196ad
AJ
188902012-05-02 Andreas Jaeger <aj@suse.de>
18891
18892 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18893 since we manipulate rounding mode.
18894 (CPPFLAGS-test-idouble.c): Likewise.
18895 (CPPFLAGS-test-ifloat.c): Likewise.
18896 (CFLAGS-test-ldouble.c): Likewise.
18897 (CFLAGS-test-double.c): Likewise.
18898 (CFLAGS-test-float.c): Likewise.
18899 (CFLAGS-test-misc.c): Likewise.
18900 (CFLAGS-test-test-fenv.c): Likewise.
18901
4f9d04aa
AZ
189022012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18903
2b942cb7
RM
18904 [BZ #2550]
18905 [BZ #2570]
18906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18907 comparisons to determine direction to adjust input.
4f9d04aa 18908
82a79e7d
RM
189092012-05-01 Roland McGrath <roland@hack.frob.com>
18910
f5a01ca9
RM
18911 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18912 output to the target.
18913
90fe4186
RM
18914 * scripts/localplt.awk: New file.
18915 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18916 (check-localplt-CFLAGS): Variable removed.
18917 ($(all-built-dso:=.jmprel)): New static pattern rule.
18918 (generated): Add those targets.
18919 (localplt-built-dso): New variable.
18920 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18921
18922 * elf/check-localplt.c: File removed.
18923
82397ed6
RM
18924 * scripts/check-execstack.awk: New file.
18925 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18926 (check-execstack-CFLAGS): Variable removed.
18927 ($(objpfx)check-execstack.h): Target removed.
18928 ($(objpfx)execstack-default): New target.
18929 (generated): Add that instead of check-execstack.h.
18930 ($(all-built-dso:=.phdr)): New static pattern rule.
18931 (generated): Add those targets.
18932 * elf/check-execstack.c: File removed.
18933
82a79e7d
RM
18934 * scripts/check-textrel.awk: New file.
18935 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18936 (check-textrel-CFLAGS): Variable removed.
18937 (all-built-dso): Use := to define.o
18938 ($(all-built-dso:=.dyn)): New static pattern rule.
18939 (generated): Add those targets.
18940 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18941 * config.make.in (READELF): New substituted variable.
18942 * elf/check-textrel.c: File removed.
18943
62fde54f 189442012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18945
615605c9
JM
18946 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18947 allow.
18948 * conform/data/ctype.h-data [C99-based standards] (isblank):
18949 Expect function.
18950 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18951 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18953 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18954 Specify type. Require positive value.
18955 (EILSEQ): Likewise.
18956 (ERANGE): Likewise.
18957 [ISO || POSIX] (EILSEQ): Do not expect.
18958 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18959 Specify type. Require positive value.
18960 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18961 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18962 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18963 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18964 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18965 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18966 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18967 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18968 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18969 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18970 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18971 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18972 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18973 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18974 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18975 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18976 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18977 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18978 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18979 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18980 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18981 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18982 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18983 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18984 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18985 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18986 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18987 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18988 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18989 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18990 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18991 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18992 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18993 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18994 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18995 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18996 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18997 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18998 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18999 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19000 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19001 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19002 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19003 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19004 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19005 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19006 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19007 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19008 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19009 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19010 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19011 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19024 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19029 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19030 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19031 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19032 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19033 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19034 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19035 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19036 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19037 Require >= 2.
19038 (FLT_ROUNDS): Expect as macro, not constant.
19039 (FLT_MANT_DIG): Use macro-int-constant.
19040 (DBL_MANT_DIG): Likewise.
19041 (LDBL_MANT_DIG): Likewise.
19042 (FLT_DIG): Likewise.
19043 (DBL_DIG): Likewise.
19044 (LDBL_DIG): Likewise.
19045 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19046 (DBL_MIN_EXP): Likewise.
19047 (LDBL_MIN_EXP): Likewise.
19048 (FLT_MAX_EXP): Use macro-int-constant.
19049 (DBL_MAX_EXP): Likewise.
19050 (LDBL_MAX_EXP): Likewise.
19051 (FLT_MAX_10_EXP): Likewise.
19052 (DBL_MAX_10_EXP): Likewise.
19053 (LDBL_MAX_10_EXP): Likewise.
19054 (FLT_MAX): Use macro-constant.
19055 (DBL_MAX): Likewise.
19056 (LDBL_MAX): Likewise.
19057 (FLT_EPSILON): Use macro-constant. Give upper bound.
19058 (DBL_EPSILON): Likewise.
19059 (LDBL_EPSILON): Likewise.
19060 (FLT_MIN): Likewise.
19061 (DBL_MIN): Likewise.
19062 (LDBL_MIN): Likewise.
19063 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19064 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19065 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19066 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19067 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19068 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19069 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19070 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19071 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19072 [ISO11] (FLT_TRUE_MIN): Likewise.
19073 [ISO11] (LDBL_TRUE_MIN): Likewise.
19074 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19075 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19076 (SCHAR_MIN): Use macro-int-constant. Specify type.
19077 (SCHAR_MAX): Likewise.
19078 (UCHAR_MAX): Likewise.
19079 (CHAR_MIN): Likewise.
19080 (CHAR_MAX): Likewise.
19081 (MB_LEN_MAX): Use macro-int-constant.
19082 (SHRT_MIN): Use macro-int-constant. Specify type.
19083 (SHRT_MAX): Likewise.
19084 (USHRT_MAX): Likewise.
19085 (INT_MAX): Likewise.
19086 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19087 bound negative.
19088 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19089 bound with "U".
19090 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19091 bound with "L".
19092 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19093 bound negative. Suffix upper bound with "L".
19094 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19095 bound with "UL".
19096 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19097 Specify type.
19098 [C99-based standards] (LLONG_MAX): Likewise.
19099 [C99-based standards] (ULLONG_MAX): Likewise.
19100 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19101 == 0.
19102 [ISO11] (max_align_t): Require type.
19103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19104
c9140a62
JM
19105 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19106 from $CFLAGS, without defining away __attribute__ calls.
19107 (checknamespace): Use $CFLAGS_namespace.
19108
9af0bf29
JM
19109 * conform/conformtest.pl (@keywords): Only include C99 keywords
19110 for standards based on C99 or C11.
19111
343222a2
JM
19112 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19113 Disable tests.
19114 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19115 UNIX98]: Likewise.
19116
661f8cf0
JM
19117 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19118 usability of symbols in #if.
19119
ee74b9cb
JM
19120 * conform/conformtest.pl: If macro or constant types start
19121 "promoted:", expect the symbol to be of the following type
19122 promoted by the integer promotions.
62fde54f 19123
aafc49b3
JM
19124 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19125 in one place. Also handle "macro-constant".
19126
fefdf574
JM
19127 * conform/conformtest.pl: Only accept expected macro values with
19128 "==". Parse all "macro" lines in one place.
19129 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19130
f2d922fe
JM
19131 * conform/conformtest.pl: Handle braced types on "constant" lines
19132 instead of handling "typed-constant".
19133 * conform/data/signal.h-data: Use "constant" instead of
19134 "typed-constant".
19135
d22956c9
JM
19136 * conform/conformtest.pl: Handle "optional-" at start of lines in
19137 one place rather than duplicating several cases. Handle each
19138 format of "macro" line with initial "optional-".
19139
028e2e38
JM
19140 * conform/conformtest.pl: Only accept expected constant or
19141 optional-constant values with "==". Parse all "constant" lines in
19142 one place. Parse all "optional-constant" lines in one place.
19143 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19144 * conform/data/fmtmsg.h-data: Likewise.
19145 * conform/data/netinet/in.h-data: Likewise.
19146 * conform/data/tar.h-data: Likewise.
19147 * conform/data/limits.h-data: Use "==" form on "constant" and
19148 "optional-constant" lines.
19149
1b8f2850
JM
19150 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19151 Use -std=c99 for XOPEN2K.
19152 (@knownproblems): Remove.
19153 (newtoken): Don't check %isknown.
19154
a05a144b
JM
19155 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19156 Do not expect macro.
19157 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19169 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19170 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19187 [XPG3] (acosh): Likewise.
19188 [XPG3] (asinh): Likewise.
19189 [XPG3] (atanh): Likewise.
19190 [XPG3] (cbrt): Likewise.
19191 [XPG3] (expm1): Likewise.
19192 [XPG3] (ilogb): Likewise.
19193 [XPG3] (log1p): Likewise.
19194 [XPG3] (logb): Likewise.
19195 [XPG3] (nextafter): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19198 [XPG3] (remainder): Likewise.
19199 [XPG3] (rint): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19207 [UNIX98 || XOPEN2K] (scalb): Expect.
19208 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19209 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19271 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19272 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19273 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19274 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19275 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19276 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19277 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19278 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19279 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19280 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19281 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19282 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19283 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19284 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19285 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19286 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19287 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19288 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19289 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19290 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19291 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19292 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19293 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19294 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19295 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19296 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19297 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19298 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19299 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19300 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19301 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19302 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19303 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19304 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19305 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19306 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19307 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19308 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19309 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19310 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19311 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19312 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19313 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19314 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19315 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19316 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19317 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19318 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19319 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19320 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19321 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19322 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19323 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19324 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19325 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19326 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19327 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19328 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19329 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19330 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19331 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19332 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19333 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19334 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19335 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19336 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19337 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19338 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19339 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19340 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19341 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19342 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19343 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19344 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19345
73c5ebe3
JM
19346 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19347 _XOPEN_SOURCE_EXTENDED for XPG4.
19348
39c33b6c
JM
19349 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19350
62fde54f
JM
19351 * Makeconfig (localtime): Remove variable.
19352 (inst_localtime-file): Likewise.
19353
0741d64c
AS
193542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19355
19356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19357 Update.
19358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19359 Update.
19360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19361 Update.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19363 Update.
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19365 Update.
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19367 Update.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19369 Update.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19371 Update.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19373 Update.
19374
7cb029ee
JM
193752012-05-01 Joseph Myers <joseph@codesourcery.com>
19376
19377 [BZ #2550]
19378 [BZ #2570]
19379 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19380 comparisons to determine direction to adjust input.
19381 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19382 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19383 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19384 Likewise.
19385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19386 Likewise.
19387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19388 Likewise.
19389 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19390 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19391 Likewise.
19392 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19393 Likewise.
19394 * math/libm-test.inc (nexttoward_test): Add more tests.
19395
412bd966
AS
193962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19397
19398 [BZ #14040]
19399 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19400 in version GLIBC_2.1, not GLIBC_2.0.
19401 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19402 Likewise.
19403
9568c0c2
JM
194042012-04-30 Joseph Myers <joseph@codesourcery.com>
19405
adfbc8ac
JM
19406 [BZ #13942]
19407 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19408 (1 - x) * (1 + x).
19409 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19410 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19411 * math/libm-test.inc (acos_test): Add more tests.
19412 (asin_test): Likewise.
19413 * sysdeps/i386/fpu/libm-test-ulps: Update.
19414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19415
5ba3cc69
JM
19416 [BZ #14034]
19417 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19418 of square root.
19419 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19420 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19421 * math/libm-test.inc (acos_test_tonearest): New function.
19422 (acos_test_towardzero): Likewise.
19423 (acos_test_downward): Likewise.
19424 (acos_test_upward): Likewise.
19425 (asin_test_tonearest): Likewise.
19426 (asin_test_towardzero): Likewise.
19427 (asin_test_downward): Likewise.
19428 (asin_test_upward): Likewise.
19429 (main): Call the new functions.
19430 * sysdeps/i386/fpu/libm-test-ulps: Update.
19431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19432
9568c0c2
JM
19433 [BZ #13884]
19434 [BZ #13924]
19435 * math/e_exp10.c: Include <float.h>.
19436 (__ieee754_exp10): Handle underflow here rather than multiplying
19437 large negative argument by M_LN10.
19438 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19439 of __ieee754_expf.
19440 * math/e_exp10l.c: Include <float.h>.
19441 (__ieee754_exp10l): Handle underflow here rather than multiplying
19442 large negative argument by M_LN10l.
19443 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19444 spurious overflow exception on underflow.
19445
5ac3ea17
MP
194462012-04-29 Marek Polacek <polacek@redhat.com>
19447
19448 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19449 (__fortify_function): New macro.
19450 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19451 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19452 __extern_always_inline.
19453 * libio/bits/stdio2.h: Likewise.
19454 * libio/bits/stdio.h: Likewise.
19455 * string/string.h: Likewise.
19456 * string/bits/string3.h: Likewise.
19457 * include/stdio.h: Likewise.
19458 * stdlib/bits/stdlib.h: Likewise.
19459 * stdlib/stdlib.h: Likewise.
19460 * rt/bits/mqueue2.h: Likewise.
19461 * rt/mqueue.h: Likewise.
19462 * posix/bits/unistd.h: Likewise.
19463 * posix/unistd.h: Likewise.
19464 * io/bits/poll2.h: Likewise.
19465 * io/bits/fcntl2.h: Likewise.
19466 * io/fcntl.h: Likewise.
19467 * io/sys/poll.h: Likewise.
19468 * misc/bits/syslog.h: Likewise.
19469 * misc/bits/syslog-ldbl.h: Likewise.
19470 * misc/sys/syslog.h: Likewise.
19471 * socket/bits/socket2.h: Likewise.
19472 * socket/sys/socket.h: Likewise.
19473 * debug/tst-chk1.c: Likewise.
19474 * wcsmbs/bits/wchar2.h: Likewise.
19475 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19476 * wcsmbs/wchar.h: Likewise.
19477
ecf0ebfb
AJ
194782012-04-29 Andreas Jaeger <aj@suse.de>
19479
19480 * Makerules (tests): Remove enable-check-abi protection.
19481 (check-abi-warn): Remove.
19482 (check-abi-%): Remove check-abi-warn usage.
19483
19484 * configure.in: Remove check-abi configure option.
19485 * configure: Regenerated.
19486 * config.make.in (enable-check-abi): Remove.
19487
6d5c57fa
AS
194882012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19489
24c5d07e 19490 [BZ #14033]
ded5180a
AS
19491 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19492 double functions to double *_finite functions.
19493
7e0d315d
AS
19494 [BZ #13941]
19495 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19496 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19497 LDBL_MIN_EXP.
19498 * stdio-common/Makefile (tests): Add tst-sprintf3.
19499 * stdio-common/tst-sprintf3.c: New file.
19500
6d5c57fa
AS
19501 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19502 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19503
0749ff8b
JM
195042012-04-28 Joseph Myers <joseph@codesourcery.com>
19505
19506 * conform/conformtest.pl: Remove duplicate typed-constant
19507 handling.
19508
8dbd5d7b
DM
195092012-04-28 David S. Miller <davem@davemloft.net>
19510
19511 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19512 (check-abi-%): Remove AWK script prerequisite and explicit
19513 abilist directory.
19514 (check-abi): Rewrite to just diff the symlist with the abilist.
19515 (config-tls, config-abi-config): Delete, no longer used.
19516 (update-abi-%): Remove AWK script and explicit abilist directory.
19517 (update-abi): Rewrite to simply compare and conditionally copy the
19518 symlist and the sysdep abilist file. Remove update-abi-config
19519 checks.
19520 * abilist/ld.abilist: Remove.
19521 * abilist/libBrokenLocale.abilist: Remove.
19522 * abilist/libanl.abilist: Remove.
19523 * abilist/libcrypt.abilist: Remove.
19524 * abilist/libdl.abilist: Remove.
19525 * abilist/librt.abilist: Remove.
19526 * abilist/libthread_db.abilist: Remove.
19527 * abilist/libutil.abilist: Remove.
19528 * scripts/extract-abilist.awk: Remove.
19529 * scripts/merge-abilist.awk: Remove.
19530 * sysdeps/generic/libcidn.abilist: New file.
19531 * sysdeps/generic/libnss_compat.abilist: New file.
19532 * sysdeps/generic/libnss_db.abilist: New file.
19533 * sysdeps/generic/libnss_dns.abilist: New file.
19534 * sysdeps/generic/libnss_files.abilist: New file.
19535 * sysdeps/generic/libnss_hesiod.abilist: New file.
19536 * sysdeps/generic/libnss_nis.abilist: New file.
19537 * sysdeps/generic/libnss_nisplus.abilist: New file.
19538 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19539 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19540 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19541 file.
19542 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19543 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19544 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19545 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19546 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19547 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19548 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19549 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19550 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19551 file.
19552 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19553 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19554 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19555 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19556 file.
19557 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19558 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19559 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19560 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19561 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19562 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19563 file.
19564 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19565 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19566 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19567 file.
19568 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19570 New file.
19571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19572 New file.
19573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19574 New file.
19575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19576 New file.
19577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19578 New file.
19579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19580 New file.
19581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19582 New file.
19583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19584 New file.
19585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19586 New file.
19587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19588 New file.
19589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19590 New file.
19591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19592 New file.
19593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19594 New file.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19596 file.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19598 New file.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19600 New file.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19602 file.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19604 New file.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19606 New file.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19608 file.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19610 New file.
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19612 New file.
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19614 New file.
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19616 New file.
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19618 New file.
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19620 New file.
19621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19623 file.
19624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19625 New file.
19626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19627 file.
19628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19629 file.
19630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19631 file.
19632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19633 file.
19634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19635 file.
19636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19637 New file.
19638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19639 file.
19640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19641 file.
19642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19643 New file.
19644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19645 file.
19646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19648 file.
19649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19650 New file.
19651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19652 file.
19653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19654 file.
19655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19656 file.
19657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19658 file.
19659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19660 file.
19661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19662 New file.
19663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19664 file.
19665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19666 file.
19667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19668 New file.
19669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19670 file.
19671 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19672 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19673 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19674 file.
19675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19676 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19677 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19678 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19679 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19680 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19681 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19682 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19683 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19684 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19687 file.
19688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19689 New file.
19690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19691 file.
19692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19693 file.
19694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19695 file.
19696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19697 file.
19698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19699 file.
19700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19701 New file.
19702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19703 New file.
19704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19705 file.
19706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19707 New file.
19708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19709 file.
19710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19712 file.
19713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19714 New file.
19715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19716 file.
19717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19718 file.
19719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19720 file.
19721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19722 file.
19723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19724 file.
19725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19726 New file.
19727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19728 New file.
19729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19730 file.
19731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19732 New file.
19733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19734 file.
19735
41d73a1b
JM
197362012-04-28 Joseph Myers <joseph@codesourcery.com>
19737
19738 * conform/conformtest.pl: Fix typo in handling typed-constant from
19739 allow-header.
19740
28aeeda4
JM
197412012-04-27 Joseph Myers <joseph@codesourcery.com>
19742
adae8f5e
JM
19743 * README: Cut down references to pre-2.6 Linux kernels and
19744 Linuxthreads. Update lists of configurations in libc and ports
19745 and sort alphabetically. Say "or newer" with Linux kernel version
19746 requirements.
19747
28aeeda4
JM
19748 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19749
a462cb63
RA
197502012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19751
19752 [BZ #887]
19753 * math/libm-test.inc (logb_test_downward): New test to expose
19754 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19755 rounding mode.
19756
6ad3493e
JM
197572012-04-27 Joseph Myers <joseph@codesourcery.com>
19758
19759 [BZ #14027]
19760 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19761 to be done.
19762 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19763 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19764
2ce4f015
JM
197652012-04-26 Joseph Myers <joseph@codesourcery.com>
19766
5aeb141a
JM
19767 * sysdeps/unix/i386/brk.S: Remove file.
19768 * sysdeps/unix/i386/dl-brk.S: Likewise.
19769 * sysdeps/unix/i386/pipe.S: Likewise.
19770 * sysdeps/unix/i386/sigreturn.S: Likewise.
19771 * sysdeps/unix/i386/syscall.S: Likewise.
19772 * sysdeps/unix/i386/vfork.S: Likewise.
19773 * sysdeps/unix/i386/wait.S: Likewise.
19774
7143acae
JM
19775 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19776 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19777
2ce4f015
JM
19778 * configure.in (arm*-none*): Do not allow without
19779 --enable-hacker-mode.
19780 (netbsd*): Remove case setting base_os.
19781 (386bsd*): Likewise.
19782 (freebsd*): Likewise.
19783 (bsdi*): Likewise.
19784 (osf*): Likewise.
19785 (sunos*): Likewise.
19786 (ultrix*): Likewise.
19787 (newsos*): Likewise.
19788 (dynix*): Likewise.
19789 (*bsd*): Likewise.
19790 (sysv*): Likewise.
19791 (isc*): Likewise.
19792 (esix*): Likewise.
19793 (sco*): Likewise.
19794 (minix*): Likewise.
19795 (irix4*): Likewise.
19796 (irix6*): Likewise.
19797 (solaris[2-9]*): Likewise.
19798 (none): Likewise.
19799 * configure: Regenerated.
19800
0ac229c8
AZ
198012012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19802
19803 [BZ #11521]
19804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19805 overflow or cancellation in calculating denominator.
19806 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19808 down expression to avoid unexpected rounding in newer GCCs.
19809 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19810
33f244f4
DM
198112012-04-26 David S. Miller <davem@davemloft.net>
19812
19813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19814 long-double compat symbols.
19815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19828
cfa1f3e8
DM
198292012-04-25 David S. Miller <davem@davemloft.net>
19830
19831 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19832 HWCAP_* values only after the memory barriers have been defined.
19833 (atomic_full_barrier): Define.
19834 (atomic_read_barrier): Define.
19835 (atomic_write_barrier): Define.
19836
6e236b92
SP
198372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19838
19839 * shlib-versions: Add libgcc_s version information.
19840 * sysdeps/generic/libgcc_s.h: Remove.
19841 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19842 libgcc_s.h.
19843 * sysdeps/gnu/unwind-resume.c: Likewise.
19844 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19845
aab39a09
DM
198462012-04-25 David S. Miller <davem@davemloft.net>
19847
19848 * sysdeps/unix/sparc/brk.S: Delete.
19849 * sysdeps/unix/sparc/dl-brk.S: Delete.
19850 * sysdeps/unix/sparc/pipe.S: Delete.
19851 * sysdeps/unix/sparc/sysdep.S: Delete.
19852 * sysdeps/unix/sparc/sysdep.h: Delete.
19853 * sysdeps/unix/sparc/vfork.S: Delete.
19854 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19855 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19857 ret_ERRVAL, r0, r1, MOVE): Define.
19858 (JUMPTARGET): Remove.
19859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19860 sysdeps/unix/sparc/sysdep.h
19861 (ENTRY, END): Remove.
19862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19863
a3cc4f48
JM
198642012-04-25 Joseph Myers <joseph@codesourcery.com>
19865
2ed8cda2
JM
19866 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19867 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19868 -DIS_IN_build.
19869
35d76d59
JM
19870 * timezone/README: Update upstream location and email address for
19871 tzcode and tzdata.
19872 * timezone/zdump.c: Update from tzcode 2012b.
19873 * timezone/zic.c: Likewise.
19874
a3cc4f48
JM
19875 * configure.in (libc_cv_as_needed): Remove test.
19876 * configure: Regenerated.
19877 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19878 conditional definition.
19879 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19880 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19881 * config.make.in (have-as-needed): Remove variable.
19882
ceab42c3
SP
198832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19884 Paul Pluzhnikov <ppluzhnikov@google.com>
19885
19886 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19887 strings correctly.
19888
3ce2865f
CLT
198892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19890
19891 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19892 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19893 * sysdeps/sh/strlen.S: Likewise.
19894
f37e0d68
JM
198952012-04-24 Joseph Myers <joseph@codesourcery.com>
19896
ae186e9a
JM
19897 * sysdeps/unix/fork.S: Remove file.
19898 * sysdeps/unix/i386/fork.S: Likewise.
19899 * sysdeps/unix/sparc/fork.S: Likewise.
19900
b96914af
JM
19901 * sysdeps/unix/system.c: Remove file.
19902 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19903
f37e0d68
JM
19904 * sysdeps/unix/getegid.S: Remove file.
19905 * sysdeps/unix/geteuid.S: Likewise.
19906
87ef29ca
RM
199072012-04-24 Roland McGrath <roland@hack.frob.com>
19908
83bcd236
RM
19909 * scripts/check-localplt.awk: New file.
19910 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19911 of diff.
19912 * scripts/data/localplt-generic.data: Add a comment.
19913
87ef29ca
RM
19914 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19915 NODE when __dir_mkfile failed.
19916 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19917 Reported by Ludovic Courtès <ludo@gnu.org>.
19918
e5a6e567
AJ
199192012-04-24 Andreas Jaeger <aj@suse.de>
19920
19921 * Makerules (common-clean): Also remove gen-as-const-headers
19922 files.
19923
c1820385
JM
199242012-04-24 Joseph Myers <joseph@codesourcery.com>
19925
19926 * Makerules (native-compile): Do not change working directory for
19927 build. Use $(OUTPUT_OPTION) in command.
19928 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19929
94e02fc4
AZ
199302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19931
19932 [BZ #13886]
19933 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19934 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19935 * math/libm-test.inc (floor_test): Add more tests.
19936 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19937
3a533ca3
JM
199382012-04-24 Joseph Myers <joseph@codesourcery.com>
19939
940ab4b3
JM
19940 * sysdeps/unix/getdents.c: Remove file.
19941 * sysdeps/unix/sysv/getdents.c: Likewise.
19942 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19943
90e037bd
JM
19944 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19945 sysdeps/unix/mman/syscalls.list.
19946 (mmap): Likewise.
19947 (mprotect): Likewise.
19948 (msync): Likewise.
19949 (munmap): Likewise.
19950 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19951 * sysdeps/unix/mman/syscalls.list: Remove.
19952 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19953
3a533ca3
JM
19954 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19955 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19956 * configure: Regenerated.
19957 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19958 $(libgcc_s_suffix).
19959 * config.make.in (libgcc_s_suffix): Remove variable.
19960
1ad743de
JM
199612012-04-23 Joseph Myers <joseph@codesourcery.com>
19962
4ad451e2
JM
19963 * sysdeps/unix/sysv/gethostname.c: Move to ...
19964 * sysdeps/posix/gethostname.c: ... here.
19965
5e37ce39
JM
19966 * sysdeps/unix/execve.S: Remove file.
19967
1ad743de
JM
19968 * sysdeps/unix/_exit.S: Remove file.
19969
4e681b5b
AJ
199702012-04-23 Andreas Jaeger <aj@suse.de>
19971
19972 [BZ #13739]
19973 * manual/Makefile: Remove make dist support, there's no
19974 need for a stand-alone documentation tar ball.
19975 (TEXI2DVI): Define always, it's not in Makeconfig.
19976 (dist): Removed.
19977 (tar-it): Removed.
19978 (edition): Removed.
19979 (glibc-doc-$(edition).tar): Removed
19980 (%.Z): Removed.
19981 (%.gz): Removed.
19982 (%.uu): Removed.
19983 (ETAGS): Remove, it's in Makeconfig.
19984 (move-if-change): Remove, it's in Makeconfig.
19985
38686a03 199862012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19987
19988 [BZ #13970]
19989 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19990 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19991 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19992 (strtod_l, strtof_l, strtold_l): Remove __wur.
19993 It is not necessarily an error to ignore strtol's return value.
19994 One can reliably look at the stored endptr to decide whether
19995 the number had valid syntax.
19996
7c0616fa
AJ
199972012-04-21 Andreas Jaeger <aj@suse.de>
19998
803cb6b7 19999 [BZ #13739]
7c0616fa
AJ
20000 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20001
b0fe253f
JM
200022012-04-21 Joseph Myers <joseph@codesourcery.com>
20003
20004 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20005 * sysdeps/unix/sysv/Versions: Remove file.
20006
8280f22d
MT
200072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20008
20009 [BZ #13927]
20010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20011
75ce411f 200122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20013
20014 [BZ #7064]
20015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20016 version from __vm86.
20017
097d59fa
JM
200182012-04-20 Joseph Myers <joseph@codesourcery.com>
20019
a90f3bcb
JM
20020 * sysdeps/unix/common/lxstat.c: Remove file.
20021 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20022
edc7ea78
JM
20023 * sysdeps/unix/sysv/Makefile: Remove file.
20024
cb78c221
JM
20025 * sysdeps/unix/sysv/direct.h: Remove file.
20026
efa6a45f
JM
20027 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20028 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20029 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20030 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20031 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20032 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20033 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20034
9c9f2d0c
JM
20035 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20036
4541c83b
JM
20037 * sysdeps/unix/xmknod.c: Remove file.
20038 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20039
f5d153a0
JM
20040 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20041
aa746595
JM
20042 * sysdeps/unix/sysv/i386/time.S: Remove file.
20043
cce5905e
JM
20044 * sysdeps/unix/fxstat.c: Remove file.
20045 * sysdeps/unix/xstat.c: Likewise.
20046 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20047
37fa3841
JM
20048 * sysdeps/unix/sysv/sigaction.c: Remove file.
20049
ff1962a3
JM
20050 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20051 (sysdep_headers): Remove variable.
20052 [termio.h not in sysdep_headers] (generated): Likewise.
20053 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20054 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20055 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20056 * sysdeps/unix/sysv/tcflow.c: Likewise.
20057 * sysdeps/unix/sysv/tcflush.c: Likewise.
20058 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20059 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20060 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20061 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20062 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20063
e7740d31
JM
20064 * sysdeps/unix/siglist.c: Remove file.
20065
ee06f18b
JM
20066 * sysdeps/unix/getppid.S: Remove file.
20067
097d59fa
JM
20068 * sysdeps/unix/mkdir.c: Remove file.
20069 * sysdeps/unix/rmdir.c: Likewise.
20070
ff3d51ec
AS
200712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20072
20073 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20074 ERR_MAX value.
20075 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20076 errlist-compat value.
20077
50f81fd7
DM
200782012-04-18 David S. Miller <davem@davemloft.net>
20079
20080 * sysdeps/generic/memcopy.h (reg_char): Delete.
20081 * debug/strcat_chk.c: Use char, not reg_char.
20082 * debug/strcpy_chk.c: Likewise.
20083 * debug/strncat_chk.c: Likewise.
20084 * debug/strncpy_chk.c: Likewise.
20085 * string/memchr.c: Likewise.
20086 * string/memrchr.c: Likewise.
20087 * string/rawmemchr.c: Likewise.
20088 * string/strcat.c: Likewise.
20089 * string/strchr.c: Likewise.
20090 * string/strchrnul.c: Likewise.
20091 * string/strcmp.c: Likewise.
20092 * string/strcpy.c: Likewise.
20093 * string/strncat.c: Likewise.
20094 * string/strncmp.c: Likewise.
20095 * string/strncpy.c: Likewise.
20096
8ff41c46
WS
200972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20098
20099 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20100 __builtin_memcopy is called when src and dest ranges are known to not
20101 overlap.
20102
6b652f46
WS
201032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20104
20105 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20106 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20107 fwd_align_merge macro call.
20108 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20109 bwd_align_merge macro call.
20110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20111
b282631e
WS
201122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20113
20114 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20115 bwd_align_merge macros.
20116 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20117 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20118 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20119
95aa737c
DM
201202012-04-18 David S. Miller <davem@davemloft.net>
20121
20122 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20123
7a99a614
AJ
201242012-04-18 Andreas Jaeger <aj@suse.de>
20125
20126 [BZ# 6794]
20127 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20128 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20129 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20130
20131 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20132 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20134
20135 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20136 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20137 Adjust for changed ldbl-128 files.
20138
20139 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20140 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20141 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20142
e5270c23
DM
201432012-04-17 David S. Miller <davem@davemloft.net>
20144
20145 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20146
fb5e92c9
AS
201472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20148
20149 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20150 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20151 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20152 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20153 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20154 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20155
76da7265
AZ
201562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20157
20158 [BZ #6794]
20159 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20160 * math/libm-test.inc: Add ilogb errno and exception tests.
20161 * math/w_ilogb.c: New file: ilogb wrapper.
20162 * math/w_ilogbf.c: New file: ilogbf wrapper.
20163 * math/w_ilogbl.c: New file: ilogbl wrapper.
20164 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20165 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20166 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20167 exception being thrown with 0.0 as argument.
20168 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20169 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20170 exception being thrown with 0.0 as argument.
20171 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20172 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20173 exception being thrown with 0.0 as argument.
20174 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20175 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20176 exception being thrown with 0.0 as argument.
20177 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20178 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20179 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20180 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20181 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20182 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20183 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20184 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20185 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20186
0396e69d
PB
201872012-04-17 Petr Baudis <pasky@ucw.cz>
20188
20189 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20190 with altivec.
20191
750b5926
MP
201922012-04-16 Marek Polacek <polacek@redhat.com>
20193
20194 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20195
751728a1
MP
201962012-04-16 Marek Polacek <polacek@redhat.com>
20197
20198 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20199 operands of fdivp instruction.
20200
34a27407
L
202012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20202
20203 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20204 * elf/tst-auditmod3b.c: Likewise.
20205 * elf/tst-auditmod4b.c: Likewise.
20206 * elf/tst-auditmod5b.c: Likewise.
20207 * elf/tst-auditmod6b.c: Likewise.
20208 * elf/tst-auditmod6c.c: Likewise.
20209 * elf/tst-auditmod7b.c: Likewise.
20210 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20211 * sysdeps/x86_64/preconfigure.in: Likewise.
20212 * sysdeps/x86_64/preconfigure: Regenerated.
20213
7e73e17d
L
202142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20215
20216 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20217 __ILP32__.
20218
c7a6ab72
AB
202192012-04-13 Antoine Balestrat <merkil33@gmail.com>
20220
20221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20222 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20223
a9e8e0e0
CL
202242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20225
20226 [BZ #13973]
20227 * locale/iso-639.def: Fix gl language name. Spotted by
20228 Yaron Shahrabani.
20229
ec98af7d
RM
202302012-04-12 Roland McGrath <roland@hack.frob.com>
20231
20232 [BZ #2074]
20233 * libio/libio.h (__io_write_fn): Update comment.
20234
247c3ede
PB
202352012-04-12 Petr Baudis <pasky@ucw.cz>
20236
20237 [BZ #2074]
20238 * stdio.texi (Hook Functions): The user provided writer function
20239 is not allowed to return -1.
20240
55939d6d
DM
202412012-04-11 David S. Miller <davem@davemloft.net>
20242
20243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20244
90020f5a
MF
202452012-04-11 Mike Frysinger <vapier@gentoo.org>
20246
20247 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20248 Add a leading slash to rtkaio.
20249
288f9098
JM
202502012-04-11 Jim Meyering <meyering@redhat.com>
20251
90020f5a
MF
20252 [BZ #11959]
20253 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20254 It is not necessarily an error to ignore fwrite's return
20255 value. One can reliably use ferror to test for errors after
20256 the fact.
288f9098 20257
4be2b570
L
202582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20259
20260 * bits/types.h (__snseconds_t): New type.
20261 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20262
20263 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20265 (__SNSECONDS_T_TYPE): Likewise.
20266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20267 (__SNSECONDS_T_TYPE): Likewise.
20268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20269 (__SNSECONDS_T_TYPE): Likewise.
20270
288f9098 202712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20272
20273 [BZ #2636]
20274 * manual/time.texi (Processor Time): Return type of times is
20275 elapsed real time since an arbitrary point in the past.
20276 (CPU Time): Move CLK_TCK from here...
20277 (Processor Time): ...to here. Correct description.
20278 * manual/conf.texi (Constants for Sysconf): Correct description of
20279 _SC_CLK_TCK.
20280
d7dd4413
DM
202812012-04-10 David S. Miller <davem@davemloft.net>
20282
20283 [BZ #13967]
20284 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20285 where the is a gap between DT_REL(A) and DT_JMPREL.
20286
b46068fc
L
202872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20288
20289 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20290 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20291 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20292
73d65cc3
SP
202932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20294
20295 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20296 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20297 (dl_main): Handle --inhibit-cache.
20298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20299 _dl_inhibit_cache.
20300 * elf/dl-load.c (_dl_map_object): Use it.
20301 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20302
bcc8d661
JM
203032012-04-09 Joseph Myers <joseph@codesourcery.com>
20304
8f9a2fae
JM
20305 [BZ #13872]
20306 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20307 (__ieee754_powl): Saturate large exponents rather than testing for
20308 overflow of y*log2(x).
20309 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20310 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20311 exceptions.
20312
bcc8d661
JM
20313 [BZ #11521]
20314 * math/s_ctan.c: Include <float.h>.
20315 (__ctan): Avoid internal overflow or cancellation in calculating
20316 denominator.
20317 * math/s_ctanf.c: Likewise.
20318 * math/s_ctanl.c: Likewise.
20319 * math/s_ctanh.c: Likewise.
20320 * math/s_ctanhf.c: Likewise.
20321 * math/s_ctanhl.c: Likewise.
20322 * math/libm-test.inc (ctan_test): Add more tests.
20323 (ctanh_test): Likewise.
20324 * sysdeps/i386/fpu/libm-test-ulps: Update.
20325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20326
823fbbb4
AJ
203272012-04-09 Andreas Jaeger <aj@suse.de>
20328
03879793
AJ
20329 [BZ #6894]
20330 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20331 is an optional BSD extension.
20332
823fbbb4
AJ
20333 [BZ #10254]
20334 * manual/stdio.texi (Opening Streams): Document additional fopen
20335 parameters.
20336
8de131cb
RM
203372012-04-09 Roland McGrath <roland@hack.frob.com>
20338
20339 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20340 %eax without telling the compiler.
20341
c0ed9d7d
CD
203422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20343
20344 [BZ # 13963]
20345 * manual/install.texi: Use sourceware.org.
20346
c483f6b4
JM
203472012-04-09 Joseph Myers <joseph@codesourcery.com>
20348
d7dd9453
JM
20349 [BZ #13873]
20350 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20351 (__ieee754_pow): Generate overflow and underflow using huge*huge
20352 and tiny*tiny rather than just returning constant infinity or zero
20353 for large exponents.
20354 * math/libm-test.inc (pow_test): Require overflow exceptions for
20355 applicable cases of large exponents.
20356
c483f6b4
JM
20357 [BZ #706]
20358 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20359 (__ieee754_pow): Use iterative multiplication algorithm only for
20360 integer exponents with absolute value below 1024. Check for odd
20361 integer exponents when using algorithm for real exponents.
20362 * math/libm-test.inc (pow_test): Add more tests.
20363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20364
d2de7579
JM
203652012-04-08 Joseph Myers <joseph@codesourcery.com>
20366
20367 [BZ #13705]
20368 * math/libm-test.inc (exp_test): Do not allow overflow exception
20369 on underflow test.
20370
f77f1232
AJ
203712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20372
20373 [BZ #13705]
20374 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20375 instead of __kernel_standard_f.
20376
3884932b
MF
203772012-04-08 Mike Frysinger <vapier@gentoo.org>
20378
20379 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20380 * sysdeps/x86_64/memset_chk.S: Likewise.
20381
54472e9c
AJ
203822012-04-08 Andreas Jaeger <aj@suse.de>
20383
6ab0fbfc
AJ
20384 [BZ #10153]
20385 * manual/startup.texi (Environment Access): Describe return value
20386 for putenv and setenv.
20387
61efba8c
AJ
20388 [BZ #6895]
20389 * manual/filesys.texi (Directory Entries): Add description for
20390 DT_LNK.
20391
95c3f29a
AJ
20392 [BZ #6890]
20393 * manual/filesys.texi (Directory Entries): Clarify that it's file
20394 system not operating system in the description of DT_UNKNOWN.
20395
54472e9c
AJ
20396 [BZ #6578]
20397 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20398
624254b1
SC
203992012-04-08 Stephen Compall <s11@member.fsf.org>
20400
20401 [BZ #6649]
20402 * manual/llio.texi (Opening and Closing Files): Add cross
20403 reference to explain mode argument.
20404
1e4920e0
MF
204052012-04-07 Mike Frysinger <vapier@gentoo.org>
20406
20407 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20408 * sysdeps/x86_64/memset_chk.S: Likewise.
20409
5ed848f3
DM
204102012-04-07 David S. Miller <davem@davemloft.net>
20411
20412 * elf/elf.h (R_SPARC_WDISP10): Define.
20413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20414 R_SPARC_SIZE32.
20415 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20416 R_SPARC_SIZE64 and R_SPARC_H34.
20417
96154cd8
CD
204182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20419
20420 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20421 conditions and remove no longer applicable assertion.
20422
9904dc47
L
204232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20424
20425 * bits/byteswap.h: Include <features.h>.
20426 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20427 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20428
f8887d0a
L
204292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20430
20431 * bits/byteswap.h (__bswap_16): Removed.
20432 Include <bits/byteswap-16.h> to get __bswap_16.
20433 * sysdeps/i386/bits/byteswap.h: Likewise.
20434 * sysdeps/s390/bits/byteswap.h: Likewise.
20435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20436 * bits/byteswap-16.h: New file.
20437 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20438 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20439 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20440 * string/Makefile (headers): Add bits/byteswap-16.h.
20441
62470f60
PP
204422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20443
20444 [BZ #13895]
20445 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20446 extra indirection.
20447 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20448 * nss/tst-nss-static.c: New.
20449
4dad7bab
RM
204502012-04-06 Robert Millan <rmh@gnu.org>
20451
20452 [BZ #6486]
20453 * manual/llio.texi (File Position Primitive): lseek
20454 refers to WHENCE when it really means OFFSET.
20455
e9142a17
AJ
204562012-04-06 Andreas Jaeger <aj@suse.de>
20457
2c040eff
AJ
20458 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20459 strncmp declarations.
20460
e9142a17
AJ
20461 * abilist/libc.abilist: Add __poll and __ppoll.
20462
ff9f1c5f
DM
204632012-04-05 David S. Miller <davem@davemloft.net>
20464
dcd2ae90
DM
20465 * scripts/check-local-headers.sh: Accept a host triplet in the
20466 path matched by the exclude regexp.
20467
993eb054
DM
20468 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20469 definition.
20470 * sysdeps/powerpc/powerpc32/dl-machine.h
20471 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20472 * sysdeps/s390/s390-32/dl-machine.h
20473 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20474 * sysdeps/sparc/sparc32/dl-machine.h
20475 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20476 * sysdeps/sparc/sparc64/dl-machine.h
20477 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20478
ff9f1c5f
DM
20479 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20480 lazy binding.
48e2e132 20481 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20482 undefined symbol errors.
20483
48e2e132 20484 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20485 DT_NEEDED entries.
20486
e80d6f94
MM
204872012-04-05 Michael Matz <matz@suse.de>
20488
20489 [BZ #13592]
20490 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20491
349fa79f
AJ
204922012-04-05 Andreas Jaeger <aj@suse.de>
20493
20494 [BZ #13908]
20495 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20496 comment.
20497
f402708f
KK
204982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20499
20500 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20501 which ROUND is no valid rounding mode.
20502
2ecccfc9
KK
205032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20504
20505 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20506 read again.
20507 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20508
8a53f50f
KK
205092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20510
20511 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20512 an exception using FPU order intentionally.
20513
205142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20515
20516 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20517 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20518 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20519 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20520
d653abb7
SJ
205212012-04-05 Simon Josefsson <simon@josefsson.org>
20522
20523 [BZ #12340]
20524 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20525 EINVAL when BUFLEN is too smal.
20526
c3b1bf7d
TS
205272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20528
20529 [BZ #13553]
20530 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20531 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20532
b1aa60f3
AJ
205332012-04-03 Andreas Jaeger <aj@suse.de>
20534
c3b1bf7d 20535 [BZ #13938]
67f60a26
AJ
20536 * manual/setjmp.texi (System V contexts): Fix sentence.
20537
b1aa60f3
AJ
20538 [BZ #13926]
20539 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20540 New macro for this case.
20541 [!__GNUC__] (__bswap_64): New inline function for this case.
20542 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20543 * bits/byteswap.h: Likewise.
20544 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20545 ull, guard with __GLIBC_HAVE_LONG_LONG.
20546
20547 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20548 __GLIBC_HAVE_LONG_LONG.
20549
20550 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20551 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20552
39c59c35
TMQMF
205532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20554
20555 [BZ #13691]
20556 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20557 inptr and inend, rather than using last_ch.
20558
135ffda8
DM
205592012-04-02 David S. Miller <davem@davemloft.net>
20560
20561 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20562 * stdio-common/printf-parse.h (read_int): Change return type to
20563 'int', return -1 on INT_MAX overflow.
20564 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20565 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20566 overflows INT_MAX. Check for overflow of in-format-string precision
20567 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20568 SIZE_MAX not INT_MAX for integer overflow test.
20569 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20570 skip the construct in the format string but do not record anything.
20571 * stdio-common/bug22.c: Adjust to test both width/prevision
20572 INT_MAX overflow as well as total length INT_MAX overflow. Check
20573 explicitly for proper errno values.
20574
228c019e
TS
205752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20576
302cadd3
TS
20577 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20578 CHAR_MAX.
20579 * string/test-strcmp.c [! WIDE]: Likewise.
20580 * time/tst-mktime2.c: Likewise for INT_MAX.
20581 * string/test-string.h: #include <sys/param.h> for MIN.
20582
228c019e
TS
20583 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20584 * sysdeps/i386/init-first.c (init): Likewise.
20585 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20586 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20587 * sysdeps/sh/init-first.c (init): Likewise.
20588
cfa633f5
UD
205892012-04-01 Ulrich Drepper <drepper@gmail.com>
20590
20591 * po/ru.po: Update from translation team.
d1635ef8 20592 * po/vi.po: Likewise.
cfa633f5 20593
6cd0a5ea
SP
205942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20595
20596 * resolv/nss_dns/dns-host.c: Merge copyright years.
20597
4b43400f
LD
205982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20599
20600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20601 Optimize memcpy with prefetch if
20602 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20603 src, dst pointers have unequal 16 byte alignments.
20604
48c41d04
SP
206052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20606
20607 [BZ #13928]
20608 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20609 from a CNAME entry and return the minimum ttl for the query.
20610 (gaih_getanswer_slice): Likewise.
20611
b8dc394d
JL
206122012-03-30 Jeff Law <law@redhat.com>
20613
20614 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20615 due to long keys.
20616 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20617 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20618
2f5a5ed0
JL
20619 * resolv/nss_dns/dns-host.c: Update copyright year.
20620
1d39e359
UD
206212012-03-30 Ulrich Drepper <drepper@gmail.com>
20622
c030f70c 20623 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20624 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20625
1d39e359
UD
20626 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20627 comments for sendmmsg.
20628
206292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20630
20631 [BZ #13691]
20632 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20633 with only 1 character between 0x0041 and 0x01b0.
20634 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20635 * wcsmbs/tst-mbsnrtowcs.c: New file.
20636
20fde227
DM
206372012-03-29 David S. Miller <davem@davemloft.net>
20638
20639 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20640 small copies by hand.
20641
984a4237
JL
206422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20643
20644 [BZ #13761]
20645 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20646 _nss_compat_initgroups_dyn): Fall back to malloc/free
20647 for large group memberships.
20648
18c9d62b
DM
206492012-03-28 David S. Miller <davem@davemloft.net>
20650
88d85d4f
DM
20651 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20652 that branches into memcpy.
20653 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20655 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20656 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20658 bits.
20659 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20660 implementation too.
20661 * sysdeps/sparc/mempcpy.S: New file.
20662
e5aa83e1
DM
20663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20664 the IFUNC routine in the libc case.
20665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20666
88570753
DM
20667 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20668 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20669 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20670 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20671 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20672 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20673 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20674 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20675
249d7567
DM
20676 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20677 loop to 256 bytes instead of 64 bytes and fix test signedness.
20678
18c9d62b
DM
20679 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20680 * sysdeps/sparc/sparc32/Makefile: rather than here...
20681 * sysdeps/sparc/sparc64/Makefile: and here.
20682
05f3d1f6
UD
206832012-03-28 Ulrich Drepper <drepper@gmail.com>
20684
20685 * malloc/mallocbug.c: Avoid warnings about unused variables.
20686
86ae07a8
JL
206872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20688
20689 [BZ #13760]
20690 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20691 in the right place. Discard and retry query if response is
20692 larger than input buffer size.
20693
41bf21a1
JM
206942012-03-28 Joseph Myers <joseph@codesourcery.com>
20695
d6270972
JM
20696 [BZ #369]
20697 [BZ #2678]
20698 [BZ #3866]
20699 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20700 x for large integer exponent.
20701 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20702 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20703 sign of result as needed afterwards.
20704 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20705 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20706 result for underflowing pow the same as for overflow.
20707 (__kernel_standard_l): Handle powl overflow and underflow here
20708 rather than calling __kernel_standard.
20709 * math/libm-test.inc (pow_test): Add more tests.
20710
414fca03 20711 [BZ #3868]
41bf21a1
JM
20712 [BZ #13879]
20713 [BZ #13910]
20714 [BZ #13911]
20715 [BZ #13912]
20716 [BZ #13913]
20717 [BZ #13915]
20718 [BZ #13916]
20719 [BZ #13917]
20720 [BZ #13918]
20721 [BZ #13919]
20722 [BZ #13920]
20723 [BZ #13921]
20724 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20725 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20726 (__kernel_standard_l): New function.
20727 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20728 __kernel_standard.
20729 * math/w_acosl.c (__acosl): Likewise.
20730 * math/w_asinl.c (__asinl): Likewise.
20731 * math/w_atan2l.c (__atan2l): Likewise.
20732 * math/w_atanhl.c (__atanhl): Likewise.
20733 * math/w_coshl.c (__coshl): Likewise.
20734 * math/w_exp10l.c (__exp10l): Likewise.
20735 * math/w_exp2l.c (__exp2l): Likewise.
20736 * math/w_fmodl.c (__fmodl): Likewise.
20737 * math/w_hypotl.c (__hypotl): Likewise.
20738 * math/w_j0l.c (__j0l, __y0l): Likewise.
20739 * math/w_j1l.c (__j1l, __y1l): Likewise.
20740 * math/w_jnl.c (__jnl, __ynl): Likewise.
20741 * math/w_lgammal.c (__lgammal): Likewise.
20742 * math/w_log10l.c (__log10l): Likewise.
20743 * math/w_log2l.c (__log2l): Likewise.
20744 * math/w_logl.c (__logl): Likewise.
20745 * math/w_powl.c (__powl): Likewise.
20746 * math/w_remainderl.c (__remainderl): Likewise.
20747 * math/w_scalbl.c (sysv_scalbl): Likewise.
20748 * math/w_sinhl.c (__sinhl): Likewise.
20749 * math/w_sqrtl.c (__sqrtl): Likewise.
20750 * math/w_tgammal.c (__tgammal): Likewise.
20751 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20752 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20753 * math/libm-test.inc (acos_test): Add more tests.
20754 (acosh_test): Likewise.
20755 (asin_test): Likewise.
20756 (atanh_test): Likewise.
20757 (exp_test): Likewise.
20758 (exp10_test): Likewise.
20759 (exp2_test): Likewise.
20760 (expm1_test): Likewise.
20761 (lgamma_test): Likewise.
20762 (log_test): Likewise.
20763 (log10_test): Likewise.
20764 (log1p_test): Likewise.
20765 (log2_test): Likewise.
20766 (pow_test): Do not allow some spurious overflow exceptions.
20767 (sqrt_test): Add more tests.
20768 (tgamma_test): Likewise.
20769 (y0_test): Likewise.
20770 (y1_test): Likewise.
20771 (yn_test): Likewise.
20772
dd62fda6
AB
207732012-03-27 Anton Blanchard <anton@samba.org>
20774
20775 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20776 MAP_HUGETLB.
20777 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20778 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20779 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20780
1e3cdfda
AJ
207812012-03-27 David S. Miller <davem@davemloft.net>
20782
b855ab85
DM
20783 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20784
1e3cdfda
AJ
20785 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20786 have-as-vis3 check.
20787
207882012-03-27 Andreas Jaeger <aj@suse.de>
20789
20790 * sysdeps/x86_64/elf/configure.in: Moved to ...
20791 * sysdeps/x86_64/configure.in: ... here.
20792 * sysdeps/x86_64/elf/start.S: Moved to ...
20793 * sysdeps/x86_64/start.S: ... here.
20794 * sysdeps/x86_64/elf/configure: Delete.
20795
20796 * sysdeps/x86_64/configure.in: Merge contents from
20797 sysdeps/i386/configure.in (without i686 check).
20798
20799 * sysdeps/i386/elf/Versions: Merge into ...
20800 * sysdeps/i386/Versions: ... this.
20801 * sysdeps/i386/elf/Versions: Delete file.
20802 * sysdeps/i386/elf/start.S: Moved to ...
20803 * sysdeps/i386/start.S: ...here.
20804 * sysdeps/i386/elf/configure.in: Merge into...
20805 * sysdeps/i386/configure.in: ...here.
20806 * sysdeps/i386/elf/configure.in: Delete file.
20807 * sysdeps/i386/elf/configure: Delete file.
20808
20809 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20810 * debug/backtracesyms.c: ... here.
20811 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20812 * debug/backtracesymsfd.c: ... here.
20813 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20814 * sysdeps/generic/ifunc-sel.h: ... here.
20815
20816 * sysdeps/unix/i386/start.c: Delete file.
20817 * sysdeps/unix/sparc/start.c: Delete file.
20818 * sysdeps/unix/start.c: Delete file.
20819
20820 * sysdeps/sh/elf/configure.in: Moved to ...
20821 * sysdeps/sh/configure.in: ... here.
20822 * sysdeps/sh/elf/start.S: Moved to ...
20823 * sysdeps/sh/start.S: ... here.
20824 * sysdeps/sh/elf/configure: Delete file.
20825
20826 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20827 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20828 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20829 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20830 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20831 * sysdeps/powerpc/powerpc64/start.S: here.
20832 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20833 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20834 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20835 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20836 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20837
20838 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20839 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20840 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20841 * sysdeps/powerpc/powerpc32/start.S: ... here.
20842 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20843 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20844 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20845
20846 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20847 * sysdeps/powerpc/ifunc-sel.h: ... here.
20848 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20849 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20850
20851 * sysdeps/sparc/elf/configure.in: Moved to ...
20852 * sysdeps/sparc/configure.in: ... here.
20853 * sysdeps/sparc/elf/configure: Delete file.
20854 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20855 * sysdeps/sparc/sparc32/start.S: ... here.
20856 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20857 * sysdeps/sparc/sparc64/start.S: ... here.
20858 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20859 * sysdeps/sparc/sparc32/Makefile: ... this.
20860 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20861 * sysdeps/sparc/sparc64/Makefile: ... this.
20862
20863 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20864 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20865 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20866 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20867 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20868 * sysdeps/s390/s390-32/setjmp.S: ... here.
20869 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20870 * sysdeps/s390/s390-32/configure.in: ... here.
20871 * sysdeps/s390/s390-32/elf/configure: Delete file.
20872 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20873 * sysdeps/s390/s390-32/start.S: ... here.
20874
20875 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20876 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20877 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20878 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20879 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20880 * sysdeps/s390/s390-64/setjmp.S: ... here.
20881 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20882 * sysdeps/s390/s390-64/configure.in: ... here
20883 * sysdeps/s390/s390-64/elf/configure: Delete file.
20884 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20885 * sysdeps/s390/s390-64/start.S: ... here.
20886 * sysdeps/s390/s390-64/elf/configure: Delete.
20887
20888 * configure.in: Remove support for elf directories in sysdeps.
20889
20890 * configure: Regenerated.
20891 * sysdeps/i386/configure: Regenerated.
20892 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20893 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20894 * sysdeps/s390/s390-32/configure: Regenerated.
20895 * sysdeps/s390/s390-64/configure: Regenerated.
20896 * sysdeps/sh/configure: Regenerated.
20897 * sysdeps/sparc/configure: Regenerated.
20898 * sysdeps/x86_64/configure: Regenerated.
20899
a3f61311
AS
209002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20901
c876e002
AS
20902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20903
a3f61311
AS
20904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20905 denormal result into account.
20906
ac4c54f0
RM
209072012-03-25 Roland McGrath <roland@hack.frob.com>
20908
20909 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20910 Reported by Allan McRae <allan@archlinux.org>.
20911
6a9b9c02
JL
209122012-03-23 Jeff Law <law@redhat.com>
20913
20914 * nss/getnssent.c (__nss_getent): Fix typo.
20915
4c42a0c1
DM
209162012-03-23 David S. Miller <davem@davemloft.net>
20917
20918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20919
1532c7ac
L
209202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20923 to pad to uint64_t for each field.
20924 (dl_tls_index): Replace unsigned long with uint64_t.
20925
3ff42526
PP
209262012-03-23 Daniel Jacobowitz <dmj@google.com>
20927 Paul Pluzhnikov <ppluzhnikov@google.com>
20928
20929 [BZ #6528]
20930 * grp/Makefile (otherlibs): Don't set it.
20931 * inet/Makefile (otherlibs): Likewise.
20932 * login/Makefile (otherlibs): Likewise.
20933 * nscd/Makefile (otherlibs): Likewise.
20934 * posix/Makefile (otherlibs): Likewise.
20935 * pwd/Makefile (otherlibs): Likewise.
20936 * rt/Makefile (otherlibs): Likewise.
20937 * sunrpc/Makefile (otherlibs): Likewise.
20938 * nss/Makefile (otherlibs): Likewise.
20939 Add libnss_files to routines and static-only-routines.
20940 ($(objpfx)getent): Remove rule.
20941 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20942 static-only-routines.
20943
7c69cd14
JM
209442012-03-22 Joseph Myers <joseph@codesourcery.com>
20945
20946 [BZ #13892]
20947 * math/s_cexp.c: Include <float.h>.
20948 (__cexp): Handle exp result overflowing not necessarily
20949 overflowing both real and imaginary parts of result.
20950 * math/s_cexpf.c: Likewise.
20951 * math/s_cexpl.c: Likewise.
20952 * math/libm-test.inc (cexp_test): Add more tests.
20953 * sysdeps/i386/fpu/libm-test-ulps: Update.
20954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20955
81b035fe
L
209562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20957
20958 * include/link.h (ELFW): New macro.
20959 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20960 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20961
1da7940c
L
209622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20963
20964 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20965 with uint64_t.
20966
b749dbb9
L
209672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20968
20969 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20970 declaration.
20971 (struct La_x32_retval): Likewise.
20972
2ff87f3f
L
209732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20974
20975 * sysdeps/x86_64/preconfigure.in: New file.
20976 * sysdeps/x86_64/preconfigure: New generated file.
20977
c0df8e69
JM
209782012-03-22 Joseph Myers <joseph@codesourcery.com>
20979
48e44791
JM
20980 [BZ #13824]
20981 * math/e_exp2l.c: Include <float.h>.
20982 (__ieee754_exp2l): Handle overflow and underflow cases
20983 separately. Only pass fractional part of argument to
20984 __ieee754_expl.
20985 * math/libm-test.inc (exp2_test): Add more tests.
20986
c0df8e69
JM
20987 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20988 negating x to take absolute value.
20989 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20990 Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20993 Likewise.
20994 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20995 computing low part if x was negated.
20996 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20997
c8e43ba7
L
209982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20999
21000 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21001 la_x32_gnu_pltexit.
21002 (pltexit): Cast int_retval to ptrdiff_t.
21003 * elf/tst-auditmod3b.c: Likewise.
21004 * elf/tst-auditmod4b.c: Likewise.
21005 * elf/tst-auditmod5b.c: Likewise.
21006 * elf/tst-auditmod6b.c: Likewise.
21007 * elf/tst-auditmod6c.c: Likewise.
21008 * elf/tst-auditmod7b.c: Likewise.
21009
21010 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21011 and x32_gnu_pltexit.
21012
21013 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21014 __ELF_NATIVE_CLASS.
21015 (La_x32_regs): New macro.
21016 (La_x32_retval): Likewise.
21017 (la_x32_gnu_pltenter): New function prototype.
21018 (la_x32_gnu_pltexit): Likewise.
21019
7998fa78
AS
210202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21021
dcb33988
AS
21022 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21023 exponent.
21024
233fc563
AS
21025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21026
7998fa78
AS
21027 * configure.in (libc_cv_cc_nofma): Check for option to disable
21028 generation of FMA instructions.
21029 * configure: Regenerate.
21030 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21031 * sysdeps/ieee754/dbl-64/Makefile: New file.
21032 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21033 Remove brandred-fma4.
21034 (CFLAGS-brandred-fma4.c): Remove.
21035 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21037 define.
21038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21039 define.
21040
8e95c99a
L
210412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21042
21043 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21044 LLONG_MAX != LONG_MAX.
21045 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21046 (_fitoa_word): Likewise.
21047 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21048 LLONG_MAX != LONG_MAX.
21049 * stdio-common/_itowa.h: Include <_itoa.h>.
21050 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21051 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21052 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21053 only if not defined.
21054 (_ITOA_WORD_TYPE): Likewise.
21055 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21056 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21057
6f4db457
DM
210582012-03-21 David S. Miller <davem@davemloft.net>
21059
21060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21061
7785fe5a
L
210622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21063
21064 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21065 of x86_64 when setting libc_cv_slibdir, libdir and
21066 libc_cv_localedir.
21067 * sysdeps/unix/sysv/linux/configure: Regenerated.
21068
4535cd55
JM
210692012-03-21 Joseph Myers <joseph@codesourcery.com>
21070
21071 * manual/lang.texi (Old Varargs): Remove section.
21072 (How Variadic): Update menu.
21073 (va_start): Do not mention varargs.h.
21074
17228132
TS
210752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21076 Joseph Myers <joseph@codesourcery.com>
21077
21078 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21079 link test.
21080 * configure: Regenerated.
21081
8149f976
TS
210822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21083
05f3d1f6
UD
21084 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21085 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21086 conformtest.pl
8149f976 21087
1a4ac776
JM
210882012-03-21 Joseph Myers <joseph@codesourcery.com>
21089
be22ce65
JM
21090 * NOTES: Remove.
21091 * Makefile (files-for-dist): Remove NOTES.
21092 (NOTES): Remove rule.
21093 * README: Don't refer to NOTES.
21094 * manual/creature.texi: Don't include macros.texi.
21095 * manual/intro.texi (creature.texi): Remove comment referring to
21096 NOTES.
21097
40b601fb
JM
21098 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21099 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21100 * configure: Regenerated.
21101 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21102 LIBC_TRY_CC_OPTION.
21103 (libc_cv_as_i686): Likewise.
21104 (libc_cv_cc_avx): Likewise.
21105 (libc_cv_cc_sse2avx): Likewise.
21106 (libc_cv_cc_fma4): Likewise.
21107 (libc_cv_cc_novzeroupper): Likewise.
21108 * sysdeps/i386/configure: Regenerated.
21109
1a4ac776
JM
21110 [BZ #13883]
21111 * sysdeps/i386/fpu/s_cexp.S: Remove.
21112 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21113 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21114 * math/libm-test.inc (cexp_test): Add more tests.
21115 * sysdeps/i386/fpu/libm-test-ulps: Update.
21116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21117
a458e7fe
AM
211182012-03-21 Allan McRae <allan@archlinux.org>
21119
21120 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21121
0cb7efc5
JM
211222012-03-21 Joseph Myers <joseph@codesourcery.com>
21123
21124 [BZ #13871]
21125 * math/w_exp2.c: Do not include <float.h>.
21126 (o_threshold, u_threshold): Remove.
21127 (__exp2): Calculate result before checking finiteness and calling
21128 __kernel_standard.
21129 * math/w_exp2f.c: Likewise.
21130 * math/w_exp2l.c: Likewise.
21131 * math/libm-test.inc (exp2_test): Require overflow exception for
21132 1e6 input.
2460d3aa
JM
21133
21134 [BZ #3866]
21135 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21136 range of signed 64-bit integers before using fistpll. Remove
21137 checks for whether integers fit in mantissa bits.
21138 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21139 the range of signed 32-bit integers before using fistpl. Remove
21140 checks for whether integers fit in mantissa bits.
21141 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21142 (__ieee754_powl): Test for y outside the range of signed 64-bit
21143 integers before using fistpll. Reduce 64-bit values to 63-bit
21144 ones as needed.
21145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21146 divide-by-zero is raised for zero to large negative powers.
21147 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21148 (__ieee754_powl): Test for y outside the range of signed 64-bit
21149 integers before using fistpll. Reduce 64-bit values to 63-bit
21150 ones as needed.
21151 * math/libm-test.inc (pow_test): Add more tests.
21152
eb96ffb0
L
211532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21154
21155 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21156 <stdio-common/_itoa.h>.
21157 * debug/segfault.c: Likewise.
21158 * elf/dl-cache.c: Likewise.
21159 * elf/dl-minimal.c: Likewise.
21160 * elf/dl-misc.c: Likewise.
21161 * elf/dl-sysdep.c: Likewise.
21162 * elf/dl-version.c: Likewise.
21163 * elf/rtld.c: Likewise.
21164 * hurd/hurdsock.c: Likewise.
21165 * hurd/lookup-retry.c: Likewise.
21166 * malloc/malloc.c: Likewise.
21167 * malloc/mtrace.c: Likewise.
21168 * nscd/nscd_getgr_r.c: Likewise.
21169 * nscd/nscd_getpw_r.c: Likewise.
21170 * nscd/nscd_getserv_r.c: Likewise.
21171 * posix/getopt_init.c: Likewise.
21172 * posix/wordexp.c: Likewise.
21173 * stdio-common/_itoa.c: Likewise.
21174 * stdio-common/printf_fphex.c: Likewise.
21175 * stdio-common/vfprintf.c: Likewise.
21176 * string/_strerror.c: Likewise.
21177 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21178 * sysdeps/i386/i686/hp-timing.h: Likewise.
21179 * sysdeps/mach/_strerror.c: Likewise.
21180 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21181 * sysdeps/mach/hurd/sethostid.c: Likewise.
21182 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21183 * sysdeps/mach/xpg-strerror.c: Likewise.
21184 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21185 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21186 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21187 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21188 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21189 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21190 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21191 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21192 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21193 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21194 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21195 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21196 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21197 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21198 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21199 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21200 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21201 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21202 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21203 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21204 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21205
21206 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21207
21208 * stdio-common/_itoa.h: Moved to ...
21209 * sysdeps/generic/_itoa.h: Here.
21210
21211 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21212
21213 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21214 instead of "_itoa.h" and "_itowa.h".
21215 * stdio-common/vfprintf.: Likewise.
21216
d1af992d
L
212172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21220 <bits/wordsize.h>.
21221 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21222 (__signbit): Likwise.
21223 (llrintf): Likwise.
21224 (llrint): Likwise.
21225
114883e0
L
212262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21227
21228 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21229 __WORDSIZE != 64.
21230
c135cc1b
JM
212312012-03-20 Joseph Myers <joseph@codesourcery.com>
21232
21233 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21234 OVERFLOW_EXCEPTION_OK.
21235 * math/libm-test.inc ("Philosophy"): Update comment about
21236 exception testing.
21237 (OVERFLOW_EXCEPTION): Define.
21238 (OVERFLOW_EXCEPTION_OK): Likewise.
21239 (INVALID_EXCEPTION_OK): Renumber.
21240 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21241 (IGNORE_ZERO_INF_SIGN): Likewise.
21242 (test_exceptions): Handle FE_OVERFLOW.
21243 (exp10_test): Expect overflow exceptions.
21244 (exp2_test): Likewise.
21245 (expm1_test): Likewise.
21246 (nextafter_test): Likewise.
21247 (pow_test): Likewise.
21248 (scalbn_test): Likewise.
21249 (scalbln_test): Likewise.
21250
95443d88
L
212512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21252
21253 * sysdeps/x86_64/bits/atomic.h
21254 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21255 64bit integer.
21256 (atomic_exchange_acq): Likewise.
21257 (__arch_exchange_and_add_body): Likewise.
21258 (__arch_add_body): Likewise.
21259 (atomic_add_negative): Likewise.
21260 (atomic_add_zero): Likewise.
21261
490df6c4
L
212622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21263
c2722551 21264 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21265 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21266
5e52b189
L
212672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21268
21269 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21270 Check __x86_64__ instead of __WORDSIZE.
21271
a9879d4c
L
212722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21273
21274 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21275
5df98260
DM
212762012-03-19 David S. Miller <davem@davemloft.net>
21277
e1497744
DM
21278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21279
5df98260
DM
21280 * sysdeps/sparc/fpu/fenv_private.h: New file.
21281 * sysdeps/sparc/fpu/math_private.h: Use it.
21282 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21283 Remove.
21284 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21285 (libc_feholdexcept_setroundl): Remove.
21286 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21287 Remove.
21288 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21289 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21290
b4c35121
L
212912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21292
21293 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21294 int64_t instead of long int.
21295 (INSERT_WORDS64): Likwise.
21296
56965fd7
L
212972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21298
21299 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21300 _Unwind_GetCFA return to _Unwind_Ptr first.
21301
83d1aec8
JM
213022012-03-19 Joseph Myers <joseph@codesourcery.com>
21303
1897ad44
JM
21304 [BZ #13629]
21305 * math/s_clog.c: Include <float.h>.
21306 (__clog): Scale large or subnormal inputs.
21307 * math/s_clogf.c: Likewise.
21308 * math/s_clogl.c: Likewise.
21309 * math/s_clog10.c: Include <float.h>.
21310 (M_LOG10_2): Define.
21311 (__clog10): Scale large or subnormal inputs.
21312 * math/s_clog10f.c: Likewise.
21313 * math/s_clog10l.c: Likewise.
21314 * math/libm-test.inc (clog_test): Add more tests.
21315 (clog10_test): Likewise.
21316 * sysdeps/i386/fpu/libm-test-ulps: Update.
21317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21318
7726d6a9
JM
21319 [BZ #11451]
21320 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21321 x and y.
21322 * math/libm-test.inc (atan2_test): Add another test.
21323
83d1aec8
JM
21324 * Makerules (common-objdir-compile): Remove.
21325 * sysdeps/unix/Makefile (config-generated): Do not add
21326 $(unix-generated) to variable.
21327 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21328 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21329 Remove rule.
21330 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21331 Likewise.
21332 [generic bits/local_lim.h] (before-compile): Do not append to
21333 variable.
21334 [generic bits/local_lim.h] (common-generated): Likewise.
21335 [generic sys/param.h] (before-compile): Do not append to variable.
21336 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21337 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21338 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21339 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21340 include.
21341 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21342 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21343 [generic sys/param.h] ($(addprefix
21344 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21345 [generic sys/param.h] (common-generated): Do not append to
21346 variable.
21347 [generic sys/param.h] (sysdep_headers): Likewise.
21348 [generic bits/errno.h] (before-compile): Do not append to
21349 variable.
21350 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21351 rule.
21352 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21353 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21354 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21355 [generic bits/errno.h] (common-generated): Do not append to
21356 variable.
21357 [generic bits/ioctls.h] (before-compile): Do not append to
21358 variable.
21359 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21360 rule.
21361 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21362 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21363 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21364 rule.
21365 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21366 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21367 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21368 [generic bits/ioctls.h] (common-generated): Do not append to
21369 variable.
21370 [generic sys/syscall.h] (syscall.h): Remove variable.
21371 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21372 rule.
21373 [generic sys/syscall.h] (before-compile): Do not append to
21374 variable.
21375 [generic sys/syscall.h] (common-generated): Likewise.
21376 * sysdeps/unix/errnos-tmpl.c: Remove file.
21377 * sysdeps/unix/errnos.awk: Likewise.
21378 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21379 * sysdeps/unix/ioctls.awk: Likewise.
21380 * sysdeps/unix/mk-local_lim.c: Likewise.
21381 * sysdeps/unix/snarf-ioctls: Likewise.
21382
4851a949
RH
213832012-03-19 Richard Henderson <rth@twiddle.net>
21384
bd37f2ee
RH
21385 * sysdeps/i386/fpu/fenv_private.h: New file.
21386 * sysdeps/i386/fpu/math_private.h: Use it.
21387 (math_opt_barrier, math_force_eval): Remove.
21388 (libc_feholdexcept_setround_53bit): Remove.
21389 (libc_feupdateenv_53bit): Remove.
21390 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21391 (math_opt_barrier, math_force_eval): Remove.
21392 (libc_feholdexcept): Remove.
21393 (libc_feholdexcept_setround): Remove.
21394 (libc_fetestexcept, libc_fesetenv): Remove.
21395 (libc_feupdateenv_test): Remove.
21396 (libc_feupdateenv, libc_feholdsetround): Remove.
21397 (libc_feresetround): Remove.
21398
d0adc922
RH
21399 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21400 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21401
0fe0f1f8
RH
21402 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21403 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21404 (libc_feupdateenv_testl): New.
21405 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21406 (libc_feupdateenv_testf): New.
21407 (libc_feupdateenv): Use libc_feupdateenv_test.
21408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21410
eb92c487
RH
21411 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21412 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21413 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21414 (libc_feresetround_noex): New.
21415 (libc_feresetround_noexf): New.
21416 (libc_feresetround_noexl): New.
21417 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21418 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21419 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21420 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21421 SET_RESTORE_ROUND.
21422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21424 (__cos): Likewise.
21425 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21426 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21427 SET_RESTORE_ROUND_NOEX.
21428 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21429 SET_RESTORE_ROUND_NOEXF.
21430 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21431 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21432 (libc_feholdsetroundf): New.
21433 (libc_feresetround, libc_feresetroundf): New.
21434
7d2e8012
RH
21435 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21436 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21437 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21438
b4dabbb4
RH
21439 * sysdeps/generic/math_private.h: Include <fenv.h>.
21440 (default_libc_feholdexcept): New.
21441 (default_libc_feholdexcept_setround): New.
21442 (default_libc_fesetenv, default_libc_feupdateenv): New.
21443 (libc_feholdexcept): Only define if undefined.
21444 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21445 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21446 (libc_feholdexcept_setroundl): Likewise.
21447 (libc_feholdexcept_setround_53bit): Likewise.
21448 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21449 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21450 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21451 (libc_feupdateenv_53bit): Likewise.
21452 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21453 (libc_feholdexcept): Convert from macro to inline function.
21454 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21455 (libc_fesetenv, libc_feupdateenv): Likewise.
21456
4851a949
RH
21457 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21458 not previously defined.
21459 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21460 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21461 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21462 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21463 * sysdeps/ieee754/flt-32/math_private.h: New file.
21464 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21465 math_private.h below SET_FLOAT_WORD.
21466 (__isnan, __isinf_ns, __finite): Remove.
21467 (__isnanf, __isinf_nsf, __finitef): Remove.
21468
e79d442e
AS
214692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21470
21471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21472
90b80344
DM
214732012-03-17 David S. Miller <davem@davemloft.net>
21474
21475 [BZ #6471]
21476 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21477 for 2.16.
21478
edc21804
DM
214792012-03-16 David S. Miller <davem@davemloft.net>
21480
77e927af
DM
21481 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21482 warnings.
21483
374976dd
DM
21484 [BZ #6471]
21485 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21486 properly.
21487 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21488 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21489 sysdep_routines when subdir is sysvipc.
21490 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21491 __getshmlba helper.
21492
edc21804
DM
21493 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21494
473c3ef3
L
214952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21496
21497 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21498 [__LP64__].
21499
eb0f39b6
L
215002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21501
21502 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21503 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21504 (__lround): Renamed to ...
21505 (__llround): This. Replace long int with long long int.
21506 Define lround functions as aliases of llround functions.
21507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21508
6b6cd74b
L
215092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21510
21511 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21512 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21513 adresses to uintptr_t. Replace "long int" and "unsigned long
21514 int" with "greg_t" on va_arg.
21515
f1a77b01
L
215162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21517
21518 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21519 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21520
21521 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21522 Move e_machine check before EI_CLASS check. Handle x32
21523 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21524 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21525 SKIP_EM_IA_64 and include
21526 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21527
21528 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21529 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21530 (add_system_dir): New macro.
21531
21532 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21533 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21534
11b90b9f
JM
215352012-03-16 Joseph Myers <joseph@codesourcery.com>
21536
c36e1d23
JM
21537 [BZ #2551]
21538 [BZ #2552]
21539 [BZ #2553]
21540 [BZ #2554]
21541 [BZ #2562]
21542 [BZ #2563]
21543 [BZ #2565]
21544 [BZ #2566]
21545 [BZ #2576]
21546 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21547 (y0): Likewise.
21548 * math/w_j0f.c (j0f): Likewise.
21549 (y0f): Likewise.
21550 * math/w_j0l.c (__j0l): Likewise.
21551 (__y0l): Likewise.
21552 * math/w_j1.c (j1): Likewise.
21553 (y1): Likewise.
21554 * math/w_j1f.c (j1f): Likewise.
21555 (y1f): Likewise.
21556 * math/w_j1l.c (__j1l): Likewise.
21557 (__y1l): Likewise.
21558 * math/w_jn.c (jn): Likewise.
21559 (yn): Likewise.
21560 * math/w_jnf.c (jnf): Likewise.
21561 (ynf): Likewise.
21562 * math/w_jnl.c (__jnl): Likewise.
21563 (__ynl): Likewise.
21564 * math/libm-test.inc (j0_test): Add more tests.
21565 (j1_test): Likewise.
21566 (jn_test): Likewise. Add trailing semicolon to existing test.
21567 (y0_test): Likewise.
21568 (y1_test): Likewise.
21569 * sysdeps/i386/fpu/libm-test-ulps: Update.
21570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21571
11b90b9f
JM
21572 [BZ #13851]
21573 [BZ #13854]
21574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21575 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21576 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21577 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21578 (__tanl): Set errno for infinite argument.
21579 * sysdeps/i386/fpu/mptan.c: Remove.
21580 * sysdeps/i386/fpu/s_tan.S: Likewise.
21581 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21582 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21583 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21584 * math/libm-test.inc (tan_test): Add more tests and enable more
21585 tests for double and long double.
21586 * sysdeps/i386/fpu/libm-test-ulps: Update.
21587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21588
6a1bd2a1
JK
215892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21590
21591 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21592 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21593
10a803e0
RM
215942012-03-16 Roland McGrath <roland@hack.frob.com>
21595
21596 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21597 * configure.in: Use it for both main tree and add-ons.
21598 * configure: Regenerated.
21599
f196c7f7
L
216002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21601
21602 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21603
8848d99d
JM
216042012-03-16 Joseph Myers <joseph@codesourcery.com>
21605
96cbe7f4
JM
21606 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21607 in comment.
21608
8848d99d
JM
21609 [BZ #13851]
21610 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21611 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21615 infinite argument.
21616 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21617 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21618 != 0 for prec == 2.
21619 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21620 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21621 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21622 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21623 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21624 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21625 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21626 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21627 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21628 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21629 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21630 * math/libm-test.inc (cos_test): Add more tests and enable more
21631 tests for long double.
21632 (sin_test): Likewise.
21633 (sincos_test): Likewise.
21634 * sysdeps/i386/fpu/libm-test-ulps: Update.
21635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21636
dd7f4703
DM
216372012-03-16 David S. Miller <davem@davemloft.net>
21638
21639 * sysdeps/sparc/fpu/math_private.h: New file.
21640
006f1daa
DM
216412012-03-15 David S. Miller <davem@davemloft.net>
21642
c0c83bc8
DM
21643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21644 file.
e6a62e18 21645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21647 file.
e6a62e18
DM
21648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21654 sysdep routines.
21655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21656
88cb87d9
DM
21657 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21658 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21659
006f1daa 21660 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21662 sparc-ifunc.h
006f1daa 21663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21665 Likewise.
21666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21667 Likewise.
006f1daa
DM
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21672 Likewise.
006f1daa
DM
21673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21678 Likewise.
21679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21680 Likewise.
006f1daa
DM
21681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21701 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21702 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21705
11e0098e
AS
217062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21707
21708 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21709 scaling.
21710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21711
e85b09d0
AJ
217122012-03-15 Andreas Jaeger <aj@suse.de>
21713
21714 [BZ #13852]
21715 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21716 ieee754/flt-32 implementation for sin, cos and sincos.
21717 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21718 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21719 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21720 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21721 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21722 ieee754/flt-32 implementation for tan.
21723
21724 * math/libm-test.inc (cos_test): Enable some large input tests for
21725 float as well
21726 (sin_test): Likewise.
21727 (sincos_test): Likewise.
21728 (tan_test): Add tests for large input.
21729
21730 * sysdeps/i386/fpu/libm-test-ulps: Update.
21731
81c64153
AJ
217322012-03-15 Andreas Jaeger <aj@suse.de>
21733
21734 [BZ #13658]
21735 * math/libm-test.inc (cos_test): Add more test cases.
21736 (sin_test): Likewise.
21737 (sincos_test): Likewise.
21738
7bbfa5c6
AJ
217392012-03-15 Andreas Jaeger <aj@suse.de>
21740
21741 [BZ #13837]
21742 * math/libm-test.inc (cos_test): Add a test case for large input
21743 value.
21744 (sin_test): Likewise.
21745 (sincos_test): Likewise.
21746
217472012-03-15 Andreas Jaeger <aj@suse.de>,
21748 Joseph Myers <joseph@codesourcery.com>
21749
21750 [BZ #13658]
0671f479 21751 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21752 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21753 * sysdeps/i386/fpu/branred.c: Likewise.
21754 * sysdeps/i386/fpu/dosincos.c: Likewise.
21755 * sysdeps/i386/fpu/mpa.c: Likewise.
21756 * sysdeps/i386/fpu/s_cos.S: Likewise.
21757 * sysdeps/i386/fpu/s_sin.S: Likewise.
21758 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21759 * sysdeps/i386/fpu/sincos32.c: Likewise.
21760
21761 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21762 Define.
21763 (libc_feupdateenv_53bit): Define.
21764 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21765 Define.
21766 (libc_feupdateenv_53bit): Define.
21767
21768 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21769 53 bit (without extend i386 double precision).
21770
21771 * math/libm-test.inc (sincos_test): Add tests for large input.
21772 (sin): Likewise.
21773 (cos): Likewise.
21774
21775 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21776
9cad04ea
AS
217772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21778
21779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21780
f7062b9a
DM
217812012-03-15 David S. Miller <davem@davemloft.net>
21782
21783 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21784 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21785 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21786 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21799 file.
f7062b9a 21800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21802 file.
f7062b9a 21803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21805 file.
f7062b9a 21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21808 file.
f7062b9a
DM
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21811 fmin/fmax sysdep routines.
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21813
7bd951ff
DM
218142012-03-14 David S. Miller <davem@davemloft.net>
21815
559398ab
DM
21816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21817 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21841 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21845 routines.
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21847 file.
559398ab 21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21850 file.
559398ab 21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21853 file.
559398ab 21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21856 file.
559398ab 21857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21859 file.
559398ab 21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21862 file.
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21864 file.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21866 file.
21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21868 file.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21870 New file.
21871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21872 file.
21873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21874 file.
559398ab 21875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21877 file.
559398ab 21878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21880 file.
559398ab 21881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21883 file.
559398ab 21884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21886 VIS3 routines.
559398ab
DM
21887
21888 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21889 New file.
21890
5a1c1e32
DM
21891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21892
eae47a36
DM
21893 * sysdeps/sparc/configure.in: New file.
21894 * sysdeps/sparc/configure: Generate.
21895 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21896 * configure: Regenerate.
21897 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21898 * config.make.in (have-as-vis3): New.
21899 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21900 available use -Av9d instead of -Av9a.
21901 * sysdeps/sparc/sparc64/Makefile: Likewise.
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21904 New file.
21905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21906 file.
21907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21908 New file.
21909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21910 file.
eae47a36
DM
21911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21913 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21914 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21915 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21916
c0c83bc8
DM
21917 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21918 fzeros/fnegs to load 0x80000000 into a float register instead of
21919 using the stack.
7bd951ff
DM
21920 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21921
bd951ccb
JM
219222012-03-14 Joseph Myers <joseph@codesourcery.com>
21923
21924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21925 bits/syscall.h.
21926 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21927 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21928 ($(inst_includedir)/bits/syscall.h): Remove rule.
21929 ($(objpfx)bits/syscall.d): Include instead of
21930 $(objpfx)syscall-list.d.
21931 (generated): Change syscall-list.h and syscall-list.d to
21932 bits/syscall.h and bits/syscall.d.
21933
bb4e6db2
RM
219342012-03-14 Roland McGrath <roland@hack.frob.com>
21935
21936 [BZ #13846]
21937 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21938
aa4a2ae1
JM
219392012-03-14 Joseph Myers <joseph@codesourcery.com>
21940
e456826d
JM
21941 [BZ #13841]
21942 * math/s_csqrt.c: Include <float.h>.
21943 (__csqrt): Scale large or subnormal inputs.
21944 * math/s_csqrtf.c: Likewise.
21945 * math/s_csqrtl.c: Likewise.
21946 * math/libm-test.inc (csqrt_test): Add more tests.
21947 * sysdeps/i386/fpu/libm-test-ulps: Update.
21948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21949
aa4a2ae1
JM
21950 [BZ #13840]
21951 * math/libm-test.inc (hypot_test): Add more tests.
21952
7c10fd35
DM
219532012-03-13 David S. Miller <davem@davemloft.net>
21954
21955 [BZ #13840]
21956 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21957 double-precision for the calculation instead of scaling.
21958
f453b98b
JM
219592012-03-13 Joseph Myers <joseph@codesourcery.com>
21960
21961 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21962 manipulate bits before adding and subtracting TWO52[sx].
21963 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21964 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21965 Likewise.
21966 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21967
09a3453f
DM
219682012-03-13 David S. Miller <davem@davemloft.net>
21969
8e59da90
DM
21970 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21971 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21973 rtld-global-offsets.h
21974 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21975
2a8ab7f2
DM
21976 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21977 large parameters.
21978
10f62770
DM
21979 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21980
5f0bdb18
DM
21981 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21982 'err' in the ifdef scope in which it is actually used.
21983
09a3453f
DM
21984 * nss/nss_db/db-init.c: Include string.h
21985
b4b2eb5e
DM
219862012-03-12 David S. Miller <davem@davemloft.net>
21987
98bb2f1c
DM
21988 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21989 masking out of the most significant byte of random value used.
21990 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21991 Fix coding style in previous change.
21992
b4b2eb5e
DM
21993 * sysdeps/unix/sysv/linux/kernel-features.h
21994 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21995 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21996 expression.
21997 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21998 later.
21999
6e226b09
DM
220002012-03-11 David S. Miller <davem@davemloft.net>
22001
a1bcbd40
DM
22002 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22003 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22004 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22005 for 'resultvar' otherwise things get truncated on 64-bit.
22006
cb9d6174
DM
22007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22008 Fix masking out of the most significant byte of random value used.
22009
6e226b09
DM
22010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22011
058c132d
AS
220122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22013
22014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22015
2d2cd515
DM
220162012-03-09 David S. Miller <davem@davemloft.net>
22017
22018 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22019 variables with appropriate CPP guards.
22020 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22021 frame pointer, not the stack pointer. Correct layout comments. Fix test
22022 on resulting framesize and the management of the outregs buffer for pltexit.
22023 Preserve floating point return values across _dl_call_pltexit call.
22024 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22025 framesize and the management of the outregs buffer for pltexit.
22026 Preserve floating point return values across _dl_call_pltexit
22027 call.
22028 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22029 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22030 (print_exit): Fix format string for return register value.
22031
9a07f9d0
JM
220322012-03-10 Joseph Myers <joseph@codesourcery.com>
22033
22034 * sunrpc/Makefile (others): Add rpcgen.
22035 ($(objpfx)rpcgen): Remove special build rule and dependency on
22036 libc.
22037 * sunrpc/rpcgen.c: New file.
22038
547b5e30
PE
220392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22040
c524201a
PE
22041 [BZ #13673]
22042 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22043 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22044 * sysdeps/i386/crti.S: Likewise.
22045 * sysdeps/i386/crtn.S: Likewise.
22046 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22047 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22048 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22049 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22050 * sysdeps/sh/crti.S: Likewise.
22051 * sysdeps/sh/crtn.S: Likewise.
22052 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22053
7b6235f2
PE
22054 [BZ #13673]
22055 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22056 with URL.
22057 * locale/programs/locfile-kw.gperf: Likewise.
22058 * locale/programs/charmap-kw.h: Regenerated.
22059 * locale/programs/locfile-kw.h: Likewise.
22060
547b5e30
PE
22061 [BZ #13673]
22062 * intl/plural.y: Replace FSF snail mail address with URL.
22063 * intl/plural.c: Regenerated.
22064
5f0a5dae
RH
220652012-03-09 Richard Henderson <rth@twiddle.net>
22066
22067 * include/math_private.h: Remove file.
22068 * math/math_private.h: Move file ...
22069 * sysdeps/generic/math_private.h: ... here.
22070
b8c03620
RH
22071 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22072 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22073 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22074
4e234f5d 22075 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22076 and <math_private.h>.
22077 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22078 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22079 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22080 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22081 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22125 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22159 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22165 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22166 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22167 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22168 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22169 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22170 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22171 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22172 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22173 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22174 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22176 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22177 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22178 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22179 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22180 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22181 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22182 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22183 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22184 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22185 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22186 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22187 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22188 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22189 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22190 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22191 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22192 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22193 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22194 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22195 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22196 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22197 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22198 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22199 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22200 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22203 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22204 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22205 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22206 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22207 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22208 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22209 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22210 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22211 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22212 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22213 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22215 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22216 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22217 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22218 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22219 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22220 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22221 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22222 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22223 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22224 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22225 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22226 * sysdeps/ieee754/k_standard.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22278 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22279 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22315 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22324 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22325 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22326 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22328 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22334 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22335 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22336 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22338 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22339 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22341 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22342 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22344 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22345 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22346 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22348 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22349 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22350 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22352 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22353 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22354 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22355 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22356 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22357 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22358 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22359 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22362 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22363 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22364 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22365 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22367 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22368 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22369 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22370 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22371 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22376 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22377 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22379 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22380 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22381 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22382 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22383 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22384 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22386 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22387 * sysdeps/ieee754/s_lib_version.c: Likewise.
22388 * sysdeps/ieee754/s_matherr.c: Likewise.
22389 * sysdeps/ieee754/s_signgam.c: Likewise.
22390 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22391 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22392 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22393 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22394 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22395 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22396 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22397 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22398 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22399 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22400 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22401 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22404 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22405 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22406 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22407 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22408 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22411
1991fa03
JM
224122012-03-09 Joseph Myers <joseph@codesourcery.com>
22413
22414 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22415 * sunrpc/rpc_main.c: Likewise.
22416 * sunrpc/rpc_svcout.c: Likewise.
22417
60d6f5a6
DM
224182012-03-09 David S. Miller <davem@davemloft.net>
22419
22420 * include/math_private.h: New file.
22421
4962050e
JM
224222012-03-09 Joseph Myers <joseph@codesourcery.com>
22423
02a6f887
JM
22424 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22425 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22426 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22427 from <bits/socket_type.h>.
22428 (enum __socket_type): Don't define here.
22429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22431 bits/socket_type.h.
22432
c6e013c1
JM
22433 [BZ #13566]
22434 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22435 checking __USE_GNU.
22436
4962050e
JM
22437 * Makerules ($(inst_includedir)/%.h): New rule.
22438 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22439 (install-others): Remove variable setting.
22440 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22441
38842f45
RH
224422012-03-08 Richard Henderson <rth@twiddle.net>
22443
67bb6da6
RH
22444 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22445 from macro to inline function; merge with the
22446 !__LIBC_INTERNAL_MATH_INLINES version.
22447 (__ieee754_sqrtf): Likewise.
22448
15194b4b
RH
22449 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22450 to inline function.
22451 (__rintf, __floor, __floorf): Likewise.
22452
64e21ede
RH
22453 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22454 macro to inline function.
22455 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22456
38842f45
RH
22457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22458 not <math/math_private.h>.
22459
c64bf5fe
DM
224602012-03-08 David S. Miller <davem@davemloft.net>
22461
22462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22463 copyright year.
22464 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22465
82d86f28
TS
224662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22467
22468 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22469 normalization.
22470 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22471 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22472
aea5d727
UD
224732012-03-08 Ulrich Drepper <drepper@gmail.com>
22474
22475 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22476 be defined individually, they must be defined as a block. Define
22477 S for printing a string instead of hidint the different by using a
22478 macro for adding the 'l'.
22479 * stdio-common/tst-fphex-wide.c: Adjust.
22480
70bca0a3
MP
224812012-03-07 Marek Polacek <polacek@redhat.com>
22482
22483 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22484
65b81130
MP
224852012-03-08 Marek Polacek <polacek@redhat.com>
22486
22487 [BZ #13806]
22488 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22489 * stdio-common/tst-fphex.c: Define a few macros to make the
22490 test reusable. Use them.
22491 * stdio-common/tst-fphex-wide.c: New file.
22492
07037eeb
JM
224932012-03-08 Joseph Myers <joseph@codesourcery.com>
22494
a7a93d50
JM
22495 [BZ #6911]
22496 * manual/macros.texi (gnusystems): New macro.
22497 (nongnusystems): Likewise.
22498 (gnulinuxhurdsystems): Likewise.
22499 (gnuhurdsystems): Likewise..
22500 (gnulinuxsystems): Likewise.
22501 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22502 variants of the GNU system, not "GNU system".
22503 * manual/conf.texi: Likewise.
22504 * manual/errno.texi: Likewise. Update example of errno macro
22505 expansion.
22506 * manual/filesys.texi: Likewise.
22507 (getumask): Document as specific to GNU/Hurd.
22508 * manual/install.texi: Likewise. Reword some references to
22509 GNU/Linux.
22510 * manual/intro.texi: Likewise.
22511 * manual/io.texi: Likewise.
22512 (File Name Portability): Detail which constraints are inapplicable
22513 to all GNU systems and which are only inapplicable to GNU/Hurd.
22514 * manual/job.texi: Likewise.
22515 * manual/llio.texi: Likewise.
22516 (O_NOCTTY): Document as present on GNU/Linux.
22517 * manual/maint.texi: Likewise.
22518 * manual/memory.texi: Likewise.
22519 * manual/pattern.texi: Likewise.
22520 * manual/pipe.texi: Likewise.
22521 * manual/process.texi: Likewise.
22522 * manual/resource.texi: Likewise.
22523 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22524 child on GNU/Hurd.
22525 * manual/setjmp.texi: Likewise.
22526 * manual/signal.texi: Likewise.
22527 * manual/startup.texi: Likewise.
22528 * manual/stdio.texi: Likewise.
22529 * manual/terminal.texi: Likewise.
22530 (ONLCR): Document as POSIX.
22531 (OXTABS): Document availability on GNU/Linux as XTABS.
22532 (ONOEOT): Document availability separately from other bits.
22533 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22534 * manual/time.texi: Likewise.
22535 * manual/users.texi: Likewise.
22536 * INSTALL: Regenerated.
22537 * sysdeps/gnu/errlist.c: Regenerated.
22538
07037eeb
JM
22539 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22540 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22541 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22542 puts.
22543 * configure: Regenerated.
22544
d1d3431a
JM
225452012-03-07 Joseph Myers <joseph@codesourcery.com>
22546
af6a1e37
JM
22547 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22548 default includes instead of AC_HEADER_CHECK.
22549 * sysdeps/i386/configure: Regenerated.
22550
d1d3431a
JM
22551 [BZ #10716]
22552 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22553 * math/s_cacoshf.c (__cacoshf): Likewise.
22554 * math/s_cacoshl.c (__cacoshl): Likewise.
22555 * math/s_casinh.c (__casinh): Set signs of result from argument.
22556 * math/s_casinhf.c (__casinhf): Likewise.
22557 * math/s_casinhl.c (__casinhl): Likewise.
22558 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22559 (casinh_test): Add more tests.
22560 * sysdeps/i386/fpu/libm-test-ulps: Update.
22561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22562
482ff4da
UD
225632012-03-07 Ulrich Drepper <drepper@gmail.com>
22564
872fda05
UD
22565 * po/zh_TW.po: Update from translation team.
22566
a4300c7a
UD
22567 * login/Makefile (distribute): Remove variable.
22568 * catgets/Makefile: Likewise.
22569 * mach/Makefile: Likewise.
22570 * malloc/Makefile: Likewise.
22571 * misc/Makefile: Likewise.
22572 * iconv/Makefile: Likewise.
22573 * nscd/Makefile: Likewise.
22574 * hurd/Makefile: Likewise.
22575 * manual/Makefile: Likewise.
22576 * locale/Makefile: Likewise.
22577 * intl/Makefile: Likewise.
22578 * conform/Makefile: Likewise.
22579 * nss/Makefile: Likewise.
22580 * time/Makefile: Likewise.
22581 * soft-fp/Makefile: Likewise.
22582 * dirent/Makefile: Likewise.
22583 * gmon/Makefile: Likewise.
22584 * po/Makefile: Likewise.
22585 * rt/Makefile: Likewise.
22586 * socket/Makefile: Likewise.
22587 * math/Makefile: Likewise.
22588 * signal/Makefile: Likewise.
22589 * debug/Makefile: Likewise.
22590 * elf/Makefile: Likewise.
22591 * timezone/Makefile: Likewise.
22592 * stdlib/Makefile: Likewise.
22593 * iconvdata/Makefile: Likewise.
22594 * sunrpc/Makefile: Likewise.
22595 * io/Makefile: Likewise.
22596 * argp/Makefile: Likewise.
22597 * inet/Makefile: Likewise.
22598 * hesiod/Makefile: Likewise.
22599 * grp/Makefile: Likewise.
22600 * csu/Makefile: Likewise.
22601 * wctype/Makefile: Likewise.
22602 * crypt/Makefile: Likewise.
22603 * libio/Makefile: Likewise.
22604 * string/Makefile: Likewise.
22605 * nis/Makefile: Likewise.
22606 * resolv/Makefile: Likewise.
22607 * stdio-common/Makefile: Likewise.
22608 * wcsmbs/Makefile: Likewise.
22609 * dlfcn/Makefile: Likewise.
22610 * posix/Makefile: Likewise.
22611
3b7c4e74 22612 [BZ #6959]
482ff4da
UD
22613 * timezone/Makefile: Don't install timezone files, just the programs
22614 and scripts.
22615
f72ed77d
UD
226162012-03-06 Ulrich Drepper <drepper@gmail.com>
22617
a000466f
UD
22618 * nss/databases.def: Add missing gshadow entry.
22619
f72ed77d
UD
22620 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22621
a53b7a4e
MP
226222012-03-06 Marek Polacek <polacek@redhat.com>
22623
22624 [BZ #13726]
22625 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22626 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22627 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22628 * stdio-common/tst-long-dbl-fphex.c: New file.
22629
e9258400
DM
226302012-03-06 David S. Miller <davem@davemloft.net>
22631
22632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22633 (set_obp_int): New function.
22634 (get_obp_int): New function.
22635 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22636 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22637 Avoid unused variable warnings on 'val' and use builtin_expect.
22638 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22639 __builtin_expect.
e9258400
DM
22640 (INLINE_CLONE_SYSCALL): Likewise.
22641
3bd2c723
DM
226422012-03-05 David S. Miller <davem@davemloft.net>
22643
22644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22645
bbb78d03
AS
226462012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22647
884c5db4
AS
22648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22649
bbb78d03
AS
22650 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22651 only for |x| >= 40.
22652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22653
1c9f702a 226542012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22655
22656 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22657 Replace gettimeofday with __vdso_gettimeofday.
22658
7be16f82
RM
22659 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22660 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22661 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22662
22663 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22664 time with __vdso_time.
22665
ed58a00f
JM
226662012-03-05 Joseph Myers <joseph@codesourcery.com>
22667
22668 * manual/lang.texi (size_t): Note types to which size_t may be
22669 equivalent with the GNU C Library, but do not describe when
22670 differences between them are significant.
22671
30ee4ced
AJ
226722012-03-05 Andreas Jaeger <aj@suse.de>
22673
22674 * sysdeps/i386/fpu/libm-test-ulps: Update.
22675
b7cd39e8
JM
226762012-03-05 Joseph Myers <joseph@codesourcery.com>
22677
22678 [BZ #3976]
22679 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22680 (__ieee754_pow): Save and restore rounding mode and use
22681 round-to-nearest for main computations.
22682 * math/libm-test.inc (pow_test_tonearest): New function.
22683 (pow_test_towardzero): Likewise.
22684 (pow_test_downward): Likewise.
22685 (pow_test_upward): Likewise.
22686 (main): Call the new functions.
22687 * sysdeps/i386/fpu/libm-test-ulps: Update.
22688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22689
22690 [BZ #3976]
22691 * math/libm-test.inc (cosh_test_tonearest): New function.
22692 (cosh_test_towardzero): Likewise.
22693 (cosh_test_downward): Likewise.
22694 (cosh_test_upward): Likewise.
22695 (sinh_test_tonearest): Likewise.
22696 (sinh_test_towardzero): Likewise.
22697 (sinh_test_downward): Likewise.
22698 (sinh_test_upward): Likewise.
22699 (main): Call the new functions.
22700 * sysdeps/i386/fpu/libm-test-ulps: Update.
22701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22702
6c6a98c9
TV
227032012-03-05 Tom de Vries <tom@codesourcery.com>
22704
22705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22706 default stack guard is set in last bytes.
22707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22708
21bb2d2e 227092012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22710
21bb2d2e 22711 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22712
21bb2d2e
AJ
22713 [BZ #13656]
22714 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22715 possibly allocate from heap instead of stack.
22716 * stdio-common/bug-vfprintf-nargs.c: New file.
22717 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22718
c6922934
AS
227192012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22720
22721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22722
bc957d53
MP
227232012-03-03 Marek Polacek <polacek@redhat.com>
22724
22725 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22726 * math/math_private.h: Likewise.
22727 * stdlib/tst-strtod.c: Likewise.
22728 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22729 * sysdeps/x86_64/bits/atomic.h: Likewise.
22730
6358490d
DM
227312012-03-02 David S. Miller <davem@davemloft.net>
22732
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22737 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22738 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22739 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22740 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22741
01ae168d
RM
227422012-03-02 Roland McGrath <roland@hack.frob.com>
22743
d9a17c07
RM
22744 [BZ #13792]
22745 * manual/examples/README: New file, says the example source files
22746 can be used under GPL>=2.
22747 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22748 line containing just "*/".
22749 * manual/examples/add.c: Add copyright header (GPL>=2).
22750 * manual/examples/argp-ex1.c: Likewise.
22751 * manual/examples/argp-ex2.c: Likewise.
22752 * manual/examples/argp-ex3.c: Likewise.
22753 * manual/examples/argp-ex4.c: Likewise.
22754 * manual/examples/atexit.c: Likewise.
22755 * manual/examples/db.c: Likewise.
22756 * manual/examples/dir.c: Likewise.
22757 * manual/examples/dir2.c: Likewise.
22758 * manual/examples/execinfo.c: Likewise.
22759 * manual/examples/filecli.c: Likewise.
22760 * manual/examples/filesrv.c: Likewise.
22761 * manual/examples/fmtmsgexpl.c: Likewise.
22762 * manual/examples/genpass.c: Likewise.
22763 * manual/examples/inetcli.c: Likewise.
22764 * manual/examples/inetsrv.c: Likewise.
22765 * manual/examples/isockad.c: Likewise.
22766 * manual/examples/longopt.c: Likewise.
22767 * manual/examples/memopen.c: Likewise.
22768 * manual/examples/memstrm.c: Likewise.
22769 * manual/examples/mkfsock.c: Likewise.
22770 * manual/examples/mkisock.c: Likewise.
22771 * manual/examples/mygetpass.c: Likewise.
22772 * manual/examples/pipe.c: Likewise.
22773 * manual/examples/popen.c: Likewise.
22774 * manual/examples/rprintf.c: Likewise.
22775 * manual/examples/search.c: Likewise.
22776 * manual/examples/select.c: Likewise.
22777 * manual/examples/setjmp.c: Likewise.
22778 * manual/examples/sigh1.c: Likewise.
22779 * manual/examples/sigusr.c: Likewise.
22780 * manual/examples/stpcpy.c: Likewise.
22781 * manual/examples/strdupa.c: Likewise.
22782 * manual/examples/strftim.c: Likewise.
22783 * manual/examples/strncat.c: Likewise.
22784 * manual/examples/subopt.c: Likewise.
22785 * manual/examples/swapcontext.c: Likewise.
22786 * manual/examples/termios.c: Likewise.
22787 * manual/examples/testopt.c: Likewise.
22788 * manual/examples/testpass.c: Likewise.
22789 * manual/examples/timeval_subtract.c: Likewise.
22790
01ae168d
RM
22791 [BZ #13792]
22792 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22793 function to ...
22794 * manual/timeval_subtract.c.texi: ... here, new file.
22795
49efa33d
DM
227962012-03-02 David S. Miller <davem@davemloft.net>
22797
22798 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22799
28afd92d
JM
228002012-03-02 Joseph Myers <joseph@codesourcery.com>
22801
804360ed
JM
22802 [BZ #3976]
22803 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22804 (__sin): Save and restore rounding mode and use round-to-nearest
22805 for all computations.
22806 (__cos): Save and restore rounding mode and use round-to-nearest
22807 for all computations.
22808 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22809 <fenv.h>.
22810 (tan): Save and restore rounding mode and use round-to-nearest for
22811 all computations.
22812 * math/libm-test.inc (cos_test_tonearest): New function.
22813 (cos_test_towardzero): Likewise.
22814 (cos_test_downward): Likewise.
22815 (cos_test_upward): Likewise.
22816 (sin_test_tonearest): Likewise.
22817 (sin_test_towardzero): Likewise.
22818 (sin_test_downward): Likewise.
22819 (sin_test_upward): Likewise.
22820 (tan_test_tonearest): Likewise.
22821 (tan_test_towardzero): Likewise.
22822 (tan_test_downward): Likewise.
22823 (tan_test_upward): Likewise.
22824 (main): Call the new functions.
22825 * sysdeps/i386/fpu/libm-test-ulps: Update.
22826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827
a6d06d7b
JM
22828 [BZ #10135]
22829 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22830 small n, then large n, before computing and testing k+n.
22831 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22832 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22833 Likewise.
22834 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22835 Likewise.
22836 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22837 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22842 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22843 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22844 * math/libm-test.inc (scalbn_test): Add more tests.
22845 (scalbln_test): Likewise.
22846
07e12bb3
JM
22847 * manual/filesys.texi (mode_t): Describe constraints on size and
22848 signedness, not exact equivalence to a particular type.
22849 (ino_t): Likewise.
22850 (ino64_t): Likewise.
22851 (dev_t): Likewise.
22852 (nlink_t): Likewise.
22853 (blkcnt_t): Likewise.
22854 (blkcnt64_t): Likewise.
22855 * manual/llio.texi (off_t): Likewise.
22856
28afd92d
JM
22857 [BZ #3976]
22858 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22859 (__ieee754_exp): Save and restore rounding mode and use
22860 round-to-nearest for all computations.
22861 * math/libm-test.inc (exp_test_tonearest): New function.
22862 (exp_test_towardzero): Likewise.
22863 (exp_test_downward): Likewise.
22864 (exp_test_upward): Likewise.
22865 (main): Call the new functions.
22866 * sysdeps/i386/fpu/libm-test-ulps: Update.
22867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22868
b1eeb65d
CD
228692012-03-01 Chris Demetriou <cgd@google.com>
22870
22871 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22872 have predictable order.
22873
53362a4b
DM
228742012-03-01 David S. Miller <davem@davemloft.net>
22875
3c969083
DM
22876 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22877
759707de
DM
22878 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22879 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22880 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22881 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22882
dfdb8ff2
DM
22883 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22884 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22885 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22887 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22890 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22891 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22892
ead89f96
DM
22893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22894
7f66bd07
DM
22895 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22896 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22897 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22898
53362a4b
DM
22899 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22900 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22901 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22902 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22903 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22906 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22907 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22908 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22909 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22910 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22912 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22913 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22915 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22916 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22917 * sysdeps/sparc/elf/configure: Regenerated.
22918
7b1902cb
JM
229192012-03-01 Joseph Myers <joseph@codesourcery.com>
22920
bec039bc
JM
22921 * configure.in (AS, LD): Require binutils 2.20 or later.
22922 * configure: Regenerated.
22923 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22924 as required minimum version.
22925 * INSTALL: Regenerated.
22926
7b1902cb
JM
22927 [BZ #2541]
22928 [BZ #4108]
22929 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22930 before squaring exponent.
22931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22932 bottom long double and 27 bits of top long double before squaring
22933 exponent.
22934 * math/libm-test.inc (erfc_test): Add more tests.
22935 * sysdeps/i386/fpu/libm-test-ulps: Update.
22936 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22938
f775c276
KT
229392012-03-01 Kai Tietz <ktietz@redhat.com>
22940
22941 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22942 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22943 containing bit-fields.
22944 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22945 * soft-fp/single.h (_FP_UNION_S): Likewise.
22946 * soft-fp/double.h (_FP_UNION_D): Likewise.
22947
5b8a4d4a
JM
229482012-02-29 Joseph Myers <joseph@codesourcery.com>
22949
0bab47b6
JM
22950 [BZ #13786]
22951 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22952 not include ../strcmp.S.
22953 [USE_AS_STRNCASECMP_L]: Likewise.
22954 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22955 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22956 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22957 (__strncasecmp_l_ia32): Define as alias to
22958 __strncasecmp_l_nonascii.
22959
0fcad3e2
JM
22960 [BZ #5794]
22961 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22962 * sysdeps/i386/fpu/libm-test-ulps: Update.
22963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22964
5b8a4d4a
JM
22965 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22967
8fdceb2e
JL
229682012-02-29 Jeff Law <law@redhat.com>
22969
22970 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22971 out of bounds read.
22972
1f393a11
MP
229732012-02-29 Marek Polacek <polacek@redhat.com>
22974
22975 [BZ #13706]
22976 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22977 * elf/Makefile: Add rules to run tst-unused-dep.out.
22978
8847f037
DM
229792012-02-28 David S. Miller <davem@davemloft.net>
22980
22981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22985 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22986 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22987
169d7f11
JM
229882012-02-29 Joseph Myers <joseph@codesourcery.com>
22989
22990 * math/libm-test.inc (llround_test): Move one test from
22991 lround_test. Use TEST_f_L in moved test.
22992 (lround_test): Move misplaced test to llround_test. Add testcase
22993 from bug 2561.
22994
39adf059
UD
229952012-02-28 Ulrich Drepper <drepper@gmail.com>
22996
22997 * sysdeps/x86_64/fpu/e_expf.S: New file.
22998 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22999
71b5d1c5
SB
230002012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23001
23002 [BZ #13637]
23003 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23004 of remain_len that may cause incomplete multi-byte character and
23005 false match.
23006 * posix/bug-regex33.c: New file.
23007 * posix/Makefile (tests): Add bug-regex33.
23008
1f77f049
JM
230092012-02-28 Joseph Myers <joseph@codesourcery.com>
23010
23011 * manual/macros.texi: New file.
23012 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23013 * manual/libc.texinfo: Include macros.texi.
23014 * manual/creatute.texi: Likewise.
23015 * manual/install.texi: Likewise.
23016 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23017 @glibcadj{} in references to the GNU C Library.
23018 * manual/charset.texi: Likewise.
23019 * manual/conf.texi: Likewise.
23020 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23021 when not using those macros.
23022 * manual/creature.texi: Likewise.
23023 * manual/crypt.texi: Likewise.
23024 * manual/errno.texi: Likewise.
23025 * manual/filesys.texi: Likewise.
23026 * manual/header.texi: Likewise.
23027 * manual/install.texi: Likewise.
23028 * manual/intro.texi: Likewise.
23029 * manual/io.texi: Likewise.
23030 * manual/job.texi: Likewise.
23031 * manual/lang.texi: Likewise.
23032 * manual/libc.texiinfo: Likewise.
23033 * manual/llio.texi: Likewise.
23034 * manual/locale.texi: Likewise.
23035 * manual/maint.texi: Likewise.
23036 * manual/math.texi: Likewise.
23037 * manual/memory.texi: Likewise.
23038 * manual/message.texi: Likewise.
23039 * manual/nss.texi: Likewise.
23040 * manual/pattern.texi: Likewise.
23041 * manual/process.texi: Likewise.
23042 * manual/resource.texi: Likewise.
23043 * manual/search.texi: Likewise.
23044 * manual/setjmp.texi: Likewise.
23045 * manual/signal.texi: Likewise.
23046 * manual/socket.texi: Likewise.
23047 * manual/startup.texi: Likewise.
23048 * manual/stdio.texi: Likewise.
23049 * manual/string.texi: Likewise.
23050 * manual/sysinfo.texi: Likewise.
23051 * manual/syslog.texi: Likewise.
23052 * manual/terminal.texi: Likewise.
23053 * manual/time.texi: Likewise.
23054 * manual/users.texi: Likewise.
23055 * INSTALL: Regenerated.
23056 * NOTES: Regenerated.
d40c5d54 23057 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23058
450bf206
AS
230592012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23060
23061 * include/dirent.h: Include <dirstream.h> before
23062 <dirent/dirent.h>.
23063
741a235b
DM
230642012-02-28 David S. Miller <davem@davemloft.net>
23065
23066 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23067 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23070
d6b5aa58
DM
230712012-02-27 David S. Miller <davem@davemloft.net>
23072
1aff59a3
DM
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23075 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23076 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23077
d6b5aa58
DM
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23079 frame pointer instead of stack pointer relative arg slot.
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23081 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23082 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23083
433f48bf
CD
230842012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23085
23086 [BZ #3992]
23087 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23088
d674b76d
DM
230892012-02-27 David S. Miller <davem@davemloft.net>
23090
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23095 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23096 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23097 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23098 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23099
0e7727f7
JM
231002012-02-27 Joseph Myers <joseph@codesourcery.com>
23101
23102 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23103 later. Allow versions 5-9.
43be4ca2 23104 * configure: Regenerated.
0e7727f7
JM
23105 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23106 required minimum version and 4.6 as recommended version. Do not
23107 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23108 * INSTALL: Regenerated.
0e7727f7 23109
a78bc654
DM
231102012-02-27 David S. Miller <davem@davemloft.net>
23111
428d5830
DM
23112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23116 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23117 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23118 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23119 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23120
a78bc654
DM
23121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23122 manipulate bits before adding and subtracting TWO112[sx].
23123 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23124
4579f81c
RM
231252012-02-27 Roland McGrath <roland@hack.frob.com>
23126
36c8acb4
RM
23127 [BZ #13775]
23128 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23129 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23130 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23131 being in POSIX, because they are in 1003.1-2008.
23132
84ad622b
RM
23133 * rt/tst-aio.c: Include <fcntl.h>.
23134 * rt/tst-aio7.c: Likewise.
23135 * rt/tst-aio64.c: Likewise.
23136
4579f81c
RM
23137 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23138
abd923db
JM
231392012-02-27 Joseph Myers <joseph@codesourcery.com>
23140
23141 * manual/install.texi (--with-headers): Describe headers as
23142 interface headers, not private headers.
23143 (Specific advice for GNU/Linux systems): Describe use of headers
23144 from "make headers_install", not private headers from older
23145 kernels.
43be4ca2 23146 * INSTALL: Regenerated.
abd923db
JM
23147 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23148 Change to 2.6.19.
23149 * sysdeps/unix/sysv/linux/configure: Regenerated.
23150
6664049b
JM
23151 * manual/llio.texi (fclean): Remove documentation.
23152
bb8b6697
JM
23153 * manual/Makefile (libc-texi-generated): New variable. Include
23154 version.texi.
23155 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23156 $(libc-texi-generated), not duplicated list of files.
23157 (version.texi, stamp-version): New rules.
23158 (realclean): Remove $(libc-texi-generated), not individual files
23159 from that list. Do not remove dir-add.texinfo.
23160 * manual/libc.texinfo: Comment out uses of edition numbers and
23161 references to printed manual. Remove last-updated dates.
23162 (EDITION): Comment out.
23163 (ISBN): Likewise.
23164 (VERSION, UPDATED): Remove.
23165 (version.texi): Include.
23166
12e5c3b9
AS
231672012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23168
23169 * sysdeps/posix/spawni.c: Include <signal.h>.
23170 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23171 * sysdeps/pthread/aio_fsync.c: Likewise.
23172
4efeffc1 231732012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23174
ba63ba08
UD
23175 * conform/Makefile (tests): Run only when not cross-compiling and
23176 when fast-check is not defined.
23177
d94a4670
UD
23178 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23179 * conform/data/limits.h-data: Fixes for POSIX2008.
23180 * conform/run-conformtest.sh: Run all tests.
23181 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23182 headers.
23183 * include/bits/dlfcn.h: Likewise.
23184 * include/langinfo.h: Likewise.
23185 * include/monetary.h: Likewise.
23186 * include/sys/poll.h: Likewise.
23187
23188 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23189 for __USE_GNU.
23190 * posix/spawn.h: Define __need_sigset_t.
23191 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23192 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23193 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23194 to get sigevent_t only.
23195 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23196 only for __USE_GNU.
23197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23198 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23199 process_vm_writev only for __USE_GNU.
23200 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23201
23202 * conform/Makefile: For now ignore errors from run-conformtest.
23203 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23204 POSIX to avoid namespace pollution. Don't prepend headers.
23205 * conform/data/aio.h-data: Fixes for POSIX testing.
23206 * conform/data/fcntl.h-data: Likewise.
23207 * conform/data/glob.h-data: Likewise.
23208 * conform/data/grp.h-data: Likewise.
23209 * conform/data/pthread.h-data: Likewise.
23210 * conform/data/pwd.h-data: Likewise.
23211 * conform/data/signal.h-data: Likewise.
23212 * conform/data/spawn.h-data: Likewise.
23213 * conform/data/stdio.h-data: Likewise.
23214 * conform/data/stdlib.h-data: Likewise.
23215 * conform/data/stropts.h-data: Likewise.
23216 * conform/data/sys/mman.h-data: Likewise.
23217 * conform/data/sys/stat.h-data: Likewise.
23218 * conform/data/sys/types.h-data: Likewise.
23219 * conform/data/sys/wait.h-data: Likewise.
23220 * conform/data/time.h-data: Likewise.
23221 * conform/data/unistd.h-data: Likewise.
23222 * conform/data/utime.h-data: Likewise.
23223
23224 * io/sys/stat.h: fchmod was always in POSIX.
23225 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23226 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23227 * rt/aio.h: Define __need_timespec before including <time.h>.
23228 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23229 struct. Add forward declaration of pthread_attr_t and use it in
23230 sigevent.
23231 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23233 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23234 always remove CLK_TCK definition.
23235
c20105c3
AS
232362012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23237
23238 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23239
7a270350
UD
232402012-02-25 Ulrich Drepper <drepper@gmail.com>
23241
31341567
UD
23242 * conform/run-conformtest.sh: New file.
23243 * conform/Makefile: Run run-conformtest for tests.
23244 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23245 support.
23246
23247 * conform/data/uchar.h-data: New file.
23248 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23249 * conform/data/arpa/inet.h-data: Likewise.
23250 * conform/data/assert.h-data: Likewise.
23251 * conform/data/complex.h-data: Likewise.
23252 * conform/data/cpio.h-data: Likewise.
23253 * conform/data/ctype.h-data: Likewise.
23254 * conform/data/dirent.h-data: Likewise.
23255 * conform/data/dlfcn.h-data: Likewise.
23256 * conform/data/errno.h-data: Likewise.
23257 * conform/data/fcntl.h-data: Likewise.
23258 * conform/data/float.h-data: Likewise.
23259 * conform/data/fmtmsg.h-data: Likewise.
23260 * conform/data/fnmatch.h-data: Likewise.
23261 * conform/data/ftw.h-data: Likewise.
23262 * conform/data/glob.h-data: Likewise.
23263 * conform/data/grp.h-data: Likewise.
23264 * conform/data/iconv.h-data: Likewise.
23265 * conform/data/inttypes.h-data: Likewise.
23266 * conform/data/langinfo.h-data: Likewise.
23267 * conform/data/libgen.h-data: Likewise.
23268 * conform/data/limits.h-data: Likewise.
23269 * conform/data/locale.h-data: Likewise.
23270 * conform/data/math.h-data: Likewise.
23271 * conform/data/monetary.h-data: Likewise.
23272 * conform/data/mqueue.h-data: Likewise.
23273 * conform/data/ndbm.h-data: Likewise.
23274 * conform/data/net/if.h-data: Likewise.
23275 * conform/data/netdb.h-data: Likewise.
23276 * conform/data/netinet/in.h-data: Likewise.
23277 * conform/data/nl_types.h-data: Likewise.
23278 * conform/data/poll.h-data: Likewise.
23279 * conform/data/pthread.h-data: Likewise.
23280 * conform/data/pwd.h-data: Likewise.
23281 * conform/data/regex.h-data: Likewise.
23282 * conform/data/sched.h-data: Likewise.
23283 * conform/data/search.h-data: Likewise.
23284 * conform/data/semaphore.h-data: Likewise.
23285 * conform/data/setjmp.h-data: Likewise.
23286 * conform/data/signal.h-data: Likewise.
23287 * conform/data/spawn.h-data: Likewise.
23288 * conform/data/stdarg.h-data: Likewise.
23289 * conform/data/stdio.h-data: Likewise.
23290 * conform/data/stdlib.h-data: Likewise.
23291 * conform/data/string.h-data: Likewise.
23292 * conform/data/strings.h-data: Likewise.
23293 * conform/data/stropts.h-data: Likewise.
23294 * conform/data/sys/ipc.h-data: Likewise.
23295 * conform/data/sys/mman.h-data: Likewise.
23296 * conform/data/sys/msg.h-data: Likewise.
23297 * conform/data/sys/resource.h-data: Likewise.
23298 * conform/data/sys/select.h-data: Likewise.
23299 * conform/data/sys/sem.h-data: Likewise.
23300 * conform/data/sys/shm.h-data: Likewise.
23301 * conform/data/sys/socket.h-data: Likewise.
23302 * conform/data/sys/stat.h-data: Likewise.
23303 * conform/data/sys/statvfs.h-data: Likewise.
23304 * conform/data/sys/time.h-data: Likewise.
23305 * conform/data/sys/timeb.h-data: Likewise.
23306 * conform/data/sys/times.h-data: Likewise.
23307 * conform/data/sys/types.h-data: Likewise.
23308 * conform/data/sys/uio.h-data: Likewise.
23309 * conform/data/sys/un.h-data: Likewise.
23310 * conform/data/sys/utsname.h-data: Likewise.
23311 * conform/data/sys/wait.h-data: Likewise.
23312 * conform/data/syslog.h-data: Likewise.
23313 * conform/data/tar.h-data: Likewise.
23314 * conform/data/termios.h-data: Likewise.
23315 * conform/data/utime.h-data: Likewise.
23316 * conform/data/utmpx.h-data: Likewise.
23317 * conform/data/varargs.h-data: Likewise.
23318 * conform/data/wchar.h-data: Likewise.
23319 * conform/data/wctype.h-data: Likewise.
23320 * conform/data/wordexp.h-data: Likewise.
23321
23322 * include/stropts.h: New file.
23323 * include/uchar.h: New file.
23324 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23325 * include/assert.h: Likewise.
23326 * include/ctype.h: Likewise.
23327 * include/dirent.h: Likewise.
23328 * include/dlfcn.h: Likewise.
23329 * include/fcntl.h: Likewise.
23330 * include/fnmatch.h: Likewise.
23331 * include/glob.h: Likewise.
23332 * include/grp.h: Likewise.
23333 * include/libio.h: Likewise.
23334 * include/locale.h: Likewise.
23335 * include/math.h: Likewise.
23336 * include/net/if.h: Likewise.
23337 * include/netdb.h: Likewise.
23338 * include/netinet/in.h: Likewise.
23339 * include/pthread.h: Likewise.
23340 * include/pwd.h: Likewise.
23341 * include/regex.h: Likewise.
23342 * include/sched.h: Likewise.
23343 * include/search.h: Likewise.
23344 * include/setjmp.h: Likewise.
23345 * include/signal.h: Likewise.
23346 * include/stdio.h: Likewise.
23347 * include/stdlib.h: Likewise.
23348 * include/string.h: Likewise.
23349 * include/sys/cdefs.h: Likewise.
23350 * include/sys/mman.h: Likewise.
23351 * include/sys/msg.h: Likewise.
23352 * include/sys/resource.h: Likewise.
23353 * include/sys/select.h: Likewise.
23354 * include/sys/socket.h: Likewise.
23355 * include/sys/stat.h: Likewise.
23356 * include/sys/statvfs.h: Likewise.
23357 * include/sys/time.h: Likewise.
23358 * include/sys/times.h: Likewise.
23359 * include/sys/uio.h: Likewise.
23360 * include/sys/utsname.h: Likewise.
23361 * include/sys/wait.h: Likewise.
23362 * include/termios.h: Likewise.
23363 * include/time.h: Likewise.
23364 * include/ulimit.h: Likewise.
23365 * include/unistd.h: Likewise.
23366 * include/utime.h: Likewise.
23367 * include/wchar.h: Likewise.
23368 * include/wctype.h: Likewise.
23369 * include/wordexp.h: Likewise.
23370
23371 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23372
7a270350
UD
23373 * time/time.h: TIME_UTC must be a macro.
23374 Make timespec_get available for ISO C11 only as well.
23375
7724defc
UD
233762012-02-24 Ulrich Drepper <drepper@gmail.com>
23377
23378 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23379 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23380
6b1d1d46
JM
233812012-02-24 Joseph Myers <joseph@codesourcery.com>
23382
23383 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23384
0f8bbd69
JM
233852012-02-24 Joseph Myers <joseph@codesourcery.com>
23386
23387 * manual/texinfo.tex: Update to version 2012-01-19.16.
23388
66ab80bc
JM
233892012-02-24 Joseph Myers <joseph@codesourcery.com>
23390
23391 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23392
74981cc5
RM
233932012-02-24 Roland McGrath <roland@hack.frob.com>
23394
ee968201
RM
23395 [BZ #13738]
23396 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23397 * manual/fdl-1.3.texi: New file.
23398 * manual/fdl-1.1.texi: File removed.
23399
74981cc5
RM
23400 [BZ #13738]
23401 * manual/libc.texinfo (FDL_VERSION): New @set.
23402 Use it for mention of FDL in cover text.
23403 (Documentation License): Use it in @include file name.
23404
7bb764bc
JM
234052012-02-22 Joseph Myers <joseph@codesourcery.com>
23406 Roland McGrath <roland@hack.frob.com>
23407
23408 [BZ #5461]
23409 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23410 not LONG_LONG_MAX and LONG_LONG_MIN.
23411 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23412 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23413 name.
23414 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23415
6cbeae47
JM
234162012-02-22 Joseph Myers <joseph@codesourcery.com>
23417
23418 [BZ #2547]
23419 [BZ #11365]
23420 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23421 manipulate bits before adding and subtracting TWO23[sx].
23422 * math/libm-test.inc (nearbyint_test): Add more tests.
23423
fe45ce09
JM
234242012-02-22 Joseph Myers <joseph@codesourcery.com>
23425
23426 [BZ #2548]
23427 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23428 bits before adding and subtracting TWO23[sx].
23429 * math/libm-test.inc (rint_test): Add more tests.
23430 (rint_test_tonearest): Likewise.
23431 (rint_test_towardzero): Likewise.
23432 (rint_test_downward): Likewise.
23433 (rint_test_upward: Likewise.
23434
ff3b3d82
JM
234352012-02-22 Joseph Myers <joseph@codesourcery.com>
23436
23437 [BZ #10110]
23438 * include/stdc-predef.h: New file. Extracted from features.h.
23439 * include/features.h: Include stdc-predef.h.
23440 * Makefile (headers): Add stdc-predef.h.
23441 * CONFORMANCE (Compiler limitations): Update.
23442
ef0aab35
JM
234432012-02-22 Joseph Myers <joseph@codesourcery.com>
23444
23445 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23446
58639409
DM
234472012-02-21 David S. Miller <davem@davemloft.net>
23448
23449 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23450 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23451
c0e70b25
DM
234522012-02-20 David S. Miller <davem@davemloft.net>
23453
23454 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23455 using a normal save/restore sequence, rather than allocating a
23456 dummy stack frame just to store a frame pointer and restore.
23457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23458
fb06851d
JM
234592012-02-21 Joseph Myers <joseph@codesourcery.com>
23460
23461 * manual/install.texi: Fix stray word in line-wrapped comment.
23462
7a8b71c3
DM
234632012-02-20 David S. Miller <davem@davemloft.net>
23464
d510c123
DM
23465 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23466 both binutils and gcc support GOTDATA.
23467
0722d7c2
DM
23468 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23469 "rd %pc" in the PIC register setup sequences.
23470
3d2b3019
DM
23471 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23472 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23473 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23474 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23475 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23480 (SYSCALL_ERROR_HANDLER): Likewise.
23481 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23482 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23484 (SYSCALL_ERROR_HANDLER): Likewise.
23485
c80098a9
DM
23486 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23487 (HAVE_GCC_GOTDATA): New.
23488 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23489 relocation support in both binutils and gcc.
23490 * sysdeps/sparc/elf/configure: Regenerate.
23491
3a2545a0
DM
23492 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23493 * sysdeps/sparc/sparc32/elf/configure: Delete.
23494 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23495 * sysdeps/sparc/sparc64/elf/configure: Delete.
23496 * sysdeps/sparc/elf/configure.in: New file.
23497 * sysdeps/sparc/elf/configure: Generate.
23498
7a8b71c3
DM
23499 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23500 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23501 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23502 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23503 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23504
f1e86fca
JM
235052012-02-21 Joseph Myers <joseph@codesourcery.com>
23506
23507 * manual/install.texi: Do not mention specific glibc version
23508 numbers.
23509 * manual/libc.texinfo (VERSION, UPDATED): Update.
23510 (@copying): Use @copyright{} and range of years.
23511
0e7dfaef
JM
235122012-02-21 Joseph Myers <joseph@codesourcery.com>
23513
23514 [BZ #13695]
23515 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23516 [crti.S not in sysdirs] (generated): Do not append.
23517 [crti.S not in sysdirs] (omit-deps): Likewise.
23518 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23519 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23520 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23521 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23522 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23523 Likewise.
23524 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23525 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23526 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23527 * csu/defs.awk: Remove file.
23528 * sysdeps/generic/initfini.c: Likewise.
23529 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23530 variable.
23531 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23532 Likewise.
23533
599af3ca
JM
235342012-02-20 Joseph Myers <joseph@codesourcery.com>
23535
23536 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23537 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23538 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23540 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23541 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23542 <bits/epoll.h>.
23543 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23544 (__EPOLL_PACKED): Define to empty if not defined by
23545 <bits/epoll.h>.
23546 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23548 bits/epoll.h.
23549
0e499750
JM
235502012-02-20 Joseph Myers <joseph@codesourcery.com>
23551
23552 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23553 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23554 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23555 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23556 <bits/timerfd.h>.
23557 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23559 bits/timerfd.h.
23560
5ad91f6e
JM
235612012-02-20 Joseph Myers <joseph@codesourcery.com>
23562
23563 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23564 in C locale.
23565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23566 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23567 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23569
06b99b02
AJ
235702012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23571
23572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23573 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23574
7638c0fd
AS
235752012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23576
23577 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23578 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23579 defined.
23580 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23581 Likewise.
23582 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23583 entry for 2.16.
23584
92221550
AJ
235852012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23586
23587 * math/w_acos.c: Use non-signaling floating-point comparisons.
23588 * math/w_acosf.c: Likewise.
23589 * math/w_acosh.c: Likewise.
23590 * math/w_acoshf.c: Likewise.
23591 * math/w_acoshl.c: Likewise.
23592 * math/w_acosl.c: Likewise.
23593 * math/w_asin.c: Likewise.
23594 * math/w_asinf.c: Likewise.
23595 * math/w_asinl.c: Likewise.
23596 * math/w_atanh.c: Likewise.
23597 * math/w_atanhf.c: Likewise.
23598 * math/w_atanhl.c: Likewise.
23599 * math/w_exp2.c: Likewise.
23600 * math/w_exp2f.c: Likewise.
23601 * math/w_exp2l.c: Likewise.
23602 * math/w_j0.c: Likewise.
23603 * math/w_j0f.c: Likewise.
23604 * math/w_j0l.c: Likewise.
23605 * math/w_j1.c: Likewise.
23606 * math/w_j1f.c: Likewise.
23607 * math/w_j1l.c: Likewise.
23608 * math/w_jn.c: Likewise.
23609 * math/w_jnf.c: Likewise.
23610 * math/w_log.c: Likewise.
23611 * math/w_log10.c: Likewise.
23612 * math/w_log10f.c: Likewise.
23613 * math/w_log10l.c: Likewise.
23614 * math/w_log2.c: Likewise.
23615 * math/w_log2f.c: Likewise.
23616 * math/w_log2l.c: Likewise.
23617 * math/w_logf.c: Likewise.
23618 * math/w_logl.c: Likewise.
23619 * math/w_sqrt.c: Likewise.
23620 * math/w_sqrtf.c: Likewise.
23621 * math/w_sqrtl.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23623 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23625 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23626 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23627
ebaf36eb
JM
236282012-02-19 Joseph Myers <joseph@codesourcery.com>
23629
23630 [BZ #9739]
23631 * manual/string.texi (strnlen): Use correct parameter name in
23632 equivalent expression.
23633
71c254a6
JM
236342012-02-19 Joseph Myers <joseph@codesourcery.com>
23635
23636 [BZ #11174]
23637 * manual/users.texi (seteuid): Consistently use neweuid for
23638 argument name.
23639
16d2c631
JM
236402012-02-19 Joseph Myers <joseph@codesourcery.com>
23641
23642 [BZ #13704]
23643 * manual/nss.texi (Services in the NSS configuration): Correct
23644 list of services in example configuration file.
23645
cd837b09
NB
236462012-02-19 Nick Bowler <nbowler@draconx.ca>
23647
23648 [BZ #11322]
23649 * manual/arith.texi: Remove statements about negative zero
23650 behaving identically to zero.
23651
02c4bbad
JM
236522012-02-18 Joseph Myers <joseph@codesourcery.com>
23653
23654 [BZ #5993]
23655 * manual/install.texi: Do not document upgrading from libc5.
23656
366842e7
JM
236572012-02-18 Joseph Myers <joseph@codesourcery.com>
23658
23659 [BZ #4596]
23660 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23661
dd54084d
DM
236622012-02-18 David S. Miller <davem@davemloft.net>
23663
23664 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23665 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23666 %o7 across the call.
23667 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23668 instead.
23669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23670 SETUP_PIC_REG_LEAF.
23671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23672 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23673 * sysdeps/sparc/crtn.S: Likewise.
23674
2bcc53a3
UD
236752012-02-17 Ulrich Drepper <drepper@gmail.com>
23676
23677 * aout/Makefile: Remove.
23678
09c093b5
RK
236792012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23680
23681 [BZ #13058]
23682 * manual/examples/argp-ex1.c (main): Format definition in GNU
23683 style.
23684 * manual/examples/argp-ex2.c (main): Likewise.
23685 * manual/examples/argp-ex3.c (main): Likewise.
23686 * manual/examples/argp-ex4.c (main): Likewise.
23687 * manual/examples/longopt.c (main): Use new-style prototype
23688 definition.
23689 * manual/examples/strncat.c (main): Specify return type and use
23690 (void) for arguments.
23691 * manual/examples/subopt.c (main): Use char **argv argument.
23692
2ee633a2
JM
236932012-02-17 Joseph Myers <joseph@codesourcery.com>
23694
23695 [BZ #5077]
23696 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23697 rounding modes.
23698
0520adde
FB
236992012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23700
23701 [BZ #6907]
23702 * manual/string.texi (strchr): Change when strchrnul is
23703 recommended.
23704
3f4081cd
DGM
237052012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23706
23707 [BZ #174]
23708 * manual/locale.texi (setlocale): Document LOCPATH.
23709
d1b10e78
JM
237102012-02-17 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #10210]
23713 * manual/process.texi (execle): Move @dots{} before last argument.
23714
79c6869c
PB
237152012-02-17 Paul Bolle <pebolle@tiscali.nl>
23716
23717 [BZ #12047]
23718 * manual/charset.texi (Generic Charset Conversion): Fix typo
23719 (LC_TYPE -> LC_CTYPE).
23720
cc6e48bc
NB
237212012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23722
23723 [BZ #5805]
23724 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23725 (scalbnf): Likewise.
23726 (scalbnl): Likewise.
23727 (scalbln): Likewise.
23728 (scalblnf): Likewise.
23729 (scalblnl): Likewise.
23730 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23731 (vwarnx): Likewise.
23732 (verr): Likewise.
23733 (verrx): Likewise.
23734 * manual/filesys.texi (telldir): Use braces around return type.
23735 * manual/llio.texi (mmap): Add space after comma.
23736 (mmap64): Likewise.
23737 * manual/math.texi (jn): Use @var{} on parameter names.
23738 (jnf): Likewise.
23739 (jnl): Likewise.
23740 (yn): Likewise.
23741 (ynf): Likewise.
23742 (ynl): Likewise.
23743 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23744 line.
23745 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23746 "...".
23747 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23748 (sched_get_priority_max): Likewise.
23749 * manual/signal.texi (sigvec): Add space after comma.
23750 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23751 names.
23752 (if_indextoname): Likewise.
23753 (if_freenameindex): Likewise.
23754 (sendto): Use ',' instead of '.' in prototype.
23755 * manual/startup.texi (syscall): Use @dots{} instead of literal
23756 "...".
23757 * manual/stdio.texi (__fpending): Separate initial words of
23758 paragraph from @deftypefun line.
23759 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23760 "...".
23761 (vsyslog): Use @var{} on parameter names.
23762 * manual/terminal.texi (stty): Use @var{} on parameter names.
23763 * manual/users.texi (getutmp): Use @var{} on parameter names.
23764 (getutmpx): Likewise.
23765
5b23062f
JM
237662012-02-17 Joseph Myers <joseph@codesourcery.com>
23767
23768 [BZ #6884]
23769 * manual/stdio.texi (fopen): Fix typos in description of
23770 ",ccs=STRING".
23771
8dee4833
AJ
237722012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23773
23774 [BZ #4026]
23775 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23776 get clock_id definition.
23777
9078ce93
TS
237782012-02-17 Thomas Schwinge <thomas@schwinge.name>
23779
23780 [BZ #4822]
23781 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23782 (madvise): Cast every argument to void on its own.
23783
3835c55f
JM
237842012-02-17 Joseph Myers <joseph@codesourcery.com>
23785
23786 [BZ #9902]
23787 * manual/startup.texi (Exit Status): Fix typo.
23788
35c47e37
JM
237892012-02-17 Joseph Myers <joseph@codesourcery.com>
23790
23791 [BZ #10140]
23792 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23793 * manual/examples/argp-ex2.c: Likewise.
23794 * manual/examples/argp-ex3.c: Likewise.
23795
e3b69ca7
RH
237962012-02-16 Richard Henderson <rth@redhat.com>
23797
23798 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23799 * sysdeps/s390/s390-32/initfini.c: Remove.
23800 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23801 * sysdeps/s390/s390-64/initfini.c: Remove.
23802
df83af67
KK
238032012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23804
23805 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23806 compiler output for sysdeps/generic/initfini.c.
23807 * sysdeps/sh/elf/initfini.c: Remove file.
23808
f63f3380
DM
238092012-02-16 David S. Miller <davem@davemloft.net>
23810
fb59b3a4
DM
23811 [BZ #11494]
23812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23813
f63f3380
DM
23814 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23815 * sysdeps/sparc/crti.S: New file.
23816 * sysdeps/sparc/crtn.S: New file.
23817 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23818 * sysdeps/sparc/sparc64/Makefile: Likewise.
23819
df6a4a4a
MF
238202012-02-15 Mike Frysinger <vapier@gentoo.org>
23821
6dd8f3dc 23822 [BZ #3335]
df6a4a4a
MF
23823 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23824
1cac7236
RM
238252012-02-15 Roland McGrath <roland@hack.frob.com>
23826
d2c736f8
RM
23827 [BZ #4822]
23828 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23829
1cac7236
RM
23830 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23831 (write, read, close): Likewise.
23832 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23833
8e475601
JM
238342012-02-15 Joseph Myers <joseph@codesourcery.com>
23835
23836 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23837 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23839 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23840 <bits/signalfd.h>.
23841 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23843 bits/signalfd.h.
23844
ed656b40
MP
238452012-02-14 Marek Polacek <polacek@redhat.com>
23846
23847 * sysdeps/x86_64/crti.S: New file.
23848 * sysdeps/x86_64/crtn.S: New file.
23849 * sysdeps/x86_64/elf/initfini.c: Remove file.
23850
2a979d3a
JM
238512012-02-13 Joseph Myers <joseph@codesourcery.com>
23852
23853 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23854 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23855 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23856 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23857 <bits/inotify.h>.
23858 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23860 bits/inotify.h.
23861
2a418ac3
JM
238622012-02-13 Joseph Myers <joseph@codesourcery.com>
23863
23864 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23865 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23866 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23867 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23868 <bits/eventfd.h>.
23869 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23871 bits/eventfd.h.
23872
fb779be7
TS
238732012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23874
e19e83c5
RM
23875 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23876 __feraiseexcept instead of feraiseexcept.
7c35ffed 23877
fb779be7
TS
23878 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23879 nanosleep invocations.
23880 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23881 strings, and add error checking for a nanosleep invocations.
23882
59ba27a6
PE
238832012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23884
23885 Replace FSF snail mail address with URLs, as per GNU coding standards.
23886 Most of the snail mail addresses were wrong anyway, and omitting
23887 them makes the source code easier to maintain. Almost all of the
23888 changes are to license notices and to locale LC_IDENTIFICATION
23889 addresses, except for this one:
23890 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23891 not its snail mail address.
23892
57b957eb
RH
238932012-02-09 Richard Henderson <rth@twiddle.net>
23894
af850b1c
RH
23895 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23896 of kernel-features.h.
23897
57b957eb
RH
23898 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23899
6b73181a
MP
239002012-02-08 Marek Polacek <polacek@redhat.com>
23901
23902 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23903 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23904 * sysdeps/gnu/_G_config.h: Likewise.
23905 * sysdeps/generic/_G_config.h: Likewise.
23906
26ecc33a
AS
239072012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23908
6c6dbc63
AS
23909 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23910 tests.
23911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23912
e216c012
AS
23913 * sysdeps/powerpc/powerpc32/crti.S: New file.
23914 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23915 * sysdeps/powerpc/powerpc64/crti.S: New file.
23916 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23917
26ecc33a
AS
23918 * Makeconfig (have-initfini): Don't set.
23919 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23920 * configure.in (nopic_initfini): Don't substitute.
23921 * config.h.in (HAVE_INITFINI): Don't #undef.
23922 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23923 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23924
3add8e13
JM
239252012-02-08 Joseph Myers <joseph@codesourcery.com>
23926
23927 Support crti.S and crtn.S provided directly by architectures.
23928 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23929 [crti.S in sysdirs] (omit-deps): Likewise.
23930 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23931 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23932 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23933 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23934 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23935 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23936 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23937 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23938 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23939 compiler output for sysdeps/generic/initfini.c.
23940 * sysdeps/i386/elf/Makefile: Remove file.
23941 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23942
a22f12b4
MP
239432012-02-07 Marek Polacek <polacek@redhat.com>
23944
23945 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23946 * sysdeps/gnu/_G_config.h: Likewise.
23947 * sysdeps/mach/hurd/_G_config.h: Likewise.
23948
148cf100
MP
239492012-02-07 Marek Polacek <polacek@redhat.com>
23950
23951 * math/Makefile (tests): Add tst-CMPLX2.
23952 * math/tst-CMPLX2.c: New file.
23953
cfdc0dd7
AS
239542012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23955
84ba42c4
AS
23956 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23957
cfdc0dd7
AS
23958 * math/libm-test.inc (jn_test): Add missing L suffix.
23959
622c86f4
MP
239602012-02-06 Marek Polacek <polacek@redhat.com>
23961
23962 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23963 * sysdeps/i386/fpu/e_powf.S: Likewise.
23964 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23965 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23966 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23967 * sysdeps/i386/fpu/e_pow.S: Likewise.
23968 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23969 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23970 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23971 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23972 * sysdeps/i386/fpu/e_log2.S: Likewise.
23973 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23974 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23975 * sysdeps/i386/fpu/e_powl.S: Likewise.
23976 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23977 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23978 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23979 * sysdeps/i386/fpu/e_logl.S: Likewise.
23980 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23981 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23982 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23983 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23984 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23985 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23986 * sysdeps/i386/fpu/e_log.S: Likewise.
23987 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23988 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23989 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23990 * sysdeps/i386/fpu/e_logf.S: Likewise.
23991 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23992 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23993 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23994 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23995 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23996 * sysdeps/i386/fpu/e_log10.S: Likewise.
23997 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23998 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23999 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24000 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24001 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24002 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24003 * sysdeps/i386/asm-syntax.h: Likewise.
24004 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24005 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24006 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24007 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24008 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24009 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24010 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24011 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24012 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24013 * sysdeps/powerpc/sysdep.h: Likewise.
24014 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24015 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24016
d4a54ac6
JM
240172012-02-06 Joseph Myers <joseph@codesourcery.com>
24018
24019 [BZ #411]
24020 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24021
314054ea
JM
240222012-02-06 Joseph Myers <joseph@codesourcery.com>
24023
24024 * sysdeps/i386/sysdep.h: Include <features.h>.
24025 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24026 version.
24027
d8e0ca50
JM
240282012-02-05 Joseph Myers <joseph@codesourcery.com>
24029
24030 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24031 Define.
24032 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24033 LOAD_PIC_REG_STR.
24034
b1da7dd9
JM
240352012-02-03 Joseph Myers <joseph@codesourcery.com>
24036
24037 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24038 (SETUP_PIC_REG): Use GET_PC_THUNK.
24039 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24040 macro.
24041
9a1d9254
JM
240422012-02-03 Joseph Myers <joseph@codesourcery.com>
24043
24044 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24045 for non-PIC compilation.
24046 (SETUP_PIC_REG): Add .p2align directive.
24047 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24048 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24049 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24050 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24051 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24052 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24053 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24054 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24055 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24056 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24057 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24058 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24059 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24060 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24061 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24062 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24063 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24064 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24065 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24066 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24067 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24068 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24069 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24070 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24073 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24074 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24075 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24076 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24077 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24079 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24080 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24081 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24082 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24083 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24084 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24085 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24086 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24087 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24088
65dc3b75
JM
240892012-02-03 Joseph Myers <joseph@codesourcery.com>
24090
24091 * math/tst-CMPLX.c: Include <stdio.h>.
24092
d55bf177
JM
240932012-01-31 Joseph Myers <joseph@codesourcery.com>
24094
24095 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24096 float.
24097 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24098 * sysdeps/sparc/bits/mathdef.h: Likewise.
24099
69db4f8f
MP
241002012-01-31 Marek Polacek <polacek@redhat.com>
24101
24102 * libio/libio.h: Don't define _PARAMS.
24103 * locale/programs/config.h: Don't define PARAMS.
24104 * stdlib/strtol_l.c: Likewise.
24105 (__strtol_l): Remove PARAMS from the prototype.
24106
41b81892
UD
241072012-01-31 Ulrich Drepper <drepper@gmail.com>
24108
3b49edc0
UD
24109 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24110 names. Just use the correct names. Remove unnecessary wrapper
24111 functions.
24112 * malloc/arena.c: Likewise.
24113 * malloc/hooks.c: Likewise.
24114
41b81892
UD
24115 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24116 ARENA_TEST says not to. Simplify test for creation of a new arena.
24117 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24118
27a25b6e
UD
241192012-01-30 Ulrich Drepper <drepper@gmail.com>
24120
24121 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24122 into tail calls.
24123 (update_get_addr): New function.
24124 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24125 GET_ADDR_MODULE parameter.
24126
c8a89e7d
JM
241272012-01-30 Joseph Myers <joseph@codesourcery.com>
24128
24129 * crypt/cert.c: Remove __STDC__ conditionals.
24130 * crypt/crypt-entry.c: Likewise.
24131 * crypt/crypt_util.c: Likewise.
24132 * libio/filedoalloc.c: Likewise.
24133 * libio/fileops.c: Likewise.
24134 * libio/genops.c: Likewise.
24135 * libio/iofclose.c: Likewise.
24136 * libio/iofdopen.c: Likewise.
24137 * libio/iofopen.c: Likewise.
24138 * libio/iofopen64.c: Likewise.
24139 * libio/iogetdelim.c: Likewise.
24140 * libio/iopopen.c: Likewise.
24141 * libio/obprintf.c: Likewise.
24142 * libio/oldfileops.c: Likewise.
24143 * libio/oldiofclose.c: Likewise.
24144 * libio/oldiofdopen.c: Likewise.
24145 * libio/oldiofopen.c: Likewise.
24146 * libio/oldiopopen.c: Likewise.
24147 * libio/wfiledoalloc.c: Likewise.
24148 * libio/wgenops.c: Likewise.
24149 * locale/programs/xmalloc.c: Likewise.
24150 * misc/syslog.c: Likewise.
24151 * stdio-common/xbug.c: Likewise.
24152 * string/memchr.c: Likewise.
24153 * string/memcmp.c: Likewise.
24154 * string/memrchr.c: Likewise.
24155 * string/rawmemchr.c: Likewise.
24156 * sysdeps/posix/getcwd.c: Likewise.
24157 * time/strftime_l.c: Likewise.
24158
3b100462
JM
241592012-01-30 Joseph Myers <joseph@codesourcery.com>
24160
24161 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24162 * config.make.in (config-cflags-sse2avx): Define.
24163 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24164 Fix typo.
24165
607998af
CM
241662012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24167
24168 * scripts/config.guess: Update from upstream config git repository.
24169 * scripts/config.sub: Likewise.
24170
3601428f
CM
241712012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24172
3ac8b282
CM
24173 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24174 (EM_NUM): Update.
24175 (R_TILEPRO_*, R_TILEGX_*): New macros.
24176
e034841e
CM
24177 * scripts/firstversions.awk: Fix bug in version range handling.
24178
540d7568
CM
24179 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24180
3601428f
CM
24181 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24182
463de862
CM
24183 * include/sys/epoll.h: New file.
24184 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24185 libc_hidden_def.
24186
73139a76
UD
241872012-01-28 Ulrich Drepper <drepper@gmail.com>
24188
96bc5b45
UD
24189 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24190 Avoid unnecessary __WORDSIZE == 64 test.
24191 (fmaxf): Use VEX format if possible.
24192 (fmax): Likewise.
24193 (fminf): Likewise.
24194 (fmin): Likewise.
24195
56f6f6a2
UD
24196 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24197 * math/math_private.h: Remove libc_fegetround* and
24198 libc_fesetround*.
24199 * sysdeps/i386/configure.in: Check for -msse2avx.
24200 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24201 also if SSE2AVX is defined.
24202 Remove libc_fegetround* and libc_fesetround*.
24203 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24204 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24205 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24206 of HAS_YMM_USABLE.
24207 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24208 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24209 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24210 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24211 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24212
73139a76
UD
24213 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24214
d73f93a4
AZ
242152012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24216
24217 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24218 size is not set.
24219 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24220
6ee65ed6
UD
242212012-01-27 Ulrich Drepper <drepper@gmail.com>
24222
24223 [BZ #13618]
24224 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24225 relocation.
24226 * Makeconfig (libm): Define.
24227 * elf/Makefile: Add rules to build and run tst-relsort1.
24228 * elf/tst-relsort1.c: New file.
24229 * elf/tst-relsort1mod1.c: New file.
24230 * elf/tst-relsort1mod2.c: New file.
24231
8db21882
JM
242322012-01-27 Joseph Myers <joseph@codesourcery.com>
24233
24234 * math/s_ldexp.c: Remove __STDC__ conditionals.
24235 * math/s_ldexpf.c: Likewise.
24236 * math/s_ldexpl.c: Likewise.
24237 * math/s_nextafter.c: Likewise.
24238 * math/s_nexttowardf.c: Likewise.
24239 * math/s_significand.c: Likewise.
24240 * math/s_significandf.c: Likewise.
24241 * math/s_significandl.c: Likewise.
24242 * math/w_jnl.c: Likewise.
24243 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24244 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24245 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24246 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24247 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24258 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24259 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24260 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24265 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24266 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24267 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24268 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24270 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24271 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24272 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24273 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24274 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24275 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24276 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24277 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24278 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24279 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24280 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24281 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24282 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24283 * sysdeps/ieee754/k_standard.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24345 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24358 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24359 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24363 * sysdeps/ieee754/s_matherr.c: Likewise.
24364 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24365 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24367 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24368
965a54a4
JM
243692012-01-26 Joseph Myers <joseph@codesourcery.com>
24370
24371 * crypt/md5.h: Remove __STDC__ conditionals.
24372 * libio/libioP.h: Likewise.
24373 * locale/programs/config.h: Likewise.
24374 * sysdeps/generic/sysdep.h: Likewise.
24375 * sysdeps/i386/asm-syntax.h: Likewise.
24376 * sysdeps/s390/asm-syntax.h: Likewise.
24377 * sysdeps/unix/sysdep.h: Likewise.
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24380
7071ad79
JM
243812012-01-26 Joseph Myers <joseph@codesourcery.com>
24382
24383 * libio/libio.h: Remove __STDC__ conditionals.
24384 * malloc/obstack.h: Likewise.
24385 * math/complex.h: Likewise.
24386 * math/math.h: Likewise.
24387 * sysdeps/generic/_G_config.h: Likewise.
24388 * sysdeps/gnu/_G_config.h: Likewise.
24389 * sysdeps/mach/hurd/_G_config.h: Likewise.
24390 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24391 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24392 * sysdeps/sparc/bits/mathdef.h: Likewise.
24393
afc5ed09
UD
243942012-01-26 Ulrich Drepper <drepper@gmail.com>
24395
24396 [BZ #13583]
24397 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24398 Clean up HAS_* macros.
afc5ed09 24399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24400 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24401 possible.
24402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24403 HAS_AVX.
24404 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24405 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24406 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24408 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24409
bdb6de1d
JM
244102012-01-25 Joseph Myers <joseph@codesourcery.com>
24411
24412 * elf/tst-unique3.cc (gets): Remove declaration.
24413 * elf/tst-unique3lib.cc (gets): Likewise.
24414 * elf/tst-unique3lib2.cc (gets): Likewise.
24415 * elf/tst-unique4.cc (gets): Likewise.
24416
b15549e6
UD
244172012-01-24 Ulrich Drepper <drepper@gmail.com>
24418
24419 * include/stdio.h: Add C++ protection. Add gets declarations and
24420 definitions.
24421 * debug/tst-chk1.c: Don't declare gets here.
24422 * stdio-common/tst-gets.c: Likewise.
24423
a037381f
JM
244242012-01-24 Joseph Myers <joseph@codesourcery.com>
24425
24426 * posix/glob: Remove directory.
24427
f1d4aa75
JM
244282012-01-24 Joseph Myers <joseph@codesourcery.com>
24429
24430 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24431
81c0c964
PT
244322012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24433
24434 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24435 of the non-standard EPFNOSUPPORT.
24436
0ea698ae
ST
244372011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24438
24439 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24440 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24441 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24442
d220b117
UD
244432012-01-21 Ulrich Drepper <drepper@gmail.com>
24444
24445 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24446
3e1aa84e
UD
244472012-01-20 Ulrich Drepper <drepper@gmail.com>
24448
24449 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24450 transient errors.
24451 * nscd/grpcache.c (cache_addgr): Likewise.
24452 * nscd/hstcache.c (cache_addhst): Likewise.
24453 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24454 * nscd/pwdcache.c (cache_addpw): Likewise.
24455 * nscd/servicescache.c (cache_addserv): Likewise.
24456
400aa020
UD
244572012-01-16 Ulrich Drepper <drepper@gmail.com>
24458
d77e7869
UD
24459 * malloc/malloc.c: Various cleanups.
24460 * malloc/hooks.c: Likewise.
24461
400aa020
UD
24462 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24463 * stdlib/bug-fmtmsg1.c: New file.
24464
24465 * stdlib/fmtmsg.c (init): Add missing unlock.
24466 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24467
e0a309cf
MP
244682012-01-12 Marek Polacek <polacek@redhat.com>
24469
24470 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24471 and _GNU_SOURCE.
24472
929d11c7
WS
244732012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24474
24475 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24476 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24477 macro to ensure uniqueness of label name.
24478 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24479 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24480
41d0e869
UD
244812012-01-11 Ulrich Drepper <drepper@gmail.com>
24482
0cc5ed3b
UD
24483 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24484
41d0e869
UD
24485 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24486 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24487 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24488 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24489
a47a831a
UD
244902012-01-10 Ulrich Drepper <drepper@gmail.com>
24491
daa891c0
UD
24492 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24493
24494 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24495 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24496 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24497
e58ef0f2
UD
24498 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24499
a47a831a 24500 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24501 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24502 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24503 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24504
24505 * math/bits/math-finite.h: Add ldexp support.
24506
a0bfc9c7
MP
245072012-01-10 Marek Polacek <polacek@redhat.com>
24508
24509 * locale/programs/localedef.h (show_archive_content): Add noreturn
24510 attribute.
24511
d6e97a1d
UD
245122012-01-09 Ulrich Drepper <drepper@gmail.com>
24513
24514 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24515
d5835c26
UD
245162012-01-08 Ulrich Drepper <drepper@gmail.com>
24517
e5f484c6
UD
24518 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24519
d5835c26
UD
24520 * io/Makefile (headers): Add bits/poll2.h.
24521
d1f741e9
WS
245222011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24523
24524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24525 typo #include statement.
24526
ec09c1c4
UD
245272012-01-08 Ulrich Drepper <drepper@gmail.com>
24528
24529 * include/sys/cdefs.h: Define __attribute_alloc_size.
24530 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24531 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24532 * elf/pldd.c: Likewise.
24533 * iconv/iconv_charmap.c: Likewise.
24534 * iconv/iconvconfig.c: Likewise.
24535 * iconv/strtab.c: Likewise.
24536 * locale/programs/locale.c: Likewise.
24537 * locale/programs/localedef.h: Likewise.
24538 * locale/programs/simple-hash.c: Likewise.
24539 * nscd/nscd.h: Likewise.
24540 * nss/makedb.c: Likewise.
24541 * sysdeps/generic/ldconfig.h: Likewise.
24542 * locale/programs/localedef.c: Remove xmalloc prototype.
24543 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24544
20b38e03
PP
245452012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24546
24547 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24548 appropriate.
24549
a0da5fe1
UD
245502012-01-08 Ulrich Drepper <drepper@gmail.com>
24551
1d5a644a 24552 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24553 * math/tst-CMPLX.c: New file.
1d5a644a 24554
8784a6db
UD
24555 * math/complex.h (CMPLXL): Fix typo.
24556
d9a216c0
UD
24557 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24558 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24559 GLIBC_2.16.
24560 * debug/tst-chk1.c: Add poll and ppoll tests.
24561 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24562 * include/sys/poll.h: Add hidden proto for ppoll.
24563 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24564 * sysdeps/mach/hurd/ppoll.c: Likewise.
24565 * io/ppoll.c: Likewise.
24566 * debug/poll_chk.c: New file.
24567 * debug/ppoll_chk.c: New file.
24568 * include/bits/poll2.h: New file.
24569 * io/bits/poll2.h: New file.
24570
ac097f5c
UD
24571 [BZ #1350]
24572 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24573
2119dcfa
UD
24574 * configure.in: static is always set to yes. Remove.
24575 * config.make.in: Don't set build-static.
24576 * Makeconfig: Remove use of build-static.
24577 * dlfcn/Makefile: Likewise.
24578 * elf/Makefile: Likewise.
24579 * math/Makefile: Likewise.
24580 * misc/Makefile: Likewise.
24581 * nptl/Makefile: Likewise.
24582 * sysdeps/mach/hurd/Makefile: Likewise.
24583
121766a9
UD
24584 * configure.in: PWD_P is not used anymore.
24585 * config.make.in: Remove PWD_P entry.
24586
51a1d39c 24587 * configure.in: Remove last remnants of RANLIB.
8720d066 24588 No need to check for signed size_t anymore.
215f4bdc
UD
24589 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24590 and IA-64.
3857022a 24591 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24592 * aclocal.m4: Likewise.
24593
d3ed7225
UD
24594 * wcsmbs/mbrtoc16.c: Implement using towc function.
24595 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24596 * wcsmbs/wcsmbsload.c: Likewise.
24597 * iconv/gconv_simple.c: Likewise.
24598 * iconv/gconv_int.h: Likewise.
24599 * iconv/gconv_builtin.h: Likewise.
24600 * iconv/iconv_prog.c: Remove CHAR16 handling.
24601
24602 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24603
24604 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24605
a0da5fe1
UD
24606 * configure.in: Remove --with-elf and --enable-bounded options.
24607 Dont set base_machine for ia64. More non-ELF conditions removed.
24608 Remove testing and setting of leading underscore information.
24609 * config.make.in (build-bounded): Set to no.
24610 * config.h.in: Remove NO_UNDERSCORES entry.
24611 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24612 them.
24613 * csu/start.c: Remove !NO_UNDERSCORE code.
24614 * locale/localeinfo.h: Likewise.
24615 * sysdeps/generic/machine-gmon.h: Likewise.
24616 * sysdeps/generic/sysdep.h: Likewise.
24617 * sysdeps/i386/sysdep.h: Likewise.
24618 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24619 * sysdeps/mach/sysdep.h: Likewise.
24620 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24622 * sysdeps/sh/sysdep.h: Likewise.
24623 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24624 * sysdeps/unix/i386/sysdep.S: Likewise.
24625 * sysdeps/unix/sparc/start.c: Likewise.
24626 * sysdeps/unix/sparc/sysdep.S: Likewise.
24627 * sysdeps/unix/sparc/sysdep.h: Likewise.
24628 * sysdeps/unix/start.c: Likewise.
24629 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24630 * sysdeps/x86_64/sysdep.h: Likewise.
24631
df78418a
UD
246322012-01-07 Ulrich Drepper <drepper@gmail.com>
24633
a784e502
UD
24634 [BZ #13553]
24635 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24636 for non-gcc.
24637 * argp/argp-fmtstream.h: Use const instead __const.
24638 * argp/argp.h: Likewise.
24639 * assert/assert.h: Likewise.
24640 * bits/fenv.h: Likewise.
24641 * bits/sched.h: Likewise.
24642 * bits/sigset.h: Likewise.
24643 * bits/sigthread.h: Likewise.
24644 * catgets/nl_types.h: Likewise.
24645 * conform/data/pthread.h-data: Likewise.
24646 * crypt/crypt-private.h: Likewise.
24647 * crypt/crypt.h: Likewise.
24648 * crypt/crypt_util.c: Likewise.
24649 * ctype/ctype.h: Likewise.
24650 * debug/execinfo.h: Likewise.
24651 * debug/mbsnrtowcs_chk.c: Likewise.
24652 * debug/mbsrtowcs_chk.c: Likewise.
24653 * debug/wcsnrtombs_chk.c: Likewise.
24654 * debug/wcsrtombs_chk.c: Likewise.
24655 * debug/wcstombs_chk.c: Likewise.
24656 * dirent/dirent.h: Likewise.
24657 * dlfcn/dlfcn.h: Likewise.
24658 * elf/neededtest4.c: Likewise.
24659 * grp/grp.h: Likewise.
24660 * gshadow/gshadow.h: Likewise.
24661 * iconv/gconv.h: Likewise.
24662 * iconv/gconv_int.h: Likewise.
24663 * iconv/gconv_simple.c: Likewise.
24664 * iconv/iconv.h: Likewise.
24665 * iconv/loop.c: Likewise.
24666 * iconv/skeleton.c: Likewise.
24667 * include/aio.h: Likewise.
24668 * include/aliases.h: Likewise.
24669 * include/argz.h: Likewise.
24670 * include/arpa/inet.h: Likewise.
24671 * include/assert.h: Likewise.
24672 * include/dirent.h: Likewise.
24673 * include/dlfcn.h: Likewise.
24674 * include/execinfo.h: Likewise.
24675 * include/fcntl.h: Likewise.
24676 * include/fenv.h: Likewise.
24677 * include/glob.h: Likewise.
24678 * include/grp.h: Likewise.
24679 * include/libintl.h: Likewise.
24680 * include/mntent.h: Likewise.
24681 * include/netdb.h: Likewise.
24682 * include/pwd.h: Likewise.
24683 * include/rpc/netdb.h: Likewise.
24684 * include/sched.h: Likewise.
24685 * include/search.h: Likewise.
24686 * include/shadow.h: Likewise.
24687 * include/signal.h: Likewise.
24688 * include/stdio.h: Likewise.
24689 * include/stdlib.h: Likewise.
24690 * include/string.h: Likewise.
24691 * include/sys/socket.h: Likewise.
24692 * include/sys/stat.h: Likewise.
24693 * include/sys/statfs.h: Likewise.
24694 * include/sys/statvfs.h: Likewise.
24695 * include/sys/syslog.h: Likewise.
24696 * include/sys/time.h: Likewise.
24697 * include/sys/uio.h: Likewise.
24698 * include/time.h: Likewise.
24699 * include/unistd.h: Likewise.
24700 * include/utmp.h: Likewise.
24701 * include/wchar.h: Likewise.
24702 * include/wctype.h: Likewise.
24703 * inet/aliases.h: Likewise.
24704 * inet/arpa/inet.h: Likewise.
24705 * inet/netinet/ether.h: Likewise.
24706 * inet/netinet/in.h: Likewise.
24707 * intl/libintl.h: Likewise.
24708 * io/bits/fcntl2.h: Likewise.
24709 * io/fcntl.h: Likewise.
24710 * io/ftw.h: Likewise.
24711 * io/sys/poll.h: Likewise.
24712 * io/sys/stat.h: Likewise.
24713 * io/sys/statfs.h: Likewise.
24714 * io/sys/statvfs.h: Likewise.
24715 * io/utime.h: Likewise.
24716 * libio/bits/stdio.h: Likewise.
24717 * libio/bits/stdio2.h: Likewise.
24718 * libio/libio.h: Likewise.
24719 * libio/libioP.h: Likewise.
24720 * libio/stdio.h: Likewise.
24721 * locale/lc-ctype.c: Likewise.
24722 * locale/locale.h: Likewise.
24723 * login/utmp.h: Likewise.
24724 * malloc/arena.c: Likewise.
24725 * malloc/malloc.c: Likewise.
24726 * malloc/malloc.h: Likewise.
24727 * malloc/mcheck.c: Likewise.
24728 * malloc/mtrace.c: Likewise.
24729 * math/bits/mathcalls.h: Likewise.
24730 * math/fenv.h: Likewise.
24731 * math/math_private.h: Likewise.
24732 * misc/bits/error.h: Likewise.
24733 * misc/bits/syslog.h: Likewise.
24734 * misc/err.h: Likewise.
24735 * misc/error.h: Likewise.
24736 * misc/fstab.h: Likewise.
24737 * misc/mntent.h: Likewise.
24738 * misc/regexp.h: Likewise.
24739 * misc/search.h: Likewise.
24740 * misc/sgtty.h: Likewise.
24741 * misc/sys/mman.h: Likewise.
24742 * misc/sys/syslog.h: Likewise.
24743 * misc/sys/uio.h: Likewise.
24744 * misc/sys/xattr.h: Likewise.
24745 * misc/ttyent.h: Likewise.
24746 * nis/rpcsvc/ypclnt.h: Likewise.
24747 * nss/nss.h: Likewise.
24748 * posix/bits/unistd.h: Likewise.
24749 * posix/fnmatch.h: Likewise.
24750 * posix/glob.h: Likewise.
24751 * posix/sched.h: Likewise.
24752 * posix/spawn.h: Likewise.
24753 * posix/sys/wait.h: Likewise.
24754 * posix/unistd.h: Likewise.
24755 * posix/wordexp.h: Likewise.
24756 * pwd/pwd.h: Likewise.
24757 * resolv/netdb.h: Likewise.
24758 * resource/sys/resource.h: Likewise.
24759 * rt/aio.h: Likewise.
24760 * rt/bits/mqueue2.h: Likewise.
24761 * rt/mqueue.h: Likewise.
24762 * shadow/shadow.h: Likewise.
24763 * signal/signal.h: Likewise.
24764 * socket/send.c: Likewise.
24765 * socket/sendto.c: Likewise.
24766 * socket/sys/socket.h: Likewise.
24767 * stdio-common/printf.h: Likewise.
24768 * stdlib/bits/stdlib.h: Likewise.
24769 * stdlib/fmtmsg.h: Likewise.
24770 * stdlib/monetary.h: Likewise.
24771 * stdlib/stdlib.h: Likewise.
24772 * stdlib/ucontext.h: Likewise.
24773 * streams/stropts.h: Likewise.
24774 * string/argz.h: Likewise.
24775 * string/bits/string2.h: Likewise.
24776 * string/string.h: Likewise.
24777 * string/strings.h: Likewise.
24778 * sunrpc/rpc/auth.h: Likewise.
24779 * sunrpc/rpc/auth_des.h: Likewise.
24780 * sunrpc/rpc/clnt.h: Likewise.
24781 * sunrpc/rpc/netdb.h: Likewise.
24782 * sunrpc/rpc/pmap_clnt.h: Likewise.
24783 * sunrpc/rpc/xdr.h: Likewise.
24784 * sysdeps/generic/inttypes.h: Likewise.
24785 * sysdeps/generic/net/if.h: Likewise.
24786 * sysdeps/generic/sys/swap.h: Likewise.
24787 * sysdeps/gnu/net/if.h: Likewise.
24788 * sysdeps/gnu/utmpx.h: Likewise.
24789 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24790 * sysdeps/i386/i486/bits/string.h: Likewise.
24791 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24792 * sysdeps/s390/bits/string.h: Likewise.
24793 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24794 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24795 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24796 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24797 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24798 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24799 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24800 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24801 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24802 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24803 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24804 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24805 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24806 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24807 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24808 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24809 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24813 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24814 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24815 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24816 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24817 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24818 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24819 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24821 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24822 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24823 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24824 * sysvipc/sys/ipc.h: Likewise.
24825 * sysvipc/sys/msg.h: Likewise.
24826 * sysvipc/sys/sem.h: Likewise.
24827 * sysvipc/sys/shm.h: Likewise.
24828 * termios/termios.h: Likewise.
24829 * time/sys/time.h: Likewise.
24830 * time/time.h: Likewise.
24831 * wcsmbs/bits/wchar2.h: Likewise.
24832 * wcsmbs/uchar.h: Likewise.
24833 * wcsmbs/wchar.h: Likewise.
24834 * wctype/wctype.h: Likewise.
24835
0269750c
UD
24836 [BZ #13551]
24837 * Makeconfig: Remove all but ELF support including AIX support.
24838 * Makerules: Likewise.
24839 * config.h.in: Likewise.
24840 * config.make.in: Likewise.
24841 * configure: Likewise.
24842 * configure.in: Likewise.
24843 * csu/Makefile: Likewise.
24844 * csu/version.c: Likewise.
24845 * debug/Makefile: Likewise.
24846 * dlfcn/Makefile: Likewise.
24847 * elf/Makefile: Likewise.
24848 * extra-lib.mk: Likewise.
24849 * iconv/Makefile: Likewise.
24850 * include/libc-symbols.h: Likewise.
24851 * include/shlib-compat.h: Likewise.
24852 * resolv/Makefile: Likewise.
24853 * resolv/res_libc.c: Likewise.
24854 * rt/Makefile: Likewise.
24855 * sysdeps/i386/asm-syntax.h: Likewise.
24856 * sysdeps/i386/sysdep.h: Likewise.
24857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24858 * sysdeps/mach/sysdep.h: Likewise.
24859 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24860 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24861 * sysdeps/s390/asm-syntax.h: Likewise.
24862 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24864 * sysdeps/sh/sysdep.h: Likewise.
24865 * sysdeps/unix/sparc/sysdep.h: Likewise.
24866 * sysdeps/wordsize-32/divdi3.c: Likewise.
24867 * sysdeps/x86_64/sysdep.h: Likewise.
24868
00bbd29b
UD
24869 * argp/Versions: Remove _argp_unlock_xxx.
24870
24871 [BZ #13559]
24872 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24873 * abilist/libBrokenLocale.abilist: Likewise.
24874 * abilist/libanl.abilist: Likewise.
24875 * abilist/libc.abilist: Likewise.
24876 * abilist/libcrypt.abilist: Likewise.
24877 * abilist/libdl.abilist: Likewise.
24878 * abilist/libm.abilist: Likewise.
24879 * abilist/libnsl.abilist: Likewise.
24880 * abilist/libpthread.abilist: Likewise.
24881 * abilist/libresolv.abilist: Likewise.
24882 * abilist/librt.abilist: Likewise.
24883 * abilist/libthread_db.abilist: Likewise.
24884 * abilist/libutil.abilist: Likewise.
24885 * abilist/libnss_db.abilist: New file.
24886
24887 * scripts/abilist.awk: Add support for indirect functions.
24888
a2693a0e
UD
24889 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24890
3f05895f
UD
24891 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24892
ecb6fb48
UD
24893 * shlib-versions: Remove entries for ports architectures.
24894
664f8cb9
UD
24895 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24896 files in ports.
24897 * elf/stackguard-macros.h: Remove support for IA-64.
24898 * elf/tst-auditmod1.c: Likewise.
24899 * sysdeps/generic/ldsodefs.h: Likewise.
24900
7ae81d88
UD
24901 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24902 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24903 configure files.
24904
bdeba135
UD
24905 [BZ #13552]
24906 * configure.in: Remove --enable-omitfp support.
24907 * FAQ.in: Adjust.
24908 * config.make.in: Likewise.
24909 * Makeconfig: Likewise.
24910 * manual/install.texi: Likewise.
24911
d75a0a62
UD
24912 In case anyone cares, the IA-64 architecture could move to ports.
24913 * sysdeps/ia64/*: Removed.
24914 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24915 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24916
dcc9756b
UD
24917 [BZ #13555]
24918 * configure.in: Remove entries for unsupported architectures.
24919
d3761ebc 24920 [BZ #13533]
9954432e
UD
24921 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24922 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24923 routines.
24924 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24925 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24926 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24927 fall back to using wcrtomb.
24928 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24929 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24930 renaming.
24931 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24932 * wcsmbs/tst-c16c32-1.c: New file.
24933
24934 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24935 local variable.
24936
c3a87236
UD
24937 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24938
28926a1b
UD
24939 * elf/tst-unique3.cc: Add explicit declaration of gets.
24940 * elf/tst-unique3lib.cc: Likewise.
24941 * elf/tst-unique3lib2.cc: Likewise.
24942 * elf/tst-unique4.cc: Likewise.
24943
df78418a
UD
24944 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24945
8ecd6b2a
JM
249462012-01-06 Joseph Myers <joseph@codesourcery.com>
24947
24948 [BZ #13566]
24949 * assert/assert.h (static_assert): Don't define for C++.
24950 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24951 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24952
9f115170
UD
249532012-01-03 Ulrich Drepper <drepper@gmail.com>
24954
5e0d0300
UD
24955 * iconv/loop.c (single loop): Fix assertion in storing of
24956 remaining bytes.
24957
9f115170
UD
24958 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24959
81fb02b0
UD
249602012-01-01 Ulrich Drepper <drepper@gmail.com>
24961
24962 * posix/getconf.c: Update copyright year.
24963 * nss/getent.c: Likewise.
a316c1f6 24964 * nss/makedb.c: Likewise.
81fb02b0
UD
24965 * iconv/iconvconfig.c: Likewise.
24966 * iconv/iconv_prog.c: Likewise.
24967 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24968 * elf/pldd.c: Likewise.
24969 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24970 * catgets/gencat.c: Likewise.
24971 * csu/version.c: Likewise.
24972 * elf/ldd.bash.in: Likewise.
24973 * elf/sprof.c (print_version): Likewise.
24974 * locale/programs/locale.c: Likewise.
24975 * locale/programs/localedef.c: Likewise.
a316c1f6 24976 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24977 * nscd/nscd.c (print_version): Likewise.
24978 * debug/xtrace.sh: Likewise.
24979 * malloc/memusage.sh: Likewise.
24980 * malloc/mtrace.pl: Likewise.
24981 * debug/catchsegv.sh: Likewise.
24982
2ba92745
JJ
249832011-12-30 Jakub Jelinek <jakub@redhat.com>
24984
24985 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24986 pure attribute.
24987
dadebdae
UD
249882011-12-24 Ulrich Drepper <drepper@gmail.com>
24989
d3761ebc 24990 [BZ #13533]
db6af3eb
UD
24991 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24992 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24993 transformations.
24994 * iconv/gconv_int.h: Likewise.
24995 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24996 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24997 from libc for GLIBC_2.16.
24998 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24999 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25000 * wcsmbs/uchar.h: Really define mbstate_t.
25001 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25002 * wcsmbs/c16rtomb.c: New file.
25003 * wcsmbs/mbrtoc16.c: New file.
25004 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25005 for C/POSIX locale.
25006 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25007 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25008
dadebdae
UD
25009 * wcsmbs/wchar.h: Add missing __restrict.
25010
67371b56
UD
250112011-12-23 Ulrich Drepper <drepper@gmail.com>
25012
74033a25
UD
25013 [BZ #13532]
25014 * time/Makefile (routines): Add timespec_get.
25015 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25016 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25017 timespec for ISO C11.
25018 * time/timespec_get.c: New file.
25019 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25020 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25021
380d7e87
UD
25022 [BZ #13531]
25023 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25024 * stdlib/stdlib.h: Declare aligned_alloc.
25025 * Versions.def: Add GLIBC_2.16 for libc.
25026 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25027
4e9e7a35
UD
25028 [BZ 13527]
25029 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25030 ISO C11.
25031
380d7e87 25032 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25033 code.
25034
03a71829
UD
25035 [BZ #13528]
25036 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25037
839e283e
UD
25038 [BZ #13529]
25039 * assert/assert.h (static_assert): Define.
25040
ce5294e2 25041 * version.h: Update for 2.16 development version.
90fa7312 25042
8d44e150 25043 [BZ #13526]
d7809905
UD
25044 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25045 _ISOC11_SOURCE.
25046
c0da14cd
UD
25047 * version.h (RELEASE): Bump for 2.15 release.
25048 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25049
530a3249
MP
25050 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25051 Patch by Marek Polacek <mpolacek@redhat.com>.
25052
67371b56
UD
25053 * bits/byteswap.h: Protect long long constants with __extension__.
25054 * sysdeps/i386/bits/byteswap.h: Likewise.
25055 * sysdeps/ia64/bits/byteswap.h: Likewise.
25056 * sysdeps/s390/bits/byteswap.h: Likewise.
25057 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25058
15db4de1
LD
250592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25060
25061 [BZ #13540]
bbe315ea
LD
25062 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25063 destination buffer.
15db4de1
LD
25064 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25065
2b2596b1
MP
250662011-12-23 Marek Polacek <polacek@redhat.com>
25067
25068 * elf/dl-addr.c (determine_info): Add inline keyword.
25069 * elf/tst-auditmod4b.c (check_avx): Likewise.
25070 * elf/tst-auditmod6b.c (check_avx): Likewise.
25071 * elf/tst-auditmod6c.c (check_avx): Likewise.
25072 * elf/tst-auditmod7b.c (check_avx): Likewise.
25073
70c6c246
UD
250742011-12-23 Ulrich Drepper <drepper@gmail.com>
25075
25076 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25077 !__SSE_MATH__.
25078
c044cf14
LD
250792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25080
15db4de1 25081 [BZ #13540]
c044cf14
LD
25082 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25083 processing for last bytes.
25084
6b13d9d9
BH
250852011-08-06 Bruno Haible <bruno@clisp.org>
25086
d455f537
BH
25087 [BZ #13061]
25088 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25089 U+0385, not to U+1FEE.
25090
6b13d9d9
BH
25091 [BZ #13062]
25092 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25093 entry for U+00A5 U+0301.
25094
db910efd
UD
250952011-12-22 Ulrich Drepper <drepper@gmail.com>
25096
27deeafc
UD
25097 [BZ #13166]
25098 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25099 buffer for the output is too small.
25100
aed9d171
UD
25101 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25102 optimization.
25103
db910efd
UD
25104 [BZ #13185]
25105 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25106 SSE flags if possible.
25107
2bd779ae
LD
251082011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25109
e7f9dac3 25110 [BZ #13540]
2bd779ae
LD
25111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25112 processing for last bytes.
25113
154bfc16
JM
251142011-12-22 Joseph Myers <joseph@codesourcery.com>
25115
25116 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25117 (syscall-list-default-options, syscall-list-default-condition)
25118 (syscall-list-includes): Define.
25119 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25120 list of ABIs and options and #if conditions for each ABI. Do not
25121 handle common syscalls between ABIs specially.
25122 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25123 Remove.
25124 (syscall-list-variants, syscall-list-32bit-options)
25125 (syscall-list-32bit-condition, syscall-list-64bit-options)
25126 (syscall-list-64bit-condition): Define.
25127 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25128 (syscall-list-variants, syscall-list-32bit-options)
25129 (syscall-list-32bit-condition, syscall-list-64bit-options)
25130 (syscall-list-64bit-condition): Define.
25131 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25132 Remove.
25133 (syscall-list-variants, syscall-list-32bit-options)
25134 (syscall-list-32bit-condition, syscall-list-64bit-options)
25135 (syscall-list-64bit-condition): Define.
25136 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25137 Remove.
25138 (syscall-list-variants, syscall-list-32bit-options)
25139 (syscall-list-32bit-condition, syscall-list-64bit-options)
25140 (syscall-list-64bit-condition): Define.
25141
21eaf3a5
UD
251422011-12-22 Ulrich Drepper <drepper@gmail.com>
25143
16c6f992
UD
25144 * locale/iso-639.def: Add brx entry.
25145
41043168
UD
25146 [BZ #13328]
25147 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25148 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25149
21eaf3a5
UD
25150 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25151 __feraiseexcept_renamed.
25152
e3a851a2
UD
251532011-12-21 Ulrich Drepper <drepper@gmail.com>
25154
4920765e
UD
25155 [BZ #13538]
25156 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25157 EPOLLET with unsigned values.
25158 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25159 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25160
e3a851a2
UD
25161 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25162 to large cancellation.
25163 * math/s_cacoshf.c: Likewise.
25164 * math/s_cacoshl.c: Likewise.
25165
b27e24b8
RK
251662011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25167
25168 [BZ #13305]
aebefeee 25169 [BZ #12786]
b27e24b8
RK
25170 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25171 * math/s_cacoshf.c: Likewise.
25172 * math/s_cacoshl.c: Likewise.
25173
ee190f67
UD
251742011-12-21 Ulrich Drepper <drepper@gmail.com>
25175
25176 [BZ #13439]
25177 * iconv/gconv.h: Define __GCONV_SWAP.
25178 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25179 * iconvdata/utf-16.c: Likewise.
25180 * iconvdata/utf-32.c: Likewise.
25181
707f25df
AS
251822011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25183
25184 [BZ #13524]
25185 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25186 numerator after shifting it by one limb.
25187
d2daaa1e
RÁE
251882011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25189
25190 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25191 under [__USE_EXTERN_INLINES].
25192
a4647e72
UD
251932011-12-17 Ulrich Drepper <drepper@gmail.com>
25194
25195 [BZ #13446]
25196 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25197
f0b264f1
AZ
251982011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25199
25200 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25201 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25202 optimized code.
25203 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25204 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25205 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25206 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25207 for strncasecmp/strncasecmp_l compilation.
25208 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25209 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25210
8ef4f244
MP
252112011-12-08 Marek Polacek <mpolacek@redhat.com>
25212
25213 [BZ #13484]
25214 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25215 of __asm__.
25216
97ac2654
UD
252172011-12-17 Ulrich Drepper <drepper@gmail.com>
25218
25219 [BZ #13506]
25220 * time/tzfile.c (__tzfile_read): Check values from file header.
25221
91d2a845
WS
252222011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25223
25224 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25225 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25226 * powerpc/powerpc32/dl-start.S: Likewise.
25227 * powerpc/powerpc32/elf/start.S: Likewise.
25228 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25229 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25230 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25231 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25232 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25233 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25234 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25235 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25236 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25237 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25238 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25239 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25240 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25241 * powerpc/powerpc32/memset.S: Likewise.
25242 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25243 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25244 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25245 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25246 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25247 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25248 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25249 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25250 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25251 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25252 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25253 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25254 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25255
a1267ba1
AZ
252562011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25257
25258 * math/libm-test.inc: Added more nearbyint tests.
25259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25260 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25262 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25263
ad8ac1bd
RL
252642011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25265
25266 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25267 FD_CLOEXEC.
25268
1d3e4b61
UD
252692011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25270
25271 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25272 Add wcscpy-ssse3 wcscpy-c.
25273 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25274 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25275 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25276 * sysdeps/x86_64/wcschr.S: New file.
25277 * sysdeps/x86_64/wcsrchr.S: New file.
25278 * string/test-strcmp.c: Remove checking of wcscmp function for
25279 wrong alignments.
25280 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25281 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25282 wcsrchr-sse2 wcsrchr-c.
25283 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25284 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25285 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25286 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25287 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25288 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25289 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25290 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25291 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25292 * wcsmbc/wcschr.c (WCSCHR): New macro.
25293
5b330a2d
UD
252942011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25295
25296 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25297 * wcsmbs/test-wcsrchr.c: New file.
25298 * string/test-strrchr.c: Add wcsrchr support.
25299 (WIDE): New macro.
25300 * wcsmbs/test-wcscpy.c: New file.
25301 * string/test-strcpy.c: Add wcscpy support.
25302 (WIDE): New macro.
26428b7c 25303
f039c043
UD
253042011-12-10 Ulrich Drepper <drepper@gmail.com>
25305
25306 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25307 the inner loop.
25308
850fb039
AS
253092011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25310
25311 [BZ #13472]
25312 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25313
4efbd5cb
UD
253142011-12-04 Ulrich Drepper <drepper@gmail.com>
25315
52ff5dd0 25316 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25317 Minor optimizations.
52ff5dd0 25318
4efbd5cb
UD
25319 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25320 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25321 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25322
8a426e12
UD
253232011-12-03 Ulrich Drepper <drepper@gmail.com>
25324
aff2453d
UD
25325 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25326 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25327 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25328 for gcc to avoid warnings.
25329 * inet/Makefile (tests): Add tst-checks.
25330 * inet/tst-checks.c: New file.
25331
25332 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25333 warning.
25334
25335 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25336 __wmemcmp_sse2.
25337
25338 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25339 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25340
8a426e12
UD
25341 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25342
9bea3473
UD
253432011-12-02 Ulrich Drepper <drepper@gmail.com>
25344
3a965496
UD
25345 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25346 problem.
25347
9bea3473
UD
25348 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25349
f101631b
UD
253502011-11-29 Joseph Myers <joseph@codesourcery.com>
25351
25352 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25353 conditional on GCC version.
25354 (__arch_compare_and_exchange_val_8_acq)
25355 (__arch_compare_and_exchange_val_16_acq)
25356 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25357 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25358 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25359
a98275aa
UD
253602011-12-02 Joseph Myers <joseph@codesourcery.com>
25361
25362 * sysdeps/sh/backtrace.c: New file.
25363
d4cc29a2
AS
253642011-12-02 Andreas Schwab <schwab@redhat.com>
25365
25366 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25367 parenthesis.
25368
6257af2d
AS
253692011-12-01 Andreas Schwab <schwab@redhat.com>
25370
25371 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25372 falling back to utime.
25373
b5f44c1a
AS
253742011-11-30 Andreas Schwab <schwab@redhat.com>
25375
25376 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25377 expectations for float.
25378
f3a6cc0a
AS
253792011-11-29 Andreas Schwab <schwab@redhat.com>
25380
25381 * locale/weight.h (findidx): Add parameter len.
25382 * locale/weightwc.h (findidx): Likewise.
25383 * posix/fnmatch_loop.c (FCT): Adjust caller.
25384 * posix/regcomp.c (build_equiv_class): Likewise.
25385 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25386 * posix/regexec.c (check_node_accept_bytes): Likewise.
25387 * string/strcoll_l.c (STRCOLL): Likewise.
25388 * string/strxfrm_l.c (STRXFRM): Likewise.
25389
9d65ea3a
UD
253902011-11-17 Ulrich Drepper <drepper@gmail.com>
25391
25392 * Makefile.in: Remove CVSOPT handling.
25393 * configure.in: Remove use of AC_REVISION.
25394 * iconvdata/Makefile (distribute): No need to filter out CVS.
25395 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25396 handling.
25397
5583a086
AS
253982011-11-16 Andreas Schwab <schwab@redhat.com>
25399
25400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25401 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25402 [USE_AS_STRNCASECMP_L]: Likewise.
25403 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25404 NO_TLS_DIRECT_SEG_REFS.
25405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25406 Fix argument offsets for non-PIC.
25407 [USE_AS_STRNCASECMP_L]: Likewise.
25408 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25409 NO_TLS_DIRECT_SEG_REFS.
25410
d62a8200
UD
254112011-11-15 Ulrich Drepper <drepper@gmail.com>
25412
9d65ea3a 25413 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25414 O_CLOEXEC.
25415 * locale/loadlocale.c (_nl_load_locale): Likewise.
25416
09f93bd3
AS
254172011-11-15 Andreas Schwab <schwab@redhat.com>
25418
446514f9
AS
25419 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25420 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25421 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25422 (SYSCALL_GETTIME): Set errno on error.
25423
09f93bd3
AS
25424 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25425 count references to noai6ai_cached.
25426
312be3f9
UD
254272011-11-15 Ulrich Drepper <drepper@gmail.com>
25428
25429 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25430
25431 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25432 FD_CLOEXEC for /proc/self/maps.
25433
25434 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25435 FD_CLOEXEC for /proc/meminfo.
25436
25437 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25438 gai.conf.
25439
25440 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25441 FD_CLOEXEC for given file.
25442
25443 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25444
25445 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25446 FD_CLOEXEC for /etc/hosts.
25447 (_gethtent): Likewise.
25448
25449 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25450
25451 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25452 cancellation and set FD_CLOEXEC for /etc/netgroup.
25453
25454 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25455 reading /etc/publickey.
25456
25457 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25458 allow cancellation when reading /etc/group.
25459
25460 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25461 cancellation.
25462 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25463
25464 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25465 when using data file.
25466
25467 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25468
25469 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25470 (write_nis_obj): Use "c" and "e" in fopen.
25471
25472 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25473
25474 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25475
25476 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25477
25478 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25479
25480 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25481 locale.alias.
25482
25483 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25484
25485 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25486
25487 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25488
25489 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25490 file parsing and set FD_CLOEXEC.
25491
82af0fa8
UD
254922011-11-14 Ulrich Drepper <drepper@gmail.com>
25493
25494 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25495
a5fb313c
AS
254962011-11-14 Andreas Schwab <schwab@redhat.com>
25497
25498 * malloc/arena.c (arena_get2): Don't call reused_arena when
25499 _int_new_arena failed.
25500
6abf3465
UD
255012011-11-14 Ulrich Drepper <drepper@gmail.com>
25502
25503 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25504 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25505 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25506 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25507 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25509 to compile strcasecmp and strncasecmp.
25510 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25511 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25512
25513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25514
76e3966e
UD
255152011-11-13 Ulrich Drepper <drepper@gmail.com>
25516
25517 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25518 locale-defines.sym to gen-as-const-headers.
25519 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25520 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25522 to compile strcasecmp and strncasecmp.
25523 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25524 strcasecmp_l and strncasecmp_l.
25525 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25526 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25527 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25528 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25529 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25530 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25531 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25532 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25533 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25534 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25535 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25536
ab26144e
UD
255372011-11-12 Ulrich Drepper <drepper@gmail.com>
25538
7edb22ef
UD
25539 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25540 result of SYSDEP_GETTIME_CPU to retval.
25541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25542 parameter list to macro. Remove trailing semicolon. Adjust users.
25543
9694fc44
UD
25544 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25545 variable.
25546
8ad89ef8
UD
25547 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25548 mantissa words.
25549 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25550
0c822ef9
UD
25551 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25552 from unused variable.
25553
874e0564
UD
25554 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25555 DWARF definitions.
25556 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25557 for assembling.
25558
3a2edc79
UD
25559 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25560 over namespaces.
25561
f3c2577f
UD
25562 * sunrpc/rpc_prot.c (rejected): Fix case value.
25563
294ce126
UD
25564 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25565 unsigned long long int to avoid warnings in shift.
25566
5e2b63c6
UD
25567 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25568 of use of trans.
25569 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25570 variable tmp.
25571
e7f4b08e
UD
25572 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25573 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25574 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25575
ab26144e
UD
25576 * nis/nis_table.c (nis_list): Use variable of correct type for
25577 result of __follow_path call.
25578
8a6d5255
AZ
255792011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25580
25581 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25582 of math functions ceil, trunc, floor, round, and sqrt, when
25583 avaliable on the platform.
25584 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25585 name clash.
25586 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25587 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25588 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25589
aaddc98c
MP
255902011-10-30 Marek Polacek <mpolacek@redhat.com>
25591
25592 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25593 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25594
95b7042b
RM
255952011-11-11 Roland McGrath <roland@hack.frob.com>
25596
25597 * include/unistd.h: Fix __readlink return type.
25598 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25599
57769839
UD
256002011-11-11 Ulrich Drepper <drepper@gmail.com>
25601
25602 * stdlib/ucontext.h: Undo last change for makecontext.
25603
edc5984d
AS
256042011-11-11 Andreas Schwab <schwab@redhat.com>
25605
98591e58
AS
25606 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25607
edc5984d
AS
25608 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25609 * setjmp/setjmp.h: Mark functions as non-leaf.
25610 * setjmp/bits/setjmp2.h: Likewise.
25611 * stdlib/ucontext.h: Likewise.
25612
77cdc054
AS
256132011-11-10 Andreas Schwab <schwab@redhat.com>
25614
25615 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25616 (reused_arena): Don't check arena limit.
25617 (arena_get2): Atomically check arena limit.
25618
fe72eebd
UD
256192011-11-08 Ulrich Drepper <drepper@gmail.com>
25620
5f078c32
UD
25621 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25622 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25623
fe72eebd
UD
25624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25625 instructions.
25626
ae1bc2fa
AS
256272011-11-07 Andreas Schwab <schwab@redhat.com>
25628
7583a88d
AS
25629 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25630 handler when locking.
25631
ae1bc2fa
AS
25632 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25633 Fix size of allocated buffer.
25634
10fb0bfa
AS
256352011-11-04 Andreas Schwab <schwab@redhat.com>
25636
998832a4
AS
25637 [BZ #10103]
25638 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25639 declarations for long double functions.
25640 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25641
10fb0bfa
AS
25642 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25643
3d7ba52b
AS
256442011-11-03 Andreas Schwab <schwab@redhat.com>
25645
a9ae54a1
AS
25646 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25647 installed.
25648
3d7ba52b
AS
25649 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25650 is disabled.
25651
bc8db248
ST
256522011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25653
25654 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25655
45b96dd6
AS
256562011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25657
647776f6
AS
25658 * include/alloca.h (stackinfo_alloca_round): Define.
25659 (extend_alloca): Use it.
25660 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25661 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25662 here.
25663
d91a8b93
AS
25664 * scripts/check-local-headers.sh: Ignore libaudit.h.
25665
45b96dd6
AS
25666 * nscd/Makefile (extra-objs): Make recursively expanded.
25667
432d41ce
UD
256682011-11-01 Ulrich Drepper <drepper@gmail.com>
25669
34372fc6
UD
25670 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25672
fadb59f8
UD
25673 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25674 * posix/tst-rfc3484-2.c: Likewise.
25675 * posix/tst-rfc3484-3.c: Likewise.
25676
78239589
UD
25677 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25678 process_vm_writev.
25679 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25680 process_vm_writev.
25681 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25682 process_vm_writev from libc using GLIBC_2.15 version.
25683
432d41ce
UD
25684 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25685
02f9c6cf
PP
256862011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25687
25688 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25689 stack usage.
25690
3a2c0242
UD
256912011-10-31 Ulrich Drepper <drepper@gmail.com>
25692
f4ec4833
UD
25693 [BZ #13367]
25694 * nss/getent.c (initgroups_keys): Show error message in case no group
25695 names are given.
25696
3a2c0242
UD
25697 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25698 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25699 __bump_nl_timestamp.
25700 * nscd/connections (nscd_init): When host database is served open
25701 netlink socket and request notification about configuration changes.
25702 (main_loop_poll): Track netlink file descriptor and bump timestamp
25703 in case data becomes available.
25704 (main_loop_epoll): Likewise.
25705 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25706 (database_pers_head): Add extra_data fileds.
25707 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25708 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25709 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25710 Adjust caller.
25711 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25712 in6ai data, call __free_in6ai.
25713 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25714 Add -DHAVE_NETLINK.
25715 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25716 interface information. Reuse previous data if netlink timestamp
25717 is not changed.
25718 (__bump_nl_timestamp): New function.
25719 (__free_in6ai): New function.
25720
636064eb
UD
257212011-10-30 Ulrich Drepper <drepper@gmail.com>
25722
25723 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25724 close_not_cancel_no_status here.
25725 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25726
9beb2334
UD
257272011-10-29 Ulrich Drepper <drepper@gmail.com>
25728
6ef76f3b
UD
25729 [BZ #13276]
25730 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25731 return value.
25732
0ffc4f3e 25733 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25734 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25735 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25736
cb95113e
UD
257372011-07-03 Andreas Jaeger <aj@suse.de>
25738
25739 [BZ #10709]
25740 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25741 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25742 * math/libm-test.inc (sin_test): Add test case.
25743
a1b560ff
UD
257442011-10-29 Ulrich Drepper <drepper@gmail.com>
25745
c9aaface
UD
25746 [BZ #13337]
25747 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25748 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25749
d272e7f1
UD
25750 * elf/chroot_canon.c (chroot_canon): Cleanups.
25751
1bc33071
UD
25752 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25753
1760874d
TJ
25754 [BZ #13335]
25755 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25756 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25757
51d91b18
UD
25758 * string/test-strchr.c: Make usable for strchrnul testing.
25759 * string/test-strchrnul.c: New file.
25760 * string/Makefile (strop-tests): Add strchrnul.
25761
a1b560ff 25762 * po/it.po: Update from translation team.
b611fb81 25763 * po/es.po: Likewise.
a1b560ff 25764
a5b81e1f
UD
257652011-10-28 Ulrich Drepper <drepper@gmail.com>
25766
fd52bc6d
UD
25767 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25768 the three constants needed as parameters. Drop the others.
25769 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25770 __m128i_strloadu_tolower.
52e4b9eb
UD
25771 Create and initialize variable zero and use it in all the places
25772 where _mm_setzero_si128 was used.
fd52bc6d 25773
a5b81e1f
UD
25774 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25775 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25776 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25778 anymore.
25779 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25780 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25781 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25782 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25783 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25784 __mpranred, __mptan.
25785 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25786 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25787 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25788 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25789 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25790 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25791 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25792 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25793 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25794
b4343346
AS
257952011-10-28 Andreas Schwab <schwab@redhat.com>
25796
0c92d8a8
AS
25797 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25798 redefine if SHARED.
25799 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25800
b4343346
AS
25801 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25802 wide char related routines to wcsmbs subdir.
25803
3871f58f
AS
258042011-10-27 Andreas Schwab <schwab@redhat.com>
25805
25806 [BZ #13344]
25807 * misc/sys/cdefs.h (__THROWNL): Define.
25808 * posix/unistd.h: Use __THREADNL instead of __THREAD
25809 for memory synchronization functions.
25810
94d44d9f
RM
258112011-10-26 Roland McGrath <roland@hack.frob.com>
25812
21b64b15 25813 [BZ #13349]
94d44d9f
RM
25814 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25815 doesn't exist.
25816 * manual/stdio.texi (Obstack Streams): Node removed.
25817
f6ce9294
AS
258182011-10-26 Andreas Schwab <schwab@redhat.com>
25819
80479147
AS
25820 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25821 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25823
f6ce9294
AS
25824 * math/math_private.h (math_force_eval): Allow non-addressable
25825 arguments.
25826 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25827
618280a1
UD
258282011-10-25 Ulrich Drepper <drepper@gmail.com>
25829
e0016b11
UD
25830 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25831 file is not needed.
25832
25833 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25834 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25835 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25836 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25837 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25838 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25839 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25840 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25841 Add AVX variants.
25842 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25843 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25844 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25845 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25846 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25847 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25848 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25850 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25851 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25852 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25853 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25855 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25856 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25857 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25858 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25859 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25860 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25861
25862 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25863 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25864
618280a1
UD
25865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25866 place. Use VEX encoding when compiling for AVX.
25867
37822576
AS
258682011-10-25 Andreas Schwab <schwab@redhat.com>
25869
1f1e1947
AS
25870 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25871 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25872
37822576
AS
25873 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25874
31ea014d
UD
258752011-10-25 Ulrich Drepper <drepper@gmail.com>
25876
d7826aa1 25877 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25878 useless if() expression.
d7826aa1
UD
25879 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25881 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25882 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25883 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25884 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25885 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25886 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25888 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25889 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25890 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25891 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25893 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25894 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25895 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25897 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25898
31ea014d
UD
25899 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25900
16437fec
AS
259012011-10-25 Andreas Schwab <schwab@redhat.com>
25902
25903 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25904 condition.
25905 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25906
31d3cc00
UD
259072011-10-25 Ulrich Drepper <drepper@gmail.com>
25908
25909 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25910 .text section. Avoid duplicate constants.
25911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25913 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25919 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25920 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25921 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25923 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25926 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25928 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25929 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25931 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25932 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25933 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25935 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25936 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25937 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25938 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25940 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25941 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25942 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25943 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25944 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25945 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25946 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25947 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25948 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25949 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25950 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25952 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25953 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25954 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25955 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25956
58985aa9
UD
259572011-10-24 Ulrich Drepper <drepper@gmail.com>
25958
202c9deb
UD
25959 * sysdeps/x86_64/dla.h: Move to ...
25960 * sysdeps/x86_64/fpu/dla.h: ...here.
25961 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25962 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25963
af968f62
UD
25964 * config.make.in: Add have-mfma4 entry.
25965 * configure.in: Substitute libc_cv_cc_fma4.
25966 * math/Makefile (dbl-only-routines): Add sincostab.
25967 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25968 Use __sincostab not sincos.
25969 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25970 name is a macro.
25971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25974 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25975 using __copysign.
25976 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25977 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25978 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25979 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25980 and __inv.
25981 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25982 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25983 __copysign.
25984 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25985 define aliases when function name is a macro.
25986 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25987 sysdeps/ieee754/dbl-64/sincos.tbl.
25988 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25989 fma4-enabled routines.
25990 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25991 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25992 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25993 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25994 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25995 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25997 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25998 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25999 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26000 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26001 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26002 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26003 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26004 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26005 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26006 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26007 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26008 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26009 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26010 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26011 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26012 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26015 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26017 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26018 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26019 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26020
58985aa9
UD
26021 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26022 rename.
26023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26031
a201fbcf
AS
260322011-10-24 Andreas Schwab <schwab@redhat.com>
26033
26034 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26035
fc2ee42a
LD
260362011-10-23 Ulrich Drepper <drepper@gmail.com>
26037
bb3129bd
UD
26038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26039
0275fff8
UD
26040 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26041 prediction.
26042 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26043
2fa2ae85
UD
26044 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26045 Remove unused variable magic_bits.
26046 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26047
fc2ee42a
LD
26048 * string/strnlen.c: Define and use STRNLEN macro.
26049 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26050 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26052 * wcsmbs/wcslen.c: Define and use WCSLEN.
26053 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26054 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26055 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26056 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26057 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26058 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26059 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26060
ce7dd29f
LD
260612011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26062
26063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26064 strnlen-sse2-no-bsf.
26065 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26067 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26068 Add strnlen support.
26069 (USE_AS_STRNLEN): New macro.
26070 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26071 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26072 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26073 * sysdeps/x86_64/wcslen.S: New file.
26074
979c70a3
MZ
260752011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26076
26077 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26078 XMM-moves are used for copying on small sizes.
26079
2d09f82f
LD
260802011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26081
26082 * wcsmbs/Makefile (strop-tests): Add wcschr.
26083 * wcsmbs/test-wcschr.c: New file.
26084 * string/test-strchr.c: Update.
26085 Add wcschr support.
26086 (WIDE): New macro.
26087
619fccca
LD
260882011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26089
2d09f82f 26090 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26091 * wcsmbs/test-wcslen.c: New file.
26092 * string/test-strlen.c: Update.
26093 Add wcslen support.
26094 (WIDE): New macro.
26095
09f699ea
UD
260962011-10-23 Ulrich Drepper <drepper@gmail.com>
26097
26098 * po/it.po: Update from translation team.
26099
95584d3b
LD
261002011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26101
26102 * sysdeps/x86_64/wcscmp.S: Update.
26103 Fix wrong comparison semantics.
26104 wcscmp shall use signed comparison not unsigned.
26105 Don't use substraction to avoid overflow bug.
26106 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26107 * wcsmbc/wcscmp.c: Likewise.
26108 * string/test-strcmp.c: Likewise.
26109 Add new tests to check cases with negative values.
26110
c8b3296b
UD
261112011-10-23 Ulrich Drepper <drepper@gmail.com>
26112
26113 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26114 * sysdeps/x86_64/dla.h: ...here. New file.
26115 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26124
246ad57a
AS
261252011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26126
26127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26128 __ynl_finite aliases.
26129
a1a87169
UD
261302011-10-22 Ulrich Drepper <drepper@gmail.com>
26131
0d355eb7
UD
26132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26133
a1a87169
UD
26134 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26135 define DLA_FMA.
26136 [DLA_FMA] (EMULV): Use DLA_FMA.
26137 [DLA_FMA] (MUL12): Use EMULV.
26138 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26139 that are not needed.
26140 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26147
ee2aafe0
AS
261482011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26149
26150 * math/s_nan.c: Undef __nan.
26151 * math/s_nanf.c: Undef __nanf.
26152 * math/s_nanl.c: Undef __nanl.
26153 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26154 "math_private.h".
26155
bc62c2fb
UD
261562011-10-22 Ulrich Drepper <drepper@gmail.com>
26157
77425c63
UD
26158 * math/s_catan.c: Add branch predictions.
26159 * math/s_catanf.c: Likewise.
26160 * math/s_catanh.c: Likewise.
26161 * math/s_catanhf.c: Likewise.
26162 * math/s_catanhl.c: Likewise.
26163 * math/s_catanl.c: Likewise.
26164 * math/s_cexp.c: Likewise.
26165 * math/s_cexpf.c: Likewise.
26166 * math/s_cexpl.c: Likewise.
26167 * math/s_clog.c: Likewise.
26168 * math/s_clog10.c: Likewise.
26169 * math/s_clog10f.c: Likewise.
26170 * math/s_clog10l.c: Likewise.
26171 * math/s_clogf.c: Likewise.
26172 * math/s_clogl.c: Likewise.
26173 * math/s_csqrt.c: Likewise.
26174 * math/s_csqrtf.c: Likewise.
26175 * math/s_csqrtl.c: Likewise.
26176 * math/s_ctanf.c: Likewise.
26177 * math/s_ctanh.c: Likewise.
26178 * math/s_ctanhf.c: Likewise.
26179 * math/s_ctanhl.c: Likewise.
26180 * math/s_ctanl.c: Likewise.
26181
bc62c2fb
UD
26182 * math/math_private.h: Define __nan, __nanf, __nanl.
26183 * math/s_cacosh.c: Include <math_private.h>.
26184 * math/s_cacoshl.c: Likewise.
26185 * math/s_casinh.c: Likewise.
26186 * math/s_casinhf.c: Likewise.
26187 * math/s_casinhl.c: Likewise.
26188 * math/s_ccos.c: Rely entire on ccosh.
26189 * math/s_ccosf.c: Rely entire on ccoshf.
26190 * math/s_ccosl.c: Rely entirely on ccoshl.
26191 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26192 Remove tests for FE_INVALID.
26193 * math/s_ccoshf.c: Likewise.
26194 * math/s_ccoshl.c: Likewise.
26195 * math/s_csin.c: Likewise.
26196 * math/s_csinf.c: Likewise.
26197 * math/s_csinh.c Likewise.
26198 * math/s_csinhf.c: Likewise.
26199 * math/s_csinhl.c: Likewise.
26200 * math/s_csinl.c: Likewise.
26201 * math/s_ctan.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26203 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26204 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26205
8ec250a4
UD
262062011-10-21 Ulrich Drepper <drepper@gmail.com>
26207
c196fed8
UD
26208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26209 compilation problems.
26210
8ec250a4
UD
26211 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26212 __builtin_expect.
26213
8d4f46c6
UD
262142011-10-20 Ulrich Drepper <drepper@gmail.com>
26215
ed72b654
UD
26216 * sysdeps/i386/configure.in: Test for -mfma4 option.
26217 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26218 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26219 COMMON_CPUID_INDEX_80000001.
26220 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26221 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26222 use it if FMA3 is not supported.
26223 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26224
8d4f46c6
UD
26225 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26226 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26227
d45c60c2
AS
262282011-10-20 Andreas Schwab <schwab@redhat.com>
26229
26230 [BZ #12892]
26231 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26232 it would create a cycle with a link time dependency.
26233
d9a4d2ab
UD
262342011-10-19 Ulrich Drepper <drepper@gmail.com>
26235
855d1560
UD
26236 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26237 instruction.
26238 * string/Makefile (strop-tests): Add rawmemchr.
26239 * string/test-rawmemchr.c: New file.
26240
d9a4d2ab
UD
26241 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26243 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26244 when compiling str{,n}casecmp and when AVX is available. Hook up
26245 new optimized code in initializers.
26246
8f3b1ffe
AS
262472011-10-19 Andreas Schwab <schwab@redhat.com>
26248
26249 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26250 __feraiseexcept instead of feraiseexcept.
26251
d38f1dba
UD
262522011-10-18 Ulrich Drepper <drepper@gmail.com>
26253
d9a8d0ab
UD
26254 * math/math_private.h: Define defaults for libc_fetestexcept and
26255 libc_feupdateenv.
26256 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26257 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26259 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26260 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26261 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26262 libc_fetestexcept and libc_feupdateenv.
26263
4855e3dd
UD
26264 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26265 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26266 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26267 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26268 libc_feholdexcept_setround.
26269
581d30e3
UD
26270 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26271 Add s_nearbyint-c and s_nearbyintf-c.
26272 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26273 nearbyintf inlines.
26274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26275 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26277 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26278
d38f1dba
UD
26279 * math/math_private.h: Define defaults for libc_fegetround,
26280 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26281 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26282 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26283 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26284 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26285 standard functions.
26286 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26287 Remove comments and hacks for old compiler versions.
26288 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26289 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26290 libc_feholdexceptl.
26291
caa6c9d8
AS
262922011-10-18 Andreas Schwab <schwab@redhat.com>
26293
26294 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26295 (__feraiseexcept_renamed): Add __NTH.
26296 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26297 namespace violations.
26298
97c066e6
UD
262992011-10-17 Ulrich Drepper <drepper@gmail.com>
26300
99ce7b04
UD
26301 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26302
1004d182
UD
26303 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26304
228a984d
UD
26305 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26306 recently added interfaces.
26307 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26308
c8553a6a
UD
26309 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26310 about macro parameter expansion.
26311
ed22dcf6
UD
26312 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26313 __NO_MATH_INLINES is defined. Cleanups.
26314
26315 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26316 and __floorf is target has SSE4.1.
26317 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26318 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26319 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26320 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26321
b171c137
UD
26322 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26323 name.
26324 (floorf): Likewise.
26325
97c066e6
UD
26326 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26327
629f62ef
AS
263282011-10-17 Andreas Schwab <schwab@redhat.com>
26329
49a43d80
AS
26330 * misc/sys/cdefs.h: Fix last change.
26331
629f62ef
AS
26332 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26333 database lookup.
26334
e453f6cd
UD
263352011-10-16 Ulrich Drepper <drepper@gmail.com>
26336
aa78043a
UD
26337 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26338
ad0f5cad
UD
26339 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26340 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26346 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26347 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26348 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26349 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26350 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26351 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26352 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26353 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26354 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26355 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26356 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26358 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26359 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26361
26362 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26363 ceil, ceilf, floor, floorf.
26364
26365 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26366 Perform IRELATIVE relocations last.
26367
e453f6cd
UD
26368 * elf/do-rel.h: Add another parameter nrelative, replacing the
26369 local variable with the same name. Change name of the function
26370 to end in Rel or Rela (uppercase).
26371 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26372 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26373 elf_dynamic_do_##reloc function.
26374
fd5bdc09
UD
263752011-10-15 Ulrich Drepper <drepper@gmail.com>
26376
79b195b5
UD
26377 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26378 is sufficient, at least on modern CPUs.
26379
d4a28569
UD
26380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26381
b61099b5
UD
26382 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26383 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26384
bcf01e6d
UD
26385 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26386 __expl_finite.
26387 * math/bits/math-finite.h: Add entries for exp.
26388 * math/e_expl.c: Add __*_finite alias.
26389 * sysdeps/i386/fpu/e_exp.S: Likewise.
26390 * sysdeps/i386/fpu/e_expf.S: Likewise.
26391 * sysdeps/i386/fpu/e_expl.c: Likewise.
26392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26393 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26397 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26398 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26399
ba1a0d59
UD
26400 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26401 is sufficient, at least on modern CPUs.
26402
fd5bdc09
UD
26403 * ctype/ctype-info.c (__ctype_init): Define.
26404 * include/ctype.h (__ctype_init): Declare.
26405 (__ctype_b_loc): The variable is always initialized.
26406 (__ctype_toupper_loc): Likewise.
26407 (__ctype_tolower_loc): Likewise.
26408 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26409 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26410
7872cfb0
AS
264112011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26412
b468825a
AS
26413 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26414
7872cfb0
AS
26415 * configure.in: Also look in $cxxmachine/include for C++ system
26416 headers.
26417
be13f7bf
LD
264182011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26419
26420 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26421 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26422 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26423 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26424 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26425 (USE_AS_WMEMCMP): New macro.
26426 Fixing indents.
26427 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26428 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26429 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26430 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26432 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26433 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26434 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26435 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26436 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26437 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26438 (USE_AS_WMEMCMP): New macro.
26439 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26440 * sysdeps/string/test-memcmp.c: Update.
26441 Fix simple_wmemcmp.
26442 Add new tests.
26443 * wcsmbs/wmemcmp.c: Update.
26444 (WMEMCMP): New macro.
26445 Fix overflow bug.
26446
556a2007
AJ
264472011-10-12 Andreas Jaeger <aj@suse.de>
26448
26449 [BZ #13268]
26450 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26451
538faaa7
UD
264522011-10-15 Ulrich Drepper <drepper@gmail.com>
26453
ab6737ff
UD
26454 * libio/iofwide.c (do_length): Avoid warning.
26455
538faaa7
UD
26456 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26457
396a21b1
UD
264582011-10-14 Ulrich Drepper <drepper@gmail.com>
26459
cdf2901f
UD
26460 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26461
38ad40ce
UD
26462 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26463 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26464 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26465 * sysdeps/i386/i686/fpu/e_log.S: New file.
26466 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26467 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26468
396a21b1
UD
26469 * ctype/ctype.h: Add support for inlined isXXX functions when
26470 compiling C++ code.
26471
6b1f68c9
AS
264722011-10-14 Andreas Schwab <schwab@redhat.com>
26473
349290c0
AS
26474 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26475
6b1f68c9
AS
26476 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26477
f2282d42
RM
264782011-10-13 Roland McGrath <roland@hack.frob.com>
26479
26480 [BZ #13291]
26481 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26482
5298ffa8
AS
264832011-10-13 Andreas Schwab <schwab@redhat.com>
26484
714fad23
AS
26485 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26486 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26487 feraiseexcept.
26488
81dcc7fb
AS
26489 * sysdeps/x86_64/memrchr.S: Check for zero size.
26490
5298ffa8
AS
26491 * string/stratcliff.c: Add memrchr tests.
26492
951fbcec
LD
264932011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26494
26495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26496 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26497 rawmemchr-sse2 rawmemchr-sse2-bsf.
26498 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26499 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26500 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26501 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26502 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26503 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26504 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26505 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26506 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26507 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26508 * string/memrchr.c (MEMRCHR): New macro.
26509
0ac5ae23
UD
265102011-10-12 Ulrich Drepper <drepper@gmail.com>
26511
26512 Add integration with gcc's -ffinite-math-only and optimize wrapper
26513 functions in libm.
26514 * Versions.def: Define GLIBC_2.15 version for libm.
26515 * math/Makefile (headers): Add bits/math-finite.h.
26516 * math/bits/math-finite.h: New file.
26517 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26518 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26519 * math/e_acoshl.c: Add __*_finite alias.
26520 * math/e_acosl.c: Likewise.
26521 * math/e_asinl.c: Likewise.
26522 * math/e_atan2l.c: Likewise.
26523 * math/e_atanhl.c: Likewise.
26524 * math/e_coshl.c: Likewise.
26525 * math/e_exp10.c: Likewise.
26526 * math/e_exp10f.c: Likewise.
26527 * math/e_exp10l.c: Likewise.
26528 * math/e_exp2l.c: Likewise.
26529 * math/e_fmodl.c: Likewise.
26530 * math/e_gammal_r.c: Likewise.
26531 * math/e_hypotl.c: Likewise.
26532 * math/e_j0l.c: Likewise.
26533 * math/e_j1l.c: Likewise.
26534 * math/e_jnl.c: Likewise.
26535 * math/e_lgammal_r.c: Likewise.
26536 * math/e_log10l.c: Likewise.
26537 * math/e_log2l.c: Likewise.
26538 * math/e_logl.c: Likewise.
26539 * math/e_powl.c: Likewise.
26540 * math/e_sinhl.c: Likewise.
26541 * math/e_sqrtl.c: Likewise.
26542 * math/e_scalb.c: Completely rewritten and optimized.
26543 * math/e_scalbf.c: Likewise.
26544 * math/e_scalbl.c: Likewise.
26545 * math/w_acos.c: Likewise.
26546 * math/w_acosf.c: Likewise.
26547 * math/w_acosl.c: Likewise.
26548 * math/w_acosh.c: Likewise.
26549 * math/w_acoshf.c: Likewise.
26550 * math/w_acoshl.c: Likewise.
26551 * math/w_asin.c: Likewise.
26552 * math/w_asinf.c: Likewise.
26553 * math/w_asinl.c: Likewise.
26554 * math/w_atan2.c: Likewise.
26555 * math/w_atan2f.c: Likewise.
26556 * math/w_atan2l.c: Likewise.
26557 * math/w_atanh.c: Likewise.
26558 * math/w_atanhf.c: Likewise.
26559 * math/w_atanhl.c: Likewise.
26560 * math/w_exp10.c: Likewise.
26561 * math/w_exp10f.c: Likewise.
26562 * math/w_exp10l.c: Likewise.
26563 * math/w_fmod.c: Likewise.
26564 * math/w_fmodf.c: Likewise.
26565 * math/w_fmodl.c: Likewise.
26566 * math/w_j0.c: Likewise.
26567 * math/w_j0f.c: Likewise.
26568 * math/w_j0l.c: Likewise.
26569 * math/w_j1.c: Likewise.
26570 * math/w_j1f.c: Likewise.
26571 * math/w_j1l.c: Likewise.
26572 * math/w_jn.c: Likewise.
26573 * math/w_jnf.c: Likewise.
26574 * math/w_log.c: Likewise.
26575 * math/w_logf.c: Likewise.
26576 * math/w_logl.c: Likewise.
26577 * math/w_log10.c: Likewise.
26578 * math/w_log10f.c: Likewise.
26579 * math/w_log10l.c: Likewise.
26580 * math/w_log2.c: Likewise.
26581 * math/w_log2f.c: Likewise.
26582 * math/w_log2l.c: Likewise.
26583 * math/w_pow.c: Likewise.
26584 * math/w_powf.c: Likewise.
26585 * math/w_powl.c: Likewise.
26586 * math/w_remainder.c: Likewise.
26587 * math/w_remainderf.c: Likewise.
26588 * math/w_remainderl.c: Likewise.
26589 * math/w_scalb.c: Likewise.
26590 * math/w_scalbf.c: Likewise.
26591 * math/w_scalbl.c: Likewise.
26592 * math/w_sqrt.c: Likewise.
26593 * math/w_sqrtf.c: Likewise.
26594 * math/w_sqrtl.c: Likewise.
26595 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26596 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26597 used.
26598 * math/math_private.h: Declare __kernel_standard_f.
26599 * math/w_cosh.c: Remove cruft and optimize a bit.
26600 * math/w_coshf.c: Likewise.
26601 * math/w_coshl.c: Likewise.
26602 * math/w_exp2.c: Likewise.
26603 * math/w_exp2f.c: Likewise.
26604 * math/w_exp2l.c: Likewise.
26605 * math/w_hypot.c: Likewise.
26606 * math/w_hypotf.c: Likewise.
26607 * math/w_hypotl.c: Likewise.
26608 * math/w_lgamma.c: Likewise.
26609 * math/w_lgamma_r.c: Likewise.
26610 * math/w_lgammaf.c: Likewise.
26611 * math/w_lgammaf_r.c: Likewise.
26612 * math/w_lgammal.c: Likewise.
26613 * math/w_lgammal_r.c: Likewise.
26614 * math/w_sinh.c: Likewise.
26615 * math/w_sinhf.c: Likewise.
26616 * math/w_sinhl.c: Likewise.
26617 * math/w_tgamma.c: Likewise.
26618 * math/w_tgammaf.c: Likewise.
26619 * math/w_tgammal.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26621 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26622 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26623 Minor optimizations. Pretty printing. Remove cruft.
26624 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26625 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26626 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26628 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26629 * sysdeps/i386/fpu/e_asin.S: Likewise.
26630 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26631 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26632 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26633 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26634 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26635 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26636 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26637 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26638 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26639 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26640 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26641 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26642 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26643 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26644 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26645 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26646 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26647 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26648 * sysdeps/i386/fpu/e_log.S: Likewise.
26649 * sysdeps/i386/fpu/e_log10.S: Likewise.
26650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26651 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26652 * sysdeps/i386/fpu/e_log2.S: Likewise.
26653 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26655 * sysdeps/i386/fpu/e_logf.S: Likewise.
26656 * sysdeps/i386/fpu/e_logl.S: Likewise.
26657 * sysdeps/i386/fpu/e_pow.S: Likewise.
26658 * sysdeps/i386/fpu/e_powf.S: Likewise.
26659 * sysdeps/i386/fpu/e_powl.S: Likewise.
26660 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26661 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26662 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26664 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26665 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26666 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26667 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26668 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26690 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26691 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26692 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26693 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26694 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26695 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26696 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26697 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26698 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26700 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26701 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26702 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26703 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26704 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26705 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26706 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26707 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26708 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26709 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26710 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26746 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26748 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26749 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26752 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26754 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26757 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26760 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26761 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26762 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26763 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26764 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26765 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26766 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26767 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26768 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26769 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26770 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26771 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26772 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26773 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26774 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26775 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26777 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26778 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26779 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26780 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26781 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26782 (__isnanf): Likewise.
26783 (__isinf_ns): Likewise.
26784 (__isinf_nsf): Likewise.
26785 (__finite): Likewise.
26786 (__finitef): Likewise.
26787 (__ieee754_sqrt): Define as macro.
26788 (__ieee754_sqrtf): Define as macro.
26789 (__ieee754_sqrtl): Define as macro.
26790 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26791 inlined copy.
26792 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26793 __FINITE_MATH_ONLY__ consistent.
26794 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26795
12cc2fcd
AS
267962011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26797
a843a204
AS
26798 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26799 of rawmemchr.
26800
12cc2fcd
AS
26801 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26802
c853acd5
UD
268032011-10-09 Ulrich Drepper <drepper@gmail.com>
26804
26805 * po/ja.po: Update from translation team.
26806
c658d255
RM
268072011-10-08 Roland McGrath <roland@hack.frob.com>
26808
110946e4
RM
26809 * locale/programs/locarchive.c (prepare_address_space): New function.
26810 (create_archive, enlarge_archive, open_archive): Use it.
26811
50604220
RM
26812 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26813 inside [SHARED], where it is used.
26814
c658d255
RM
26815 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26816
26817 * nss/getent.c (netgroup_keys): Remove unused variable.
26818 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26819
6a621eb7
UD
268202011-10-08 Ulrich Drepper <drepper@gmail.com>
26821
7edb55ce
UD
26822 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26823 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26824 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26825 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26826 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26828 * math/Makefile (libm-calls): Add s_isinf_ns.
26829 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26830 * math/multc3.c: Likewise.
26831 * math/s_casin.c: Likewise.
26832 * math/s_casinf.c: Likewise.
26833 * math/s_casinl.c: Likewise.
26834 * math/s_ccos.c: Likewise.
26835 * math/s_ccosf.c: Likewise.
26836 * math/s_ccosl.c: Likewise.
26837 * math/s_ctan.c: Likewise.
26838 * math/s_ctanf.c: Likewise.
26839 * math/s_ctanh.c: Likewise.
26840 * math/s_ctanhf.c: Likewise.
26841 * math/s_ctanhl.c: Likewise.
26842 * math/s_ctanl.c: Likewise.
26843 * math/w_fmod.c: Likewise.
26844 * math/w_fmodf.c: Likewise.
26845 * math/w_fmodl.c: Likewise.
26846 * math/w_remainder.c: Likewise.
26847 * math/w_remainderf.c: Likewise.
26848 * math/w_remainderl.c: Likewise.
26849 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26850 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26851 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26853 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26854 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26855 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26856 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26857
187da0ae
UD
26858 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26859 of the number.
26860 * stdio-common/printf_fphex.c: Likewise.
26861 * stdio-common/printf_size.c: Likewise.
26862
9277c064
UD
26863 * math/e_exp10.c: Include math_private.h using <...> not "...".
26864 * math/e_exp10f.c: Likewise.
26865 * math/e_exp10l.c: Likewise.
26866 * math/e_exp2l.c: Likewise.
26867 * math/e_j0l.c: Likewise.
26868 * math/e_j1l.c: Likewise.
26869 * math/e_jnl.c: Likewise.
26870 * math/e_lgammal_r.c: Likewise.
26871 * math/e_rem_pio2l.c: Likewise.
26872 * math/e_scalb.c: Likewise.
26873 * math/e_scalbf.c: Likewise.
26874 * math/e_scalbl.c: Likewise.
26875 * math/k_cosl.c: Likewise.
26876 * math/k_sinl.c: Likewise.
26877 * math/k_tanl.c: Likewise.
26878 * math/s_cacoshf.c: Likewise.
26879 * math/s_catan.c: Likewise.
26880 * math/s_catanf.c: Likewise.
26881 * math/s_catanh.c: Likewise.
26882 * math/s_catanhf.c: Likewise.
26883 * math/s_catanhl.c: Likewise.
26884 * math/s_catanl.c: Likewise.
26885 * math/s_ccosh.c: Likewise.
26886 * math/s_ccoshf.c: Likewise.
26887 * math/s_ccoshl.c: Likewise.
26888 * math/s_cexp.c: Likewise.
26889 * math/s_cexpf.c: Likewise.
26890 * math/s_cexpl.c: Likewise.
26891 * math/s_clog.c: Likewise.
26892 * math/s_clog10.c: Likewise.
26893 * math/s_clog10f.c: Likewise.
26894 * math/s_clog10l.c: Likewise.
26895 * math/s_clogf.c: Likewise.
26896 * math/s_clogl.c: Likewise.
26897 * math/s_csin.c: Likewise.
26898 * math/s_csinf.c: Likewise.
26899 * math/s_csinh.c: Likewise.
26900 * math/s_csinhf.c: Likewise.
26901 * math/s_csinhl.c: Likewise.
26902 * math/s_csinl.c: Likewise.
26903 * math/s_csqrt.c: Likewise.
26904 * math/s_csqrtf.c: Likewise.
26905 * math/s_csqrtl.c: Likewise.
26906 * math/s_ctan.c: Likewise.
26907 * math/s_ctanf.c: Likewise.
26908 * math/s_ctanh.c: Likewise.
26909 * math/s_ctanhf.c: Likewise.
26910 * math/s_ctanhl.c: Likewise.
26911 * math/s_ctanl.c: Likewise.
26912 * math/s_ldexp.c: Likewise.
26913 * math/s_ldexpf.c: Likewise.
26914 * math/s_ldexpl.c: Likewise.
26915 * math/s_significand.c: Likewise.
26916 * math/s_significandf.c: Likewise.
26917 * math/s_significandl.c: Likewise.
26918 * math/w_acos.c: Likewise.
26919 * math/w_acosf.c: Likewise.
26920 * math/w_acosh.c: Likewise.
26921 * math/w_acoshf.c: Likewise.
26922 * math/w_acoshl.c: Likewise.
26923 * math/w_acosl.c: Likewise.
26924 * math/w_asin.c: Likewise.
26925 * math/w_asinf.c: Likewise.
26926 * math/w_asinl.c: Likewise.
26927 * math/w_atan2.c: Likewise.
26928 * math/w_atan2f.c: Likewise.
26929 * math/w_atan2l.c: Likewise.
26930 * math/w_atanh.c: Likewise.
26931 * math/w_atanhf.c: Likewise.
26932 * math/w_atanhl.c: Likewise.
26933 * math/w_cosh.c: Likewise.
26934 * math/w_coshf.c: Likewise.
26935 * math/w_coshl.c: Likewise.
26936 * math/w_dremf.c: Likewise.
26937 * math/w_exp10.c: Likewise.
26938 * math/w_exp10f.c: Likewise.
26939 * math/w_exp10l.c: Likewise.
26940 * math/w_exp2.c: Likewise.
26941 * math/w_exp2f.c: Likewise.
26942 * math/w_fmod.c: Likewise.
26943 * math/w_fmodf.c: Likewise.
26944 * math/w_fmodl.c: Likewise.
26945 * math/w_hypot.c: Likewise.
26946 * math/w_hypotf.c: Likewise.
26947 * math/w_hypotl.c: Likewise.
26948 * math/w_j0.c: Likewise.
26949 * math/w_j0f.c: Likewise.
26950 * math/w_j0l.c: Likewise.
26951 * math/w_j1.c: Likewise.
26952 * math/w_j1f.c: Likewise.
26953 * math/w_j1l.c: Likewise.
26954 * math/w_jn.c: Likewise.
26955 * math/w_jnf.c: Likewise.
26956 * math/w_jnl.c: Likewise.
26957 * math/w_lgamma.c: Likewise.
26958 * math/w_lgamma_r.c: Likewise.
26959 * math/w_lgammaf.c: Likewise.
26960 * math/w_lgammaf_r.c: Likewise.
26961 * math/w_lgammal.c: Likewise.
26962 * math/w_lgammal_r.c: Likewise.
26963 * math/w_log.c: Likewise.
26964 * math/w_log10.c: Likewise.
26965 * math/w_log10f.c: Likewise.
26966 * math/w_log10l.c: Likewise.
26967 * math/w_log2.c: Likewise.
26968 * math/w_log2f.c: Likewise.
26969 * math/w_log2l.c: Likewise.
26970 * math/w_logf.c: Likewise.
26971 * math/w_logl.c: Likewise.
26972 * math/w_pow.c: Likewise.
26973 * math/w_powf.c: Likewise.
26974 * math/w_powl.c: Likewise.
26975 * math/w_remainder.c: Likewise.
26976 * math/w_remainderf.c: Likewise.
26977 * math/w_remainderl.c: Likewise.
26978 * math/w_scalb.c: Likewise.
26979 * math/w_scalbf.c: Likewise.
26980 * math/w_scalbl.c: Likewise.
26981 * math/w_sinh.c: Likewise.
26982 * math/w_sinhf.c: Likewise.
26983 * math/w_sinhl.c: Likewise.
26984 * math/w_sqrt.c: Likewise.
26985 * math/w_sqrtf.c: Likewise.
26986 * math/w_sqrtl.c: Likewise.
26987 * math/w_tgamma.c: Likewise.
26988 * math/w_tgammaf.c: Likewise.
26989 * math/w_tgammal.c: Likewise.
26990
6a621eb7
UD
26991 * po/ja.po: Update from translation team.
26992
bf582445
AJ
269932011-09-29 Andreas Jaeger <aj@suse.de>
26994
f9efbf3a
AJ
26995 [BZ #13179]
26996 * sunrpc/netname.c (netname2host): Fix logic.
26997
bf582445
AJ
26998 [BZ #6779]
26999 [BZ #6783]
27000 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27001 correctly.
27002 * math/w_remainder.c (__remainder): Likewise.
27003 * math/w_remainderf.c (__remainderf): Likewise.
27004 * math/libm-test.inc (remainder_test): Add test cases.
27005
48693bea
AK
270062011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27007
27008 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27009 sdiv_qrnnd.
27010
42622229
LD
270112011-10-07 Ulrich Drepper <drepper@gmail.com>
27012
27013 * string/test-memcmp.c: Avoid unncessary #defines.
27014 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27015
093ecf92
LD
270162011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27017
27018 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27019 Use new sse2 version for core i3 - i7 as it's faster
27020 than sse42 version.
27021 (bit_Prefer_PMINUB_for_stringop): New.
27022 * sysdeps/x86_64/rawmemchr.S: Update.
27023 Replace with faster SSE2 version.
27024 * sysdeps/x86_64/memrchr.S: New file.
27025 * sysdeps/x86_64/memchr.S: Update.
27026 Replace with faster SSE2 version.
27027
fde56e5c
MP
270282011-09-12 Marek Polacek <mpolacek@redhat.com>
27029
27030 * elf/dl-load.c (lose): Add cast to avoid warning.
27031
21fd49a9
UD
270322011-10-07 Ulrich Drepper <drepper@gmail.com>
27033
5a06e643
UD
27034 * po/ca.po: Update from translation team.
27035
684ae515
UD
27036 * inet/getnetgrent_r.c: Hook up nscd.
27037 * nscd/Makefile (routines): Add nscd_netgroup.
27038 (nscd-modules): Add netgroupcache.
27039 (CFLAGS-netgroupcache.c): Define.
27040 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27041 (cache_search): Add const to second parameter.
27042 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27043 INNETGR.
27044 (dbs): Add netgrdb entry.
27045 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27046 (verify_persistent_db): Handle netgrdb.
27047 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27048 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27049 GETFDNETGR.
27050 (netgroup_response_header): Define.
27051 (innetgroup_response_header): Define.
27052 (datahead): Add netgroup_response_header and innetgroup_response_header
27053 elements.
27054 * nscd/nscd.conf: Add entries for netgroup cache.
27055 * nscd/nscd.h (dbtype): Add netgrdb.
27056 (_PATH_NSCD_NETGROUP_DB): Define.
27057 (netgroup_iov_disabled): Declare.
27058 (xmalloc, xcalloc, xrealloc): Move declarations here.
27059 (cache_search): Adjust prototype.
27060 Add netgroup-related prototypes.
27061 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27062 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27063 (__nscd_innetgr): Declare.
27064 * nscd/selinux.c (perms): Use access_vector_t as element type and
27065 add netgroup-related initializers.
27066 * nscd/netgroupcache.c: New file.
27067 * nscd/nscd_netgroup.c: New file.
27068 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27069 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27070 For four parameters use innetgr.
27071 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27072 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27073 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27074 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27075
21fd49a9
UD
27076 * nscd/connections.c (register_traced_file): Don't register file
27077 for disabled databases.
27078
054c0457
UD
270792011-10-06 Ulrich Drepper <drepper@gmail.com>
27080
32b63198
UD
27081 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27082
054c0457
UD
27083 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27084 from tree and freeing node.
27085
64031225
JO
270862011-09-25 Jiri Olsa <jolsa@redhat.com>
27087
27088 * nss/nsswitch.c (__nss_database_lookup): Handle
27089 nss_parse_service_list out of memory case.
27090
0490345c
JO
270912011-09-15 Jiri Olsa <jolsa@redhat.com>
27092
27093 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27094 out of memory case.
27095
3a62d00d
AS
270962011-10-04 Andreas Schwab <schwab@redhat.com>
27097
27098 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27099 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27100 pass it down.
27101 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27102 elf_machine_rela, elf_machine_lazy_rel.
27103 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27104 (ELF_DYNAMIC_DO_REL): Likewise.
27105 (ELF_DYNAMIC_DO_RELA): Likewise.
27106 (ELF_DYNAMIC_RELOCATE): Likewise.
27107 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27108 to ELF_DYNAMIC_DO_REL.
27109 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27110 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27111 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27112 elf_machine_rela.
27113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27114 skip_ifunc, don't call ifunc function if non-zero.
27115 (elf_machine_rela): Likewise.
27116 (elf_machine_lazy_rel): Likewise.
27117 (elf_machine_lazy_rela): Likewise.
27118 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27119 (elf_machine_lazy_rel): Likewise.
27120 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27121 Likewise.
27122 (elf_machine_lazy_rel): Likewise.
27123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27124 Likewise.
27125 (elf_machine_lazy_rel): Likewise.
27126 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27127 (elf_machine_lazy_rel): Likewise.
27128 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27129 (elf_machine_lazy_rel): Likewise.
27130 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27131 (elf_machine_lazy_rel): Likewise.
27132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27133 (elf_machine_lazy_rel): Likewise.
27134 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27135 (elf_machine_lazy_rel): Likewise.
27136 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27137 (elf_machine_lazy_rel): Likewise.
27138
68577918
UD
271392011-09-28 Ulrich Drepper <drepper@gmail.com>
27140
27141 * nss/nss_files/files-init.c (_nss_files_init): Use static
27142 initialization for all the *_traced_file variables.
27143
68822d74
AS
271442011-09-28 Andreas Schwab <schwab@redhat.com>
27145
27146 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27147
2056100b
RM
271482011-09-27 Roland McGrath <roland@hack.frob.com>
27149
27150 [BZ #13226]
27151 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27152
32c76b63
AS
271532011-09-27 Andreas Schwab <schwab@redhat.com>
27154
27155 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27156 Reread the line before reparsing it.
27157
bf972c9d
AS
271582011-09-26 Andreas Schwab <schwab@redhat.com>
27159
27160 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27161
e057a1b5
JM
271622011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27163 Maxim Kuvyrkov <maxim@codesourcery.com>
27164 Joseph Myers <joseph@codesourcery.com>
27165
27166 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27167 if needed for __stack_chk_guard.
27168
bc7e1c36
RM
271692011-09-19 Roland McGrath <roland@hack.frob.com>
27170
ecb1482f
RM
27171 * sysdeps/posix/spawni.c (script_execute): Always define it.
27172 It will be optimized away if unused.
27173 (maybe_script_execute): New function.
27174 (__spawni): Call it.
27175
bc7e1c36
RM
27176 * Makerules: Don't include tls.make.
27177 (config-tls): Always set to thread.
27178 * tls.make.c: File removed.
27179
1c3b002b
MF
271802011-09-19 Mike Frysinger <vapier@gentoo.org>
27181
27182 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27183 * config.make.in (CPPFLAGS-config): New substituted variable.
27184
2840865d
UD
271852011-09-15 Ulrich Drepper <drepper@gmail.com>
27186
88738eb6
UD
27187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27188
cbf645a6 27189 [BZ #13192]
2840865d
UD
27190 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27191 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27192
b402e91a
RM
271932011-09-15 Roland McGrath <roland@hack.frob.com>
27194
27195 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27196 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27197 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27198 (CALL_FAIL): Likewise.
27199 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27200 (CALL_FAIL): Macro removed.
27201 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27202
4c1a1f71
UD
272032011-09-15 Ulrich Drepper <drepper@gmail.com>
27204
27205 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27206 for __FINITE_MATH_ONLY__ == 1.
27207
edc121be
AS
272082011-09-15 Andreas Schwab <schwab@redhat.com>
27209
27210 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27211 __ieee754_sqrt instead of sqrt.
27212 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27213 __ieee754_sqrtf instead of sqrtf.
27214 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27215 __floorf instead of floorf.
27216 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27217 __floorf, __truncf instead of floorf, truncf.
27218
cd205654
UD
272192011-09-14 Ulrich Drepper <drepper@gmail.com>
27220
ee4d0315
UD
27221 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27222
cd205654
UD
27223 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27224 __extern_always_inline.
27225 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27226 32-bit.
27227
48b67d71
AS
272282011-09-14 Andreas Schwab <schwab@redhat.com>
27229
27230 * elf/rtld.c (dl_main): Also relocate in dependency order when
27231 doing symbol dependency testing.
27232
1ae12c75
AS
272332011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27234
27235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27236 Always define `refsym'.
27237
995a80df
AS
272382011-09-13 Andreas Schwab <schwab@redhat.com>
27239
e529793b
AS
27240 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27241 (__FD_ELT): Renamed from __FDELT.
27242 * misc/bits/select2.h (__FD_ELT): Likewise.
27243 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27244 __FD_MASK instead of __FDELT, __FDMASK.
27245 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27246 Likewise.
27247 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27248 Likewise.
27249
52d4fef8
AS
27250 * elf/Makefile (gen-ldd): Fix pattern.
27251
995a80df
AS
27252 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27253 (init_tls): Likewise.
27254
8682f8b0
UD
272552011-09-12 Ulrich Drepper <drepper@gmail.com>
27256
27257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27258
de82006d
AS
272592011-09-12 Andreas Schwab <schwab@redhat.com>
27260
a7c8e6a1
AS
27261 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27262 `struct cmsghdr *' instead of `void *'.
27263 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27264 Likewise.
27265
0f31fe77
AS
272662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27267
27268 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27269 if non-absolute.
27270 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27271 ldd_rewrite_script.
0f31fe77 27272
32b4c839
UD
272732011-09-11 Ulrich Drepper <drepper@gmail.com>
27274
83cd1420
UD
27275 * configure.in: Remove --with-tls option.
27276 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27277 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27278 out in case it is missing.
27279 * sysdeps/ia64/elf/configure.in: Likewise.
27280 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27281 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27282 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27283 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27284 * sysdeps/sh/elf/configure.in: Likewise.
27285 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27286 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27287 * sysdeps/x86_64/elf/configure.in: Likewise.
27288 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27289 * sysdeps/mach/hurd/tls.h: Likewise.
27290
633f745d
UD
27291 [BZ #13067]
27292 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27293
f318beb8
UD
27294 [BZ #13090]
27295 * configure.in: Fix use of AC_INIT.
27296
32b4c839
UD
27297 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27298
3ce1f295
UD
272992011-09-10 Ulrich Drepper <drepper@gmail.com>
27300
bb016596
UD
27301 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27302 __set_errno.
8e58439c
UD
27303 * malloc/hooks.c: Likewise.
27304
aebae053 27305 [BZ #11929]
02d46fc4
UD
27306 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27307 variables statically.
27308 (narenas): Initialize.
27309 (list_lock): Initialize.
bb016596
UD
27310 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27311 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27312 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27313 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27314 Add initializers to main_arena and mp_.
27315 (malloc_state): Remove pagesize member. Change all users to use
27316 GLRO(dl_pagesize).
27317
27318 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27319 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27320 is always initialized.
27321
22a89187
UD
27322 * malloc/malloc.c: Removed unused configurations and dead code.
27323 * malloc/arena.c: Likewise.
27324 * malloc/hooks.c: Likewise.
02d46fc4 27325 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27326
d063d164
UD
27327 * include/tls.h: Removed. USE___THREAD must always be defined.
27328 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27329 * elf/dl-libc.c: Likewise.
27330 * elf/dl-tsd.c: Likewise.
27331 * include/errno.h: Likewise.
27332 * include/netdb.h: Likewise.
27333 * include/resolv.h: Likewise.
27334 * inet/herrno-loc.c: Likewise.
27335 * inet/herrno.c: Likewise.
27336 * malloc/arena.c: Likewise.
27337 * malloc/hooks.c: Likewise.
27338 * malloc/malloc.c: Likewise.
27339 * resolv/res-state.c: Likewise.
27340 * resolv/res_libc.c: Likewise.
27341 * sysdeps/i386/dl-machine.h: Likewise.
27342 * sysdeps/ia64/dl-machine.h: Likewise.
27343 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27344 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27345 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27346 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27347 * sysdeps/sh/dl-machine.h: Likewise.
27348 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27349 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27350 * sysdeps/unix/i386/sysdep.S: Likewise.
27351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27352 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27354 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27357 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27361 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27362 * sysdeps/x86_64/dl-machine.h: Likewise.
27363 * tls.make.c: Likewise.
27364
3ce1f295
UD
27365 * configure.in: Remove --with-__thread option. Make tests for
27366 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27367 tls_model attribute fail if no support is available. Remove
27368 USE_IN_LIBIO.
27369 * Makeconfig: Adjust for dropped configure option. All features are
27370 now mandatory.
27371 * Makerules: Likewise.
27372 * Versions.def: Likewise.
27373 * argp/argp-fmtstream.c: Likewise.
27374 * argp/argp-fmtstream.h: Likewise.
27375 * argp/argp-help.c: Likewise.
27376 * assert/assert.c: Likewise.
27377 * config.h.in: Likewise.
27378 * config.make.in: Likewise.
27379 * configure: Likewise.
27380 * configure.in: Likewise.
27381 * csu/Versions: Likewise.
27382 * csu/init.c: Likewise.
27383 * elf/tst-audit2.c: Likewise.
27384 * elf/tst-tls10.c: Likewise.
27385 * elf/tst-tls10.h: Likewise.
27386 * elf/tst-tls11.c: Likewise.
27387 * elf/tst-tls12.c: Likewise.
27388 * elf/tst-tls14.c: Likewise.
27389 * elf/tst-tlsmod11.c: Likewise.
27390 * elf/tst-tlsmod12.c: Likewise.
27391 * elf/tst-tlsmod13.c: Likewise.
27392 * elf/tst-tlsmod13a.c: Likewise.
27393 * elf/tst-tlsmod14a.c: Likewise.
27394 * elf/tst-tlsmod15b.c: Likewise.
27395 * elf/tst-tlsmod16a.c: Likewise.
27396 * elf/tst-tlsmod16b.c: Likewise.
27397 * elf/tst-tlsmod7.c: Likewise.
27398 * elf/tst-tlsmod8.c: Likewise.
27399 * elf/tst-tlsmod9.c: Likewise.
27400 * gmon/gmon.c: Likewise.
27401 * grp/fgetgrent_r.c: Likewise.
27402 * grp/putgrent.c: Likewise.
27403 * hurd/fopenport.c: Likewise.
27404 * include/libc-symbols.h: Likewise.
27405 * include/tls.h: Likewise.
27406 * intl/gettextP.h: Likewise.
27407 * intl/loadinfo.h: Likewise.
27408 * locale/global-locale.c: Likewise.
27409 * locale/localeinfo.h: Likewise.
27410 * mach/devstream.c: Likewise.
27411 * malloc/arena.c: Likewise.
27412 * malloc/set-freeres.c: Likewise.
27413 * misc/err.c: Likewise.
27414 * misc/getttyent.c: Likewise.
27415 * misc/mntent_r.c: Likewise.
27416 * posix/getopt.c: Likewise.
27417 * posix/wordexp.c: Likewise.
27418 * pwd/fgetpwent_r.c: Likewise.
27419 * resolv/Versions: Likewise.
27420 * resolv/res_hconf.c: Likewise.
27421 * shadow/fgetspent_r.c: Likewise.
27422 * shadow/putspent.c: Likewise.
27423 * stdio-common/printf_fphex.c: Likewise.
27424 * stdio-common/tmpfile.c: Likewise.
27425 * stdlib/abort.c: Likewise.
27426 * stdlib/fmtmsg.c: Likewise.
27427 * sunrpc/auth_unix.c: Likewise.
27428 * sunrpc/clnt_perr.c: Likewise.
27429 * sunrpc/clnt_tcp.c: Likewise.
27430 * sunrpc/clnt_udp.c: Likewise.
27431 * sunrpc/clnt_unix.c: Likewise.
27432 * sunrpc/openchild.c: Likewise.
27433 * sunrpc/svc_simple.c: Likewise.
27434 * sunrpc/svc_tcp.c: Likewise.
27435 * sunrpc/svc_udp.c: Likewise.
27436 * sunrpc/svc_unix.c: Likewise.
27437 * sunrpc/xdr.c: Likewise.
27438 * sunrpc/xdr_array.c: Likewise.
27439 * sunrpc/xdr_rec.c: Likewise.
27440 * sunrpc/xdr_ref.c: Likewise.
27441 * sunrpc/xdr_stdio.c: Likewise.
27442
1248c1c4
PB
274432011-09-09 Ulrich Drepper <drepper@gmail.com>
27444
27445 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27446
274472011-07-03 Andreas Jaeger <aj@suse.de>
27448
27449 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27450 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27451 regenerate with gen-libm-tests.pl.
27452
274532010-05-12 Petr Baudis <pasky@suse.cz>
27454
27455 [BZ #11589]
27456 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27457 around j0() zero points by switching to j1().
27458 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27462
f22e1074
UD
274632011-09-09 Ulrich Drepper <drepper@gmail.com>
27464
f19009c1
UD
27465 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27466 instead of 0.
27467 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27468 instead of 0.
f19009c1
UD
27469 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27470 Patch in part by Pavel Roskin <proski@gnu.org>.
27471
3f8cc204
UD
27472 [BZ #13138]
27473 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27474 realloc.
27475 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27476 Free memory block if necessary.
27477
f22e1074
UD
27478 [BZ #12847]
27479 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27480 be NULL. Don't lock in this case.
27481
0a2349f9
RM
274822011-09-09 Roland McGrath <roland@hack.frob.com>
27483
27484 * elf/elf.h (ELFOSABI_GNU): New macro.
27485 (ELFOSABI_LINUX): Define to that.
27486
f3cdd467
DZ
274872011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27488
27489 * string/strncat.c (strncat): Undef the symbol in case it has been
27490 defined in bits/string.h.
27491
74718d13
UD
274922011-09-09 Ulrich Drepper <drepper@gmail.com>
27493
633e9e0f
UD
27494 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27495
0a2349f9 27496 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27497 link map.
27498
f9924780
AJ
274992011-08-17 Andreas Jaeger <aj@suse.de>
27500
27501 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27502
7f5517aa
PP
275032011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27504 Ian Lance Taylor <iant@google.com>
27505
27506 * math/libm-test.inc (lround_test): New testcase.
27507 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27508
762011fe
UD
275092011-09-08 Ulrich Drepper <drepper@gmail.com>
27510
92963737
UD
27511 * Makefile: Remove support for automatic cvs check-ins.
27512 * Makerules: Likewise.
27513 * config.make.in: Likewise.
27514 * configure.in: Likewise.
27515 * intl/Makefile: Likewise.
27516 * locale/Makefile: Likewise.
27517 * po/Makefile: Likewise.
27518 * posix/Makefile: Likewise.
27519 * sysdeps/gnu/Makefile: Likewise.
27520 * sysdeps/mach/hurd/Makefile: Likewise.
27521 * sysdeps/sparc/sparc32/Makefile: Likewise.
27522
b0727fd8
JS
27523 [BZ #13118]
27524 * posix/Makefile (bug-regex32-ENV): Define.
27525 Patch by John Stanley <jpsinthemix@verizon.net>.
27526
a0f33f99
UD
27527 * misc/Makefile (headers): Add bits/select2.h.
27528 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27529 * misc/bits/select2.h: New file.
27530 * include/bits/select2.h: New file.
27531 * debug/Makefile (routines): Add fdelt_chk.
27532 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27533 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27534 FD_ISSET.
27535 * debug/fdelt_chk.c: New file.
27536
762011fe
UD
27537 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27538 * wcsmbs/test-wmemcmp.c: Likewise.
27539 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27540 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27541
275422011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27543
27544 * string/Makefile (strop-tests): Add memcmp.
27545 * string/test-wmemcmp.c: New file.
27546 * string/test-memcmp.c: Add wmemcmp support.
27547
7f513ec8
RM
275482011-09-08 Roland McGrath <roland@hack.frob.com>
27549
0442afb4
RM
27550 [BZ #13153]
27551 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27552 2011-07-19 change.
27553
7f513ec8
RM
27554 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27555 garbage value in a __mach_port_mod_refs call in the cases of the
27556 task-self and thread-self ports.
27557
a12b2239
ST
275582011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27559
27560 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27561
610f9ab4
AS
275622011-09-08 Andreas Schwab <schwab@redhat.com>
27563
7f513ec8 27564 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27565
48882a1a
LD
275662011-09-07 Ulrich Drepper <drepper@gmail.com>
27567
b49865be
UD
27568 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27569
fdc86bc9
UD
27570 * elf/dl-libc.c (dlerror_run): Pass back error code from
27571 dl_catch_error.
27572
c966526a
UD
27573 [BZ #13123]
27574 * elf/dl-load.c (lose): Free l_origin if it is valid.
27575
48882a1a
LD
27576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27577 names.
27578 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27579 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27581 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27582 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27583 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27584
77a2a8b4
AZ
275852011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27586
27587 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27588 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27589 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27590 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27591 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27592 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27593 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27594 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27595 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27596 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27597
24f579d8
AM
275982011-08-15 Alan Modra <amodra@gmail.com>
27599
27600 [BZ #13092]
27601 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27602 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27603 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27604 ppc_mcount to static-only-routines.
27605 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27606 __mcount_internal.
27607 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27608 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27609
3d4837df
UD
276102011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27611
27612 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27613 for finite and infinity parameters.
27614
22700377
WS
276152011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27616
27617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27618 and add nop instructions for throughput optimization.
27619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27620
5025581e
WS
276212011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27622
27623 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27624 aligned copy for power7 with vector-scalar instructions.
27625 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27626
08a300c9
L
276272011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27628
27629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27630 AVX check.
27631
59178ef9
AS
276322011-09-07 Andreas Schwab <schwab@redhat.com>
27633
27634 [BZ #13144]
27635 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27636 last change.
27637
e38ba7ab
UD
276382011-09-07 Ulrich Drepper <drepper@gmail.com>
27639
27640 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27641 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27642 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27643 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27644 clock_gettime.
27645
d53a73ac
UD
276462011-09-06 Ulrich Drepper <drepper@gmail.com>
27647
fc8bffcc
UD
27648 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27649 Forgot to demangle the pointer.
27650
ceaa0c5d
UD
27651 * sysdeps/i386/sysdep.h: Define atom_text_section.
27652 * sysdeps/x86_64/sysdep.h: Likewise.
27653 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27654 section with atom_text_section.
27655 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27656 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27659 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27660
a77d3c17
UD
27661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27662 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27663 already be defined. Change to take two parameters and don't assign
27664 result to variable. Adjust all users.
27665 Define INTERNAL_GETTIME if not already defined.
27666 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27667 call.
27668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27669 HAVE_CLOCK_GETTIME_VSYSCALL.
27670 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27671
d53a73ac
UD
27672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27673 gettimeofday vsyscall, just use time.
27674
a8f84144
AS
276752011-09-06 Andreas Schwab <schwab@redhat.com>
27676
27677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27678 <errno.h>.
27679
ef606249
UD
276802011-09-06 Ulrich Drepper <drepper@gmail.com>
27681
27682 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27683 syscall on x86-64.
27684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27685 syscall.
27686 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27688 syscall if possible.
27689
6585cb60
UD
276902011-09-05 Ulrich Drepper <drepper@gmail.com>
27691
27692 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27693 e_ident. Don't pass to find_mapsXX.
27694 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27695
a5f524e4
LD
276962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27697
27698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27699 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27700 * sysdeps/x86_64/multiarch/strchr.S: Update.
27701 Check bit_slow_BSF bit.
27702 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27703 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27704 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27705
554881ef
UD
277062011-09-05 Ulrich Drepper <drepper@gmail.com>
27707
d96de963
UD
27708 [BZ #13134]
27709 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27710 before glibc 2.15.
27711 (tryshell): Define.
27712 (__spawni): Change last parameter to be flag. Test
27713 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27714 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27715 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27716 * posix/spawni.c: Likewise.
27717 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27718 * posix/spawnp.c: Likewise. Change normal version to use
27719 SPAWN_XFLAGS_USE_PATH.
27720 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27721 SPAWN_XFLAGS_TRY_SHELL.
27722
d48e5868
UD
27723 [BZ #13150]
27724 * posix/glob.h: Remove gcc 1.x support.
27725
554881ef
UD
27726 [BZ #13068]
27727 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27728
693fb948
LD
277292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27730
27731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27732 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27733 strrchr-sse2-bsf
27734 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27735 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27736 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27737 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27738 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27739 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27740
1b48c537
UD
277412011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27742
49d42c37
UD
27743 * sysdeps/x86_64/wcscmp.S: New file.
27744
1b48c537
UD
27745 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27746 wcscmp-c wcscmp-sse2
27747 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27748 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27749 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27750 * wcsmbs/wcscmp.c: Allow renaming.
27751
15c95c5d
DM
277522011-09-05 David S. Miller <davem@davemloft.net>
27753
27754 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27755 stack slot, rather than the struct return pointer slot.
27756 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27757 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27759 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27760
2f0ad8f3
UD
277612011-09-05 Ulrich Drepper <drepper@gmail.com>
27762
d88ae418
UD
27763 * po/ja.po: Update from translation team.
27764
2f0ad8f3
UD
27765 [BZ #13144]
27766 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27767 kernel in 64-bit binaries.
27768
5f4318d1
DM
277692011-09-01 David S. Miller <davem@davemloft.net>
27770
27771 * elf/elf.h (HWCAP_SPARC_*): Move to..
27772 * sysdeps/sparc/sysdep.h: this new file and add new values.
27773 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27774 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27775 _DL_HWCAP_COUNT to 24.
27776 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27777 entries.
27778 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27779 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27780 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27782 instead of magic constants.
27783 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27784
3ba57516
DM
277852011-08-31 David S. Miller <davem@davemloft.net>
27786
27787 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27789 Reimplement to do errno handling inline.
27790 (SYSCALL_ERROR_HANDLER): New macro.
27791 (__SYSCALL_STRING): Do not do errno handling in asm.
27792 (__CLONE_SYSCALL_STRING): Delete.
27793 (__INTERNAL_SYSCALL_STRING): Delete.
27794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27795 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27796 (PSEUDO): Reimplement to do errno handling inline.
27797 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27798 (SYSCALL_ERROR_HANDLER): New macro.
27799 (__SYSCALL_STRING): Do not do errno handling in asm.
27800 (__CLONE_SYSCALL_STRING): Delete.
27801 (__INTERNAL_SYSCALL_STRING): Delete.
27802 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27803 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27804 i386.
27805 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27806 (inline_syscall*): Add 'err' argument.
27807 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27808 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27809 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27810 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27811
27812 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27813 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27814
2bc17433
AS
278152011-08-30 Andreas Schwab <schwab@redhat.com>
27816
27817 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27818
fbeb5f4d
JO
278192011-08-29 Jiri Olsa <jolsa@redhat.com>
27820
27821 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27822 directive.
27823
ad69cc26
DM
278242011-08-24 David S. Miller <davem@davemloft.net>
27825
27826 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27827
39dd69df
AS
278282011-08-24 Andreas Schwab <schwab@redhat.com>
27829
27830 * elf/Makefile: Add rules to build and run unload8 test.
27831 * elf/unload8.c: New file.
27832 * elf/unload8mod1.c: New file.
27833 * elf/unload8mod1x.c: New file.
27834 * elf/unload8mod2.c: New file.
27835 * elf/unload8mod3.c: New file.
27836
27837 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27838 it wasn't used.
27839
2c0b250a
DM
278402011-08-23 David S. Miller <davem@davemloft.net>
27841
27842 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27843 subtract stack bias.
27844 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27845 %sp not %fp in calculations.
27846 (_JMPBUF_UNWINDS_ADJ): Likewise.
27847
22044b48
DM
27848 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27849 (aio_suspend): Call it to force an exception region around the
27850 AIO_MISC_WAIT() invocation.
27851
2cae4995
AS
278522011-08-23 Andreas Schwab <schwab@redhat.com>
27853
27854 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27855 backslash.
27856
873a772e
AJ
278572011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27858
27859 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27860 protection macro.
27861 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27862 and <dl-machine.h>.
27863 (Elf64_FuncDesc): Remove.
27864
25ad0df1
DM
278652011-08-22 David S. Miller <davem@davemloft.net>
27866
27867 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27868 sigaltstack check, add missing cfi directives.
27869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27870 missing cfi directives, and sigaltstack handling.
27871
e888bcbe
AS
278722011-08-16 Andreas Schwab <schwab@redhat.com>
27873
27874 [BZ #11724]
27875 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27876 object is seen twice.
27877 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27878
27879 * elf/Makefile (distribute): Add tst-initorder2.c.
27880 (tests): Add tst-initorder2.
27881 (modules-names): Add tst-initorder2a tst-initorder2b
27882 tst-initorder2c tst-initorder2d. Add rules to build them.
27883 ($(objpfx)tst-initorder2.out): New rule.
27884 * elf/tst-initorder2.c: New file.
27885 * elf/tst-initorder2.exp: New file.
27886
87162f46
AS
278872011-08-22 Andreas Schwab <schwab@redhat.com>
27888
70538b7f
AS
27889 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27890
f55ffe58
AS
27891 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27892 dependencies back to end of function.
27893
87162f46
AS
27894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27895 $(elfobjdir)/ld.so.
27896
91b392a4
UD
278972011-08-21 Ulrich Drepper <drepper@gmail.com>
27898
27899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27900 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27902 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27903 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27904 of __vdso_gettimeofday.
27905 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27906 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27907 attribute_hidden.
27908 (_libc_vdso_platform_setup): Remove initialization of
27909 __vdso_gettimeofday and __vdso_time.
27910
5c43483f
UD
279112011-08-20 Ulrich Drepper <drepper@gmail.com>
27912
775a77e7
UD
27913 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27914 and fgetc_unlocked.
27915 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27916 getc_unlocked.
89f447ed 27917
49c74ba9
UD
27918 * elf/dl-open.c (add_to_global): Report additions to the global scope
27919 for LD_DEBUG=scopes.
27920 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27921 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27922
5c43483f
UD
27923 [BZ #13114]
27924 * stdio-common/Makefile (tests): Add bug24.
27925 * stdio-common/bug24.c: New file.
27926
a101b025
AJ
279272011-08-19 Andreas Jaeger <aj@suse.de>
27928
27929 [BZ #13114]
27930 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27931 non-existant file when using close-on-exec mode.
27932
c88f1766
UD
279332011-08-20 Ulrich Drepper <drepper@gmail.com>
27934
0276a718
UD
27935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27936 the very first instruction.
27937
c88f1766
UD
27938 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27939 the CFI state in the end.
27940 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27941 inclusion of dl-trampoline.h.
27942 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27943
51ccffa0
AS
279442011-08-19 Andreas Schwab <schwab@redhat.com>
27945
94d7165f
AS
27946 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27947 expectations for long double.
27948
51ccffa0
AS
27949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27950 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27951
fd708658 279522011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27953
27954 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27955 artificual limit depends upon the system page size.
27956
44f0a71e
UD
279572011-08-17 Ulrich Drepper <drepper@gmail.com>
27958
27959 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27960 * resolv/Makefile: Define CFLAGS-libresolv.
27961
8de79a24
AS
279622011-08-17 Andreas Schwab <schwab@redhat.com>
27963
27964 * nss/makedb.c (compute_tables): Make variables used in nested
27965 function static.
27966
27724598
UD
279672011-08-17 Ulrich Drepper <drepper@gmail.com>
27968
c5305d88
UD
27969 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27970 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27971 if buffer was too small.
27972
27724598
UD
27973 * elf/pldd.c (main): Attach to all threads in the process.
27974 Rewrite /proc handling to use *at functions.
27975
076fe015
UD
279762011-08-16 Ulrich Drepper <drepper@gmail.com>
27977
174baab3
UD
27978 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27979 specifies first scope to show.
27980 (dl_open_worker): Update callers. Move printing scope of new
27981 object to before the relocation.
44f0a71e 27982 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27983 * sysdeps/generic/ldsodefs.h: Update declaration.
27984
076fe015
UD
27985 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27986 string for the scope number.
27987
a60df2c3
UD
279882011-08-14 Ulrich Drepper <drepper@gmail.com>
27989
27990 * nscd/servicescache.c (cache_addserv): Make sure written is always
27991 initialized.
27992
5e4287d1
RM
279932011-08-14 Roland McGrath <roland@hack.frob.com>
27994
85ae0589
RM
27995 * sysdeps/i386/i486/bits/atomic.h
27996 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27997 statement expression, so as to suppress "set but not used" warning.
27998 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27999
69f63097
RM
28000 * string/strncat.c (STRNCAT): Use prototype definition.
28001
675456ef
RM
28002 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28003 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28004 -Iprograms here.
28005 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28006 (localedef-modules): Add localedef.
28007 (locale-modules): Add locale.
28008
5e4287d1
RM
28009 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28010 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28011 to avoid a warning.
28012
9c96ff23
DM
280132011-08-14 David S. Miller <davem@davemloft.net>
28014
28015 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28016 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28017
f9ddf089
UD
280182011-08-13 Ulrich Drepper <drepper@gmail.com>
28019
44f0a71e 28020 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28021 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28022 * elf/rtld.c (dl_main): Set l_name of vDSO.
28023 Call _dl_show_scope when DL_DEBUG_SCOPES.
28024 (process_dl_debug): Recognize scopes flag and also set it for all.
28025 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28026 Declare _dl_show_scope.
28027
1dc27704
UD
28028 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28029 (do_dlopen): Pass caller_dlopen to dl_open.
28030 (__libc_dlopen_mode): Initialize caller_dlopen.
28031
f9ddf089
UD
28032 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28033 of libc. Make tolower call locale-independent. Optimize a bit by
28034 using isdigit instead of isalnum.
28035 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28036
9ac533d3
UD
280372011-08-12 Ulrich Drepper <drepper@gmail.com>
28038
28039 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28040 was a dependency or dynamically loaded.
28041
89edf2e9
UD
280422011-08-11 Ulrich Drepper <drepper@gmail.com>
28043
8e999d29
UD
28044 * intl/l10nflist.c: Allow architecture-specific pop function.
28045 * sysdeps/x86_64/l10nflist.c: New file.
28046
89edf2e9
UD
28047 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28048 classification.
28049
14d96785
AS
280502011-08-10 Andreas Schwab <schwab@redhat.com>
28051
28052 * include/dirent.h: Add libc_hidden_proto for scandirat and
28053 scandirat64. Don't declare __scandirat64.
28054 * dirent/scandirat.c: Add libc_hidden_def.
28055 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28056 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28057
6761ac04
DM
280582011-08-10 David S. Miller <davem@davemloft.net>
28059
28060 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28061 enum.
28062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28065
c55fbd1e
UD
280662011-08-09 Ulrich Drepper <drepper@gmail.com>
28067
28068 * Versions.def [libc]: Add GLIBC_2.15.
28069 * dirent/Makefile (routines): Add scandirat and scandirat64.
28070 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28071 GLIBC_2.15.
28072 * dirent/dirent.h: Declare scandirat and scandirat64.
28073 * dirent/scandirat.c: New file.
28074 * dirent/scandirat64.c: New file.
28075 * sysdeps/wordsize-64/scandirat.c: New file.
28076 * sysdeps/wordsize-64/scandirat64.c: New file.
28077 * dirent/opendir.c: Define opendirat.
28078 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28079 using scandirat.
28080 * dirent/scandir64.c: Adjust for scandir.c change.
28081 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28082 __scandirat64, and __scandir_cancel_handler.
28083 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28084 additional parameter and use openat instead of open (outside of ld.so).
28085 Add new __opendir as wrapper around __opendirat.
28086 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28087 here without requiring old scandirat implementation.
28088
879165f2
UD
280892011-08-08 Ulrich Drepper <drepper@gmail.com>
28090
28091 * dirent/scandir.c (cancel_handler): Renamed to
28092 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28093 defined. Adjust users.
28094 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28095 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28096
cb7e923b
UD
280972011-08-04 Ulrich Drepper <drepper@gmail.com>
28098
16292edd
UD
28099 * string/test-string.h (IMPL): Use __STRING to expand name and then
28100 stringify it.
28101
cb7e923b
UD
28102 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28103 of cleanups.
28104
cff82933
LD
281052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28106
28107 * string/Makefile: Update.
28108 (strop-tests): Append strncat.
28109 * string/test-wcscmp.c: New file.
28110 New comprehensive test for wcscmp.
28111 * string/test-strcmp.c: Update.
28112 (WIDE): New define.
28113
9be9bfcc
AS
281142011-07-22 Andreas Schwab <schwab@redhat.com>
28115
28116 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28117 line.
28118
2e96f1c7
AS
281192011-07-26 Andreas Schwab <schwab@redhat.com>
28120
28121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28122 encoding to ACE if AI_IDN.
28123
85188888
JJ
281242011-08-01 Jakub Jelinek <jakub@redhat.com>
28125
28126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28127 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28128
5fa16e9b
LD
281292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28130
28131 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28132 Fix overflow bug in strncat.
28133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28134
28135 * string/test-strncat.c: Update.
28136 Add new tests for checking overflow bugs.
28137
281382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28139
28140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28141 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28142 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28143 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28144 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28145 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28146 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28147 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28148 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28149
28150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28151 (USE_AS_STRCAT): Define.
28152 Add strcat and strncat support.
28153 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28154
8c1a459f
AS
281552011-07-25 Andreas Schwab <schwab@redhat.com>
28156
28157 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28158 __n bigger than INT_MAX+1.
28159 (__strncmp_g): Likewise.
28160
bba33c28
UD
281612011-07-23 Ulrich Drepper <drepper@gmail.com>
28162
798be72d
UD
28163 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28164 * libio/stido.h: Likewise.
28165
8accd4dc
UD
28166 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28167 (AF_NFC): Define.
28168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28169 (AF_NFC): Define.
28170
cbff0d96
UD
28171 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28172 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28173 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28175 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28176
9191c04a
UD
28177 [BZ #13021]
28178 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28179 installed.
28180
bba33c28
UD
28181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28182 typo.
28183 (_dl_x86_64_save_sse): Likewise.
28184
90f139dd
UD
281852011-07-22 Ulrich Drepper <drepper@gmail.com>
28186
1aae088a
UD
28187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28188 OSXSAVE.
28189 (_dl_x86_64_save_sse): Likewise.
28190
8e2045f5
UD
28191 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28192
90f139dd
UD
28193 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28194
1d002f25
AS
281952011-07-21 Andreas Schwab <schwab@redhat.com>
28196
28197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28198 change.
28199 (_dl_x86_64_save_sse): Use correct AVX check.
28200
21137f89
UD
282012011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28202
28203 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28204 bug in strncpy/strncat.
28205 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28206
a65c0b7a
UD
282072011-07-21 Ulrich Drepper <drepper@gmail.com>
28208
28209 * string/tester.c (test_strcat): Add tests for different alignments
28210 of source and destination.
28211 (test_strncat): Likewise.
28212
6986b98a
UD
282132011-07-20 Ulrich Drepper <drepper@gmail.com>
28214
90bb2039
UD
28215 [BZ #12852]
28216 * posix/glob.c (glob): Check passed in values before using them in
28217 expressions to avoid some overflows.
28218 (glob_in_dir): Likewise.
28219
5644ef54
UD
28220 [BZ #13007]
28221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28222 check for AVX enablement so that we don't crash with old kernels and
28223 new hardware.
28224 * elf/tst-audit4.c: Add same checks here.
28225 * elf/tst-audit6.c: Likewise.
28226
28227 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28228
bfc9dc9b
AS
282292011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28230
28231 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28232
702e64bb
UD
282332011-07-20 Ulrich Drepper <drepper@gmail.com>
28234
28235 * po/cs.po: Update from translation team.
28236 * po/bg.po: Likewise.
28237
295e904f
MP
282382011-07-12 Marek Polacek <mpolacek@redhat.com>
28239
28240 * misc/sys/cdefs.h: Add support for const attribute.
28241 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28242 to gnu_dev_{major,minor,makedev} functions.
28243
3ff94596
MP
282442011-07-20 Marek Polacek <mpolacek@redhat.com>
28245
28246 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28247
28b59fca
AS
282482011-07-20 Andreas Schwab <schwab@redhat.com>
28249
28250 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28251 strlen results.
28252
19df733e
AK
282532011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28254
28255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28256 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28257 register in order to avoid conflicts with the soft frame pointer
28258 being held in r11 when necessary.
28259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28260 (INTERNAL_VSYSCALL_NCS): Likewise.
28261
c8835729
MP
282622011-07-14 Marek Polacek <mpolacek@redhat.com>
28263
28264 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28265 * elf/dl-fini.c (_dl_fini): Adjust caller.
28266 * elf/dl-close.c (_dl_close_worker): Likewise.
28267 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28268
b902330c
MP
282692011-07-15 Marek Polacek <mpolacek@redhat.com>
28270
8991e135
MP
28271 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28272 "aux_cache->nlibs < 0".
28273
b902330c
MP
28274 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28275 in the reload-count case.
28276
99710781
LD
282772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28278
28279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28280 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28281 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28282 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28283 * sysdeps/x86_64/multiarch/strcat.S: New file.
28284 * sysdeps/x86_64/multiarch/strncat.S: New file.
28285 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28286 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28287 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28288 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28289 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28290 (USE_AS_STRCAT): Define.
28291 Add strcat and strncat support.
28292 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28293 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28294 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28295 * string/strncat.c: Update.
28296 (USE_AS_STRNCAT): Define.
28297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28298 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28299 and i7.
28300 * sysdeps/x86_64/multiarch/init-arch.h
28301 (bit_Prefer_PMINUB_for_stringop): New.
28302 (index_Prefer_PMINUB_for_stringop): Likewise.
28303 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28304 bit_Prefer_PMINUB_for_stringop.
28305
7dc6bd90
UD
283062011-07-19 Ulrich Drepper <drepper@gmail.com>
28307
28308 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28309 buffer64.
28310 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28311 of casting of buffer.
28312 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28313 buffer32 and buffer64.
28314 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28315 writes instead of casting of buffer.
28316 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28317 buffer32.
28318 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28319 casting of buffer.
28320
e0e72284
AS
283212011-07-19 Andreas Schwab <schwab@redhat.com>
28322
28323 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28324
feb1eb0b
UD
283252011-07-19 Ulrich Drepper <drepper@gmail.com>
28326
28327 * nscd/nscd.c (termination_handler): Don't do anything for a database
28328 if it has not yet been initialized.
28329
298711ff
UD
283302011-07-18 Ulrich Drepper <drepper@gmail.com>
28331
28332 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28333
283342011-07-15 Marek Polacek <mpolacek@redhat.com>
28335
28336 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28337
f9d68389
UD
283382011-07-18 Ulrich Drepper <drepper@gmail.com>
28339
28340 * po/nl.po: Update from translation team.
28341 * po/sv.po: Likewise.
28342
db290cf5
RM
283432011-07-16 Roland McGrath <roland@hack.frob.com>
28344
28345 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28346 now disallowed by GCC.
5c550700 28347
fd5e21c7
RM
28348 * configure.in (use-default-link): Default to yes if a test -shared
28349 link meets our qualifications.
28350 * configure: Regenerated.
28351
5c550700
RM
28352 * config.make.in (output-format): New variable.
28353 * configure.in: Check for ld --print-output-format support.
28354 * configure: Regenerated.
28355 * Makerules ($(common-objpfx)format.lds)
28356 [$(output-format) != unknown]: Just use $(output-format),
28357 instead of the linker-script munging.
28358
9fa2c032
RM
283592011-07-14 Roland McGrath <roland@hack.frob.com>
28360
a6928d51
RM
28361 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28362 of $(common-objpfx)shlib.lds.
28363 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28364
661607b3
RM
28365 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28366 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28367
9fa2c032
RM
28368 * configure.in (-z relro check): Adjust test code to add a large
28369 writable data section after it.
28370 * configure: Regenerated.
28371
defe9061
RM
283722011-07-11 Roland McGrath <roland@hack.frob.com>
28373
28374 * configure.in (-z relro check): Fix test code to make the variable
28375 truly const.
28376 * configure: Regenerated.
28377
319b9ad4
UD
283782011-07-11 Ulrich Drepper <drepper@gmail.com>
28379
28380 * nscd/nscd.h (struct traced_file): Define.
28381 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28382 elements. Add traced_files.
28383 (inotify_fd): Declare.
28384 (register_traced_file): Declare.
28385 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28386 (inotify_fd): Export.
28387 (resolv_conf_descr): Remove.
28388 (nscd_init): Move inotify descriptor creation to main.
28389 Don't register files for notification here.
28390 (register_traced_file): New function.
28391 (invalidate_cache): Don't use reset_res to determine whether to call
28392 res_init, go through the list of registered files.
28393 (main_loop_poll): The inotify descriptors are now stored in the
28394 structures for the traced files.
28395 (main_loop_epoll): Likewise
28396 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28397 to __nss_disable_nscd.
28398 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28399 for a database anymore. Check the records for all the registered
28400 files instead.
28401 * nss/Makefile (libnss_files-routines): Add files-init.
28402 (libnss_db-routines): Add db-init.
28403 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28404 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28405 * nss/nss_db/db-init.c: New file.
28406 * nss/nss_files/files-init.c: New file.
28407 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28408 __nss_lookup_function.
28409 (__nss_lookup_function): Call nss_load_library.
28410 (nss_load_all_libraries): New function.
28411 (__nss_disable_nscd): Take parameter with callback function for files
28412 to register. Set is_nscd. Load all the DSOs for the NSS modules
28413 used for the cached services.
28414 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28415 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28416 options for features to all the files in nscd.
28417
28418 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28419
23bee3e8
RM
284202011-07-10 Roland McGrath <roland@hack.frob.com>
28421
28422 * csu/elf-init.c (__libc_csu_init): Comment typo.
28423
46a5b7f0
UD
284242011-07-09 Ulrich Drepper <drepper@gmail.com>
28425
28426 * po/pl.po: Update from translation team.
28427 * po/ja.po: Likewise.
28428 * po/ru.po: Likewise.
28429 * po/ko.po: Likewise.
28430 * po/fr.po: Likewise.
28431
d30cf5bb
RM
284322011-07-09 Roland McGrath <roland@hack.frob.com>
28433
113ddea4
RM
28434 * configure.in (.ctors/.dtors header and trailer check):
28435 Use an empirical test on a built program.
28436 * configure: Regenerated.
28437
574920b4
RM
28438 * configure.in (-z relro check): Use an empirical test on a built DSO.
28439 Detect, but do not require, on ia64.
28440 * configure: Regenerated.
28441
d30cf5bb
RM
28442 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28443 Update tests that use readelf to use $READELF instead.
28444 * configure: Regenerated.
28445
8538fdb3
UD
284462011-07-08 Ulrich Drepper <drepper@gmail.com>
28447
28448 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28449 if the result is not used.
28450
04d08991
AJ
284512011-07-05 Andreas Jaeger <aj@suse.de>
28452
28453 [BZ#9696]
28454 * stdlib/tst-strtod.c: Add testcase.
28455
de283087
AD
284562011-07-07 Ulrich Drepper <drepper@gmail.com>
28457
4e5f31c8 28458 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28459 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28460 The latter has a higher limit. Take additional parameter to pass to
28461 the new function.
28462 (__pathconf): Pass file to __statfs_link_max.
28463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28464 __statfs_link_max.
28465 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28466 __statfs_link_max.
28467
de283087
AD
28468 [BZ #12868]
28469 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28471 Handle Lustre.
28472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28473 (__statfs_filesize_max): Likewise.
28474 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28475
c75fa153
AJ
284762011-07-05 Andreas Jaeger <aj@suse.de>
28477
28478 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28479
1a544854
UD
284802011-07-06 Marek Polacek <mpolacek@redhat.com>
28481
28482 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28483 `status' variable.
28484 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28485 Likewise.
28486
6f0eec67
UD
284872011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28488
28489 * Makefile (strop-tests): Add strncat.
28490 * string/test-strncat.c: New file.
28491
aae30307
UD
284922011-06-30 Marek Polacek <mpolacek@redhat.com>
28493
28494 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28495
c0cfb5eb
UD
284962011-06-21 Andreas Jaeger <aj@suse.de>
28497
28498 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28499 Copy rule from iconvdata/Makefile.
28500
01636b21
UD
285012011-07-06 Ulrich Drepper <drepper@gmail.com>
28502
28503 [BZ #12922]
28504 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28505 but no long options are defined, just return 'W'.
28506
9895c8bc
UD
285072011-06-22 Marek Polacek <mpolacek@redhat.com>
28508
28509 [BZ #9696]
28510 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28511
5d4cf042
UD
285122011-07-06 Ulrich Drepper <drepper@gmail.com>
28513
28514 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28515 netgroups to read.
960e5535 28516 (innetgr): Likewise.
5d4cf042 28517
751eb97e
RM
285182011-07-05 Roland McGrath <roland@hack.frob.com>
28519
28520 * config.make.in (install_root): Default to $(DESTDIR).
28521
f15f1e45
UD
285222011-07-05 Ulrich Drepper <drepper@gmail.com>
28523
28524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28525
4e34ac6a
RM
285262011-07-02 Roland McGrath <roland@hack.frob.com>
28527
5e9b6af4
RM
28528 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28529
84f9ea0f
RM
28530 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28531 containing directory rather than embedding absolute directory names.
28532
ea5ee9f7
RM
28533 * scripts/check-local-headers.sh: Rewritten using awk.
28534 Match by word, not by line. Print error messages for matches.
28535 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28536
1b74661a
RM
28537 * Makerules [shlib-lds-flags empty]:
28538 ($(common-objpfx)libc_pic.opts): New target.
28539 ($(common-objpfx)libc_pic.os.clean): New target.
28540 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28541
28542 * config.make.in (OBJCOPY): New variable.
28543 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28544 * configure: Regenerated.
28545
f781ef40
RM
28546 * config.make.in (use-default-link): New variable.
28547 * configure.in (use_default_link): Grok --with-default-link to set it.
28548 * configure: Regenerated.
28549 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28550 (shlib-lds, shlib-lds-flags): Define to empty.
28551
2d4fa81e
RM
28552 * Makerules (shlib-lds): New variable.
28553 (shlib-lds-flags): New variable.
28554 (build-shlib, build-moduile, build-module-asneeded): Use it.
28555 ($(common-objpfx)libc.so): Use $(shlib-lds).
28556 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28557 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28558
31fffa6b
RM
28559 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28560 DT_FLAGS/DT_FLAGS_1 with zero flags.
28561
4e34ac6a
RM
28562 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28563 linker script munging.
28564
fcfc776b
UD
285652011-07-02 Ulrich Drepper <drepper@gmail.com>
28566
28567 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28568 as 128-bit value.
28569 * crypt/sha512.c (sha512_process_block): Perform total addition using
28570 128-bit if possible.
28571 (__sha512_finish_ctx): Likewise.
28572 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28573 as 64-bit value.
28574 * crypt/sha256.c (SWAP64): Define.
28575 (sha256_process_block): Perform total addition using 64-bit if
28576 possible.
28577 (__sha256_finish_ctx): Likewise.
28578
99231d9a
UD
285792011-07-01 Ulrich Drepper <drepper@gmail.com>
28580
28581 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28582 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28583 * nscd/hstcache.c (cache_addhst): Likewise.
28584 * nscd/grpcache.c (cache_addgr): Likewise.
28585 * nscd/aicache.c (addhstaiX): Likewise
28586 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28587
445b4a53
TK
285882011-07-01 Thorsten Kukuk <kukuk@suse.de>
28589
28590 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28592 * nscd/hstcache.c (cache_addhst): Likewise.
28593 * nscd/grpcache.c (cache_addgr): Likewise.
28594 * nscd/aicache.c (addhstaiX): Likewise
28595
6d4d8e8e
AS
285962011-07-01 Andreas Schwab <schwab@redhat.com>
28597
28598 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28599 domain only when needed.
28600
89f654c5
AS
286012011-06-30 Andreas Schwab <schwab@redhat.com>
28602
28603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28604 is always restored.
28605
cf3b23ff
UD
286062011-06-29 Ulrich Drepper <drepper@gmail.com>
28607
28608 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28609 are re-adding the entry.
28610 * nscd/servicescache.c (cache_addserv): Likewise.
28611
751626f9
AJ
286122011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28613
28614 * sysdeps/generic/dl-irel.h: fix protection against multiple
28615 inclusions.
28616 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28617
9113ea1f
UD
286182011-06-28 Ulrich Drepper <drepper@gmail.com>
28619
5c0b8d90
UD
28620 [BZ #12935]
28621 * malloc/memusage.sh: Fix quoting in message.
28622 * debug/xtrace.sh: Likewise.
28623
9113ea1f
UD
28624 * configure.in: Remove support for --experimental-malloc option, make
28625 it the default.
28626 * config.make.in: Likewise.
28627 * malloc/Makefile: Likewise.
28628
a4172181
AS
286292011-06-27 Andreas Schwab <schwab@redhat.com>
28630
28631 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28632 two-byte characters.
28633
78a7eee7
RM
286342011-06-27 Roland McGrath <roland@hack.frob.com>
28635
62bede13
RM
28636 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28637 AC_CACHE_CHECK invocation.
28638 * configure: Regenerated.
28639
78a7eee7
RM
28640 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28641
5ce33a62
UD
286422011-06-27 Ulrich Drepper <drepper@gmail.com>
28643
034807a9
UD
28644 [BZ #12350]
28645 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28646 bit from old_res_options.
28647
4902da17
UD
28648 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28649
5ce33a62
UD
28650 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28651 value type for setfct.
28652
c2344f56
L
286532011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28654
28655 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28656 __gettimeofday instead of gettimeofday.
28657
68468076
UD
286582011-06-26 Ulrich Drepper <drepper@gmail.com>
28659
28660 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28661
acb0d739
L
286622011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28663
28664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28665
28666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28667 info.
28668
8912479f
L
286692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28670
28671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28672 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28673 strcpy-sse2-unaligned strncpy-sse2-unaligned
28674 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28675 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28676 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28677 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28678 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28681 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28682 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28683 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28684 (STRCPY): Support SSE2 and SSSE3 versions.
28685
d5495a11
UD
286862011-06-24 Ulrich Drepper <drepper@gmail.com>
28687
28688 [BZ #12874]
28689 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28690 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28691 kernels which artificially limit size of requests.
28692
0b1cbaae
L
286932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28694
28695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28696 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28697 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28698 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28699 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28700 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28701 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28702 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28705 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28706 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28707 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28708 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28709 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28711 Enable unaligned load optimization for Intel Core i3, i5 and i7
28712 processors.
28713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28714 Define.
28715 (index_Fast_Unaligned_Load): Define.
28716 (HAS_FAST_UNALIGNED_LOAD): Define.
28717
07f494a0
MP
287182011-06-23 Marek Polacek <mpolacek@redhat.com>
28719
28720 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28721
fa3fc0fe
UD
287222011-06-22 Ulrich Drepper <drepper@gmail.com>
28723
28724 [BZ #12907]
28725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28726 until it is clear that the information is realy needed.
28727 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28728
e12df166
AS
287292011-06-22 Andreas Schwab <schwab@redhat.com>
28730
28731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28732
852eb34d
UD
287332011-06-22 Ulrich Drepper <drepper@gmail.com>
28734
84e2a551
UD
28735 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28736 /sys/devices/system/cpu/online if it is usable.
28737
852eb34d
UD
28738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28739 reading the information from the /proc filesystem to once a second.
28740
6e502e19
UD
287412011-06-21 Andreas Jaeger <aj@suse.de>
28742
28743 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28744 NULL after inclusion of kernel headers.
28745
75d39ff2
UD
287462011-06-21 Ulrich Drepper <drepper@gmail.com>
28747
51f9aa6a
UD
28748 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28749 calls to internal_setent.
28750
c0244a9d
UD
28751 [BZ #12885]
28752 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28753 addresses using gethostbyname4_r ignore IPv4 addresses.
28754
c5e3c2ae
UD
28755 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28756 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28757
75d39ff2
UD
28758 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28759
42675c6f
DM
287602011-06-20 David S. Miller <davem@davemloft.net>
28761
28762 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28763 inclusions.
28764 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28765
28766 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28767 (elf_irel): Use it.
28768 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28769 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28770 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28771 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28772 * sysdeps/x86_64/dl-irel.h: Likewise.
28773
28774 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28775 * elf/dl-sym.c: Likewise.
28776
57912a71
UD
287772011-06-15 Ulrich Drepper <drepper@gmail.com>
28778
28779 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28780 need to dereference resplen2.
28781
ee22793d
AS
287822011-06-14 Andreas Schwab <schwab@redhat.com>
28783
28784 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28785
a9e836b0
UD
287862011-06-15 Ulrich Drepper <drepper@gmail.com>
28787
77fb9117
UD
28788 * Makeconfig: Define vardbdir and inst_vardbdir.
28789 * nss/Makefile: Add rules to install db-Makefile.
28790
40c1b22c
UD
28791 * nss/nss_db/db-XXX.c: Cleanup.
28792
9f2da732
UD
28793 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28794 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28795 GLIBC_PRIVATE.
28796 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28797 * nss/makedb.c: Implement -g option to specify that value strings
28798 are generated and should not be added to table iterated over for
28799 get*ent calls.
28800 * nss/nss_db/db-initgroups.c: New file.
28801
82e9a1f7
UD
28802 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28803 interface.
28804
c41af17e
UD
28805 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28806 (internal_getgrouplist): Adjust to name change.
28807 Update use_initgroups_entry if this is not the first call.
28808 * nss/databases.def: Add initgroups entry.
28809
a9e836b0
UD
28810 * nss/makedb.c (compute_tables): Check result of multiple hash table
28811 sizes to minimize maximum chain length.
28812
2666d441
UD
288132011-06-14 Ulrich Drepper <drepper@gmail.com>
28814
28815 * Versions.def: Add entry for libnss_db.
28816 * shlib-versions: Likewise.
28817 * nss/Makefile: Add rules to build libnss_db.
28818 * nss/Versions: Add libnss_db information. Organize libnss_files
28819 entries better.
28820 * nss/db-Makefile: Add gshadow support. Change rules for the new
28821 makedb progra. Some minor improvements to generate smaller files.
28822 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28823 here from...
28824 * nss/makedb.c: ...here.
28825 Improve database format to be smaller and require less memory at
28826 runtime.
28827 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28828 db anymore.
28829 * nss/nss_db/db-netgrp.c: Likewise.
28830 * nss/nss_db/db-open.c: Likewise.
28831 * nss/nss_files/flies-XXX.x: Adjust comments.
28832 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28833 * nss/nss_files/files-grp.c: Likewise.
28834 * nss/nss_files/files-hosts.c: Likewise.
28835 * nss/nss_files/files-network.c: Likewise.
28836 * nss/nss_files/files-proto.c: Likewise.
28837 * nss/nss_files/files-pwd.c: Likewise.
28838 * nss/nss_files/files-rpc.c: Likewise.
28839 * nss/nss_files/files-service.c: Likewise.
28840 * nss/nss_files/files-sgrp.c: Likewise.
28841 * nss/nss_files/files-spwd.c: Likewise.
28842 * nss/nss_db/db-alias.c: Removed.
28843 * nss/nss_db/dummy-db.h: Removed.
28844
9ee76b5a
UD
288452011-06-02 Ulrich Drepper <drepper@gmail.com>
28846
28847 * nss/makedb.c: Rewritten to not use database library.
28848 * nss/Makefile: Update to build new makedb program.
28849
c71ca1f8
AJ
288502011-06-14 Andreas Jaeger <aj@suse.de>
28851
28852 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28853 memset declaration.
28854
3154bfb8
UD
288552011-06-10 Andreas Schwab <schwab@redhat.com>
28856
28857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28858 tmpbuf.
28859
b350afab
RM
288602011-06-10 Roland McGrath <roland@hack.frob.com>
28861
decd4e50
RM
28862 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28863 * elf/Makefile ($(objpfx)ld.so): Likewise.
28864
5615eaf2
RM
28865 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28866 Don't list ld.so twice in dependencies.
28867
28868 * posix/bug-regex31.c: Include <stdlib.h>.
28869
28870 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28871
28872 * nis/nss_compat/compat-spwd.c
28873 (getspent_next_nss_netgr): Remove unused variable.
28874 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28875
28876 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28877 nonmembers" output to use the right array.
28878
28879 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28880
28881 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28882
28883 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28884 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28885 * catgets/gencat.c (read_input_file): Likewise.
28886 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28887
28888 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28889 variable definition inside #if's controlling its use.
28890
28891 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28892
28893 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28894
28895 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28896
28897 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28898 unreachable code.
28899
28900 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28901
b68e08db
RM
28902 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28903 * configure: Regenerated.
28904
b350afab
RM
28905 * Makerules: Revert last change.
28906 * elf/Makefile: Likewise.
28907
28368601
RM
289082011-06-09 Roland McGrath <roland@hack.frob.com>
28909
28910 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28911 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28912 (reloc-link): Likewise.
28913
11988f8f
UD
289142011-06-09 Ulrich Drepper <drepper@gmail.com>
28915
28916 * elf/Makefile: Add rules to build pldd.
28917 * elf/pldd.c: New file.
28918 * elf/pldd-xx.c: New file.
28919
e80fab37
UD
289202011-06-07 Ulrich Drepper <drepper@gmail.com>
28921
28922 * version.h: Update for 2.15 development version.
28923
9b849836
DM
289242011-06-07 David S. Miller <davem@davemloft.net>
28925
28926 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28927 ifuncs.
28928 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28929 elf_machine_lazy_rel): Likewise.
28930 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28932 elf_machine_lazy_rel): Likewise.
28933 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28934 dl_hwcap via passed in argument.
28935 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28936 Likewise.
28937
5a31b283
AK
289382011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28939
28940 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28941
069e52f8
RM
289422011-06-06 Roland McGrath <roland@hack.frob.com>
28943
28944 [BZ #12849]
28945 * manual/fdl-1.1.texi: New file, verbatim from:
28946 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28947 * manual/lgpl-2.1.texi: New file, verbatim from:
28948 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28949 * manual/Makefile (licenses): New variable, list those new file names.
28950 (texis): Use it.
28951 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28952
28953 * manual/fdl.texi: File removed.
28954 * manual/lesser.texi: File removed.
28955 * manual/libc.texinfo (Copying, Documentation License):
28956 Use new @include file names, put @appendix directive before @include.
28957
f16846a5
JJ
289582011-06-04 Jakub Jelinek <jakub@redhat.com>
28959
28960 [BZ #12841]
28961 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28962 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28963 (mq_open): Add __NTH.
28964
3d29045b
L
289652011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28966
28967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28968 Assume Intel Core i3/i5/i7 processor if AVX is available.
28969
8c297311
UD
289702011-05-31 Ulrich Drepper <drepper@gmail.com>
28971
28972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28973 typo.
28974
c8fc0c91
UD
289752011-05-31 Andreas Schwab <schwab@redhat.com>
28976
28977 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28978 memory. Use alloca_account. Fix memory leak when retrying.
28979
5b27a807
UD
289802011-05-31 Ulrich Drepper <drepper@gmail.com>
28981
356f8bc6
UD
28982 * version.h (RELEASE): Bump for 2.14 release.
28983 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28984
5b27a807
UD
28985 * config.make.in (RANLIB): Remove entry.
28986
01f16ab0
UD
289872011-05-30 Ulrich Drepper <drepper@gmail.com>
28988
41fce8bd
UD
28989 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28990 (libc.pot): Work around missing support for .ksh extension in xgettext.
28991
4769ae77
UD
28992 [BZ #12684]
28993 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28994 if both request failed.
28995 (send_dg): In case of server errors clear resplen or *resplen2.
28996
6b1e7d19
UD
28997 [BZ #12454]
28998 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28999 when there are multiple maps.
29000 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29001 (_dl_fini): Remove test here.
29002
01f16ab0
UD
29003 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29004
b1ebd700
UD
290052011-05-29 Ulrich Drepper <drepper@gmail.com>
29006
7ae22829
UD
29007 [BZ #12350]
29008 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29009 bit from old_res_options.
29010 (gaih_inet): Likewise.
29011
553149f6 29012 [BZ #11099]
18a84741 29013 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29014 as signed.
29015
652ffab1
UD
29016 * resolv/res_init.c (res_setoptions): Make the code more compact.
29017
16985fd0
UD
29018 [BZ #11558]
29019 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29020 set RES_USEVC.
29021
0464f746
UD
29022 [BZ #11634]
29023 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29024
7d17596c
UD
29025 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29026
cf6bbbd7
UD
29027 [BZ #11781]
29028 * malloc/malloc.h: Declare malloc hook variables as volatile.
29029
13f1ab36
UD
29030 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29031 in last patch.
29032
b1ebd700
UD
29033 [BZ #11799]
29034 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29035 raise in the comment.
80e2212d
UD
29036 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29038 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29039
ce67228d
UD
290402011-05-28 Ulrich Drepper <drepper@gmail.com>
29041
8887a920
UD
29042 [BZ #12811]
29043 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29044 grow the buffers more if it already has to be sufficient.
29045 (build_wcs_upper_buffer): Likewise.
29046 * posix/regexec.c (check_matching): Likewise.
29047 (clean_state_log_if_needed): Likewise.
29048 (extend_buffers): Don't enlarge buffers beyond size of the input
29049 buffer.
29050 Patches mostly by Emil Wojak <emil@wojak.eu>.
29051 * posix/bug-regex32.c: New file.
29052 * posix/Makefile (tests): Add bug-regex32.
29053
4f031072
UD
29054 * locale/findlocale.c (_nl_find_locale): Return right away if
29055 _nl_explode_name failed.
29056 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29057
d0478f0c
UD
29058 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29059
de81b246
UD
29060 * debug/xtrace.sh: Unify messages.
29061 * malloc/memusage.sh: Likewise.
29062
c738465a
UD
29063 [BZ #12813]
29064 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29065 time symbol from vDSO. Substitute with vsyscall if not available.
29066 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29067 __vdso_time.
29068
f1f929d7
UD
29069 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29070 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29071 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29072 Add sendmmsg and internal_sendmmsg.
29073 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29074 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29075 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29076
ce67228d
UD
29077 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29078 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29079 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29080
e57420c6
UD
290812011-05-27 Ulrich Drepper <drepper@gmail.com>
29082
a8509ca5
UD
29083 [BZ #12813]
29084 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29085 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29086 available.
29087 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29088 __vdso_getcpu.
29089
e57420c6
UD
29090 [BZ #12814]
29091 * iconvdata/Makefile (tests): Add bug-iconv9.
29092 * iconvdata/bug-iconv9.c: New file.
29093
4d07db15
AS
290942011-05-27 Andreas Schwab <schwab@redhat.com>
29095
29096 [BZ #12814]
29097 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29098
ea486f69
JJ
290992011-05-25 Jakub Jelinek <jakub@redhat.com>
29100
29101 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29102 (struct user_regs_struct): Change intcs field back to cs.
29103
6f038433
UD
291042011-05-25 Ulrich Drepper <drepper@gmail.com>
29105
29106 * po/ja.po: Update from translation team.
29107
67f86a25
UD
291082011-05-23 Ulrich Drepper <drepper@gmail.com>
29109
29110 [BZ #12795]
29111 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29112 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29113
def7fbd6
AS
291142011-05-20 Andreas Schwab <schwab@redhat.com>
29115
29116 * stdlib/longlong.h: Update from GCC.
29117
f50ef8f1
AS
291182011-05-23 Andreas Schwab <schwab@redhat.com>
29119
29120 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29121 parameter name.
29122 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29123 Add parameter name.
29124 (__sysconf): Pass it down.
29125
de7ce8f1
UD
291262011-05-22 Ulrich Drepper <drepper@gmail.com>
29127
f2962a71
UD
29128 [BZ #12671]
29129 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29130 some situations.
29131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29132 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29133 add in in __libc_use_alloca calls. Adjust callers.
29134 (glob): Use malloc in some situations.
29135
de7ce8f1
UD
29136 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29137 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29138 pltexit.
29139
aec84f53
UD
291402011-05-21 Ulrich Drepper <drepper@gmail.com>
29141
05bb4a68
UD
29142 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29143 and CLOCK_BOOTTIME_ALARM.
29144
7ea72f99
UD
29145 [BZ #12782]
29146 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29147 is returned.
29148
7e4afad5
UD
29149 * string/_strerror.c (__strerror_r): Print negative errors as signed
29150 numbers.
29151
8e211fec
UD
29152 [BZ #12777]
29153 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29154 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29155 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29156
f7d82dc9
UD
29157 * configure.in: Fix typo in redirection and correct removal of test
29158 files in two cases.
29159
cc9e536d
UD
29160 [BZ #12788]
29161 * locale/setlocale.c (new_composite_name): Fix test to check for
29162 identical name of all categories.
29163
aec84f53
UD
29164 [BZ #12792]
29165 * libio/filedoalloc.c (local_isatty): New function.
29166 (_IO_file_doallocate): Use local_isatty.
29167 * stdio-common/perror.c (perror): In case a new stream is used
29168 forward the stream error.
29169 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29170 error flag.
29171
78e64fdc
RT
291722011-05-20 Ulrich Drepper <drepper@gmail.com>
29173
34a9094f
UD
29174 [BZ #11869]
29175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29176 alloca.
29177 * include/alloca.h (extend_alloca_account): Define.
29178
78e64fdc
RT
29179 [BZ #11857]
29180 * posix/regex.h: Fix comments with documentation of user-accessible
29181 fields after compilation and describe correct free'ing of pattern
29182 after re_compile_pattern.
29183 Patch by Reuben Thomas <rrt@sc3d.org>.
29184
457bddfc
RA
291852011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29186
29187 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29188 and -mno-altivec to prevent the compiler from using Altivec and/or
29189 VSX instructions when the corresponding registers are not available.
29190
a4527b51
AS
291912011-05-19 Andreas Schwab <schwab@redhat.com>
29192
29193 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29194
ed690b2f
UD
291952011-05-19 Ulrich Drepper <drepper@gmail.com>
29196
29197 * libio/freopen.c (freopen): Use __dup2, not dup2.
29198 * libio/freopen64.c (freopen64): Likewise.
29199
8db73634
L
292002011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29201
29202 [BZ #12775]
29203 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29204 * math/Makefile (tests): Add test-powl.
29205 (CFLAGS-test-powl.c): Define.
29206 * math/test-powl.c: New file.
29207
0a197a9d
L
292082011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29209
29210 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29211
ee30c380
UD
292122011-05-17 Ulrich Drepper <drepper@gmail.com>
29213
29214 [BZ #11837]
29215 * iconvdata/gb18030.c: Update to GB18020-2005.
29216
6ce75379
UD
292172011-05-16 Ulrich Drepper <drepper@gmail.com>
29218
a4b89fd8
AR
29219 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29220 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29221 Patch by Aharon Robbins <arnold@skeeve.com>.
29222
ea389b12
UD
29223 [BZ #11892]
29224 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29225 on the stack.
29226
68a3f91f
UD
29227 [BZ #11895]
29228 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29229 through underflows.
29230
15cc7dd1
UD
29231 [BZ #12766]
29232 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29233 point to strings before performing equality test for error_one_per_line
29234 mode.
29235
f3799213
UD
29236 [BZ #11697]
29237 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29238
d79a9c94
UD
29239 [BZ #11820]
29240 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29241 (struct user_fpregs_struct): Avoid __uint*_t types.
29242
56e5eb46
UD
29243 [BZ #6420]
29244 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29245 symbol info. Use it instead of calling _dl_addr locally.
29246 (lock_and_info): New function.
29247 (tr_freehook): Call lock_and_info and pass symbol info as additional
29248 parameter to tr_where.
29249 (tr_mallochook): Likewise.
29250 (tr_reallochook): Likewise.
29251 (tr_memalignhook): Likewise.
29252
6ce75379
UD
29253 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29254 used and couldn't be at all thread-safe.
29255
f8a3b5bf
UD
292562011-05-15 Ulrich Drepper <drepper@gmail.com>
29257
94b7cc37
UD
29258 * libio/freopen.c (freopen): Don't close old file descriptor
29259 before the new one is opened. Instead dup the new file descriptor
29260 to the old one after the new stream is created.
29261 * libio/freopen64.c (freopen64): Likewise.
29262 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29263 * libio/fileops.c (_IO_new_file_close_it): Handle new
29264 _IO_FLAGS2_NOCLOSE flag.
29265 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29266 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29267 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29268 _IO_FLAGS2_NOCLOSE flag.
29269 * include/unistd.h: Add hidden_proto for dup3.
29270 Define __have_dup3.
29271 * io/dup3.c: Define hidden symbol.
29272 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29273
bd25564e
UD
29274 [BZ #7101]
29275 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29276 when an incomplete long option is used.
29277 * posix/tst-getopt_long1.c: New file.
29278 * posix/Makefile (tests): Add tst-getopt_long1.
29279
c84cfef4
UD
29280 [BZ #10138]
29281 * scripts/config.guess: Update from autoconf-2.68.
29282 * scripts/config.sub: Likewise.
29283
3b85df27
UD
29284 [BZ #10157]
29285 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29286 tests into ...
29287 (has_cpuclock): ...this. New function.
29288 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29289 macro here based on has_cpuclock code.
29290
15a856b1
UD
29291 [BZ #10149]
29292 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29293 First byte (not low byte) is now always NUL.
29294 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29295
05f399e6
UD
29296 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29297 Use non-cancelable interfaces.
29298
10a52685 29299 [BZ #9809]
94ecc67d
UD
29300 * locale/iso-639.def: Add entry for Sorani.
29301
f8a3b5bf
UD
29302 [BZ #11901]
29303 * include/stdlib.h: Move include protection to the right place.
29304 Define abort_msg_s. Declare __abort_msg with it.
29305 * stdlib/abort.c (__abort_msg): Adjust type.
29306 * assert/assert.c (__assert_fail_base): New function. Majority
29307 of code from __assert_fail. Allocate memory for __abort_msg with
29308 mmap.
29309 (__assert_fail): Now call __assert_fail_base.
29310 * assert/assert-perr.c: Remove bulk of implementation. Use
29311 __assert_fail_base.
29312 * include/assert.hL Declare __assert_fail_base.
29313 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29314 mmap.
29315 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29316
1af4e298
UD
293172011-05-14 Ulrich Drepper <drepper@gmail.com>
29318
f8a3b5bf 29319 [BZ #11952]
d26dfc60
MG
29320 [BZ #12453]
29321 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29322 until all modules are registered in the DTV.
29323 * elf/Makefile: Add rules to build and run tst-tls19.
29324 * elf/tst-tls19.c: New file.
29325 * elf/tst-tls19mod1.c: New file.
29326 * elf/tst-tls19mod2.c: New file.
29327 * elf/tst-tls19mod3.c: New file.
29328 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29329
2fc54d6f
UD
29330 [BZ #12083]
29331 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29332 correctly.
29333
98d76b46
UD
29334 [BZ #12601]
29335 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29336 two-byte sequence errors.
29337 * iconvdata/Makefile (tests): Add bug-iconv8.
29338 * iconvdata/bug-iconv8.c: New file.
29339
da3c19ef
UD
29340 [BZ #12626]
29341 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29342 buf2 definition.
29343
ca408c15
UD
29344 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29345
d6f67f7d
UD
29346 [BZ #12432]
29347 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29348 (dummy_getcfa): New function.
29349 (init): Get _Unwind_GetCFA address, use dummy if not found.
29350 (backtrace_helper): In recursion check, also check whether CFA changes.
29351 (__backtrace): Completely initialize arg.
29352
1af4e298 29353 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29354 storing incomplete byte sequence in state object. Avoid testing for
29355 guaranteed too small input if we know there is enough data available.
1af4e298 29356
da62f81b
AS
293572011-05-11 Andreas Schwab <schwab@redhat.com>
29358
29359 * Makeconfig (+link-pie): Indent.
29360 * Rules (binaries-pie): Define if $(have-fpie) and
29361 $(build-shared).
29362 (binaries-shared): Also filter out $(binaries-pie).
29363 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29364 * nscd/Makefile (others-pie): Add nscd.
29365 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29366 ($(objpfx)nscd): Remove command override.
29367 * login/Makefile (others-pie): Add pt_chown.
29368 ($(objpfx)pt_chown): Remove command override.
29369 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29370 remove command overrides.
29371
fcabc0f8
UD
293722011-05-13 Ulrich Drepper <drepper@gmail.com>
29373
20030ae6
UD
29374 * libio/tst_putwc.c: Fix error messages.
29375
fcabc0f8
UD
29376 [BZ #12724]
29377 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29378 currently writing and seek to current position when not.
29379 * libio/Makefile (tests): Add bug-fclose1.
29380 * libio/bug-fclose1.c: New file.
29381
320a5dc0
PB
293822011-05-12 Ulrich Drepper <drepper@gmail.com>
29383
29384 [BZ #12511]
29385 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29386 don't set DF_1_NODELETE here.
29387 (do_lookup_x): When entering new entry test for copy relocation
29388 and if necessary set DF_1_NODELETE flag.
29389 * elf/tst-unique4.cc: New file.
29390 * elf/tst-unique4.h: New file.
29391 * elf/tst-unique4lib.cc: New file.
29392 * elf/Makefile: Add rules to build and run tst-unique4.
29393 Patch by Piotr Bury <pbury@goahead.com>.
29394
22836f52
UD
293952011-05-11 Ulrich Drepper <drepper@gmail.com>
29396
f574184a
UD
29397 [BZ #12052]
29398 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29399
e1fb097f
UD
29400 [BZ #12625]
29401 * misc/mntent_r.c (addmntent): Flush the stream after the output
29402
22836f52
UD
29403 [BZ #12393]
29404 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29405 (is_trusted_path_normalize): Skip initial colon. Append slash
29406 to empty buffer. Duplicate is_trusted_path code but allow
29407 constructed patch to be prefix.
29408 (is_dst): Allow $ORIGIN followed by /.
29409 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29410 Correct testing of result of is_trusted_path_normalize
29411 (decompose_rpath): Fix warning.
29412
7b3b0b2a
UD
294132011-05-10 Ulrich Drepper <drepper@gmail.com>
29414
29415 [BZ #11257]
29416 * grp/initgroups.c (internal_getgrouplist): When we found the service
29417 list through the initgroups entry in nsswitch.conf do not always
29418 continue on a successful lookup. Don't always use the
eac80ce2 29419 __nss_group_database value if it is set.
7b3b0b2a
UD
29420 * nss/nsswitch.conf (initgroups): Change action for successful db
29421 lookup to continue for compatibility.
29422
2a81eaa5
UD
294232011-05-09 Ulrich Drepper <drepper@gmail.com>
29424
be97a69e
UD
29425 [BZ #11532]
29426 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29427 and CP774 modules.
29428 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29429 and CP774 modules.
29430 * iconvdata/tst-tables.sh: Likewise.
29431 * iconvdata/cp770.c: New file.
29432 * iconvdata/cp771.c: New file.
29433 * iconvdata/cp772.c: New file.
29434 * iconvdata/cp773.c: New file.
29435 * iconvdata/cp774.c: New file.
29436 * iconvdata/testdata/CP770: New file.
29437 * iconvdata/testdata/CP770..UTF8: New file.
29438 * iconvdata/testdata/CP771: New file.
29439 * iconvdata/testdata/CP771..UTF8: New file.
29440 * iconvdata/testdata/CP772: New file.
29441 * iconvdata/testdata/CP772..UTF8: New file.
29442 * iconvdata/testdata/CP773: New file.
29443 * iconvdata/testdata/CP773..UTF8: New file.
29444 * iconvdata/testdata/CP774: New file.
29445 * iconvdata/testdata/CP774..UTF8: New file.
29446
29447 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29448 END CHARMAP line.
29449 * iconvdata/gen-8bit-gap.sh: Likewise.
29450 * iconvdata/gen-8bit.sh: Likewise.
29451
c1e9e399
UD
29452 * locale/iso-639.def: Add ary entry.
29453
24c55fb3 29454 [BZ #11258]
96b4b1b0
UD
29455 * locale/C-translit.h.in: Add U20A1 transliteration.
29456
bdc2f971
KB
29457 [BZ #12178]
29458 * locale/iso-639.def: Add wae entry.
29459 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29460
2952b117
UD
29461 [BZ #12545]
29462 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29463 for n.
29464
2a81eaa5
UD
29465 [BZ #12711]
29466 * locale/C-translit.h.in: Add entry for U20B9.
29467 Patch by pravin.d.s@gmail.com.
29468
28377d1b
UD
294692011-05-08 Ulrich Drepper <drepper@gmail.com>
29470
7fb90fb8
UD
29471 [BZ #12713]
29472 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29473 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29474 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29475 in rtld. Use *stat64.
7fb90fb8 29476 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29477 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29478 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29479 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29480 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29481 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29482 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29483 __fstatat64 macros.
7fb90fb8
UD
29484 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29485 * dirent/rewinddir.c: Add libc_hidden_def.
29486 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29487 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29488
28377d1b
UD
29489 * include/dirent.h (__alloc_dir): Add flags parameter.
29490 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29491 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29492 __alloc_dir.
29493 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29494 from fdopendir if O_CLOEXEC is already set.
29495
66bdbaa4
AM
294962011-03-15 Alan Modra <amodra@gmail.com>
29497
29498 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29499 l_tls_firstbyte_offset non-zero. Save padding offset in
29500 l_tls_firstbyte_offset for later use.
29501 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29502 freeing static tls block.
29503
95721191
JN
295042011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29505
29506 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29507 where #ifdef was intended. The intent is to prevent ARG_MAX from
29508 being defined by the kernel headers.
29509
f87dfb1f
UD
295102011-05-07 Ulrich Drepper <drepper@gmail.com>
29511
29512 [BZ #12734]
29513 * resolv/resolv.h: Define RES_NOTLDQUERY.
29514 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29515 no-tld-query and set RES_NOTLDQUERY.
29516 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29517 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29518 modern BIND to search name as TLD unless forbidden.
29519
47c3cd7a
UD
295202011-05-07 Petr Baudis <pasky@suse.cz>
29521 Ulrich Drepper <drepper@gmail.com>
29522
29523 [BZ #12393]
29524 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29525 (is_trusted_path): ...to here.
c1e9ea35 29526 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29527 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29528 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29529
8a35c912
PP
295302011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29531
29532 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29533 __BEGIN/__END_DECLS.
29534
acd41f47
UD
295352011-05-06 Ulrich Drepper <drepper@gmail.com>
29536
29537 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29538 NSS_STATUS_NOTFOUND if no record was found.
29539
597df647
AS
295402011-05-05 Andreas Schwab <schwab@redhat.com>
29541
29542 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29543 (headers-not-in-tirpc): Remove rpc/netdb.h
29544 * resolv/netdb.h: Revert last change.
29545
b9af1301
PP
295462011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29547
29548 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29549 circular dependency between libgcc.a and libc.a.
29550
4e34d5f5
AS
295512011-05-05 Andreas Schwab <schwab@redhat.com>
29552
29553 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29554 * nis/Makefile: Don't install rpcsvc/*.
29555 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29556 instead of <rpc/types.h>.
29557 (MAXHOSTNAMELEN): Define.
29558
00ee369c
AS
295592011-05-03 Andreas Schwab <schwab@redhat.com>
29560
29561 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29562
0b592a30
MB
295632011-04-28 Maciej Babinski <mbabinski@google.com>
29564
29565 [BZ #12714]
29566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29567 gethostbyname4_r when IPv6 results are possible.
29568
6e04cbbe
UD
295692011-05-02 Ulrich Drepper <drepper@gmail.com>
29570
29571 [BZ #12723]
29572 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29573 _PC_PIPE_BUF handling.
29574
e4ecafe0
BH
295752011-04-30 Bruno Haible <bruno@clisp.org>
29576
29577 [BZ #12717]
29578 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29579 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29580 to 'int'.
29581 * inet/getnameinfo.c (getnameinfo): Likewise.
29582
125ee683
UD
295832011-04-29 Ulrich Drepper <drepper@gmail.com>
29584
29585 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29586 to groups setting in database lookup.
29587 * nss/nsswitch.conf: Add initgroups entry.
29588
b722481a
EB
295892011-04-22 Ulrich Drepper <drepper@gmail.com>
29590
29591 [BZ #12685]
29592 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29593 mode string.
29594 Patch by Eric Blake <eblake@redhat.com>.
29595
4df46dbd
L
295962011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29597
29598 * sunrpc/Makefile (need-export-routines): Add svc_run.
29599 (routines): Remove svc_run.
29600 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29601 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29602 * sunrpc/svc_run.c (svc_run): Likewise.
29603 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29604
e84142d2
UD
296052011-04-21 Ulrich Drepper <drepper@gmail.com>
29606
29607 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29608 problem in reallocation in last patch.
29609
877175d8
UD
296102011-04-20 Ulrich Drepper <drepper@gmail.com>
29611
29612 * sunrpc/Makefile: Move inclusion of Rules.
29613
ab8eed78
UD
296142011-04-19 Ulrich Drepper <drepper@gmail.com>
29615
29616 * nss/nss_files/files-initgroups.c: New file.
29617 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29618 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29619 _nss_files_initgroups_dyn.
29620
e3d8f584
RS
296212011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29622
29623 * elf/elf.h (R_ARM_IRELATIVE): Define.
29624
af190f45
UD
296252011-04-19 Ulrich Drepper <drepper@gmail.com>
29626
29627 * po/ru.po: Update from translation team.
29628
53cf59ef
UD
296292011-04-17 Ulrich Drepper <drepper@gmail.com>
29630
29631 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29632 dependencies.
29633
4c559bcd
MF
296342011-02-06 Mike Frysinger <vapier@gentoo.org>
29635
29636 [BZ #12653]
29637 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29638 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29639 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29641 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29642
4420675c
AS
296432011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29644
29645 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29646 differing bytes.
29647 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29648 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29650
75ea32ab
UD
296512011-04-17 Ulrich Drepper <drepper@gmail.com>
29652
29653 [BZ #12420]
29654 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29655 storing it.
29656 * stdlib/bug-getcontext.c: New file.
29657 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29658
27390476
AK
296592011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29660
29661 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29662 instructions into .machine "z9-109".
29663 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29664 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29665
10442705
AK
296662011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29667
29668 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29669 between environment variables and auxiliary vector.
29670
7b57bfe5
UD
296712011-04-16 Ulrich Drepper <drepper@gmail.com>
29672
29673 * Makefile: Add rules to build linkobj/libc.so.
29674 * include/libc-symbols.h: Define libc_hidden_nolink.
29675 * include/rpc/auth.h: Mark functions which are to be hidden.
29676 * include/rpc/auth_des.h: Likewise.
29677 * include/rpc/auth_unix.h: Likewise.
29678 * include/rpc/clnt.h: Likewise.
29679 * include/rpc/des_crypt.h: Likewise.
29680 * include/rpc/key_prot.h: Likewise.
29681 * include/rpc/pmap_clnt.h: Likewise.
29682 * include/rpc/pmap_prot.h: Likewise.
29683 * include/rpc/pmap_rmt.h: Likewise.
29684 * include/rpc/rpc_msg.h: Likewise.
29685 * include/rpc/svc.h: Likewise.
29686 * include/rpc/svc_auth.h: Likewise.
29687 * include/rpc/xdr.h: Likewise.
29688 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29689 * nss/Makefile: Likewise.
29690 * sunrpc/Makefile: Don't install headers. Build library with normal
29691 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29692 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29693 for the compat linking library. Remove use of INTDEF/INTUSE.
29694 * sunrpc/auth_none.c: Likewise.
29695 * sunrpc/auth_unix.c: Likewise.
29696 * sunrpc/authdes_prot.c: Likewise.
29697 * sunrpc/authuxprot.c: Likewise.
29698 * sunrpc/clnt_gen.c: Likewise.
29699 * sunrpc/clnt_perr.c: Likewise.
29700 * sunrpc/clnt_raw.c: Likewise.
29701 * sunrpc/clnt_simp.c: Likewise.
29702 * sunrpc/clnt_tcp.c: Likewise.
29703 * sunrpc/clnt_udp.c: Likewise.
29704 * sunrpc/clnt_unix.c: Likewise.
29705 * sunrpc/des_crypt.c: Likewise.
29706 * sunrpc/des_soft.c: Likewise.
29707 * sunrpc/get_myaddr.c: Likewise.
29708 * sunrpc/key_call.c: Likewise.
29709 * sunrpc/key_prot.c: Likewise.
29710 * sunrpc/netname.c: Likewise.
29711 * sunrpc/pm_getmaps.c: Likewise.
29712 * sunrpc/pm_getport.c: Likewise.
29713 * sunrpc/pmap_clnt.c: Likewise.
29714 * sunrpc/pmap_prot.c: Likewise.
29715 * sunrpc/pmap_prot2.c: Likewise.
29716 * sunrpc/pmap_rmt.c: Likewise.
29717 * sunrpc/publickey.c: Likewise.
29718 * sunrpc/rpc_cmsg.c: Likewise.
29719 * sunrpc/rpc_common.c: Likewise.
29720 * sunrpc/rpc_dtable.c: Likewise.
29721 * sunrpc/rpc_prot.c: Likewise.
29722 * sunrpc/rpc_thread.c: Likewise.
29723 * sunrpc/rtime.c: Likewise.
29724 * sunrpc/svc.c: Likewise.
29725 * sunrpc/svc_auth.c: Likewise.
29726 * sunrpc/svc_authux.c: Likewise.
29727 * sunrpc/svc_raw.c: Likewise.
29728 * sunrpc/svc_run.c: Likewise.
29729 * sunrpc/svc_simple.c: Likewise.
29730 * sunrpc/svc_tcp.c: Likewise.
29731 * sunrpc/svc_udp.c: Likewise.
29732 * sunrpc/svc_unix.c: Likewise.
29733 * sunrpc/svcauth_des.c: Likewise.
29734 * sunrpc/xcrypt.c: Likewise.
29735 * sunrpc/xdr.c: Likewise.
29736 * sunrpc/xdr_array.c: Likewise.
29737 * sunrpc/xdr_float.c: Likewise.
29738 * sunrpc/xdr_intXX_t.c: Likewise.
29739 * sunrpc/xdr_mem.c: Likewise.
29740 * sunrpc/xdr_rec.c: Likewise.
29741 * sunrpc/xdr_ref.c: Likewise.
29742 * sunrpc/xdr_sizeof.c: Likewise.
29743 * sunrpc/xdr_stdio.c: Likewise.
29744
e6c61494
UD
297452011-04-10 Ulrich Drepper <drepper@gmail.com>
29746
29747 [BZ #12650]
29748 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29749 * sysdeps/ia64/dl-tls.h: Likewise.
29750 * sysdeps/powerpc/dl-tls.h: Likewise.
29751 * sysdeps/s390/dl-tls.h: Likewise.
29752 * sysdeps/sh/dl-tls.h: Likewise.
29753 * sysdeps/sparc/dl-tls.h: Likewise.
29754 * sysdeps/x86_64/dl-tls.h: Likewise.
29755 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29756
34fe483e
AS
297572011-03-14 Andreas Schwab <schwab@redhat.com>
29758
29759 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29760 rpath element also skip the following colon.
29761 (expand_dynamic_string_token): Add is_path parameter and pass
29762 down to DL_DST_REQUIRED and _dl_dst_substitute.
29763 (decompose_rpath): Call expand_dynamic_string_token with
29764 non-zero is_path. Ignore empty rpaths.
29765 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29766 with zero is_path.
29767
f12a32e6
AS
297682011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29769
29770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29771 Make cancelable.
29772
38a7d692
UD
297732011-04-09 Ulrich Drepper <drepper@gmail.com>
29774
29775 [BZ #12655]
29776 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29777 Patch by Filipe David Manana <fdmanana@apache.org>.
29778
e451d22b
AS
297792011-04-07 Andreas Schwab <schwab@redhat.com>
29780
29781 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29782 Maintain aligned stack.
29783 (CHECK_RSP): Remove unused macro.
29784
dedc7c7b
UD
297852011-04-03 Ulrich Drepper <drepper@gmail.com>
29786
29787 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29788 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29789
94521213
UD
297902011-04-02 Ulrich Drepper <drepper@gmail.com>
29791
29792 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29793
8cb700c0 29794 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29795
0354e355
L
297962011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29797
29798 [BZ #12518]
29799 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29800 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29801 * sysdeps/x86_64/memmove.c: New file.
29802 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29803 (memcpy): Renamed to ...
29804 (__new_memcpy): This.
29805 (memcpy): Provide GLIBC_2_14 memcpy.
29806 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29807 (memcpy): Provide GLIBC_2_2_5 memcpy.
29808
8593482f
UD
298092011-04-01 Ulrich Drepper <drepper@gmail.com>
29810
29811 [BZ #12631]
29812 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29813
81a5726b
AS
298142011-03-30 Andreas Schwab <schwab@redhat.com>
29815
29816 * misc/syncfs.c: New file.
29817 * misc/Makefile (routines): Add syncfs.
29818 * posix/unistd.h: Declare syncfs.
29819 * sysdeps/unix/syscalls.list: Add syncfs.
29820
00e5419f
AS
298212011-04-01 Andreas Schwab <schwab@redhat.com>
29822
29823 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29824 open_by_handle_at.
29825 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29830 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29831 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29832
748876bf
UD
298332011-04-01 Ulrich Drepper <drepper@gmail.com>
29834
658e451d
UD
29835 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29837 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29839 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29841 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29842
748876bf
UD
29843 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29844 sync_file_range.c with -fexceptions.
29845 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29846 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29847 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29848 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29849 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29850 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29852 sync_file_range as cancellation point
29853 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29854 now a wrapper around __call_sync_file_range with cancellation handling.
29855 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29856 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29857 function name to __call_sync_file_range.
29858 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29859 Add call_sync_file_range.
748876bf 29860
6e63d5e1
AS
298612011-04-01 Andreas Schwab <schwab@redhat.com>
29862
29863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29864 bits/timex.h.
6e63d5e1 29865
46998f74
UD
298662011-04-01 Ulrich Drepper <drepper@gmail.com>
29867
4c1423ed
UD
29868 * iconv/iconv.h: Fix typo in comment.
29869 * io/fcntl.h: Likewise.
29870 * libio/stdio.h: Likewise.
29871 * posix/spawn.h: Likewise.
29872 * posix/unistd.h: Likewise.
29873 * stdlib/stdlib.h: Likewise.
29874 * time/time.h: Likewise.
29875 * wcsmbs/wchar.h: Likewise.
29876
158648c0
UD
29877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29878 open_by_handle): Add.
29879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29880 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29881 Augment a few comments.
29882 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29883 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29884 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29886 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29887 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29888 open_by_handle.
29889
46998f74
UD
29890 * io/fcntl.h (AT_EMPTY_PATH): Define.
29891
83fe108b
UD
298922011-03-30 Ulrich Drepper <drepper@gmail.com>
29893
29894 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29895 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29896 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29897 to...
29898 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29899 * Versions.def: Add GLIBC_2.14.
29900 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29901 Export.
83fe108b 29902
bb242059
UD
299032011-03-22 Ulrich Drepper <drepper@gmail.com>
29904
29905 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29906 round counter.
29907 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29908
c97a1282
L
299092011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29910
29911 [BZ #12597]
29912 * string/test-strncmp.c (do_page_test): New function.
29913 (check2): Likewise.
29914 (test_main): Call check2.
29915 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29916
2a115601
UD
299172011-03-20 Ulrich Drepper <drepper@gmail.com>
29918
29919 [BZ #12587]
29920 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29921 Handle cache information in CPU leaf 4.
29922 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29923
8126d904
UD
299242011-03-18 Ulrich Drepper <drepper@gmail.com>
29925
042c49c6 29926 [BZ #12583]
8126d904
UD
29927 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29928 character representation.
29929 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29930
ccfe366e
RA
299312011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29932
29933 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29934 END(__isnan) to END(__isnanf) to match function entry point/label
29935 EALIGN(__isnanf,...).
29936
c6e13027
JJ
299372011-03-10 Jakub Jelinek <jakub@redhat.com>
29938
29939 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29940
33f85a3f
UD
299412011-03-10 Ulrich Drepper <drepper@gmail.com>
29942
028478fa
UD
29943 [BZ #12510]
29944 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29945 copy from the symbol referenced in the relocation to initialize the
29946 used variable.
29947 Patch by Piotr Bury <pbury@goahead.com>.
29948 * elf/Makefile: Add rules to build and tst-unique3.
29949 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29950 * elf/tst-unique3.cc: New file.
29951 * elf/tst-unique3.h: New file.
29952 * elf/tst-unique3lib.cc: New file.
29953 * elf/tst-unique3lib2.cc: New file.
29954
33f85a3f
UD
29955 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29956
03592fc7
MF
299572011-03-10 Mike Frysinger <vapier@gentoo.org>
29958
29959 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29960 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29961 to _start.
03592fc7 29962
6a5ee102
UD
299632011-03-06 Ulrich Drepper <drepper@gmail.com>
29964
29965 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29966 to-be-loaded object along a path to loader is ld.so.
29967
7e4ba49c
HJ
299682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29969 Ulrich Drepper <drepper@gmail.com>
29970
29971 * sysdeps/x86_64/memset.S: After aligning destination, code
29972 branches to different locations depending on the value of
29973 misalignment, when multiarch is enabled. Fix this.
29974
299752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29976
29977 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29978 Set _x86_64_preferred_memory_instruction for AMD processsors.
29979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29980 Set bit_Prefer_SSE_for_memop for AMD processors.
29981
13a804de
UD
299822011-03-04 Ulrich Drepper <drepper@gmail.com>
29983
29984 * libio/fmemopen.c (fmemopen): Optimize a bit.
29985
9d25c392
AS
299862011-03-03 Andreas Schwab <schwab@redhat.com>
29987
29988 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29989
a5543c6a
RM
299902011-03-03 Roland McGrath <roland@redhat.com>
29991
29992 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29993
012d35f7
DM
299942011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29995
7e4ba49c 29996 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29997 __bzero_ultra1 instead of __memset_ultra1.
29998
4bff6e01
AS
299992011-02-23 Andreas Schwab <schwab@redhat.com>
30000 Ulrich Drepper <drepper@gmail.com>
30001
30002 [BZ #12509]
30003 * include/link.h (struct link_map): Add l_orig_initfini.
30004 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30005 returning unsuccessfully.
30006 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30007 close of a file loaded at startup, restore the original l_initfini
30008 list.
30009 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30010 list, store the pointer.
30011 * elf/Makefile ($(objpfx)noload-mem): New rule.
30012 (noload-ENV): Define.
30013 (tests): Add $(objpfx)noload-mem.
30014 * elf/noload.c: Include <memcheck.h>.
30015 (main): Call mtrace. Close all opened handles.
30016
f2092faf
AS
300172011-02-17 Andreas Schwab <schwab@redhat.com>
30018
30019 [BZ #12454]
30020 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30021 dependencies are missing.
30022
6c8a2e88
ST
300232011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30024
f2092faf 30025 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30026 Hurd needs munmap.
30027 * sysdeps/mach/hurd/ifreq.h: New file.
30028
84a42118
PB
300292011-01-27 Petr Baudis <pasky@suse.cz>
30030 Ulrich Drepper <drepper@gmail.com>
30031
071f805e 30032 [BZ 12445]#
84a42118
PB
30033 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30034 to extend_alloca().
30035 * stdio-common/bug23.c: New file.
30036 * stdio-common/Makefile (tests): Add bug23.
30037
e23fe25b
AS
300382010-09-28 Andreas Schwab <schwab@redhat.com>
30039 Ulrich Drepper <drepper@gmail.com>
30040
30041 [BZ #12489]
30042 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30043 before performing relro protection. At old place add assertion
30044 to make sure nothing changed.
30045
d3f02e10
NS
300462011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30047 Glauber de Oliveira Costa <glommer@gmail.com>
30048
30049 * elf/elf.h: Add new ARM TLS relocs.
30050
d55fd7a5
RA
300512011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30052
30053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30054 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30055 cast from r3.
30056 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30057 'tests' variable.
30058 * sysdeps/wordsize-64/tst-writev.c: New file.
30059
2206397e
RA
300602011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30061
30062 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30063 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30064 insns in _dl_start to prevent a TOC reference before relocs are
30065 resolved.
30066
e9433893
UD
300672011-02-15 Ulrich Drepper <drepper@gmail.com>
30068
30069 [BZ #12469]
30070 * Makeconfig: Remove RANLIB definition.
30071 * Makerules: Don't use RANLIB.
30072 * aclocal.m4: Remove ranlib test.
30073 * configure.in: No need to check for ranlib.
30074 * elf/rtld-Rules: Don't use RANLIB.
30075
f75286c6
ST
300762011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30077
8e31c82d
ST
30078 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30079 protection macro.
30080 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30081 inclusion protection macro.
30082
f75286c6
ST
30083 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30084 SIGRTMIN and SIGRTMAX and print information in that case only when
30085 SIGRTMIN is defined.
30086
c1d0e639
JJ
300872011-02-11 Jakub Jelinek <jakub@redhat.com>
30088
30089 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30090 arginfo fn returning -1.
30091
30092 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30093 and thousands string is zero terminated.
30094
edf9294e
AS
300952011-02-03 Andreas Schwab <schwab@redhat.com>
30096
30097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30098 sysdeps/unix/sysv/linux/bits/socket.h.
30099
2b7e92df
ST
301002011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30101
edf9294e
AS
30102 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30103 (__CPU_COUNT): Remove old macros.
30104 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30105 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30106 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30107 (__sched_cpualloc, __sched_cpufree): Add declarations.
30108
a4c7ea7b
UD
301092011-02-05 Ulrich Drepper <drepper@gmail.com>
30110
30111 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30112 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30113 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30114 (readdhstai): Return value of addhstaiX call.
30115 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30116 (addgrbyX): Return value returned by cache_addgr.
30117 (readdgrbyname): Return value returned by addgrbyX.
30118 (readdgrbygid): Likewise.
30119 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30120 (addpwbyX): Return value returned by cache_addpw.
30121 (readdpwbyname): Return value returned by addhstbyX.
30122 (readdpwbyuid): Likewise.
30123 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30124 (addservbyX): Return value returned by cache_addserv.
30125 (readdservbyname): Return value returned by addservbyX:
30126 (readdservbyport): Likewise.
30127 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30128 (addhstbyX): Return value returned by cache_addhst.
30129 (readdhstbyname): Return value returned by addhstbyX.
30130 (readdhstbyaddr): Likewise.
30131 (readdhstbynamev6): Likewise.
30132 (readdhstbyaddrv6): Likewise.
30133 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30134 (readdinitgroups): Return value returned by addinitgroupsX.
30135 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30136 (prune_cache): Keep track of timeout value of re-added entries.
30137 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30138 * nscd/nscd.h: Adjust prototypes of readd* functions.
30139
a0bf67cc
RM
301402011-02-04 Roland McGrath <roland@redhat.com>
30141
30142 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30143 (nis_stats): Likewise.
30144 * nis/nis_modify.c (nis_modify): Likewise.
30145 * nis/nis_remove.c (nis_remove): Likewise.
30146 * nis/nis_add.c (nis_add): Likewise.
30147
30148 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30149
30150 * posix/fnmatch_loop.c: Add some consts.
30151
30152 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30153
435b95eb
L
301542011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30155
30156 [BZ #12460]
30157 * config.make.in (config-cflags-novzeroupper): Define.
30158 * configure.in: Substitute libc_cv_cc_novzeroupper.
30159 * elf/Makefile (AVX-CFLAGS): Define.
30160 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30161 (CFLAGS-tst-auditmod4a.c): Likewise.
30162 (CFLAGS-tst-auditmod4b.c): Likewise.
30163 (CFLAGS-tst-auditmod6b.c): Likewise.
30164 (CFLAGS-tst-auditmod6c.c): Likewise.
30165 (CFLAGS-tst-auditmod7b.c): Likewise.
30166 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30167
8517b15e
UD
301682011-02-02 Ulrich Drepper <drepper@gmail.com>
30169
30170 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30171 function to the callback.
30172 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30173
10a656fe
AS
301742011-02-02 Andreas Schwab <schwab@redhat.com>
30175
30176 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30177 of errno.
30178
968dad0a
UD
301792011-01-19 Ulrich Drepper <drepper@gmail.com>
30180
9f94d2ea 30181 [BZ #11724]
968dad0a
UD
30182 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30183 of constructors.
30184 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30185 of destructors.
30186 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30187
30188 [BZ #11724]
30189 * elf/Makefile: Add rules to build and run new test.
30190 * elf/tst-initorder.c: New file.
30191 * elf/tst-initorder.exp: New file.
30192 * elf/tst-initordera1.c: New file.
30193 * elf/tst-initordera2.c: New file.
30194 * elf/tst-initordera3.c: New file.
30195 * elf/tst-initordera4.c: New file.
30196 * elf/tst-initorderb1.c: New file.
30197 * elf/tst-initorderb2.c: New file.
30198 * elf/tst-order-a1.c: New file.
30199 * elf/tst-order-a2.c: New file.
30200 * elf/tst-order-a3.c: New file.
30201 * elf/tst-order-a4.c: New file.
30202 * elf/tst-order-b1.c: New file.
30203 * elf/tst-order-b2.c: New file.
30204 * elf/tst-order-main.c: New file.
30205 New test case by George Gensure <werkt0@gmail.com>.
30206
86e92359
UD
302072010-10-01 Andreas Schwab <schwab@redhat.com>
30208
30209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30210 decoding ACE if AI_CANONIDN.
30211
5d5732b0
UD
302122011-01-18 Ulrich Drepper <drepper@gmail.com>
30213
30214 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30215
a77e8cbc
UD
302162011-01-17 Ulrich Drepper <drepper@gmail.com>
30217
6392473f
UD
30218 * version.h (RELEASE): Bump for 2.13 release.
30219 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30220
620a0529
UD
30221 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30222
18ba70a5
UD
30223 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30224 MADV_NOHUGEPAGE.
32465c3e
UD
30225 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30226 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30227 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30228 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30229 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30230 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30231
c0dafcf1
UD
30232 * posix/getconf.c: Update copyright year.
30233 * catgets/gencat.c: Likewise.
30234 * csu/version.c: Likewise.
30235 * debug/catchsegv.sh: Likewise.
30236 * debug/xtrace.sh: Likewise.
30237 * elf/ldconfig.c: Likewise.
30238 * elf/ldd.bash.in: Likewise.
30239 * elf/sprof.c (print_version): Likewise.
30240 * iconv/iconv_prog.c: Likewise.
30241 * iconv/iconvconfig.c: Likewise.
30242 * locale/programs/locale.c: Likewise.
30243 * locale/programs/localedef.c: Likewise.
30244 * malloc/memusage.sh: Likewise.
30245 * malloc/mtrace.pl: Likewise.
30246 * nscd/nscd.c (print_version): Likewise.
30247 * nss/getent.c: Likewise.
30248
a77e8cbc
UD
30249 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30250 PF_CAIF, and PF_ALG.
30251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30252
77e8bddf
AS
302532011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30254
1f20b93a
AS
30255 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30256 (modules-names): Use them.
30257 (ifunc-test-modules, ifunc-pie-tests): Define.
30258 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30259 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30260 (test-extras): Likewise.
30261 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30262 $(compile-command.c).
30263 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30264 (all-built-dso): Define.
30265 (check-textrel.out, check-execstack.out): Depend on it.
30266
77e8bddf
AS
30267 * configure.in: Don't override --enable-multi-arch.
30268
bc425b33
UD
302692011-01-15 Ulrich Drepper <drepper@gmail.com>
30270
30271 [BZ #6812]
30272 * nscd/hstcache.c (tryagain): Define.
30273 (cache_addhst): Return tryagain not notfound for temporary errors.
30274 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30275 failed.
30276
794c3ad3
UD
302772011-01-14 Ulrich Drepper <drepper@gmail.com>
30278
70181fdd
UD
30279 [BZ #10563]
30280 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30281 to make the syscall.
30282 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30283
794c3ad3
UD
30284 [BZ #12378]
30285 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30286 and fall back to matching as normal character if the string ends before
30287 the matching ']' is found. This is what POSIX requires.
30288 * posix/testfnm.c: Adjust test result.
30289 * posix/globtest.sh: Adjust test result. Add new test.
30290 * posix/tst-fnmatch.input: Likewise.
30291 * posix/tst-fnmatch2.c: Add new test.
30292
68dc9497
AS
302932010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30294
30295 * elf/Makefile (check-execstack): Revert last change. Depend on
30296 check-execstack.h.
30297 (check-execstack.h): New target.
30298 (generated): Add check-execstack.h.
30299 * elf/check-execstack.c: Include "check-execstack.h".
30300 (main): Revert last change.
30301 (handle_file): Return zero if GNU_STACK is absent and
30302 DEFAULT_STACK_PERMS doesn't include PF_X.
30303
451f001b
UD
303042011-01-13 Ulrich Drepper <drepper@gmail.com>
30305
cfa28e56
UD
30306 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30307 in child fails because the descriptor is already closed.
8cf8ce17
UD
30308 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30309 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30310 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30311
1086d70d
UD
30312 [BZ #12397]
30313 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30314 syscall.
30315
451f001b
UD
30316 [BZ #10484]
30317 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30318 temporary buffer used to handle multi lookups locally.
a85b5cb4 30319 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30320
08769175
UD
303212011-01-12 Ulrich Drepper <drepper@gmail.com>
30322
30323 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30324 loader is ld.so.
30325
5e49c52e
UD
303262011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30327
30328 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30329 alignment for SSE2.
30330
60522a5f
UD
303312011-01-12 Ulrich Drepper <drepper@gmail.com>
30332
30333 [BZ #12394]
30334 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30335 characters. When rounding increased number of integer digits recompute
30336 number of groups.
30337 * stdio-common/tst-grouping.c: New file.
30338 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30339
f257bbd7
UD
303402011-01-09 Ulrich Drepper <drepper@gmail.com>
30341
30342 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30343 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30344
30345 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30346 void.
30347 * bits/select.h: Likewise.
30348
fa9c15cb
UD
303492011-01-08 Ulrich Drepper <drepper@gmail.com>
30350
30351 * po/ja.po: Update from translation team.
30352
16c2895f
DM
303532011-01-04 David S. Miller <davem@sunset.davemloft.net>
30354
30355 [BZ #11155]
30356 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30357 implementation just like for lxstat, fxstatat, et al.
30358
2543fef2
JM
303592010-12-27 Jim Meyering <meyering@redhat.com>
30360
30361 [BZ #12348]
30362 * posix/regexec.c (build_trtable): Return failure indication upon
30363 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30364
98727dbe
UD
303652010-12-25 Ulrich Drepper <drepper@gmail.com>
30366
5bd6dc5c
UD
30367 [BZ #12201]
30368 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30369 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30370 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30371 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30372
97983464
UD
30373 [BZ #12207]
30374 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30375
98727dbe
UD
30376 [BZ #12204]
30377 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30378 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30379
4a531bb0
L
303802010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30381
30382 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30383 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30384 script has SORT_BY_INIT_PRIORITY.
30385 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30386 NO_CTORS_DTORS_SECTIONS is defined.
30387 * elf/soinit.c: Likewise.
30388 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30389 NO_CTORS_DTORS_SECTIONS is defined.
30390 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30391 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30392 * sysdeps/sh/init-first.c: Likewise.
30393 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30394
07eb4b71
UD
303952010-12-24 Ulrich Drepper <drepper@gmail.com>
30396
30397 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30398 always use the slow path.
30399
30950a5f
RA
304002010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30401
30402 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30403 similar rule which adds the sysdep directories to the header search in
30404 order to pick up the correct platform stackinfo.h.
30405 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30406 perform test if it is, otherwise return successfully without testing.
30407 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30408 DEFAULT_STACK_PERMS define in stackinfo.h.
30409 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30410 defined in stackinfo.h.
30411 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30412 DEFAULT_STACK_PERMS defined in stackinfo.h.
30413 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30414 * sysdeps/ia64/stackinfo.h: Likewise.
30415 * sysdeps/s390/stackinfo.h: Likewise.
30416 * sysdeps/sh/stackinfo.h: Likewise.
30417 * sysdeps/sparc/stackinfo.h: Likewise.
30418 * sysdeps/x86_64/stackinfo.h: Likewise.
30419 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30420 PF_X for powerpc64. Retain PF_X for powerpc32.
30421
db753e2c
UD
304222010-12-19 Ulrich Drepper <drepper@gmail.com>
30423
14b697f7
UD
30424 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30425 accurately.
db753e2c
UD
30426 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30427 GETDENTS_64BIT_ALIGNED.
30428
28300719
UD
304292010-12-14 Ulrich Drepper <dreper@gmail.com>
30430
14b697f7 30431 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30432
4f197237
AS
304332010-12-10 Andreas Schwab <schwab@redhat.com>
30434
dbb0472f
AS
30435 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30436 _GNU_SOURCE.
30437
4f197237
AS
30438 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30439 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30440 Remove __restrict.
30441 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30442 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30443
fb88ac72
UD
304442010-12-09 Ulrich Drepper <drepper@gmail.com>
30445
30446 [BZ #11655]
30447 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30448 are initialized.
30449
42acbb92
JJ
304502010-12-09 Jakub Jelinek <jakub@redhat.com>
30451
30452 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30453
c038d98d
UD
304542010-12-03 Ulrich Drepper <drepper@gmail.com>
30455
30456 * po/it.po: Update from translation team.
30457
3a4a2499
L
304582010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30459
30460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30461 unused codes.
30462
1e24cf6e
UD
304632010-11-30 Ulrich Drepper <drepper@gmail.com>
30464
30465 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30466
a7690819
AS
304672010-11-24 Andreas Schwab <schwab@redhat.com>
30468
30469 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30470 specially.
30471 (gaih_getanswer_slice): Likewise.
30472
3bf8d1b1
JJ
304732010-10-20 Jakub Jelinek <jakub@redhat.com>
30474
30475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30476
6db52fbb
PB
304772010-05-31 Petr Baudis <pasky@suse.cz>
30478
30479 [BZ #11149]
30480 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30481 silently even in the chroot mode.
30482
eaca7569
UD
304832010-11-22 Ulrich Drepper <drepper@gmail.com>
30484
30485 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30486 last patch a bit. Pretty printing
30487
3056dcdb
UD
304882010-05-31 Petr Baudis <pasky@suse.cz>
30489
30490 [BZ #10085]
30491 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30492 initialization of skip_initgroups_dyn.
30493
cf7c9078
UD
304942010-11-19 Ulrich Drepper <drepper@gmail.com>
30495
30496 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30498
a1fb5e3e
UD
304992010-11-16 Ulrich Drepper <drepper@gmail.com>
30500
30501 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30502
3540d66b
AS
305032010-11-11 Andreas Schwab <schwab@redhat.com>
30504
30505 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30506 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30507 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30508 ($(objpfx)tst-fnmatch-mem): New rule.
30509 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30510 * posix/tst-fnmatch.c (main): Call mtrace.
30511
13b69574
L
305122010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30513
30514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30515 Support Intel processor model 6 and model 0x2c.
30516
da93d214
LM
305172010-11-10 Luis Machado <luisgpm@br.ibm.com>
30518
30519 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30520 signed comparison.
30521
8ca52c6e
L
305222010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30523
30524 [BZ #12205]
30525 * string/test-strncasecmp.c (check_result): New function.
30526 (do_one_test): Use it.
30527 (check1): New function.
30528 (test_main): Use it.
30529 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30530 Support strcasecmp and strncasecmp.
30531
69da074d
UD
305322010-11-08 Ulrich Drepper <drepper@gmail.com>
30533
30534 [BZ #12194]
30535 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30537
ff02d528
L
305382010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30539
30540 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30541 IFUNC support.
30542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30543 memset-x86-64.
30544 * sysdeps/x86_64/multiarch/bzero.S: New file.
30545 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30546 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30547 * sysdeps/x86_64/multiarch/memset.S: New file.
30548 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30550 Set bit_Prefer_SSE_for_memop for Intel processors.
30551 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30552 Define.
30553 (index_Prefer_SSE_for_memop): Define.
30554 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30555
344d0b54
LM
305562010-11-04 Luis Machado <luisgpm@br.ibm.com>
30557
30558 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30559 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30560
c0dde15b
UD
305612010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30562
30563 [BZ #12191]
30564 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30565 (__x86_64_raw_data_cache_size_half): Likewise.
30566 (__x86_64_raw_shared_cache_size): Likewise.
30567 (__x86_64_raw_shared_cache_size_half): Likewise.
30568
30569 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30570 (__x86_64_raw_data_cache_size_half): Likewise.
30571 (__x86_64_raw_shared_cache_size): Likewise.
30572 (__x86_64_raw_shared_cache_size_half): Likewise.
30573 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30574 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30575 and __x86_64_raw_shared_cache_size_half. Round
30576 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30577 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30578 to multiple of 256 bytes.
30579
0e516e0e
MS
305802010-11-03 Ulrich Drepper <drepper@gmail.com>
30581
30582 [BZ #12167]
30583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30584 of inacessible symlinks. Verify result of symlink before returning it.
30585 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30586 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30587
0e012e87
ER
305882010-10-28 Erich Ritz <erichritz@gmail.com>
30589
30590 * math/math.h (isinf): Fix typo in comment.
30591
de0ff7bc
UD
305922010-11-01 Ulrich Drepper <drepper@gmail.com>
30593
30594 * po/da.po: Update from translation team.
30595
fa41c84d
UD
305962010-10-26 Ulrich Drepper <drepper@gmail.com>
30597
30598 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30599 is added to the list.
30600
f0967738
AK
306012010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30602 Ulrich Drepper <drepper@gmail.com>
30603
30604 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30605 the global list here. Move code to...
30606 (_dl_add_to_namespace_list): ...here. New function.
30607 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30608 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30609 * elf/dl-load.c (lose): Don't remove the element from the list.
30610 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30611 (_dl_map_object): Likewise.
30612
306132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30614
30615 [BZ #12159]
30616 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30617 into all bytes of SSE register.
30618 Patch by Richard Li <richardpku@gmail.com>.
30619
f0967738 306202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30621
30622 [BZ #12140]
30623 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30624 perturbing.
30625
d0b9e94f
MB
306262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30627
30628 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30629 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30630 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30631 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30633 submachine.
30634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30635
8e9f92e9
AS
306362010-10-22 Andreas Schwab <schwab@redhat.com>
30637
30638 * include/dlfcn.h (__RTLD_SECURE): Define.
30639 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30640 mode & __RTLD_SECURE instead.
30641 (open_path): Rename preloaded parameter to secure.
30642 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30643 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30644 * elf/dl-deps.c (openaux): Likewise.
30645 * elf/rtld.c (struct map_args): Remove is_preloaded.
30646 (map_doit): Don't use it.
30647 (dl_main): Likewise.
30648 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30649 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30650
bc96fbda
AS
306512010-09-09 Andreas Schwab <schwab@redhat.com>
30652
30653 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30654 (sysd-rules-targets): Remove duplicates.
30655 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30656 rtld-%.$o dependency.
30657
22cd1c9b
AS
306582010-10-18 Andreas Schwab <schwab@redhat.com>
30659
30660 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30661 _dl_map_object do it.
30662
18edac48
UD
306632010-10-19 Ulrich Drepper <drepper@gmail.com>
30664
30665 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30666 fast fma builtins, define the macros in the C99 standard.
30667 (FP_FAST_FMAF): Likewise.
30668 (FP_FAST_FMAL): Likewise.
30669 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30670
30671 * bits/mathdef.h: Update copyright year.
30672 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30673
d2050124
MM
306742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30675
30676 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30677 builtins, define the macros in the C99 standard.
30678 (FP_FAST_FMAF): Likewise.
30679 (FP_FAST_FMAL): Likewise.
30680 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30681 multiply/add.
30682 (FP_FAST_FMAF): Likewise.
30683
475facd1
JJ
306842010-10-15 Jakub Jelinek <jakub@redhat.com>
30685
30686 [BZ #3268]
30687 * math/libm-test.inc (fma_test): Some new testcases.
30688 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30689 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30690 y and infinite z. Do multiplication by C already in long double.
30691 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30693 y and infinite z. Do bitwise or of inexact bit into u.d.
30694 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30695 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30696 * sysdeps/i386/fpu/s_fma.S: Removed.
30697 * sysdeps/i386/fpu/s_fmal.S: Removed.
30698
7c08a05c
JJ
306992010-10-16 Jakub Jelinek <jakub@redhat.com>
30700
30701 [BZ #3268]
30702 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30704 computation is not scheduled after fetestexcept. Fix value
30705 of minimum denormal long double.
30706
f3f7372d
JJ
307072010-10-14 Jakub Jelinek <jakub@redhat.com>
30708
30709 [BZ #3268]
30710 * math/libm-test.inc (fma_test): Add some more tests.
30711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30712 correctly.
30713
14d43591
AS
307142010-10-15 Andreas Schwab <schwab@redhat.com>
30715
30716 * scripts/data/localplt-s390-linux-gnu.data: New file.
30717 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30718
5e908464
JJ
307192010-10-13 Jakub Jelinek <jakub@redhat.com>
30720
30721 [BZ #3268]
30722 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30723 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30724 instead of dbl-64.
30725 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30726 inlines.
30727 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30729 if one of x and y is very large and the other is subnormal.
30730 * sysdeps/s390/fpu/s_fmaf.c: New file.
30731 * sysdeps/s390/fpu/s_fma.c: New file.
30732 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30733 * sysdeps/powerpc/fpu/s_fma.S: New file.
30734 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30735 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30736 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30737
307382010-10-12 Jakub Jelinek <jakub@redhat.com>
30739
30740 [BZ #3268]
30741 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30742 fma tests.
30743 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30744 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30745 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30746 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30747 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30748 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30749 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30750
b833d51f
UD
307512010-10-12 Ulrich Drepper <drepper@redhat.com>
30752
30753 [BZ #12078]
30754 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30755 * posix/bug-regex31.input: Add test case.
30756
1751705d
UD
307572010-10-11 Ulrich Drepper <drepper@gmail.com>
30758
e9b9cbf5
UD
30759 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30760 * posix/bug-regex31.input: New file.
30761
30762 [BZ #12078]
30763 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30764 (parse_sub_exp): Fix last change, use postorder.
30765
ef06edbe
UD
30766 * posix/bug-regex31.c: New file.
30767 * posix/Makefile: Add rules to build and run bug-regex31.
30768
a129c80d
UD
30769 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30770
30771 [BZ #12078]
30772 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30773
b76b818e
UD
30774 [BZ #12108]
30775 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30776 to have entries in sys_siglist.
30777
1751705d
UD
30778 [BZ #12093]
30779 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30780 be NULL.
30781
9ff8d36f
JJ
307822010-10-07 Jakub Jelinek <jakub@redhat.com>
30783
30784 [BZ #3268]
30785 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30786 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30787 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30788 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30789 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30790 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30791 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30792 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30793 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30794 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30795 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30796 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30797 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30798 * math/ftestexcept.c (fetestexcept): Likewise.
30799 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30800 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30801 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30802 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30803 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30804 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30806
af325969
UD
308072010-10-11 Ulrich Drepper <drepper@gmail.com>
30808
c579b202 30809 [BZ #12107]
af325969
UD
30810 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30811 newline.
30812
67a67b95
UD
308132010-10-06 Ulrich Drepper <drepper@gmail.com>
30814
30815 * string/bug-strstr1.c: New file.
30816 * string/Makefile: Add rules to build and run bug-strstr1.
30817
5fb308bc
EB
308182010-10-05 Eric Blake <eblake@redhat.com>
30819
30820 [BZ #12092]
30821 * string/str-two-way.h (two_way_long_needle): Always clear memory
30822 when skipping input due to the shift table.
30823
45db99c7
UD
308242010-10-03 Ulrich Drepper <drepper@gmail.com>
30825
3b111893
UD
30826 [BZ #12005]
30827 * malloc/mcheck.c: Handle large requests.
30828
45db99c7
UD
30829 [BZ #12077]
30830 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30831 for strncmp and strncasecmp.
30832 * string/stratcliff.c: Add tests for strcmp and strncmp.
30833 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30834
cf7a1eb8
NI
308352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30836
30837 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30838 __set_fpscr.
30839
6484ba5e
AJ
308402010-09-30 Andreas Jaeger <aj@suse.de>
30841
30842 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30843 (CGROUP_SUPER_MAGIC): Define.
30844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30845 Handle btrfs and cgroup file systems.
30846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30847 Likewise.
30848
91c42559
LM
308492010-09-27 Luis Machado <luisgpm@br.ibm.com>
30850
30851 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30852 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30853
87a97932
AK
308542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30855
30856 [BZ #12067]
30857 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30858 trying to locate the ELF header.
30859
c21cc9bc
AS
308602010-09-27 Andreas Schwab <schwab@redhat.com>
30861
30862 [BZ #11611]
30863 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30864 Mask out sign-bit copies when constructing f_fsid.
30865
315970f6
PB
308662010-09-24 Petr Baudis <pasky@suse.cz>
30867
30868 * debug/stack_chk_fail_local.c: Add missing licence exception.
30869 * debug/warning-nop.c: Likewise.
30870
1ac7a2c7
JM
308712010-09-15 Joseph Myers <joseph@codesourcery.com>
30872
30873 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30874 implementing getdents64 using getdents syscall, set d_type if
30875 __ASSUME_GETDENTS32_D_TYPE.
30876
56801c50
AS
308772010-09-16 Andreas Schwab <schwab@redhat.com>
30878
30879 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30880 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30881
dda51327
UD
308822010-09-21 Ulrich Drepper <drepper@redhat.com>
30883
30884 [BZ #12037]
30885 * posix/unistd.h: Undo change of feature selection for ftruncate from
30886 2010-01-11.
30887
8ffcee4a
UD
308882010-09-20 Ulrich Drepper <drepper@redhat.com>
30889
a545ecd9 30890 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30891 detection.
30892
e24f0a8b
AS
308932010-09-20 Andreas Schwab <schwab@redhat.com>
30894
30895 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30896 fanotify_mark.
30897 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30898
7291c56f
AS
308992010-09-14 Andreas Schwab <schwab@redhat.com>
30900
30901 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30902 variables after CHECK_SP call.
30903 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30904
bc5fb037
AS
309052010-09-13 Andreas Schwab <schwab@redhat.com>
30906 Ulrich Drepper <drepper@redhat.com>
30907
30908 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30909 re-relocationg ld.so.
30910 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30911 _dl_init_paths call.
30912 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30913 here anymore.
30914
e66e7419
UD
309152010-09-14 Ulrich Drepper <drepper@redhat.com>
30916
30917 * resolv/res_init.c (__res_vinit): Count the default server we added.
30918
c044aa75
CLT
309192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30920 Ulrich Drepper <drepper@redhat.com>
30921
30922 [BZ #11968]
30923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30924 (____longjmp_chk): Use %ebx for saving value across system call.
30925 Add unwind info.
30926
32cf4069
AS
309272010-09-06 Andreas Schwab <schwab@redhat.com>
30928
30929 * manual/Makefile: Don't mix pattern rules with normal rules.
30930
817328ee
AS
309312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30932
30933 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30934 operation.
30935 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30936 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30937 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30938 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30940 Likewise.
30941
29fddf61
UD
309422010-09-04 Ulrich Drepper <drepper@redhat.com>
30943
30944 [BZ #11979]
30945 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30946 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30947
0959ffc9
UD
309482010-09-02 Ulrich Drepper <drepper@redhat.com>
30949
30950 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30951 * sysdeps/x86_64/addmul_1.S: Likewise.
30952 * sysdeps/x86_64/lshift.S: Likewise.
30953 * sysdeps/x86_64/mul_1.S: Likewise.
30954 * sysdeps/x86_64/rshift.S: Likewise.
30955 * sysdeps/x86_64/sub_n.S: Likewise.
30956 * sysdeps/x86_64/submul_1.S: Likewise.
30957
ece29840
ST
309582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30959
0959ffc9
UD
30960 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30961 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30962 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30963 * bits/sched.h [__need_schedparam]
ece29840 30964 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30965 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30966 (__defined_schedparam): Define to 1.
ece29840
ST
30967 (__sched_param): New structure, identical to sched_param.
30968 (__need_schedparam): Undefine.
30969
e53a31fe
MF
309702010-08-31 Mike Frysinger <vapier@gentoo.org>
30971
fdc0c10d
MF
30972 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30973 (epoll_create1): Declare.
30974
e53a31fe
MF
30975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30976
a726d796
AS
309772010-08-31 Andreas Schwab <schwab@redhat.com>
30978
30979 [BZ #7066]
30980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30981 shifting retval into place.
30982
2f3e3dc7
UD
309832010-09-01 Ulrich Drepper <drepper@redhat.com>
30984
f2933da9
UD
30985 * nis/rpcsvc/nis.h: Update copyright notice.
30986 * nis/rpcsvc/nis.x: Likewise.
30987 * nis/rpcsvc/nis_callback.h: Likewise.
30988 * nis/rpcsvc/nis_callback.x: Likewise.
30989 * nis/rpcsvc/nis_object.x: Likewise.
30990 * nis/rpcsvc/nis_tags.h: Likewise.
30991 * nis/rpcsvc/yp.h: Likewise.
30992 * nis/rpcsvc/yp.x: Likewise.
30993 * nis/rpcsvc/ypupd.h: Likewise.
30994 * nis/yp_xdr.c: Likewise.
30995 * nis/ypupdate_xdr.c: Likewise.
30996
2f3e3dc7
UD
30997 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30998 mainly the body of pmap_getport. Add parameters to specify timeouts.
30999 (pmap_getport): Use __libc_rpc_getport.
31000 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31001 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31002 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31003
f3dcc2f9
AS
310042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31005
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31007 fanotify_mark.
31008
6d34eb5b
RM
310092010-08-27 Roland McGrath <roland@redhat.com>
31010
31011 * sysdeps/i386/i686/multiarch/Makefile
31012 (CFLAGS-varshift.c): New variable.
31013
9ea3de11
UD
310142010-08-27 Ulrich Drepper <drepper@redhat.com>
31015
c96d23fc
UD
31016 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31017 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31018
9ea3de11
UD
31019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31020
31021 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31022
623aac7f
L
310232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31024
31025 * sysdeps/x86_64/strlen.S: Unroll the loop.
31026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31027 strlen-sse2 strlen-sse2-bsf.
31028 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31029 __strlen_no_bsf if bit_Slow_BSF is set.
31030 (__strlen_sse42): Removed.
31031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31032 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31033
8b2b7715
RM
310342010-08-25 Roland McGrath <roland@redhat.com>
31035
31036 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31037 * sysdeps/x86_64/multiarch/varshift.c: New file.
31038 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31039 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31040 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31041 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31042
e73015f2
L
310432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31044
31045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31046 strlen-sse2 strlen-sse2-bsf.
31047 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31048 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31049 (__strlen_sse2): Removed.
31050 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31051 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31053 bit_Slow_BSF for Atom.
31054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31055 (index_Slow_BSF): Define.
31056 (HAS_SLOW_BSF): Define.
31057
df24a73e
UD
310582010-08-25 Ulrich Drepper <drepper@redhat.com>
31059
31060 [BZ #10851]
31061 * resolv/res_init.c (__res_vinit): When no server address at all
31062 is given default to loopback.
31063
f2ac4868
RM
310642010-08-24 Roland McGrath <roland@redhat.com>
31065
09055553
RM
31066 * configure.in: Remove config-name.h generation.
31067 * configure: Regenerated.
31068 * config-name.in: File removed.
31069 * scripts/config-uname.sh: New file.
31070 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31071 ($(objdir)config-name.h): New target.
31072
f2ac4868
RM
31073 * sunrpc/rpc_parse.h: Avoid nested comment.
31074
73f27d5e
RH
310752010-08-24 Richard Henderson <rth@redhat.com>
31076 Ulrich Drepper <drepper@redhat.com>
31077 H.J. Lu <hongjiu.lu@intel.com>
31078
31079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31081 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31082 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31083 _mm_alignr_epi8 with _mm_loadu_si128.
31084 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31085 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31086 (__m128i_shift_right): Removed.
31087 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31088 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31089 * sysdeps/x86_64/multiarch/varshift.h: New file.
31090 * sysdeps/x86_64/multiarch/varshift.S: New file.
31091
84b9230c
MF
310922010-08-21 Mike Frysinger <vapier@gentoo.org>
31093
31094 * configure.in: Move assembler checks to before sysdep dir checking.
31095
9bbd0ddc
PB
310962010-08-20 Petr Baudis <pasky@suse.cz>
31097
31098 * LICENSES: Sync the sunrpc license.
31099
9da4bb31
UD
311002010-08-19 Ulrich Drepper <drepper@redhat.com>
31101
a7ab6ec8
UD
31102 * sunrpc/auth_des.c: Update copyright notice once again.
31103 * sunrpc/auth_none.c: Likewise.
31104 * sunrpc/auth_unix.c: Likewise.
31105 * sunrpc/authdes_prot.c: Likewise.
31106 * sunrpc/authuxprot.c: Likewise.
31107 * sunrpc/bindrsvprt.c: Likewise.
31108 * sunrpc/clnt_gen.c: Likewise.
31109 * sunrpc/clnt_perr.c: Likewise.
31110 * sunrpc/clnt_raw.c: Likewise.
31111 * sunrpc/clnt_simp.c: Likewise.
31112 * sunrpc/clnt_tcp.c: Likewise.
31113 * sunrpc/clnt_udp.c: Likewise.
31114 * sunrpc/clnt_unix.c: Likewise.
31115 * sunrpc/des_crypt.c: Likewise.
31116 * sunrpc/des_soft.c: Likewise.
31117 * sunrpc/get_myaddr.c: Likewise.
31118 * sunrpc/getrpcport.c: Likewise.
31119 * sunrpc/key_call.c: Likewise.
31120 * sunrpc/key_prot.c: Likewise.
31121 * sunrpc/openchild.c: Likewise.
31122 * sunrpc/pm_getmaps.c: Likewise.
31123 * sunrpc/pm_getport.c: Likewise.
31124 * sunrpc/pmap_clnt.c: Likewise.
31125 * sunrpc/pmap_prot.c: Likewise.
31126 * sunrpc/pmap_prot2.c: Likewise.
31127 * sunrpc/pmap_rmt.c: Likewise.
31128 * sunrpc/rpc/auth.h: Likewise.
31129 * sunrpc/rpc/auth_unix.h: Likewise.
31130 * sunrpc/rpc/clnt.h: Likewise.
31131 * sunrpc/rpc/des_crypt.h: Likewise.
31132 * sunrpc/rpc/key_prot.h: Likewise.
31133 * sunrpc/rpc/netdb.h: Likewise.
31134 * sunrpc/rpc/pmap_clnt.h: Likewise.
31135 * sunrpc/rpc/pmap_prot.h: Likewise.
31136 * sunrpc/rpc/pmap_rmt.h: Likewise.
31137 * sunrpc/rpc/rpc.h: Likewise.
31138 * sunrpc/rpc/rpc_des.h: Likewise.
31139 * sunrpc/rpc/rpc_msg.h: Likewise.
31140 * sunrpc/rpc/svc.h: Likewise.
31141 * sunrpc/rpc/svc_auth.h: Likewise.
31142 * sunrpc/rpc/types.h: Likewise.
31143 * sunrpc/rpc/xdr.h: Likewise.
31144 * sunrpc/rpc_clntout.c: Likewise.
31145 * sunrpc/rpc_cmsg.c: Likewise.
31146 * sunrpc/rpc_common.c: Likewise.
31147 * sunrpc/rpc_cout.c: Likewise.
31148 * sunrpc/rpc_dtable.c: Likewise.
31149 * sunrpc/rpc_hout.c: Likewise.
31150 * sunrpc/rpc_main.c: Likewise.
31151 * sunrpc/rpc_parse.c: Likewise.
31152 * sunrpc/rpc_parse.h: Likewise.
31153 * sunrpc/rpc_prot.c: Likewise.
31154 * sunrpc/rpc_sample.c: Likewise.
31155 * sunrpc/rpc_scan.c: Likewise.
31156 * sunrpc/rpc_scan.h: Likewise.
31157 * sunrpc/rpc_svcout.c: Likewise.
31158 * sunrpc/rpc_tblout.c: Likewise.
31159 * sunrpc/rpc_util.c: Likewise.
31160 * sunrpc/rpc_util.h: Likewise.
31161 * sunrpc/rpcinfo.c: Likewise.
31162 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31163 * sunrpc/rpcsvc/key_prot.x: Likewise.
31164 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31165 * sunrpc/rpcsvc/mount.x: Likewise.
31166 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31167 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31168 * sunrpc/rpcsvc/rex.x: Likewise.
31169 * sunrpc/rpcsvc/rstat.x: Likewise.
31170 * sunrpc/rpcsvc/rusers.x: Likewise.
31171 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31172 * sunrpc/rpcsvc/spray.x: Likewise.
31173 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31174 * sunrpc/rtime.c: Likewise.
31175 * sunrpc/svc.c: Likewise.
31176 * sunrpc/svc_auth.c: Likewise.
31177 * sunrpc/svc_authux.c: Likewise.
31178 * sunrpc/svc_raw.c: Likewise.
31179 * sunrpc/svc_run.c: Likewise.
31180 * sunrpc/svc_simple.c: Likewise.
31181 * sunrpc/svc_tcp.c: Likewise.
31182 * sunrpc/svc_udp.c: Likewise.
31183 * sunrpc/svc_unix.c: Likewise.
31184 * sunrpc/svcauth_des.c: Likewise.
31185 * sunrpc/xcrypt.c: Likewise.
31186 * sunrpc/xdr.c: Likewise.
31187 * sunrpc/xdr_array.c: Likewise.
31188 * sunrpc/xdr_float.c: Likewise.
31189 * sunrpc/xdr_mem.c: Likewise.
31190 * sunrpc/xdr_rec.c: Likewise.
31191 * sunrpc/xdr_ref.c: Likewise.
31192 * sunrpc/xdr_sizeof.c: Likewise.
31193 * sunrpc/xdr_stdio.c: Likewise.
31194
9da4bb31
UD
31195 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31196 handling.
31197
bdaa77bc
AS
311982010-08-19 Andreas Schwab <schwab@redhat.com>
31199
31200 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31201
fe2f79db
LM
312022010-08-19 Luis Machado <luisgpm@br.ibm.com>
31203
31204 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31205 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31206 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31207 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31208 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31209 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31210 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31211 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31212 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31213 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31214 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31215 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31216 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31217 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31218
b9b42ee0
AB
312192010-07-26 Anton Blanchard <anton@samba.org>
31220
31221 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31222 * malloc/arena.c (heap_trim): Likewise.
31223
1c06ba31
UD
312242010-08-16 Ulrich Drepper <drepper@redhat.com>
31225
31226 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31227 here. Not...
31228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31229 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31230
f8392f40
L
312312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31232
31233 * sysdeps/i386/elf/Makefile: New file.
31234
3162f12e
AS
312352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31236
31237 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31238 from fanotify_init.
31239 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31241
28c90b2c
UD
312422010-08-15 Ulrich Drepper <drepper@redhat.com>
31243
31244 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31245 of strncasecmp_l.
1feccb6c 31246 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31247
ca6bb004
UD
312482010-08-14 Ulrich Drepper <drepper@redhat.com>
31249
e9f82e0d
UD
31250 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31251 strncase_l-nonascii.
31252 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31253 Add strncase_l-ssse3.
31254 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31255 * sysdeps/x86_64/strcmp.S: Likewise.
31256 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31257 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31258 * sysdeps/x86_64/strncase.S: New file.
31259 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31260 * sysdeps/x86_64/strncase_l.S: New file.
31261 * string/Makefile (strop-tests): Add strncasecmp.
31262 * string/test-strncasecmp.c: New file.
31263
31264 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31265 warning.
31266
ca6bb004
UD
31267 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31268 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31269
052fa7b3
AS
312702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31271
31272 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31273
962dba78
UD
312742010-08-12 Ulrich Drepper <drepper@redhat.com>
31275
31276 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31277 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31278 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31279
bebff237
AM
312802010-05-01 Alan Modra <amodra@gmail.com>
31281
31282 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31283 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31284 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31285 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31286 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31287 tidying. Don't tail-call __sigjmp_save for static lib.
31288 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31289 save location.
31290 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31291 (CALL_MCOUNT): Add eh info, and nop after bl.
31292 (TAIL_CALL_SYSCALL_ERROR): New macro.
31293 (PSEUDO_RET): Use it.
31294 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31295 Correct save location of integer regs and cr.
31296 (_dl_profile_resolve): Correct cr save location. Delete nops
31297 after bl when SHARED. Reduce cfi size a little by better
31298 placement of cfi directives.
31299 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31300 make a stack frame. Instead use parm save area as a temp.
31301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31302 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31304 Don't make a stack frame for parent, use parm save area.
31305 Increase child stack frame to 112 bytes. Don't save unused reg,
31306 and adjust reg usage. Set up cfi on error recovery and
31307 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31309 (__makecontext): Add dummy nop after jump to exit.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31311 Use correct parm save area and cr save, reduce stack frame.
31312 Correct cfi for possible PSEUDO_RET frame setup.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31314 Branch to local label emitted by PSEUDO_RET rather than
31315 __syscall_error.
31316
02637374
AS
313172010-08-12 Andreas Schwab <schwab@redhat.com>
31318
31319 [BZ #11904]
31320 * locale/programs/locale.c (print_assignment): New function.
31321 (show_locale_vars): Use it.
31322
c3e2f19b
UD
313232010-08-11 Ulrich Drepper <drepper@redhat.com>
31324
3cdaa6ad
UD
31325 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31326 field.
31327 (struct statfs64): Likewise.
31328 (_STATFS_F_FLAGS): Define.
31329 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31330 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31331 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31332 (ST_VALID): Define locally.
31333 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31334 __statvfs_getflags, use the provided value.
31335 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31336 __ASSUME_STATFS_F_FLAGS.
31337
754f7da3
UD
31338 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31339
10b3bedc
UD
31340 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31341 Add sys/fanotify.h.
31342 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31343 fanotify_mask for GLIBC_2.13.
31344 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31345 fanotify_init and fanotify_mark.
31346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31347 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31348
c08fb0d7
UD
31349 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31350 Add prlimit.
31351 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31352 prlimit64 for GLIBC_2.13.
31353 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31354 prlimit64.
31355 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31356 syscall.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31359 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31360 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31362 add prlimit alias.
31363 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31364
15bac72b
UD
31365 [BZ #11903]
31366 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31367 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31368
c3e2f19b
UD
31369 * nss/Makefile: Add rules to build and run tst-nss-test1.
31370 * shlib-versions: Add entry for libnss_test1.
31371 * nss/nss_test1.c: New file.
31372 * nss/tst-nss-test1.c: New file.
31373
31374 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31375 (__nss_configure_lookup): Set appropriate entry in
31376 __nss_configure_lookup to true.
31377 * nss/nsswitch.h: Define enum with indeces of databases in
31378 databases and __nss_database_custom arrays. Declare
31379 __nss_database_custom.
31380 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31381 to avoid using nscd when custom rules are installed.
31382 * nss/getXXbyYY_r.c: Likewise.
31383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31384
31385 * nss/nss_files/files-parse.c: Whitespace fixes.
31386
f15ce4d8
UD
313872010-08-09 Ulrich Drepper <drepper@redhat.com>
31388
31389 [BZ #11883]
31390 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31391 * posix/fnmatch_loop.c: Likewise.
31392
d22e4cc9
AK
313932010-07-17 Andi Kleen <ak@linux.intel.com>
31394
31395 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31396 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31397 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31398 * Versions.def [GLIBC_2.13]: Add.
31399
805bc17d
UD
314002010-08-06 Ulrich Drepper <drepper@redhat.com>
31401
31402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31403 Also fail if tpwd after pwuid call is NULL.
31404
5a42321d
ST
314052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31406
31407 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31408 when converting to ms.
31409
fd3ebeda
ST
314102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31411
31412 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31413 EOPNOTSUPP errors with ENOTTY.
31414 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31415 EOPNOTSUPP errors with ENOTTY.
31416
73507d3a
UD
314172010-07-31 Ulrich Drepper <drepper@redhat.com>
31418
31419 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31420 Add strcasecmp_l-ssse3.
31421 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31422 strcasecmp.
31423 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31424 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31425 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31426
fe36dd02
UD
314272010-07-30 Ulrich Drepper <drepper@redhat.com>
31428
66f6765a
UD
31429 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31430
42e08a54
UD
31431 * string/Makefile (strop-tests): Add strcasecmp.
31432 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31433 strcasecmp_l-nonascii.
31434 (gen-as-const-headers): Add locale-defines.sym.
31435 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31436 * sysdeps/x86_64/strcasecmp.S: New file.
31437 * sysdeps/x86_64/strcasecmp_l.S: New file.
31438 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31439 * sysdeps/x86_64/locale-defines.sym: New file.
31440 * string/test-strcasecmp.c: New file.
31441
fe36dd02
UD
31442 * string/test-strcasestr.c: Test both ends of the range of characters.
31443 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31444
48cbc0d6
RM
314452010-07-29 Roland McGrath <roland@redhat.com>
31446
76e6d6bc 31447 [BZ #11856]
48cbc0d6
RM
31448 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31449
880113d9
UD
314502010-07-27 Ulrich Drepper <drepper@redhat.com>
31451
31452 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31453 for ld.so.
31454
deb9cabb
AS
314552010-07-27 Andreas Schwab <schwab@redhat.com>
31456
31457 * manual/memory.texi (Malloc Tunable Parameters): Document
31458 M_PERTURB.
31459
1c7570ff
RM
314602010-07-26 Roland McGrath <roland@redhat.com>
31461
31462 [BZ #11840]
31463 * configure.in (-fgnu89-inline check): Set and substitute
31464 gnu89_inline, not libc_cv_gnu89_inline.
31465 * configure: Regenerated.
31466 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31467
24fb0f88
UD
314682010-07-26 Ulrich Drepper <drepper@redhat.com>
31469
31470 * string/test-strnlen.c: New file.
31471 * string/Makefile (strop-tests): Add strnlen.
31472 * string/tester.c (test_strnlen): Add a few more test cases.
31473 * string/tst-strlen.c: Better error reporting.
31474
31475 * sysdeps/x86_64/strnlen.S: New file.
31476
8e96b93a
UD
314772010-07-24 Ulrich Drepper <drepper@redhat.com>
31478
31479 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31480 lower-latency instructions.
31481
dbc676d4
UD
314822010-07-23 Ulrich Drepper <drepper@redhat.com>
31483
31484 * string/test-strcasestr.c: New file.
31485 * string/test-strstr.c: New file.
31486 * string/Makefile (strop-tests): Add strstr and strcasestr.
31487 * string/str-two-way.h: Don't undefine MAX.
31488 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31489
f6a31e0e
AS
314902010-07-21 Andreas Schwab <schwab@redhat.com>
31491
31492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31493 strcasestr-nonascii.
31494 (CFLAGS-strcasestr-nonascii.c): Define.
31495 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31496 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31497 Remove unused attribute.
31498
5dbc3b6c
RM
314992010-07-20 Roland McGrath <roland@redhat.com>
31500
31501 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31502 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31503 ld.so.cache was broken. With it, there is no way to disable dsocaps
31504 like LD_HWCAP_MASK can disable hwcaps.
31505
23d101d8
EPM
315062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31507
31508 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31509
cc9f2e47
UD
315102010-07-16 Ulrich Drepper <drepper@redhat.com>
31511
31512 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31513 call in strcasestr.
31514 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31515 __strcasestr_sse42_nonascii.
31516 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31517 strcasestr-nonascii.c.
31518 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31519
77c1b069
LM
315202010-06-15 Luis Machado <luisgpm@br.ibm.com>
31521
31522 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31523 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31524 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31525 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31526
440566c3
UD
315272010-07-09 Ulrich Drepper <drepper@redhat.com>
31528
31529 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31530 fcntl.
31531
5be9d05d
AS
315322010-07-06 Andreas Schwab <schwab@redhat.com>
31533
c30b7ee2 31534 [BZ #11577]
5be9d05d
AS
31535 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31536 dl_signal_cerror.
31537
8a492a67
UD
315382010-07-06 Ulrich Drepper <drepper@redhat.com>
31539
31540 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31541 _PC_PIPE_BUF using F_GETPIPE_SZ.
31542
713df3d5
RM
315432010-07-05 Roland McGrath <roland@redhat.com>
31544
31545 * manual/arith.texi (Rounding Functions): Fix rint description
31546 implicit in round description.
31547
702e8f14
UD
315482010-07-02 Ulrich Drepper <drepper@redhat.com>
31549
31550 * elf/Makefile: Fix linking for a few tests to make recent linker
31551 happy.
31552
52ed8be9
AS
315532010-06-30 Andreas Schwab <schwab@redhat.com>
31554
31555 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31556 $(common-objpfx)libc_nonshared.a.
31557
f47c9a11
LM
315582010-06-21 Luis Machado <luisgpm@br.ibm.com>
31559
31560 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31561 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31562 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31563 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31564 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31565 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31566 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31567 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31582 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31583 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31584 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31585 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31586 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31587 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31588 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31589 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31590 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31591 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31592 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31593 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31608
6fb8cbcb
L
316092010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31612 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31613 * string/memmove.c (memmove): Renamed to ...
31614 (MEMMOVE): ...this. Default to memmove.
31615 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31616 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31617 (END_CHK): Define.
31618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31619 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31620 mempcpy-ssse3-back memmove-ssse3-back.
31621 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31624 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31625 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31626 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31627 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31628 * sysdeps/x86_64/multiarch/memmove.c: New file.
31629 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31630 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31631 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31632 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31633 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31635 Define.
31636 (index_Fast_Copy_Backward): Define.
31637 (HAS_ARCH_FEATURE): Define.
31638 (HAS_FAST_REP_STRING): Define.
31639 (HAS_FAST_COPY_BACKWARD): Define.
31640
4e733bac 316412010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31642
31643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31644 Restore proper fallback handling.
31645
63c4ed22
UD
316462010-06-19 Ulrich Drepper <drepper@redhat.com>
31647
ac2b484c
UD
31648 [BZ #11701]
31649 * posix/group_member.c (__group_member): Correct checking loop.
31650
63c4ed22
UD
31651 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31652 OOM in getpwuid_r correctly. Return error number when the caller
31653 should return, otherwise -1.
31654 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31655 call returning > 0 value.
31656 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31657
765ade4b
AS
316582010-06-07 Andreas Schwab <schwab@redhat.com>
31659
31660 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31661 libc_nonshared.a from targets in modules-names.
31662
80da2e09
KS
316632010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31664
31665 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31666 requires it.
31667
158db122
LM
316682010-06-10 Luis Machado <luisgpm@br.ibm.com>
31669
31670 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31671 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31674
caa78cf8
AS
316752010-06-02 Andreas Schwab <schwab@redhat.com>
31676
31677 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31678
b2ef2c01
UD
316792010-06-14 Ulrich Drepper <drepper@redhat.com>
31680
31681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31682 and F_GETPIPE_SZ.
31683 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31687 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31688 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31689
fbd643b6
RM
316902010-06-14 Roland McGrath <roland@redhat.com>
31691
31692 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31693
f32f2869
JJ
316942010-06-07 Jakub Jelinek <jakub@redhat.com>
31695
31696 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31697 __REDIRECT followed by __THROW.
31698 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31699 * posix/getopt.h (getopt): Likewise.
31700
2a50c078
EPM
317012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31702
31703 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31704 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31705 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31706 in AT_FLAGS.
31707 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31708 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31709
eb5ad2eb
LM
317102010-05-28 Luis Machado <luisgpm@br.ibm.com>
31711
31712 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31713
3c88fe1e
L
317142010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31715
31716 [BZ #11640]
31717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31718 Properly check family and model.
31719
d2f73151
TY
317202010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31721
31722 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31723
ebd2e13d
LM
317242010-05-24 Luis Machado <luisgpm@br.ibm.com>
31725
31726 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31727
b32b8b45
UD
317282010-05-21 Ulrich Drepper <drepper@redhat.com>
31729
31730 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31731 symbol reference.
31732
9acbe24d
AS
317332010-05-19 Andreas Schwab <schwab@redhat.com>
31734
31735 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31736 symbol reference.
31737
f0ccf6ea
AS
317382010-05-21 Andreas Schwab <schwab@redhat.com>
31739
3d04ff3a
AS
31740 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31741 and internal_recvmmsg.
31742 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31743 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31744 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31745 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31746
f0ccf6ea
AS
31747 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31748 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31749 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31750
5b08ac57
AS
317512010-05-20 Andreas Schwab <schwab@redhat.com>
31752
31753 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31754
4828935d
LM
317552010-05-17 Luis Machado <luisgpm@br.ibm.com>
31756
31757 POWER7 optimizations.
31758 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31759 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31760
373d545e
UD
317612010-05-19 Ulrich Drepper <drepper@redhat.com>
31762
31763 * version.h: Update for 2.13 development version.
31764
21a2b1ae
AS
317652010-05-12 Andrew Stubbs <ams@codesourcery.com>
31766
31767 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31768 exceptions. Return 0.
31769
3f7dcb2b
RM
317702010-05-07 Roland McGrath <roland@redhat.com>
31771
31772 * elf/ldconfig.c (main): Add a const.
31773
5f24d53a 317742010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31775
a160f8d8
UD
31776 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31777 (args_options): Add no-idn option.
31778 (ahosts_keys_int): Add idn_flags to ai_flags.
31779 (parse_option): Handle 'i' option to clear idn_flags.
31780
5f24d53a
UD
31781 * malloc/malloc.c (_int_free): Possible race in the most recently
31782 added check. Only act on the data if no current modification
31783 happened.
265bb1ce
UD
31784
31785See ChangeLog.17 for earlier changes.
This page took 4.13306 seconds and 5 git commands to generate.