]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add AT_HWCAP2 as a new auxv_t a_type to elf.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c18c701d
RA
12013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2
3 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4
1d17fa5f
RH
52013-06-25 Richard Henderson <rth@redhat.com>
6
7 * locale/programs/locarchive.c: Include <libc-internal.h>
8
8fcb833a
JM
92013-06-25 Joseph Myers <joseph@codesourcery.com>
10
11 * manual/texinfo.tex: Update to version 2013-06-21.17, with
12 trailing whitespace removed.
13
17db6e8d
MF
142013-06-24 Mike Frysinger <vapier@gentoo.org>
15
16 [BZ #10283]
17db6e8d
MF
17 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18 * locale/programs/locarchive.c: Include libc-mmap.h.
19 (prepare_address_space): Take two new outputs (the mmap base and len).
20 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21 values.
22 (create_archive): Declare new mmap base and len values for
23 prepare_address_space, and store the result in ah.
24 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27 Declare new mmap base and len values for
28 prepare_address_space, and store the result in new_ah.
29 (open_archive): Declare new mmap base and len values for
30 prepare_address_space, and store the result in ah.
31 (close_archive): If ah->mmap_base is not NULL, use that and
32 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33 * sysdeps/generic/libc-mmap.h: New file.
34
d605071e
MF
352013-06-24 Mike Frysinger <vapier@gentoo.org>
36
37 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38 (ALIGN_UP): Likewise.
39 (PTR_ALIGN_DOWN): Likewise.
40 (PTR_ALIGN_UP): Likewise.
41
2f063a6e
RA
422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43
44 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
45 entry mapped to PPC_PLATFORM_POWER8.
46 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47 POWER8.
48 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49 (_dl_string_platform): Add case for exporting platform position for
50 POWER8.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
52 search path to sysdeps/powerpc/powerpc32/power8 directory.
53 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54 search path to sysdeps/powerpc/powerpc64/power8 directory.
55 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56 power7 directories.
57 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58 power7 directories.
59
a31ee4b3
SP
602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
61
a74ca98f
SP
62 * INSTALL: Regenerate.
63
a31ee4b3
SP
64 * nscd/connections.c (nscd_init): Fix comment.
65
695c378f
JM
662013-06-22 Joseph Myers <joseph@codesourcery.com>
67
d8412221
JM
68 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
69
695c378f
JM
70 [BZ #15667]
71 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
72 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
73
d1d54715
MR
742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
75
76 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
77 DL_DST_REQ_STATIC.
78 (DL_DST_REQ_STATIC): Remove macro.
79
8fdda7af
JM
802013-06-21 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #7006]
83 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
84 with a shift of 0 bits.
85
f3bc5e5a
MR
862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
87
88 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
89 $(tststatic-ENV).
90
be09e8c9
KK
912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
92
93 [BZ #15655]
94 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
95
85c2e611
AZ
962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97
98 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
99 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
100 accepts -fno-tree-loop-distribute-patterns.
101 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
102 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
103 recursive call.
104 * string/memset.c (memset): Likewise.
105 * string/test-memmove.c (simple_memmove): Disable loop transformation
106 to library calls.
107 * string/test-memset.c (simple_memset): Likewise.
108 * benchtests/bench-memmove.c (simple_memmove): Likewise.
109 * benchtests/bench-memset.c (simple_memset): Likewise.
110 * configure: Regenerated.
111
c91e0825
JM
1122013-06-20 Joseph Myers <joseph@codesourcery.com>
113
b8c792af
JM
114 * math/test-misc.c (main): Ignore fesetround failure when failures
115 of subsequent rounding tests would be ignored.
116
c91e0825
JM
117 [BZ #15654]
118 * math/fedisblxcpt.c (fedisableexcept): Return 0.
119 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
120 * math/fegetenv.c (__fegetenv): Return 0.
121 * math/fegetexcept.c (fegetexcept): Return 0.
122 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
123 FE_TONEAREST.
124 * math/feholdexcpt.c (feholdexcept): Return 0.
125 * math/fesetenv.c (__fesetenv): Return 0.
126 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
127 argument FE_TONEAREST.
128 * math/feupdateenv.c (__feupdateenv): Return 0.
129 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
130
bfcacbde
RM
1312013-06-18 Roland McGrath <roland@hack.frob.com>
132
133 * elf/rtld-Rules (rtld-compile-command.S): New variable.
134 (rtld-compile-command.s, rtld-compile-command.c): New variables.
135 ($(objpfx)rtld-%.os rules): Use them.
136
e55a9b25
AZ
1372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
138
139 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
140 fields.
141
346d65b3
RM
1422013-06-17 Roland McGrath <roland@hack.frob.com>
143
12086fb4
RM
144 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
145 length of target pattern, then descending length of dependency pattern.
146 * configure.in (AWK): Require gawk 3.1.2 or newer.
147 * manual/install.texi (Tools for Compilation): Say that we do.
148 * configure: Regenerated.
149
346d65b3
RM
150 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
151 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
152 * scripts/sysd-rules.awk: ... this new script.
153 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
154 than a glob-style pattern.
155
1a846317
JM
1562013-06-17 Joseph Myers <joseph@codesourcery.com>
157
158 * math/test-misc.c (main): Do not treat incorrectly rounded
159 conversions as failure unless ROUNDING_TESTS passes.
160
8fc75e6f
JM
1612013-06-15 Joseph Myers <joseph@codesourcery.com>
162
3711a167
JM
163 [BZ #15631]
164 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
165 restore exception state around main square root computation, then
166 check for inexactness explicitly.
167
8fc75e6f
JM
168 * math/libm-test.inc (fma_test_data): Add another test.
169
61dd6208
SP
1702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
171
adf23d2c
SP
172 * manual/threads.texi (Non-POSIX Extensions): New document
173 node. Document pthread_getattr_default_np and
174 pthread_setattr_default_np.
175
61dd6208
SP
176 * Versions.def (libpthread): Add GLIBC_2.18.
177 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
179 Likewise.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
181 Likewise.
182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
183 Likewise.
184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
185 Likewise.
186 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
187 Likewise.
188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
189 Likewise.
190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
191 Likewise.
192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
193 Likewise.
194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
195 Likewise.
196
d086fc7b
LD
1972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
198
199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
200 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
201
747ef469
SP
2022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
203 H.J. Lu <hjl.tools@gmail.com>
204
205 [BZ #15627]
206 * sysdeps/x86_64/rtld-memset.c: Remove file.
207 * sysdeps/x86_64/rtld-memset.S: New file.
208
1b2feed2
JM
2092013-06-14 Joseph Myers <joseph@codesourcery.com>
210
211 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
212 (test_in_one_mode): Take arguments for whether the rounding mode
213 is supported for each floating-point type.
214 (do_test): Pass new arguments to test_in_one_mode using
215 ROUNDING_TESTS.
216
a58ad3f8
RM
2172013-06-13 Roland McGrath <roland@hack.frob.com>
218
219 * posix/tst-waitid.c (do_test): Distinguish different instances of
220 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
221 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
222 before entering the kernel for waitpid.
223
c204ab28
SP
2242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
225
226 * NEWS: Fix note on clock function precision. Text by Roland
227 McGrath.
228
f4a29fba
RM
2292013-06-13 Roland McGrath <roland@hack.frob.com>
230
231 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
232 it into place only when and if the sanity check passes.
233
1f24b9ad
JM
2342013-06-13 Joseph Myers <joseph@codesourcery.com>
235
236 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
237 output for whether conversion result is exact. Take argument
238 indicating whether type is IBM long double.
239 (round_for_all): Change need_exact field to ibm_ld.
240 * stdlib/tst-strtod-round.c (struct exactness): New type.
241 (struct test): Change bool ld_ok field to struct exactness exact.
242 (TEST): Update all definitions for change to field.
243 (tests): Regenerate array contents.
244 (test_in_one_mode): Take pointer to new field instead of old ld_ok
245 field value. Check for IBM long double here.
246 (do_test): Update calls to test_in_one_mode.
247
58206c68
SP
2482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
249
250 [BZ #12515]
251 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
252 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
253
2d6f4c5b 2542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
255
256 [BZ #15605]
257 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
258 generated by the compiler on loop optimizations.
259 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
260 general definitions.
261
94f2c076
JM
2622013-06-12 Joseph Myers <joseph@codesourcery.com>
263
264 * math/bug-nextafter.c: Include <math-tests.h>.
265 (main): Only test for exceptions if EXCEPTION_TESTS is true for
266 the relevant type.
267 * math/bug-nexttoward.c: Include <math-tests.h>.
268 (main): Only test for exceptions if EXCEPTION_TESTS is true for
269 the relevant type.
270 * math/test-misc.c: Include <math-tests.h>.
271 (main): Only test for exceptions if EXCEPTION_TESTS is true for
272 the relevant type.
273
e0e50a0a
AJ
2742013-06-12 Andreas Jaeger <aj@suse.de>
275
276 * po/ia.po: Update Interlingua translation from translation
277 project.
278
25061094
SP
2792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
280
281 * include/fenv.h: Include stdbool.h.
282 (struct rm_ctx): New structure.
283 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
284 Define macro.
285 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
286 (SET_RESTORE_ROUNDF): Likewise.
287 (SET_RESTORE_ROUNDL): Likewise.
288 (SET_RESTORE_ROUND_NOEX): Likewise.
289 (SET_RESTORE_ROUND_NOEXF): Likewise.
290 (SET_RESTORE_ROUND_NOEXL): Likewise.
291 (SET_RESTORE_ROUND_53BIT): Likewise.
292 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
293 (libc_feresetround_noexf_ctx): Likewise.
294 (libc_feresetround_noexl_ctx): Likewise.
295 (libc_feholdsetround_53bit_ctx): Likewise.
296 (libc_feresetround_53bit_ctx): Likewise.
297 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
298 (libc_feholdexcept_setround_sse_ctx): New function.
299 (libc_fesetenv_sse_ctx): Likewise.
300 (libc_feupdateenv_sse_ctx): Likewise.
301 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
302 (libc_feholdexcept_setround_387_ctx): Likewise.
303 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
304 (libc_feholdsetround_387_prec_ctx): Likewise.
305 (libc_feholdsetround_387_ctx): Likewise.
306 (libc_feholdsetround_387_53bit_ctx): Likewise.
307 (libc_feholdsetround_sse_ctx): Likewise.
308 (libc_feresetround_sse_ctx): Likewise.
309 (libc_feresetround_387_ctx): Likewise.
310 (libc_feupdateenv_387_ctx): Likewise.
311 (libc_feholdexcept_setroundf_ctx): Define macro.
312 (libc_fesetenvf_ctx): Likewise.
313 (libc_feupdateenvf_ctx): Likewise.
314 (libc_feholdsetroundf_ctx): Likewise.
315 (libc_feresetroundf_ctx): Likewise.
316 (libc_feholdexcept_setround_ctx): Likewise.
317 (libc_fesetenv_ctx): Likewise.
318 (libc_feupdateenv_ctx): Likewise.
319 (libc_feholdsetround_ctx): Likewise.
320 (libc_feresetround_ctx): Likewise.
321 (libc_feholdexcept_setroundl_ctx): Likewise.
322 (libc_feupdateenvl_ctx): Likewise.
323 (libc_feholdsetroundl_ctx): Likewise.
324 (libc_feresetroundl_ctx): Likewise.
325 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
326 (libc_feresetround_53bit_ctx): Likewise.
327
59b30555
SP
3282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
329
330 * locale/iso-639.def: Convert to UTF-8.
331
f1d73d30
JM
3322013-06-11 Joseph Myers <joseph@codesourcery.com>
333
334 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
335 (EXCEPTION_TESTS_double): Likewise.
336 (EXCEPTION_TESTS_long_double): Likewise.
337 (EXCEPTION_TESTS): Likewise.
338 * math/libm-test.inc (test_exceptions): Only test exceptions if
339 EXCEPTION_TESTS (FLOAT).
340
94aca5e7
SP
3412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
342
343 * benchtests/Makefile (string-bench): Add strcpy_chk and
344 stpcpy_chk.
345 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
346 * benchtests/bench-stpcpy_chk.c: New file.
347 * benchtests/bench-strcpy_chk-ifunc.c: New file.
348 * benchtests/bench-strcpy_chk.c: New file.
349 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
350 code.
351 (do_test): Likewise.
352
fac0c5f2
RA
3532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
354
355 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
356 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
357 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
358 with tabs where appropriate.
359 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
360 dl-procinfo.h.
361 [PPC_PLATFORM_PPC440]: Likewise.
362 [PPC_PLATFORM_PPC464]: Likewise.
363 [PPC_PLATFORM_PPC476]: Likewise.
364 (_dl_string_platform): Add support for detecting ppc405, ppc440,
365 ppc464, and ppc476 platform strings merging from ports/
366 dl-procinfo.h.
367
f22bc486
AS
3682013-06-11 Andreas Schwab <schwab@suse.de>
369
370 [BZ #14991]
371 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
372 (from_ucs4_idx): Regenerate.
373 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
374 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
375 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
376 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
377 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
378 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
379 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
380 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
381 from FROM_LOOP and TO_LOOP specific macros.
382 (BODY): Handle combining characters.
383 * iconvdata/BIG5HKSCS.irreversible: Update.
384 * iconvdata/BIG5HKSCS.precomposed: New file.
385 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
386 characters.
387 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
388
c1f75dc3
SP
3892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
390
4eacded2
SP
391 * include/sys/time.h: Fix indentation and add copyright header.
392
fec799f8
SP
393 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
394 (do_test): Likewise.
395 * string/test-memchr.c (do_one_test): Likewise.
396 (do_test): Likewise.
397 * string/test-memcmp.c (do_one_test): Likewise.
398 (do_test): Likewise.
399 * string/test-memcpy.c (do_one_test): Likewise.
400 (do_test): Likewise.
401 * string/test-memmem.c (do_one_test): Likewise.
402 (do_test): Likewise.
403 (do_random_tests): Likewise.
404 * string/test-memmove.c (do_one_test): Likewise.
405 (do_test): Likewise.
406 * string/test-memset.c (do_one_test): Likewise.
407 (do_test): Likewise.
408 * string/test-rawmemchr.c (do_one_test): Likewise.
409 (do_test): Likewise.
410 * string/test-strcasecmp.c (do_one_test): Likewise.
411 (do_test): Likewise.
412 * string/test-strcasestr.c (do_one_test): Likewise.
413 (do_test): Likewise.
414 * string/test-strcat.c (do_one_test): Likewise.
415 (do_test): Likewise.
416 * string/test-strchr.c (do_one_test): Likewise.
417 (do_test): Likewise.
418 * string/test-strcmp.c (do_one_test): Likewise.
419 (do_test): Likewise.
420 * string/test-strcpy.c (do_one_test): Likewise.
421 (do_test): Likewise.
422 * string/test-string.h: Likewise.
423 (test_init): Likewise.
424 * string/test-strlen.c (do_one_test): Likewise.
425 (do_test): Likewise.
426 * string/test-strncasecmp.c (do_one_test): Likewise.
427 (do_test): Likewise.
428 * string/test-strncat.c (do_one_test): Likewise.
429 (do_test): Likewise.
430 * string/test-strncmp.c (do_one_test): Likewise.
431 (do_test_limit): Likewise.
432 (do_test): Likewise.
433 * string/test-strncpy.c (do_one_test): Likewise.
434 (do_test): Likewise.
435 * string/test-strnlen.c (do_one_test): Likewise.
436 (do_test): Likewise.
437 * string/test-strpbrk.c (do_one_test): Likewise.
438 (do_test): Likewise.
439 * string/test-strrchr.c (do_one_test): Likewise.
440 (do_test): Likewise.
441 * string/test-strspn.c (do_one_test): Likewise.
442 (do_test): Likewise.
443 * string/test-strstr.c (do_one_test): Likewise.
444 (do_test): Likewise.
445
97020474
SP
446 * benchtests/Makefile (string-bench): Add string benchmarks.
447 * benchtests/bench-bcopy-ifunc.c: New file.
448 * benchtests/bench-bcopy.c: New file.
449 * benchtests/bench-bzero-ifunc.c: New file.
450 * benchtests/bench-bzero.c: New file.
451 * benchtests/bench-memccpy-ifunc.c: New file.
452 * benchtests/bench-memccpy.c: New file.
453 * benchtests/bench-memchr-ifunc.c: New file.
454 * benchtests/bench-memchr.c: New file.
455 * benchtests/bench-memcmp-ifunc.c: New file.
456 * benchtests/bench-memcmp.c: New file.
457 * benchtests/bench-memmem-ifunc.c: New file.
458 * benchtests/bench-memmem.c: New file.
459 * benchtests/bench-memmove-ifunc.c: New file.
460 * benchtests/bench-memmove.c: New file.
461 * benchtests/bench-mempcpy-ifunc.c: New file.
462 * benchtests/bench-mempcpy.c: New file.
463 * benchtests/bench-memset-ifunc.c: New file.
464 * benchtests/bench-memset.c: New file.
465 * benchtests/bench-rawmemchr-ifunc.c: New file.
466 * benchtests/bench-rawmemchr.c: New file.
467 * benchtests/bench-stpcpy-ifunc.c: New file.
468 * benchtests/bench-stpcpy.c: New file.
469 * benchtests/bench-stpncpy-ifunc.c: New file.
470 * benchtests/bench-stpncpy.c: New file.
471 * benchtests/bench-strcasecmp-ifunc.c: New file.
472 * benchtests/bench-strcasecmp.c: New file.
473 * benchtests/bench-strcasestr-ifunc.c: New file.
474 * benchtests/bench-strcasestr.c: New file.
475 * benchtests/bench-strcat-ifunc.c: New file.
476 * benchtests/bench-strcat.c: New file.
477 * benchtests/bench-strchr-ifunc.c: New file.
478 * benchtests/bench-strchr.c: New file.
479 * benchtests/bench-strchrnul-ifunc.c: New file.
480 * benchtests/bench-strchrnul.c: New file.
481 * benchtests/bench-strcmp-ifunc.c: New file.
482 * benchtests/bench-strcmp.c: New file.
483 * benchtests/bench-strcpy-ifunc.c: New file.
484 * benchtests/bench-strcpy.c: New file.
485 * benchtests/bench-strcspn-ifunc.c: New file.
486 * benchtests/bench-strcspn.c: New file.
487 * benchtests/bench-strlen-ifunc.c: New file.
488 * benchtests/bench-strlen.c: New file.
489 * benchtests/bench-strncasecmp-ifunc.c: New file.
490 * benchtests/bench-strncasecmp.c: New file.
491 * benchtests/bench-strncat-ifunc.c: New file.
492 * benchtests/bench-strncat.c: New file.
493 * benchtests/bench-strncmp-ifunc.c: New file.
494 * benchtests/bench-strncmp.c: New file.
495 * benchtests/bench-strncpy-ifunc.c: New file.
496 * benchtests/bench-strncpy.c: New file.
497 * benchtests/bench-strnlen-ifunc.c: New file.
498 * benchtests/bench-strnlen.c: New file.
499 * benchtests/bench-strpbrk-ifunc.c: New file.
500 * benchtests/bench-strpbrk.c: New file.
501 * benchtests/bench-strrchr-ifunc.c: New file.
502 * benchtests/bench-strrchr.c: New file.
503 * benchtests/bench-strspn-ifunc.c: New file.
504 * benchtests/bench-strspn.c: New file.
505 * benchtests/bench-strstr-ifunc.c: New file.
506 * benchtests/bench-strstr.c: New file.
507
c1f75dc3
SP
508 * benchtests/Makefile: Disable parallel execution of targets.
509 (string-bench): Add memcpy.
510 (benchset): New variable to store a list of benchmark sets.
511 (bench-func): Renamed from bench.
512 (bench-set): New target.
513 (bench): Depend on bench-func and bench-set.
514 * benchtests/README: Add section on benchmark sets.
515 * benchtests/bench-memcpy-ifunc.c: New file.
516 * benchtests/bench-memcpy.c: New file.
517 * benchtests/bench-string.h: New file.
518
50fd745b
AS
5192013-06-11 Andreas Schwab <schwab@suse.de>
520
521 [BZ #15577]
522 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
523 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
524 values in the triple.
525 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
526 terminator in the group key.
527
3ee7e9fe
AJ
5282013-06-11 Andreas Jaeger <aj@suse.de>
529
530 * po/zh_TW.po: Update Chinese (traditional) translation from
531 translation project.
532
89fb6835
SP
5332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
534
535 * include/time.h (__clock_gettime): Add libc_hidden_proto.
536 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
537 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
539 (clock_getcpuclockid): Likewise.
540 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
541 Add weak_alias and libc_hidden_def.
542 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
543 * rt/clock_gettime.c (clock_gettime): Rename to
544 __clock_gettime. Add weak_alias and libc_hidden_def.
545 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
546 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
547 __clock_nanosleep. Add weak_alias and libc_hidden_def.
548 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
549 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
550 Likewise.
551 * rt/clock_settime.c (clock_settime): Rename to
552 __clock_settime. Add weak_alias and libc_hidden_def.
553 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
554
0efa6f8b
JM
5552013-06-10 Joseph Myers <joseph@codesourcery.com>
556
b8c61b4b
JM
557 * mach/err_boot.sub: Remove trailing whitespace.
558 * mach/err_ipc.sub: Likewise.
559 * mach/err_mach.sub: Likewise.
560
0efa6f8b
JM
561 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
562 (ROUNDING_TESTS_double): Likewise.
563 (ROUNDING_TESTS_long_double): Likewise.
564 (ROUNDING_TESTS): Likewise.
565 * math/libm-test.inc: Include <math-tests.h>.
566 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
567 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
568 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
569 (IF_ROUND_INIT_FE_UPWARD): Likewise.
570
50b818bf
SP
5712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
572
573 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
574 of assigning.
575
60d2f8f3
JM
5762013-06-08 Joseph Myers <joseph@codesourcery.com>
577
4902d2c3
JM
578 * sysdeps/gnu/errlist.awk: Do not generate space at end of
579 otherwise empty TRANS lines.
580 * sysdeps/gnu/errlist.c: Regenerated.
581
60d2f8f3
JM
582 * catgets/gencat.c (error_print): Use (void) in function
583 definition.
584 * crypt/crypt_util.c (__init_des): Likewise.
585 * crypt/speeds.c (Stop): Likewise.
586 (main): Likewise.
587 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
588 * inet/ruserpass.c (token): Likewise.
589 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
590 * intl/localealias.c (extend_alias_table): Likewise.
591 * intl/plural-exp.c (init_germanic_plural): Likewise.
592 * libio/fcloseall.c (__fcloseall): Likewise.
593 * libio/genops.c (_IO_flush_all): Likewise.
594 (_IO_flush_all_linebuffered): Likewise.
595 (_IO_cleanup): Likewise.
596 (_IO_iter_begin): Likewise.
597 (_IO_iter_end): Likewise.
598 (_IO_list_lock): Likewise.
599 (_IO_list_unlock): Likewise.
600 (_IO_list_resetlock): Likewise.
601 * libio/getchar.c (getchar): Likewise.
602 * libio/getchar_u.c (getchar_unlocked): Likewise.
603 * libio/getwchar.c (getwchar): Likewise.
604 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
605 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
606 * login/getpt.c (__getpt): Likewise.
607 * login/tst-utmp.c (main): Likewise.
608 * malloc/hooks.c (__malloc_check_init): Likewise.
609 * malloc/malloc.c (__malloc_stats): Likewise.
610 * malloc/mtrace.c (tr_break): Likewise.
611 (mtrace): Likewise.
612 (muntrace): Likewise.
613 * misc/fstab.c (endfsent): Likewise.
614 * misc/getclktck.c (__getclktck): Likewise.
615 * misc/getdtsz.c (__getdtablesize): Likewise.
616 * misc/gethostid.c (gethostid): Likewise.
617 * misc/getpagesize.c (__getpagesize): Likewise.
618 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
619 (__get_nprocs): Likewise.
620 (__get_phys_pages): Likewise.
621 (__get_avphys_pages): Likewise.
622 * misc/getttyent.c (getttyent): Likewise.
623 (setttyent): Likewise.
624 (endttyent): Likewise.
625 * misc/getusershell.c (getusershell): Likewise.
626 (endusershell): Likewise.
627 (setusershell): Likewise.
628 (initshells): Likewise.
629 * misc/hsearch.c (__hdestroy): Likewise.
630 * misc/sync.c (sync): Likewise.
631 * misc/syslog.c (closelog_internal): Likewise.
632 (closelog): Likewise.
633 * misc/ttyslot.c (ttyslot): Likewise.
634 * misc/vhangup.c (vhangup): Likewise.
635 * posix/fork.c (__fork): Likewise.
636 * posix/getegid.c (__getegid): Likewise.
637 * posix/geteuid.c (__geteuid): Likewise.
638 * posix/getgid.c (__getgid): Likewise.
639 * posix/getpid.c (__getpid): Likewise.
640 * posix/getppid.c (__getppid): Likewise.
641 * posix/getuid.c (__getuid): Likewise.
642 * posix/pause.c (pause): Likewise.
643 * posix/setpgrp.c (setpgrp): Likewise.
644 * posix/setsid.c (__setsid): Likewise.
645 * posix/test-vfork.c (noop): Likewise.
646 * resolv/gethnamaddr.c (_endhtent): Likewise.
647 (_gethtent): Likewise.
648 (ht_endhostent): Likewise.
649 (gethostent): Likewise.
650 (dns_service): Likewise.
651 * stdlib/drand48.c (drand48): Likewise.
652 * stdlib/lrand48.c (lrand48): Likewise.
653 * stdlib/mrand48.c (mrand48): Likewise.
654 * stdlib/rand.c (rand): Likewise.
655 * stdlib/random.c (__random): Likewise.
656 * stdlib/setenv.c (clearenv): Likewise.
657 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
658 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
659 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
660 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
661 (__get_nprocs): Likewise.
662 (__get_phys_pages): Likewise.
663 (__get_avphys_pages): Likewise.
664 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
665 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
666 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
667 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
668 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
669 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
670 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
671 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
672 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
673 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
674 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
675 * sysdeps/mach/hurd/sync.c (sync): Likewise.
676 * sysdeps/posix/clock.c (clock): Likewise.
677 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
678 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
679 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
680 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
681 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
683 (__get_nprocs_conf): Likewise.
684 (__get_phys_pages): Likewise.
685 (__get_avphys_pages): Likewise.
686 * time/clock.c (clock): Likewise.
687 * time/tzset.c (__tzname_max): Likewise.
688
2e09a79a
JM
6892013-06-07 Joseph Myers <joseph@codesourcery.com>
690
691 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
692 (__bswap_32): Do not use "register".
693 * crypt/crypt.c (_ufc_doit_r): Likewise.
694 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
695 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
696 * gmon/gmon.c (__monstartup): Likewise.
697 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
698 * hurd/hurdmalloc.c (more_memory): Likewise.
699 (malloc): Likewise.
700 (free): Likewise.
701 (realloc): Likewise.
702 (malloc_fork_prepare): Likewise.
703 (malloc_fork_parent): Likewise.
704 (malloc_fork_child): Likewise.
705 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
706 (_svcauth_des): Likewise.
707 * inet/inet_lnaof.c (inet_lnaof): Likewise.
708 * inet/inet_net.c (inet_network): Likewise.
709 * inet/inet_netof.c (inet_netof): Likewise.
710 * inet/rcmd.c (__validuser2_sa): Likewise.
711 * io/fts.c (fts_open): Likewise.
712 (fts_load): Likewise.
713 (fts_close): Likewise.
714 (fts_read): Likewise.
715 (fts_children): Likewise.
716 (fts_build): Likewise.
717 (fts_stat): Likewise.
718 (fts_sort): Likewise.
719 (fts_alloc): Likewise.
720 (fts_lfree): Likewise.
721 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
722 (_IO_file_xsgetn): Likewise.
723 (_IO_file_xsgetn_mmap): Likewise.
724 * libio/iofopncook.c (_IO_cookie_read): Likewise.
725 (_IO_cookie_write): Likewise.
726 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
727 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
728 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
729 * malloc/obstack.c (_obstack_begin): Likewise.
730 (_obstack_begin_1): Likewise.
731 (_obstack_newchunk): Likewise.
732 (_obstack_allocated_p): Likewise.
733 (obstack_free): Likewise.
734 (_obstack_memory_used): Likewise.
735 * misc/getttyent.c (getttynam): Likewise.
736 (getttyent): Likewise.
737 (skip): Likewise.
738 (value): Likewise.
739 * misc/getusershell.c (initshells): Likewise.
740 * misc/syslog.c (__vsyslog_chk): Likewise.
741 * misc/ttyslot.c (ttyslot): Likewise.
742 * nis/nis_hash.c (__nis_hash): Likewise.
743 * posix/fnmatch_loop.c (FCT): Likewise.
744 * posix/getconf.c (print_all): Likewise.
745 (main): Likewise.
746 * posix/getopt.c (exchange): Likewise.
747 * posix/glob.c (globfree): Likewise.
748 (prefix_array): Likewise.
749 (__glob_pattern_type): Likewise.
750 * resolv/arpa/nameser.h (NS_GET16): Likewise.
751 (NS_GET32): Likewise.
752 (NS_PUT16): Likewise.
753 (NS_PUT32): Likewise.
754 * resolv/gethnamaddr.c (getanswer): Likewise.
755 (gethostbyname2): Likewise.
756 (gethostbyaddr): Likewise.
757 (_gethtent): Likewise.
758 (_gethtbyname2): Likewise.
759 (_gethtbyaddr): Likewise.
760 * resolv/ns_print.c (dst_s_get_int16): Likewise.
761 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
762 * resolv/res_init.c (__res_vinit): Likewise.
763 (net_mask): Likewise.
764 * resolv/res_mkquery.c (outchar): Likewise.
765 (PRINT): Likewise.
766 * stdio-common/printf_fp.c (outchar): Likewise.
767 (PRINT): Likewise.
768 * stdio-common/printf_fphex.c (outchar): Likewise.
769 (PRINT): Likewise.
770 * stdio-common/printf_size.c (outchar): Likewise.
771 (PRINT): Likewise.
772 * stdio-common/test_rdwr.c (main): Likewise.
773 * stdio-common/tfformat.c (matches): Likewise.
774 * stdio-common/vfprintf.c (outchar): Likewise.
775 (printf_unknown): Likewise.
776 (buffered_vfprintf): Likewise.
777 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
778 * stdio-common/xbug.c (AppendToBuffer): Likewise.
779 (ReadFile): Likewise.
780 * stdlib/qsort.c (SWAP): Likewise.
781 (_quicksort): Likewise.
782 * stdlib/setenv.c (__add_to_environ): Likewise.
783 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
784 * stdlib/strtol_l.c (__strtol_l): Likewise.
785 * stdlib/tst-strtod.c (main): Likewise.
786 * stdlib/tst-strtol.c (main): Likewise.
787 * stdlib/tst-strtoll.c (main): Likewise.
788 * string/bits/string2.h (__strcmp_cc): Likewise.
789 (__strcmp_cg): Likewise.
790 (__strcspn_c1): Likewise.
791 (__strcspn_c2): Likewise.
792 (__strcspn_c3): Likewise.
793 (__strspn_c1): Likewise.
794 (__strspn_c2): Likewise.
795 (__strspn_c3): Likewise.
796 (__strsep_1c): Likewise.
797 (__strsep_2c): Likewise.
798 (__strsep_3c): Likewise.
799 * string/memccpy.c (__memccpy): Likewise.
800 * string/stpcpy.c (__stpcpy): Likewise.
801 * string/strcmp.c (strcmp): Likewise.
802 * string/strrchr.c (strrchr): Likewise.
803 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
804 Likewise.
805 * sysdeps/mach/hurd/getcwd.c
806 (_hurd_canonicalize_directory_name_internal): Likewise.
807 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
808 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
809 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
810 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
811 Likewise, in both definitions.
812 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
813 definitions.
814 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
815 64] (__bswap_64): Likewise.
816 * time/test_time.c (main): Likewise.
817 * time/tzfile.c (__tzfile_read): Likewise.
818 (__tzfile_compute): Likewise.
819 * time/tzset.c (__tzset_parse_tz): Likewise.
820 (tzset_internal): Likewise.
821 (compute_change): Likewise.
822 * wcsmbs/wcscat.c (__wcscat): Likewise.
823 * wcsmbs/wcschr.c (wcschr): Likewise.
824 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
825 * wcsmbs/wcscspn.c (wcscspn): Likewise.
826 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
827 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
828 * wcsmbs/wcsspn.c (wcsspn): Likewise.
829 * wcsmbs/wcsstr.c (wcsstr): Likewise.
830 * wcsmbs/wmemchr.c (wmemchr): Likewise.
831 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
832 * wcsmbs/wmemset.c (wmemset): Likewise.
833
9e54314b
JM
8342013-06-06 Joseph Myers <joseph@codesourcery.com>
835
836 * scripts/config.guess: Update to version 2013-05-16.
837 * scripts/config.sub: Update to version 2013-04-24.
838 * scripts/install-sh: Update to version 2011-11-20.07.
839 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
840 * scripts/move-if-change: Update to version 2012-01-06 07:23.
841
350635a5
OB
8422013-06-06 Ondřej Bílka <neleai@seznam.cz>
843
844 * debug/fgetws_u_chk.c: Fix leading whitespaces.
845 * elf/sln.c: Likewise.
846 * hurd/hurd/ioctl.h: Likewise.
847 * hurd/hurdmalloc.c: Likewise.
848 * hurd/xattr.c: Likewise.
849 * include/shlib-compat.h: Likewise.
850 * inet/ruserpass.c: Likewise.
851 * libio/iofgets_u.c: Likewise.
852 * libio/iofgetws_u.c: Likewise.
853 * locale/programs/ld-identification.c: Likewise.
854 * locale/programs/ld-time.c: Likewise.
855 * mach/msg-destroy.c: Likewise.
856 * nss/nss_files/files-netgrp.c: Likewise.
857 * resolv/res_data.c: Likewise.
858 * soft-fp/op-1.h: Likewise.
859 * soft-fp/op-2.h: Likewise.
860 * soft-fp/op-4.h: Likewise.
861 * soft-fp/op-common.h: Likewise.
862 * stdio-common/printf_fphex.c: Likewise.
863 * stdlib/strtod_l.c: Likewise.
864 * sunrpc/rpc/clnt.h: Likewise.
865 * sysdeps/generic/framestate.c: Likewise.
866 * sysdeps/i386/bsd-_setjmp.S: Likewise.
867 * sysdeps/i386/bsd-setjmp.S: Likewise.
868 * sysdeps/i386/__longjmp.S: Likewise.
869 * sysdeps/i386/setjmp.S: Likewise.
870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
871 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
873 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
875 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
879 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
880 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
884 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
885 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
886 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
887 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
888 * sysdeps/ieee754/support.c: Likewise.
889 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
890 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
891 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
892 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
893 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
894 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
895 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
896 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
897 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
898 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
899 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
900 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
903 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
904 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
905 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
907
44a988af
OB
9082013-06-05 Ondřej Bílka <neleai@seznam.cz>
909
25506f09 910 * posix/transbug.c: Remove executable mode.
44a988af 911
9c84384c
JM
9122013-06-05 Joseph Myers <joseph@codesourcery.com>
913
914 * crypt/speeds.c: Remove trailing whitespace.
915 * dlfcn/default.c: Likewise.
916 * elf/ifuncdep2.c: Likewise.
917 * elf/ifuncmain1.c: Likewise.
918 * elf/ifuncmain1vis.c: Likewise.
919 * elf/testobj.h: Likewise.
920 * elf/tst-stackguard1.c: Likewise.
921 * gmon/sys/gmon.h: Likewise.
922 * hurd/hurdmsg.c: Likewise.
923 * hurd/new-fd.c: Likewise.
924 * hurd/ports-get.c: Likewise.
925 * iconvdata/ibm1008_420.c: Likewise.
926 * inet/tst-getni1.c: Likewise.
927 * inet/tst-getni2.c: Likewise.
928 * libio/ioungetc.c: Likewise.
929 * libio/wfiledoalloc.c: Likewise.
930 * manual/libm-err-tab.pl: Likewise.
931 * math/w_dremf.c: Likewise.
932 * misc/ftruncate.c: Likewise.
933 * posix/bug-glob2.c: Likewise.
934 * posix/tst-pcre.c: Likewise.
935 * posix/wait4.c: Likewise.
936 * resolv/README: Likewise.
937 * resolv/res_debug.h: Likewise.
938 * resolv/tst-inet_ntop.c: Likewise.
939 * setjmp/bug269-setjmp.c: Likewise.
940 * soft-fp/extended.h: Likewise.
941 * soft-fp/op-1.h: Likewise.
942 * soft-fp/op-2.h: Likewise.
943 * soft-fp/op-4.h: Likewise.
944 * soft-fp/op-8.h: Likewise.
945 * soft-fp/testit.c: Likewise.
946 * stdio-common/bug16.c: Likewise.
947 * stdlib/random.c: Likewise.
948 * sunrpc/rpcsvc/rquota.x: Likewise.
949 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
950 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
951 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
952 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
953 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
954 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
956 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
957 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
958 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
960 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
961 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
962 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
965 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
967 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
968 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
969 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
970 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
971 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
972 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
973 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
974 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
975 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
976 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
977 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
978 * sysdeps/ieee754/s_lib_version.c: Likewise.
979 * sysdeps/mach/hurd/check_fds.c: Likewise.
980 * sysdeps/mach/hurd/getsockname.c: Likewise.
981 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
982 * sysdeps/mach/hurd/recvfrom.c: Likewise.
983 * sysdeps/powerpc/bits/link.h: Likewise.
984 * sysdeps/powerpc/dl-procinfo.c: Likewise.
985 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
986 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
987 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
988 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
989 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
990 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
991 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
992 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
993 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
994 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
995 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
996 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
997 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
998 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
999 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1002 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1003 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1004 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1005 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1006 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1007 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1008 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1010 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1011 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1015 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1016 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1017 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1018 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1019 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1020 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1021 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1022 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1023 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1024 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1025 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1027 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1028 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1029 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1030 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1031 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1033 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1036 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1037 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1038 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1039 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1040 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1041 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1042 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1045 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1046 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1047 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1048 * sysdeps/powerpc/sysdep.h: Likewise.
1049 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1050 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1051 * sysdeps/sh/dl-trampoline.S: Likewise.
1052 * sysdeps/sh/memset.S: Likewise.
1053 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1054 * sysdeps/sh/strlen.S: Likewise.
1055 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1056 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1057 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1058 * sysdeps/sparc/sparc32/rem.S: Likewise.
1059 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1060 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1061 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1062 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1063 * sysdeps/sparc/sparc32/urem.S: Likewise.
1064 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1065 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1066 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1067 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1068 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1069 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1070 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1071 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1072 * sysdeps/unix/bsd/times.c: Likewise.
1073 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1074 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1078 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1079 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1080 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1081 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1082 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1083 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1084 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1087 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1088 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1089 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1090 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1091 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1092 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1093 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1094 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1096 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1097 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1098 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1099 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1100 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1101 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1102 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1103 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1104 * sysdeps/x86_64/strcspn.S: Likewise.
1105
869378a5
RA
11062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1107
1108 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1109 generated file. Regenerate properly from gen-translit.pl.
1110 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1111 locale/C-translit.h.
1112
840e2943
AS
11132013-06-05 Andreas Schwab <schwab@suse.de>
1114
1115 [BZ #15100]
1116 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1117 week as 6 instead of -1.
1118 * time/tst-strptime.c (day_tests): Add test case.
1119
4c60cb0c
SP
11202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1121
1122 * sysdeps/generic/math_private.h
1123 (libc_feholdexcept_setround_53bit): Replace with
1124 libc_feholdsetround_53bit.
1125 (libc_feupdateenv_53bit): Replace with
1126 libc_feresetround_53bit.
1127 (SET_RESTORE_ROUND_53BIT): Adjust.
1128
d180203e
SP
11292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1130
96df079a
SP
1131 * string/test-strchrnul.c: Add copyright header.
1132
d180203e
SP
1133 * posix/tst-getaddrinfo4.c: Increase test timeout.
1134
8b0ccb2d
CD
11352013-06-03 Carlos O'Donell <carlos@redhat.com>
1136
1137 [BZ #15536]
1138 * math/libm-test.inc (MAX_EXP): Remove
1139 (MIN_EXP): Define.
1140 (ulp): Use MIN_EXP - MANT_DIG.
1141 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1142
3b3c4d40
CD
11432013-05-31 Carlos O'Donell <carlos@redhat.com>
1144
1145 * po/be.po: Revert last change.
1146 * po/zh_CN.po: Likewise.
1147 * po/header.pot: Likewise.
1148
fab7ce3f
JM
11492013-05-31 Joseph Myers <joseph@codesourcery.com>
1150
1151 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1152 link-libc-deps to empty as target-specific variable.
1153 * Makerules (link-libc-args): New variable.
1154 (libc-for-link): Likewise.
1155 (link-libc-deps): Likewise.
1156 (lib%.so): Depend on $(link-libc-deps). Link with
1157 $(link-libc-args).
1158 (build-module): Link with $(link-libc-args).
1159 (build-module-asneeded): Likewise.
1160 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1161 list of objects.
1162 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1163 target-specific variable.
1164 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1165 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1166 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1167 libc.
1168 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1169 libc and ld.so.
1170 ($(objpfx)libpcprofile.so): Likewise.
1171 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1172 libc_nonshared.a.
1173 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1174 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1175 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1176 $(link-libc-deps).
1177 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1178 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1179 * login/Makefile ($(objpfx)libutil.so): Likewise.
1180 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1181 * math/Makefile ($(objpfx)libm.so): Likewise.
1182 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1183 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1184 variable instead of depending directly on libc.
1185 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1186 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1187 $(link-libc-deps).
1188 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1189 libc.
1190 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1191 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1192 ($(objpfx)libanl.so): Likewise.
1193 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1194 ld.so.
1195 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1196 $(link-libc-deps).
1197 * sysdeps/i386/fpu/Makefile: Remove file.
1198 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1199 ($(objpfx)libm.so): Remove dependency on ld.so.
1200
eca5920c
PF
12012013-05-30 Patsy Franklin <pfrankli@redhat.com>
1202
1203 [BZ # 15553]
1204 * nis/yp_xdr.c (XDRMAXNAME): Define.
1205 (XDRMAXRECORD): Define.
1206 (xdr_domainname): Use XDRMAXNAME.
1207 (xdr_mapname): Likewise.
1208 (xdr_peername): Likewise.
1209 (xdr_keydat): Use XDRMAXRECORD.
1210 (xdr_valdat): Likewise.
1211
12122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1213
1214 [BZ #14256]
1215 * manual/errno.texi (ESTALE): Update to account for more than
1216 just NFS file systems.
1217 * sysdeps/gnu/errlist.c: Regenerated.
1218
b9375348
SP
12192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1220
1221 [BZ #15465]
1222 * elf/Makefile (tests): Add tst-null-argv.
1223 (modules-names): Add tst-null-argv-lib.
1224 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1225 (tst-null-argv-ENV): Set environment for tst-null-argv.
1226 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1227 (RTLD_PROGNAME): New macro.
1228 * elf/tst-null-argv.c: New test case.
1229 * elf/tst-null-argv-lib.c: Library for test case.
1230 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1231 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1232 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1233 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1234 * elf/dl-init.c (call_init): Likewise.
1235 (_dl_init): Likewise.
1236 * elf/dl-load.c (print_search_path): Likewise.
1237 (_dl_map_object): Likewise.
1238 * elf/dl-lookup.c (do_lookup_x): Likewise.
1239 (add_dependency): Likewise.
1240 (_dl_lookup_symbol_x): Likewise.
1241 (_dl_debug_bindings): Likewise.
1242 * elf/dl-open.c (_dl_show_scope): Likewise.
1243 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1244 * elf/dl-version.c (match_symbol): Likewise.
1245 (_dl_check_map_versions): Likewise.
1246 * elf/rtld.c (dl_main): Likewise.
1247 (print_unresolved): Use RTLD_PROGNAME.
1248 (print_missing_version): Likewise.
1249 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1250 (elf_machine_rela): Likewise.
1251 * sysdeps/powerpc/powerpc32/dl-machine.c
1252 (__process_machine_rela): Likewise.
1253 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1254 Likewise.
1255 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1256 Likewise.
1257 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1258 Likewise.
1259 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1260 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1261 Likewise.
1262 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1263 Likewise.
1264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1265
8a9f20c8
CD
12662013-05-28 Carlos O'Donell <carlos@redhat.com>
1267
1268 * po/be.po: Add descriptive title.
1269 * po/zh_CN.po: Likewise.
1270 * po/header.pot: Likewise.
1271
0e60d68e
MF
12722013-05-28 Mike Frysinger <vapier@gentoo.org>
1273
1274 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1275 error message.
1276 (enlarge_archive): Likewise.
1277
56b672e9
BN
12782013-05-28 Ben North <ben@redfrontdoor.org>
1279
1280 * manual/arith.texi (frexp): It is the magnitude of the return
1281 value which lies in [0.5, 1), not the return value itself.
1282
5e056687
AZ
12832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1284
1285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1286
2b66ef5d
TS
12872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1288
528c2405
TS
1289 * stdio-common/bug26.c (main): Correct fscanf template.
1290
07b4c13d
TS
1291 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1292 declare _dl_skip_args.
1293
ec9dd97c
TS
1294 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1295 Don't declare.
1296
2b66ef5d
TS
1297 * manual/platform.texi: Add missing @end deftypefun.
1298
4f8dfe27
JM
12992013-05-24 Joseph Myers <joseph@codesourcery.com>
1300
0323d086
JM
1301 [BZ #15529]
1302 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1303 bit of mantissa of 2^16382.
1304 * math/libm-test.inc (hypot_test_data): Add more tests.
1305
dd4259b9
JM
1306 * math/libm-test.inc: Add drem and pow10 to list of tested
1307 functions.
1308 (pow10_test): New function.
1309 (drem_test): Likewise.
1310 (drem_test_tonearest): Likewise.
1311 (drem_test_towardzero): Likewise.
1312 (drem_test_downward): Likewise.
1313 (drem_test_upward): Likewise.
1314 (main): Call the new functions.
1315
4f8dfe27
JM
1316 * math/libm-test.inc (finite_test_data): Remove.
1317 (finite_test): Run tests from isfinite_test_data.
1318 (gamma_test_data): Remove.
1319 (gamma_test): Run tests from lgamma_test_data.
1320 * sysdeps/i386/fpu/libm-test-ulps: Update.
1321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1322
d116b7c4
AZ
13232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1324
1325 * manual/platform.texi: Add PowerPC PPR function set documentation.
1326 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1327 implementation.
1328
e96e3767
CD
13292013-05-24 Carlos O'Donell <carlos@redhat.com>
1330
1331 * math/libm-test.inc (MAX_EXP): Define.
1332 (ULPDIFF): Define.
1333 (ulp): New function.
1334 (check_float_internal): Use ULPDIFF.
1335 (cpow_test): Disable failing test.
1336 (check_ulp): Test ulp() implemetnation.
1337 (main): Call check_ulp before starting tests.
1338
b679a606
JM
13392013-05-24 Joseph Myers <joseph@codesourcery.com>
1340
e8bdba36
JM
1341 * math/gen-libm-test.pl (generate_testfile): Do not handle
1342 START_DATA and END_DATA.
1343 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1344 END_DATA.
1345 (acos_tonearest_test_data): Likewise.
1346 (acos_towardzero_test_data): Likewise.
1347 (acos_downward_test_data): Likewise.
1348 (acos_upward_test_data): Likewise.
1349 (acosh_test_data): Likewise.
1350 (asin_test_data): Likewise.
1351 (asin_tonearest_test_data): Likewise.
1352 (asin_towardzero_test_data): Likewise.
1353 (asin_downward_test_data): Likewise.
1354 (asin_upward_test_data): Likewise.
1355 (asinh_test_data): Likewise.
1356 (atan_test_data): Likewise.
1357 (atanh_test_data): Likewise.
1358 (atan2_test_data): Likewise.
1359 (cabs_test_data): Likewise.
1360 (cacos_test_data): Likewise.
1361 (cacosh_test_data): Likewise.
1362 (carg_test_data): Likewise.
1363 (casin_test_data): Likewise.
1364 (casinh_test_data): Likewise.
1365 (catan_test_data): Likewise.
1366 (catanh_test_data): Likewise.
1367 (cbrt_test_data): Likewise.
1368 (ccos_test_data): Likewise.
1369 (ccosh_test_data): Likewise.
1370 (ceil_test_data): Likewise.
1371 (cexp_test_data): Likewise.
1372 (cimag_test_data): Likewise.
1373 (clog_test_data): Likewise.
1374 (clog10_test_data): Likewise.
1375 (conj_test_data): Likewise.
1376 (copysign_test_data): Likewise.
1377 (cos_test_data): Likewise.
1378 (cos_tonearest_test_data): Likewise.
1379 (cos_towardzero_test_data): Likewise.
1380 (cos_downward_test_data): Likewise.
1381 (cos_upward_test_data): Likewise.
1382 (cosh_test_data): Likewise.
1383 (cosh_tonearest_test_data): Likewise.
1384 (cosh_towardzero_test_data): Likewise.
1385 (cosh_downward_test_data): Likewise.
1386 (cosh_upward_test_data): Likewise.
1387 (cpow_test_data): Likewise.
1388 (cproj_test_data): Likewise.
1389 (creal_test_data): Likewise.
1390 (csin_test_data): Likewise.
1391 (csinh_test_data): Likewise.
1392 (csqrt_test_data): Likewise.
1393 (ctan_test_data): Likewise.
1394 (ctan_tonearest_test_data): Likewise.
1395 (ctan_towardzero_test_data): Likewise.
1396 (ctan_downward_test_data): Likewise.
1397 (ctan_upward_test_data): Likewise.
1398 (ctanh_test_data): Likewise.
1399 (ctanh_tonearest_test_data): Likewise.
1400 (ctanh_towardzero_test_data): Likewise.
1401 (ctanh_downward_test_data): Likewise.
1402 (ctanh_upward_test_data): Likewise.
1403 (erf_test_data): Likewise.
1404 (erfc_test_data): Likewise.
1405 (exp_test_data): Likewise.
1406 (exp_tonearest_test_data): Likewise.
1407 (exp_towardzero_test_data): Likewise.
1408 (exp_downward_test_data): Likewise.
1409 (exp_upward_test_data): Likewise.
1410 (exp10_test_data): Likewise.
1411 (exp2_test_data): Likewise.
1412 (expm1_test_data): Likewise.
1413 (fabs_test_data): Likewise.
1414 (fdim_test_data): Likewise.
1415 (finite_test_data): Likewise.
1416 (floor_test_data): Likewise.
1417 (fma_test_data): Likewise.
1418 (fma_towardzero_test_data): Likewise.
1419 (fma_downward_test_data): Likewise.
1420 (fma_upward_test_data): Likewise.
1421 (fmax_test_data): Likewise.
1422 (fmin_test_data): Likewise.
1423 (fmod_test_data): Likewise.
1424 (fpclassify_test_data): Likewise.
1425 (frexp_test_data): Likewise.
1426 (gamma_test_data): Likewise.
1427 (hypot_test_data): Likewise.
1428 (ilogb_test_data): Likewise.
1429 (isfinite_test_data): Likewise.
1430 (isgreater_test_data): Likewise.
1431 (isgreaterequal_test_data): Likewise.
1432 (isinf_test_data): Likewise.
1433 (isless_test_data): Likewise.
1434 (islessequal_test_data): Likewise.
1435 (islessgreater_test_data): Likewise.
1436 (isnan_test_data): Likewise.
1437 (isnormal_test_data): Likewise.
1438 (issignaling_test_data): Likewise.
1439 (isunordered_test_data): Likewise.
1440 (j0_test_data): Likewise.
1441 (j1_test_data): Likewise.
1442 (jn_test_data): Likewise.
1443 (ldexp_test_data): Likewise.
1444 (lgamma_test_data): Likewise.
1445 (lrint_test_data): Likewise.
1446 (lrint_tonearest_test_data): Likewise.
1447 (lrint_towardzero_test_data): Likewise.
1448 (lrint_downward_test_data): Likewise.
1449 (lrint_upward_test_data): Likewise.
1450 (llrint_test_data): Likewise.
1451 (llrint_tonearest_test_data): Likewise.
1452 (llrint_towardzero_test_data): Likewise.
1453 (llrint_downward_test_data): Likewise.
1454 (llrint_upward_test_data): Likewise.
1455 (log_test_data): Likewise.
1456 (log10_test_data): Likewise.
1457 (log1p_test_data): Likewise.
1458 (log2_test_data): Likewise.
1459 (logb_test_data): Likewise.
1460 (logb_downward_test_data): Likewise.
1461 (lround_test_data): Likewise.
1462 (llround_test_data): Likewise.
1463 (modf_test_data): Likewise.
1464 (nearbyint_test_data): Likewise.
1465 (nextafter_test_data): Likewise.
1466 (nexttoward_test_data): Likewise.
1467 (pow_test_data): Likewise.
1468 (pow_tonearest_test_data): Likewise.
1469 (pow_towardzero_test_data): Likewise.
1470 (pow_downward_test_data): Likewise.
1471 (pow_upward_test_data): Likewise.
1472 (remainder_test_data): Likewise.
1473 (remainder_tonearest_test_data): Likewise.
1474 (remainder_towardzero_test_data): Likewise.
1475 (remainder_downward_test_data): Likewise.
1476 (remainder_upward_test_data): Likewise.
1477 (remquo_test_data): Likewise.
1478 (rint_test_data): Likewise.
1479 (rint_tonearest_test_data): Likewise.
1480 (rint_towardzero_test_data): Likewise.
1481 (rint_downward_test_data): Likewise.
1482 (rint_upward_test_data): Likewise.
1483 (round_test_data): Likewise.
1484 (scalb_test_data): Likewise.
1485 (scalbn_test_data): Likewise.
1486 (scalbln_test_data): Likewise.
1487 (signbit_test_data): Likewise.
1488 (sin_test_data): Likewise.
1489 (sin_tonearest_test_data): Likewise.
1490 (sin_towardzero_test_data): Likewise.
1491 (sin_downward_test_data): Likewise.
1492 (sin_upward_test_data): Likewise.
1493 (sincos_test_data): Likewise.
1494 (sinh_test_data): Likewise.
1495 (sinh_tonearest_test_data): Likewise.
1496 (sinh_towardzero_test_data): Likewise.
1497 (sinh_downward_test_data): Likewise.
1498 (sinh_upward_test_data): Likewise.
1499 (sqrt_test_data): Likewise.
1500 (tan_test_data): Likewise.
1501 (tan_tonearest_test_data): Likewise.
1502 (tan_towardzero_test_data): Likewise.
1503 (tan_downward_test_data): Likewise.
1504 (tan_upward_test_data): Likewise.
1505 (tanh_test_data): Likewise.
1506 (tgamma_test_data): Likewise.
1507 (trunc_test_data): Likewise.
1508 (y0_test_data): Likewise.
1509 (y1_test_data): Likewise.
1510 (yn_test_data): Likewise.
1511 (significand_test_data): Likewise.
1512
b679a606
JM
1513 * math/gen-libm-test.pl (@functions): Remove variable.
1514 (generate_testfile): Don't handle START and END lines.
1515 * math/libm-test.inc (START): New macro.
1516 (END): Likewise.
1517 (END_COMPLEX): Likewise.
1518 (acos_test): Use END macro without arguments.
1519 (acos_test_tonearest): Likewise.
1520 (acos_test_towardzero): Likewise.
1521 (acos_test_downward): Likewise.
1522 (acos_test_upward): Likewise.
1523 (acosh_test): Likewise.
1524 (asin_test): Likewise.
1525 (asin_test_tonearest): Likewise.
1526 (asin_test_towardzero): Likewise.
1527 (asin_test_downward): Likewise.
1528 (asin_test_upward): Likewise.
1529 (asinh_test): Likewise.
1530 (atan_test): Likewise.
1531 (atanh_test): Likewise.
1532 (atan2_test): Likewise.
1533 (cabs_test): Likewise.
1534 (cacos_test): Use END_COMPLEX macro without arguments.
1535 (cacosh_test): Likewise.
1536 (carg_test): Use END macro without arguments.
1537 (casin_test): Use END_COMPLEX macro without arguments.
1538 (casinh_test): Likewise.
1539 (catan_test): Likewise.
1540 (catanh_test): Likewise.
1541 (cbrt_test): Use END macro without arguments.
1542 (ccos_test): Use END_COMPLEX macro without arguments.
1543 (ccosh_test): Likewise.
1544 (ceil_test): Use END macro without arguments.
1545 (cexp_test): Use END_COMPLEX macro without arguments.
1546 (cimag_test): Use END macro without arguments.
1547 (clog_test): Use END_COMPLEX macro without arguments.
1548 (clog10_test): Likewise.
1549 (conj_test): Likewise.
1550 (copysign_test): Use END macro without arguments.
1551 (cos_test): Likewise.
1552 (cos_test_tonearest): Likewise.
1553 (cos_test_towardzero): Likewise.
1554 (cos_test_downward): Likewise.
1555 (cos_test_upward): Likewise.
1556 (cosh_test): Likewise.
1557 (cosh_test_tonearest): Likewise.
1558 (cosh_test_towardzero): Likewise.
1559 (cosh_test_downward): Likewise.
1560 (cosh_test_upward): Likewise.
1561 (cpow_test): Use END_COMPLEX macro without arguments.
1562 (cproj_test): Likewise.
1563 (creal_test): Use END macro without arguments.
1564 (csin_test): Use END_COMPLEX macro without arguments.
1565 (csinh_test): Likewise.
1566 (csqrt_test): Likewise.
1567 (ctan_test): Likewise.
1568 (ctan_test_tonearest): Likewise.
1569 (ctan_test_towardzero): Likewise.
1570 (ctan_test_downward): Likewise.
1571 (ctan_test_upward): Likewise.
1572 (ctanh_test): Likewise.
1573 (ctanh_test_tonearest): Likewise.
1574 (ctanh_test_towardzero): Likewise.
1575 (ctanh_test_downward): Likewise.
1576 (ctanh_test_upward): Likewise.
1577 (erf_test): Use END macro without arguments.
1578 (erfc_test): Likewise.
1579 (exp_test): Likewise.
1580 (exp_test_tonearest): Likewise.
1581 (exp_test_towardzero): Likewise.
1582 (exp_test_downward): Likewise.
1583 (exp_test_upward): Likewise.
1584 (exp10_test): Likewise.
1585 (exp2_test): Likewise.
1586 (expm1_test): Likewise.
1587 (fabs_test): Likewise.
1588 (fdim_test): Likewise.
1589 (finite_test): Likewise.
1590 (floor_test): Likewise.
1591 (fma_test): Likewise.
1592 (fma_test_towardzero): Likewise.
1593 (fma_test_downward): Likewise.
1594 (fma_test_upward): Likewise.
1595 (fmax_test): Likewise.
1596 (fmin_test): Likewise.
1597 (fmod_test): Likewise.
1598 (fpclassify_test): Likewise.
1599 (frexp_test): Likewise.
1600 (gamma_test): Likewise.
1601 (hypot_test): Likewise.
1602 (ilogb_test): Likewise.
1603 (isfinite_test): Likewise.
1604 (isgreater_test): Likewise.
1605 (isgreaterequal_test): Likewise.
1606 (isinf_test): Likewise.
1607 (isless_test): Likewise.
1608 (islessequal_test): Likewise.
1609 (islessgreater_test): Likewise.
1610 (isnan_test): Likewise.
1611 (isnormal_test): Likewise.
1612 (issignaling_test): Likewise.
1613 (isunordered_test): Likewise.
1614 (j0_test): Likewise.
1615 (j1_test): Likewise.
1616 (jn_test): Likewise.
1617 (ldexp_test): Likewise.
1618 (lgamma_test): Likewise.
1619 (lrint_test): Likewise.
1620 (lrint_test_tonearest): Likewise.
1621 (lrint_test_towardzero): Likewise.
1622 (lrint_test_downward): Likewise.
1623 (lrint_test_upward): Likewise.
1624 (llrint_test): Likewise.
1625 (llrint_test_tonearest): Likewise.
1626 (llrint_test_towardzero): Likewise.
1627 (llrint_test_downward): Likewise.
1628 (llrint_test_upward): Likewise.
1629 (log_test): Likewise.
1630 (log10_test): Likewise.
1631 (log1p_test): Likewise.
1632 (log2_test): Likewise.
1633 (logb_test): Likewise.
1634 (logb_test_downward): Likewise.
1635 (lround_test): Likewise.
1636 (llround_test): Likewise.
1637 (modf_test): Likewise.
1638 (nearbyint_test): Likewise.
1639 (nextafter_test): Likewise.
1640 (nexttoward_test): Likewise.
1641 (pow_test): Likewise.
1642 (pow_test_tonearest): Likewise.
1643 (pow_test_towardzero): Likewise.
1644 (pow_test_downward): Likewise.
1645 (pow_test_upward): Likewise.
1646 (remainder_test): Likewise.
1647 (remainder_test_tonearest): Likewise.
1648 (remainder_test_towardzero): Likewise.
1649 (remainder_test_downward): Likewise.
1650 (remainder_test_upward): Likewise.
1651 (remquo_test): Likewise.
1652 (rint_test): Likewise.
1653 (rint_test_tonearest): Likewise.
1654 (rint_test_towardzero): Likewise.
1655 (rint_test_downward): Likewise.
1656 (rint_test_upward): Likewise.
1657 (round_test): Likewise.
1658 (scalb_test): Likewise.
1659 (scalbn_test): Likewise.
1660 (scalbln_test): Likewise.
1661 (signbit_test): Likewise.
1662 (sin_test): Likewise.
1663 (sin_test_tonearest): Likewise.
1664 (sin_test_towardzero): Likewise.
1665 (sin_test_downward): Likewise.
1666 (sin_test_upward): Likewise.
1667 (sincos_test): Likewise.
1668 (sinh_test): Likewise.
1669 (sinh_test_tonearest): Likewise.
1670 (sinh_test_towardzero): Likewise.
1671 (sinh_test_downward): Likewise.
1672 (sinh_test_upward): Likewise.
1673 (sqrt_test): Likewise.
1674 (tan_test): Likewise.
1675 (tan_test_tonearest): Likewise.
1676 (tan_test_towardzero): Likewise.
1677 (tan_test_downward): Likewise.
1678 (tan_test_upward): Likewise.
1679 (tanh_test): Likewise.
1680 (tgamma_test): Likewise.
1681 (trunc_test): Likewise.
1682 (y0_test): Likewise.
1683 (y1_test): Likewise.
1684 (yn_test): Likewise.
1685 (significand_test): Likewise.
1686
bae143d2
OB
16872013-05-24 Ondřej Bílka <neleai@seznam.cz>
1688
1689 [BZ #15381]
1690 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1691
9323d39b
EM
16922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1693
d4ea44a0 1694 [BZ #14894]
9323d39b
EM
1695 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1696 __ppc_mdoio and __ppc_mdoom.
1697 * manual/platform.texi: Document new functions __ppc_yield,
1698 __ppc_mdoio and __ppc_mdoom.
1699
13e23af7
CD
17002013-05-22 Carlos O'Donell <carlos@redhat.com>
1701
1702 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1703 (main): Mention "tls" pseudo-hwcap is legacy.
1704 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1705
351fe550
JM
17062013-05-22 Joseph Myers <joseph@codesourcery.com>
1707
1708 * math/gen-libm-test.pl (parse_args): Output only string of
1709 arguments as text for test name, not full call or descriptions of
1710 tests for extra outputs.
1711 (generate_testfile): Do not pass function name to parse_args.
1712 Generate this_func variable from START.
1713 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1714 field to arg_str.
1715 (struct test_ff_f_data): Likewise.
1716 (test_ff_f_data_nexttoward): Likewise.
1717 (struct test_fi_f_data): Likewise.
1718 (struct test_fl_f_data): Likewise.
1719 (struct test_if_f_data): Likewise.
1720 (struct test_fff_f_data): Likewise.
1721 (struct test_c_f_data): Likewise.
1722 (struct test_f_f1_data): Likewise. Remove field extra_name.
1723 (struct test_fF_f1_data): Likewise.
1724 (struct test_ffI_f1_data): Likewise.
1725 (struct test_c_c_data): Rename test_name field to arg_str.
1726 (struct test_cc_c_data): Likewise.
1727 (struct test_f_i_data): Likewise.
1728 (struct test_ff_i_data): Likewise.
1729 (struct test_f_l_data): Likewise.
1730 (struct test_f_L_data): Likewise.
1731 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1732 and extra2_name.
1733 (COMMON_TEST_SETUP): New macro.
1734 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1735 (COMMON_TEST_CLEANUP): Likewise.
1736 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1737 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1738 macros.
1739 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1740 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1741 macros.
1742 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1743 (RUN_TEST_fff_f): Take argument string. Call new setup and
1744 cleanup macros.
1745 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1746 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1747 macros.
1748 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1749 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1750 macros.
1751 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1752 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1753 cleanup macros.
1754 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1755 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1756 cleanup macros.
1757 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1758 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1759 cleanup macros.
1760 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1761 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1762 macros.
1763 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1764 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1765 macros.
1766 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1767 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1768 macros.
1769 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1770 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1771 cleanup macros.
1772 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1773 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1774 cleanup macros.
1775 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1776 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1777 macros.
1778 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1779 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1780 cleanup macros.
1781 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1782 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1783 macros.
1784 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1785 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1786 macros.
1787 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1788 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1789 cleanup macros.
1790 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1791
85118d4d
EBM
17922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1793
1794 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1795 to _sifields.sigfault.
1796 (si_addr_lsb): Define new macro.
1797 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1798 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1799 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1800
7a44c18f
CD
18012013-05-03 Carlos O'Donell <carlos at redhat.com>
1802
1803 [BZ #15441]
1804 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1805 returns -1.
1806 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1807 null return -1.
1808 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1809 loading the domain.
1810
b50a7181
JM
18112013-05-22 Joseph Myers <joseph@codesourcery.com>
1812
1813 * math/gen-libm-test.pl (parse_args): Do not include expected
1814 result in test name.
1815 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1817 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1818 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1819 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1821
051063c8
SP
18222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1823
3ce9e010
SP
1824 * benchtests/Makefile: Sort function entries.
1825
051063c8
SP
1826 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1827 tanh, asinh, acosh, atanh.
1828 * benchtests/acos-inputs: New file.
1829 * benchtests/acosh-inputs: New file.
1830 * benchtests/asin-inputs: New file.
1831 * benchtests/asinh-inputs: New file.
1832 * benchtests/atanh-inputs: New file.
1833 * benchtests/cosh-inputs: New file.
1834 * benchtests/log-inputs: New file.
1835 * benchtests/sinh-inputs: New file.
1836 * benchtests/tanh-inputs: New file.
1837
47c22455
DL
18382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1839
1840 [BZ #15339]
1841 * posix/tst-getaddrinfo4.c: New test.
1842 * posix/Makefile (tests): Add it.
1843
3d04f5db
SP
18442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1845
1846 [BZ #15339]
1847 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1848 when no services were used.
1849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1850 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1851
d5dd6189
AS
18522013-05-21 Andreas Schwab <schwab@suse.de>
1853
1854 [BZ #15014]
1855 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1856 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1857 successful.
1858 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1859 redundant variable declarations and reallocation of buffer when
1860 parsing as IPv6 address. Always set NSS status when called from
1861 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1862 buffer too small. Correct computation of needed size.
1863 * nss/Makefile (tests): Add test-digits-dots.
1864 * nss/test-digits-dots.c: New test.
1865
fef94eab
SP
18662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
1868 * benchtests/Makefile: Remove instructions for adding
1869 benchmark tests.
1870 * benchtests/README: New file to explain how to execute and
1871 enhance the benchmark tests.
1872
e39adf43
AS
18732013-05-21 Andreas Schwab <schwab@suse.de>
1874
1875 [BZ #15493]
1876 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1877 * setjmp/tst-sigsetjmp.c: New test.
1878
b2b671b6
OB
18792013-05-20 Ondřej Bílka <neleai@seznam.cz>
1880
1881 * sysdeps/x86_64/memset.S (memset): New implementation.
1882 (__bzero): Likewise.
1883 (__memset_tail): New function.
1884
2d48b41c
OB
18852013-05-20 Ondřej Bílka <neleai@seznam.cz>
1886
1887 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1888 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1889 __memcpy_sse2_unaligned ifunc selection.
1890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1891 Add memcpy-sse2-unaligned.S.
1892 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1893 Add: __memcpy_sse2_unaligned.
1894
f16cc3eb
JM
18952013-05-19 Joseph Myers <joseph@codesourcery.com>
1896
3e694268
JM
1897 [BZ #15490]
1898 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1899 math_force_eval before restoring floating-point envrionment.
1900 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1902 Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1904 <math_private.h>.
1905 (__nearbyintl): Use math_force_eval before restoring
1906 floating-point environment.
1907 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1908
db62a907
JM
1909 * math/gen-libm-test.pl (special_functions): Remove.
1910 (parse_args): Don't handle TEST_extra. Handle functions with no
1911 return value.
1912 * math/libm-test.inc (struct test_sincos_data): Replace with
1913 struct test_fFF_11_data.
1914 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1915 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1916 (sincos_test_data): Change element type to struct
1917 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1918 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1919 RUN_TEST_LOOP_sincos.
1920 * math/README.libm-test: Don't mention special handling of
1921 individual functions.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1925 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1926 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1928
f16cc3eb
JM
1929 * math/gen-libm-test.pl (get_variable): Remove function.
1930 (parse_args): Don't show pointer parameters to call in test
1931 names. Use "extra output N" in test names for extra outputs
1932 rather than naming variables.
1933
3779b5b6
JM
19342013-05-18 Joseph Myers <joseph@codesourcery.com>
1935
2ee094ff
JM
1936 [BZ #15488]
1937 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1938 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1939 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1940 double tests.
1941 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1942 disable.
1943 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1944 check_long_double.
1945
3779b5b6
JM
1946 * math/gen-libm-test.pl (@tests): Remove variable.
1947 ($count): Likewise.
1948 (new_test): Remove function.
1949 (show_exceptions): New function.
1950 (special_functions): Use show_exceptions instead of new_test.
1951 (parse_args): Likewise.
1952 (generate_testfile): Pass only function name in generated call to
1953 print_max_error or print_complex_max_error.
1954 (get_ulps): Do not handle complex tests specially.
1955 (output_test): Rename to ...
1956 (get_all_ulps_for_test): ... this. Return a string rather than
1957 printing to a file. Require ulps to be present.
1958 (output_ulps): Generate arrays rather than #defines.
1959 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1960 (struct ulp_data): New type.
1961 (BUILD_COMPLEX_ULP): Remove macro.
1962 (compare_ulp_data): New function.
1963 (find_ulps): Likewise.
1964 (find_test_ulps): Likewise.
1965 (find_function_ulps): Likewise.
1966 (find_complex_function_ulps): Likewise.
1967 (print_max_error): Determine allowed ulps using
1968 find_function_ulps.
1969 (print_complex_max_error): Determine allowed ulps using
1970 find_complex_function_ulps.
1971 (check_float_internal): Determine max ulps using find_test_ulps.
1972 (check_float): Do not take max_ulp parameter. Update call to
1973 check_float_internal.
1974 (check_complex): Likewise.
1975 (check_int): Do not take max_ulp parameter.
1976 (check_long): Likewise.
1977 (check_bool): Likewise.
1978 (check_longlong): Likewise.
1979 (struct test_f_f_data): Remove max_ulp field.
1980 (struct test_ff_f_data): Likewise.
1981 (struct test_ff_f_data_nexttoward): Likewise.
1982 (struct test_fi_f_data): Likewise.
1983 (struct test_fl_f_data): Likewise.
1984 (struct test_if_f_data): Likewise.
1985 (struct test_fff_f_data): Likewise.
1986 (struct test_c_f_data): Likewise.
1987 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1988 (struct test_fF_f1_data): Likewise.
1989 (struct test_ffI_f1_data): Likewise.
1990 (struct test_c_c_data): Remove max_ulp field.
1991 (struct test_cc_c_data): Likewise.
1992 (struct test_f_i_data): Likewise.
1993 (struct test_ff_i_data): Likewise.
1994 (struct test_f_l_data): Likewise.
1995 (struct test_f_L_data): Likewise.
1996 (struct test_sincos_data): Likewise.
1997 (RUN_TEST_f_f): Do not handle ulps.
1998 (RUN_TEST_LOOP_f_f): Likewise.
1999 (RUN_TEST_2_f): Likewise.
2000 (RUN_TEST_LOOP_2_f): Likewise.
2001 (RUN_TEST_fff_f): Likewise.
2002 (RUN_TEST_LOOP_fff_f): Likewise.
2003 (RUN_TEST_c_f): Likewise.
2004 (RUN_TEST_LOOP_c_f): Likewise.
2005 (RUN_TEST_f_f1): Likewise.
2006 (RUN_TEST_LOOP_f_f1): Likewise.
2007 (RUN_TEST_fF_f1): Likewise.
2008 (RUN_TEST_LOOP_fF_f1): Likewise.
2009 (RUN_TEST_fI_f1): Likewise.
2010 (RUN_TEST_LOOP_fI_f1): Likewise.
2011 (RUN_TEST_ffI_f1): Likewise.
2012 (RUN_TEST_LOOP_ffI_f1): Likewise.
2013 (RUN_TEST_c_c): Likewise.
2014 (RUN_TEST_LOOP_c_c): Likewise.
2015 (RUN_TEST_cc_c): Likewise.
2016 (RUN_TEST_LOOP_cc_c): Likewise.
2017 (RUN_TEST_f_i): Likewise.
2018 (RUN_TEST_LOOP_f_i): Likewise.
2019 (RUN_TEST_f_i_tg): Likewise.
2020 (RUN_TEST_LOOP_f_i_tg): Likewise.
2021 (RUN_TEST_ff_i_tg): Likewise.
2022 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2023 (RUN_TEST_f_b): Likewise.
2024 (RUN_TEST_LOOP_f_b): Likewise.
2025 (RUN_TEST_f_b_tg): Likewise.
2026 (RUN_TEST_LOOP_f_b_tg): Likewise.
2027 (RUN_TEST_f_l): Likewise.
2028 (RUN_TEST_LOOP_f_l): Likewise.
2029 (RUN_TEST_f_L): Likewise.
2030 (RUN_TEST_LOOP_f_L): Likewise.
2031 (RUN_TEST_sincos): Likewise.
2032 (RUN_TEST_LOOP_sincos): Likewise.
2033
8269107f
JM
20342013-05-17 Joseph Myers <joseph@codesourcery.com>
2035
bb38759d
JM
2036 [BZ #15480]
2037 [BZ #15485]
2038 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2039 main case of finite arguments, set rounding mode to FE_TONEAREST
2040 and discard exceptions.
2041 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2042 exceptions.
2043 (remainder_tonearest_test_data): New variable.
2044 (remainder_test_tonearest): New function.
2045 (remainder_towardzero_test_data): New variable.
2046 (remainder_test_towardzero): New function.
2047 (remainder_downward_test_data): New variable.
2048 (remainder_test_downward): New function.
2049 (remainder_upward_test_data): New variable.
2050 (remainder_test_upward): New function.
2051 (main): Call the new test functions.
2052
a00bdcf0
JM
2053 * math/libm-test.inc (struct test_f_f1_data): Remove field
2054 extra_init.
2055 (struct test_fF_f1_data): Likewise.
2056 (struct test_ffI_f1_data): Likewise.
2057 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2058 based on value of EXTRA_EXPECTED.
2059 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2060 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2061 EXTRA_VAR based on value of EXTRA_EXPECTED.
2062 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2063 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2064 EXTRA_VAR based on value of EXTRA_EXPECTED.
2065 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2066 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2067 EXTRA_VAR based on value of EXTRA_EXPECTED.
2068 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2069 * math/gen-libm-test.pl (parse_args): Don't output initializers
2070 for extra output values.
2071
de407f79
JM
2072 * math/libm-test.inc (check_int): Expect result to be exactly
2073 equal to expected value and do not handle ulps.
2074 (check_long): Likewise.
2075 (check_longlong): Likewise.
2076
8269107f
JM
2077 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2078 exceptions.
2079 (cimag_test_data): Likewise.
2080 (conj_test_data): Likewise.
2081 (copysign_test_data): Likewise.
2082 (cproj_test_data): Likewise.
2083 (creal_test_data): Likewise.
2084 (fabs_test_data): Likewise.
2085 (fdim_test_data): Likewise.
2086 (finite_test_data): Likewise.
2087 (floor_test_data): Likewise.
2088 (fmax_test_data): Likewise.
2089 (fmin_test_data): Likewise.
2090 (fmod_test_data): Likewise.
2091 (fpclassify_test_data): Likewise.
2092 (frexp_test_data): Likewise.
2093 (ilogb_test_data): Likewise.
2094 (isfinite_test_data): Likewise.
2095 (isgreater_test_data): Likewise.
2096 (isgreaterequal_test_data): Likewise.
2097 (isinf_test_data): Likewise.
2098 (isless_test_data): Likewise.
2099 (islessequal_test_data): Likewise.
2100 (islessgreater_test_data): Likewise.
2101 (isnan_test_data): Likewise.
2102 (isnormal_test_data): Likewise.
2103 (issignaling_test_data): Likewise.
2104 (isunordered_test_data): Likewise.
2105 (ldexp_test_data): Likewise.
2106 (lrint_test_data): Likewise.
2107 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2108 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2109 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2110 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2111 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2112 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2113 test input.
2114 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2115 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2116 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2117 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2118 that test input.
2119 (lrint_downward_test_data): Test for "inexact" exceptions.
2120 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2121 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2122 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2123 test input.
2124 (lrint_upward_test_data): Test for "inexact" exceptions.
2125 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2126 test input.
2127 (llrint_test_data): Test for "inexact" exceptions.
2128 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2129 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2130 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2131 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2132 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2133 (llrint_downward_test_data): Test for "inexact" exceptions.
2134 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2135 (llrint_upward_test_data): Test for "inexact" exceptions.
2136 (logb_test_data): Likewise.
2137 (logb_downward_test_data): Likewise.
2138 (nextafter_test_data): Likewise.
2139 (nexttoward_test_data): Likewise.
2140 (remainder_test_data): Likewise.
2141 (remquo_test_data): Likewise.
2142 (scalbn_test_data): Likewise.
2143 (scalbln_test_data): Likewise.
2144 (signbit_test_data): Likewise.
2145 (sqrt_test_data): Likewise.
2146 (significand_test_data): Likewise.
2147
48a18de1
SP
21482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2149
2150 [BZ #15424]
2151 * benchtests/bench-modf.c (struct args): Mark arg0 as
2152 volatile.
2153 * scripts/bench.pl: Mark members of struct args as volatile.
2154
13d3b41a
AZ
21552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156
68191c1d 2157 [BZ # 15497]
13d3b41a
AZ
2158 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2159 negative infinity on POWER6 or lower.
2160 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2161
2848b105
MR
21622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2163
2164 [BZ #15442]
2165 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2166 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2167 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2168 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2169 (_FP_SETQNAN): New macro.
2170 (_FP_SETQNAN_SEMIRAW): Likewise.
2171 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2172 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2173 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2174 (FP_EXTEND): Use _FP_FRAC_SNANP.
2175 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2176 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2177 into account.
2178 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2179 New macro.
2180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2181 Likewise.
2182
323e5cb7
JM
21832013-05-16 Joseph Myers <joseph@codesourcery.com>
2184
c58b274f
JM
2185 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2186 with DIVIDE_BY_ZERO_EXCEPTION.
2187 (gamma_test_data): Likewise.
2188 (lgamma_test_data): Likewise.
2189 (log_test_data): Likewise.
2190 (log10_test_data): Likewise.
2191 (log2_test_data): Likewise.
2192 (tgamma_test_data): Likewise.
2193
0ab34904
JM
2194 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2195 (acos_test_tonearest): Likewise.
2196 (acos_test_towardzero): Likewise.
2197 (acos_test_downward): Likewise.
2198 (acos_test_upward): Likewise.
2199 (acosh_test): Likewise.
2200 (asin_test): Likewise.
2201 (asin_test_tonearest): Likewise.
2202 (asin_test_towardzero): Likewise.
2203 (asin_test_downward): Likewise.
2204 (asin_test_upward): Likewise.
2205 (asinh_test): Likewise.
2206 (atan_test): Likewise.
2207 (atanh_test): Likewise.
2208 (atan2_test): Likewise.
2209 (cabs_test): Likewise.
2210 (cacos_test): Likewise.
2211 (cacosh_test): Likewise.
2212 (casin_test): Likewise.
2213 (casinh_test): Likewise.
2214 (catan_test): Likewise.
2215 (catanh_test): Likewise.
2216 (cbrt_test): Likewise.
2217 (ccos_test): Likewise.
2218 (ccosh_test): Likewise.
2219 (cexp_test): Likewise.
2220 (clog_test): Likewise.
2221 (clog10_test): Likewise.
2222 (cos_test): Likewise.
2223 (cos_test_tonearest): Likewise.
2224 (cos_test_towardzero): Likewise.
2225 (cos_test_downward): Likewise.
2226 (cos_test_upward): Likewise.
2227 (cosh_test): Likewise.
2228 (cosh_test_tonearest): Likewise.
2229 (cosh_test_towardzero): Likewise.
2230 (cosh_test_downward): Likewise.
2231 (cosh_test_upward): Likewise.
2232 (cpow_test): Likewise.
2233 (csin_test): Likewise.
2234 (csinh_test): Likewise.
2235 (csqrt_test): Likewise.
2236 (ctan_test): Likewise.
2237 (ctan_test_tonearest): Likewise.
2238 (ctan_test_towardzero): Likewise.
2239 (ctan_test_downward): Likewise.
2240 (ctan_test_upward): Likewise.
2241 (ctanh_test): Likewise.
2242 (ctanh_test_tonearest): Likewise.
2243 (ctanh_test_towardzero): Likewise.
2244 (ctanh_test_downward): Likewise.
2245 (ctanh_test_upward): Likewise.
2246 (erf_test): Likewise.
2247 (erfc_test): Likewise.
2248 (exp_test): Likewise.
2249 (exp_test_tonearest): Likewise.
2250 (exp_test_towardzero): Likewise.
2251 (exp_test_downward): Likewise.
2252 (exp_test_upward): Likewise.
2253 (exp10_test): Likewise.
2254 (exp2_test): Likewise.
2255 (expm1_test): Likewise.
2256 (fmod_test): Likewise.
2257 (gamma_test): Likewise.
2258 (hypot_test): Likewise.
2259 (j0_test): Likewise.
2260 (j1_test): Likewise.
2261 (jn_test): Likewise.
2262 (lgamma_test): Likewise.
2263 (log_test): Likewise.
2264 (log10_test): Likewise.
2265 (log1p_test): Likewise.
2266 (log2_test): Likewise.
2267 (logb_test_downward): Likewise.
2268 (pow_test): Likewise.
2269 (pow_test_tonearest): Likewise.
2270 (pow_test_towardzero): Likewise.
2271 (pow_test_downward): Likewise.
2272 (pow_test_upward): Likewise.
2273 (remainder_test): Likewise.
2274 (remquo_test): Likewise.
2275 (sin_test): Likewise.
2276 (sin_test_tonearest): Likewise.
2277 (sin_test_towardzero): Likewise.
2278 (sin_test_downward): Likewise.
2279 (sin_test_upward): Likewise.
2280 (sincos_test): Likewise.
2281 (sinh_test): Likewise.
2282 (sinh_test_tonearest): Likewise.
2283 (sinh_test_towardzero): Likewise.
2284 (sinh_test_downward): Likewise.
2285 (sinh_test_upward): Likewise.
2286 (sqrt_test): Likewise.
2287 (tan_test): Likewise.
2288 (tan_test_tonearest): Likewise.
2289 (tan_test_towardzero): Likewise.
2290 (tan_test_downward): Likewise.
2291 (tan_test_upward): Likewise.
2292 (tanh_test): Likewise.
2293 (tgamma_test): Likewise.
2294 (y0_test): Likewise.
2295 (y1_test): Likewise.
2296 (yn_test): Likewise.
2297
323e5cb7
JM
2298 * math/gen-libm-test.pl (adjust_arg): Remove function.
2299 (special_function): Remove argument $in_func. Only handle
2300 generating output for tables of tests, not inside functions.
2301 (parse_args): Likewise.
2302 (generate_testfile): Remove variable $in_func. Update call to
2303 parse_args.
2304 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2305 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2306 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2307 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2308 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2309 (MAX_VALUE_INIT): Rename macro to max_value.
2310 (MIN_VALUE_INIT): Rename macro to min_value.
2311 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2312 (plus_zero): Remove variable.
2313 (minus_zero): Likewise.
2314 (plus_infty): Likewise.
2315 (minus_infty): Likewise.
2316 (qnan_value): Likewise.
2317 (max_value): Likewise.
2318 (min_value): Likewise.
2319 (min_subnorm_value): Likewise.
2320
e054f494
RA
23212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2322
2323 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2324 uint64_t or uint32_t usage.
2325 * crypt/sha256-block.c: Likewise.
2326 * crypt/sha256-crypt.c: Likewise.
2327 * crypt/sha256.c: Likewise.
2328 * crypt/sha512-block.c: Likewise.
2329 * crypt/sha512-crypt.c: Likewise.
2330 * crypt/sha512.c: Likewise.
2331 * debug/backtrace-tst.c: Likewise.
2332 * debug/pcprofiledump.c: Likewise.
2333 * elf/cache.c: Likewise.
2334 * elf/dl-cache.c: Likewise.
2335 * elf/dl-misc.c: Likewise.
2336 * elf/dl-profile.c: Likewise.
2337 * elf/dl-support.c: Likewise.
2338 * elf/ldconfig.c: Likewise.
2339 * elf/sprof.c: Likewise.
2340 * iconv/dummy-repertoire.c: Likewise.
2341 * iconv/iconv_charmap.c: Likewise.
2342 * iconv/skeleton.c: Likewise.
2343 * iconvdata/8bit-generic.c: Likewise.
2344 * iconvdata/cp737.h: Likewise.
2345 * iconvdata/cp775.h: Likewise.
2346 * iconvdata/ibm1008.h: Likewise.
2347 * iconvdata/ibm1025.h: Likewise.
2348 * iconvdata/ibm1046.h: Likewise.
2349 * iconvdata/ibm1097.h: Likewise.
2350 * iconvdata/ibm1112.h: Likewise.
2351 * iconvdata/ibm1122.h: Likewise.
2352 * iconvdata/ibm1123.h: Likewise.
2353 * iconvdata/ibm1124.h: Likewise.
2354 * iconvdata/ibm1129.h: Likewise.
2355 * iconvdata/ibm1130.h: Likewise.
2356 * iconvdata/ibm1132.h: Likewise.
2357 * iconvdata/ibm1133.h: Likewise.
2358 * iconvdata/ibm1137.h: Likewise.
2359 * iconvdata/ibm1140.h: Likewise.
2360 * iconvdata/ibm1141.h: Likewise.
2361 * iconvdata/ibm1142.h: Likewise.
2362 * iconvdata/ibm1143.h: Likewise.
2363 * iconvdata/ibm1144.h: Likewise.
2364 * iconvdata/ibm1145.h: Likewise.
2365 * iconvdata/ibm1146.h: Likewise.
2366 * iconvdata/ibm1147.h: Likewise.
2367 * iconvdata/ibm1148.h: Likewise.
2368 * iconvdata/ibm1149.h: Likewise.
2369 * iconvdata/ibm1153.h: Likewise.
2370 * iconvdata/ibm1154.h: Likewise.
2371 * iconvdata/ibm1155.h: Likewise.
2372 * iconvdata/ibm1156.h: Likewise.
2373 * iconvdata/ibm1157.h: Likewise.
2374 * iconvdata/ibm1158.h: Likewise.
2375 * iconvdata/ibm1160.h: Likewise.
2376 * iconvdata/ibm1161.h: Likewise.
2377 * iconvdata/ibm1162.h: Likewise.
2378 * iconvdata/ibm1163.h: Likewise.
2379 * iconvdata/ibm1164.h: Likewise.
2380 * iconvdata/ibm1166.h: Likewise.
2381 * iconvdata/ibm1167.h: Likewise.
2382 * iconvdata/ibm12712.h: Likewise.
2383 * iconvdata/ibm1390.h: Likewise.
2384 * iconvdata/ibm1399.h: Likewise.
2385 * iconvdata/ibm16804.h: Likewise.
2386 * iconvdata/ibm4517.h: Likewise.
2387 * iconvdata/ibm4899.h: Likewise.
2388 * iconvdata/ibm4909.h: Likewise.
2389 * iconvdata/ibm4971.h: Likewise.
2390 * iconvdata/ibm5347.h: Likewise.
2391 * iconvdata/ibm803.h: Likewise.
2392 * iconvdata/ibm856.h: Likewise.
2393 * iconvdata/ibm901.h: Likewise.
2394 * iconvdata/ibm902.h: Likewise.
2395 * iconvdata/ibm9030.h: Likewise.
2396 * iconvdata/ibm9066.h: Likewise.
2397 * iconvdata/ibm921.h: Likewise.
2398 * iconvdata/ibm922.h: Likewise.
2399 * iconvdata/ibm9448.h: Likewise.
2400 * iconvdata/isiri-3342.h: Likewise.
2401 * iconvdata/jis0201.h: Likewise.
2402 * include/link.h: Likewise.
2403 * include/netdb.h: Likewise.
2404 * inet/check_native.c: Likewise.
2405 * inet/check_pf.c: Likewise.
2406 * inet/getipv4sourcefilter.c: Likewise.
2407 * inet/getnameinfo.c: Likewise.
2408 * inet/getsourcefilter.c: Likewise.
2409 * inet/htonl.c: Likewise.
2410 * inet/setipv4sourcefilter.c: Likewise.
2411 * inet/setsourcefilter.c: Likewise.
2412 * inet/test-inet6_opt.c: Likewise.
2413 * inet/tst-network.c: Likewise.
2414 * locale/C-collate.c: Likewise.
2415 * locale/C-ctype.c: Likewise.
2416 * locale/C-time.c: Likewise.
2417 * locale/C-translit.h: Likewise.
2418 * locale/loadarchive.c: Likewise.
2419 * locale/programs/3level.h: Likewise.
2420 * locale/programs/charmap.c: Likewise.
2421 * locale/programs/charmap.h: Likewise.
2422 * locale/programs/ld-address.c: Likewise.
2423 * locale/programs/ld-collate.c: Likewise.
2424 * locale/programs/ld-ctype.c: Likewise.
2425 * locale/programs/ld-identification.c: Likewise.
2426 * locale/programs/ld-measurement.c: Likewise.
2427 * locale/programs/ld-messages.c: Likewise.
2428 * locale/programs/ld-monetary.c: Likewise.
2429 * locale/programs/ld-name.c: Likewise.
2430 * locale/programs/ld-numeric.c: Likewise.
2431 * locale/programs/ld-paper.c: Likewise.
2432 * locale/programs/ld-telephone.c: Likewise.
2433 * locale/programs/ld-time.c: Likewise.
2434 * locale/programs/linereader.c: Likewise.
2435 * locale/programs/locale.c: Likewise.
2436 * locale/programs/locarchive.c: Likewise.
2437 * locale/programs/locfile.h: Likewise.
2438 * locale/programs/repertoire.c: Likewise.
2439 * locale/programs/simple-hash.c: Likewise.
2440 * locale/programs/simple-hash.h: Likewise.
2441 * malloc/memusage.c: Likewise.
2442 * malloc/memusagestat.c: Likewise.
2443 * nis/nis_defaults.c: Likewise.
2444 * nis/nis_hash.c: Likewise.
2445 * nis/nis_print.c: Likewise.
2446 * nis/nis_xdr.c: Likewise.
2447 * nscd/connections.c: Likewise.
2448 * nscd/hstcache.c: Likewise.
2449 * nscd/nscd_gethst_r.c: Likewise.
2450 * nscd/nscd_getserv_r.c: Likewise.
2451 * nscd/nscd_helper.c: Likewise.
2452 * nscd/servicescache.c: Likewise.
2453 * nss/makedb.c: Likewise.
2454 * nss/nss_db/db-XXX.c: Likewise.
2455 * nss/nss_db/db-initgroups.c: Likewise.
2456 * nss/nss_db/db-netgrp.c: Likewise.
2457 * nss/nss_files/files-network.c: Likewise.
2458 * nss/nss_files/files-parse.c: Likewise.
2459 * posix/bug-regex5.c: Likewise.
2460 * posix/fnmatch_loop.c: Likewise.
2461 * posix/regcomp.c: Likewise.
2462 * posix/regexec.c: Likewise.
2463 * posix/tst-rfc3484-2.c: Likewise.
2464 * posix/tst-rfc3484-3.c: Likewise.
2465 * posix/tst-rfc3484.c: Likewise.
2466 * resolv/nss_dns/dns-canon.c: Likewise.
2467 * resolv/nss_dns/dns-network.c: Likewise.
2468 * resolv/res_init.c: Likewise.
2469 * resolv/res_mkquery.c: Likewise.
2470 * resolv/tst-aton.c: Likewise.
2471 * stdlib/cxa_atexit.c: Likewise.
2472 * stdlib/cxa_finalize.c: Likewise.
2473 * stdlib/gen-fpioconst.c: Likewise.
2474 * stdlib/strtol_l.c: Likewise.
2475 * string/tst-endian.c: Likewise.
2476 * sunrpc/auth_des.c: Likewise.
2477 * sunrpc/clnt_udp.c: Likewise.
2478 * sunrpc/rtime.c: Likewise.
2479 * sunrpc/svcauth_des.c: Likewise.
2480 * sunrpc/xdr.c: Likewise.
2481 * sunrpc/xdr_intXX_t.c: Likewise.
2482 * sunrpc/xdr_rec.c: Likewise.
2483 * sysdeps/generic/ldconfig.h: Likewise.
2484 * sysdeps/generic/ldsodefs.h: Likewise.
2485 * sysdeps/generic/memusage.h: Likewise.
2486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2487 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2488 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2489 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2492 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2493 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2494 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2496 * sysdeps/posix/getaddrinfo.c: Likewise.
2497 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2498 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2499 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2500 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2501 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2502 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2503 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2504 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2505 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2507 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2508 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2509 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2510 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2511 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2512 * sysdeps/x86_64/dl-tls.h: Likewise.
2513 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2514 * time/alt_digit.c: Likewise.
2515 * time/era.c: Likewise.
2516 * wcsmbs/tst-c16c32-1.c: Likewise.
2517
8c75f674
JM
25182013-05-16 Joseph Myers <joseph@codesourcery.com>
2519
2520 * math/libm-test.inc (struct test_sincos_data): New type.
2521 (RUN_TEST_LOOP_sincos): New macro.
2522 (sincos_test_data): New variable.
2523 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2524
e6e49e59
RH
25252013-05-16 Richard Henderson <rth@redhat.com>
2526
2527 * math/atest-exp2.c (LIMB64): New macro.
2528 (CONSTSZ): New macro.
2529 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2530 (hexdig): Move ...
2531 (print_mpn_fp): ... to function scope.
2532 (read_mpn_hex): Remove.
2533 (get_log2): Remove.
2534 (exp2_mpn): Use mp_log2.
2535 (main): Use mp_exp1.
2536
15c7c18d
JM
25372013-05-16 Joseph Myers <joseph@codesourcery.com>
2538
105a07df
JM
2539 * math/libm-test.inc: Remove comment about not testing "inexact"
2540 exceptions.
2541 (INEXACT_EXCEPTION): New macro.
2542 (NO_INEXACT_EXCEPTION): Likewise.
2543 (INVALID_EXCEPTION_OK): Update value.
2544 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2545 (OVERFLOW_EXCEPTION_OK): Likewise.
2546 (UNDERFLOW_EXCEPTION_OK): Likewise.
2547 (IGNORE_ZERO_INF_SIGN): Likewise.
2548 (ERRNO_UNCHANGED): Likewise.
2549 (ERRNO_EDOM): Likewise.
2550 (ERRNO_ERANGE): Likewise.
2551 (test_exceptions): Handle testing "inexact" exceptions.
2552 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2553 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2554 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2555 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2556 INEXACT_EXCEPTION.
2557 (rint_towardzero_test_data): Likewise.
2558 (rint_downward_test_data): Likewise.
2559 (rint_upward_test_data): Likewise.
2560
e9eee333
JM
2561 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2562 with OVERFLOW_EXCEPTION.
2563 (exp10_test_data): Likewise.
2564 (exp2_test_data): Likewise.
2565 (expm1_test_data): Likewise.
2566 (lgamma_test_data): Likewise.
2567 (pow_test_data): Likewise.
2568 (tgamma_test_data): Likewise.
2569 (yn_test_data): Remove duplicate test of overflow.
2570
1c38ff73
JM
2571 * math/libm-test.inc (struct test_cc_c_data): New type.
2572 (RUN_TEST_LOOP_cc_c): New macro.
2573 (cpow_test_data): New variable.
2574 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2575
15c7c18d
JM
2576 * math/libm-test.inc (struct test_f_L_data): New type.
2577 (RUN_TEST_LOOP_f_L): New macro.
2578 (llrint_test_data): New variable.
2579 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2580 (llrint_tonearest_test_data): New variable.
2581 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2582 (llrint_towardzero_test_data): New variable.
2583 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2584 (llrint_downward_test_data): New variable.
2585 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2586 (llrint_upward_test_data): New variable.
2587 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2588 (llround_test_data): New variable.
2589 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2590
f137ff13
PC
25912013-05-13 Peter Collingbourne <pcc@google.com>
2592
2593 * math/atest-exp2.c (get_log2): Remove const attribute.
2594
3608cb24
JM
25952013-05-15 Joseph Myers <joseph@codesourcery.com>
2596
2597 * math/libm-test.inc (struct test_f_l_data): New type.
2598 (RUN_TEST_LOOP_f_l): New macro.
2599 (lrint_test_data): New variable.
2600 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2601 (lrint_tonearest_test_data): New variable.
2602 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2603 (lrint_towardzero_test_data): New variable.
2604 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2605 (lrint_downward_test_data): New variable.
2606 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2607 (lrint_upward_test_data): New variable.
2608 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2609 (lround_test_data): New variable.
2610 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2611
39b1f617
PC
26122013-05-15 Peter Collingbourne <pcc@google.com>
2613
1deff3dc
PC
2614 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2615 (EXTRACT_WORDS64) Use where appropriate.
2616 (INSERT_WORDS64) Likewise.
2617
791f3ba0
PC
2618 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2619 constraints with x constraints.
2620 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2621
39b1f617
PC
2622 * malloc/obstack.c (_obstack_compat): Add initializer.
2623
12fba011
EM
26242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2625
2626 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2627 si_trapno and add si_addr_lsb to _sifields.sigfault.
2628 (si_trapno): Remove macro.
2629 (si_addr_lsb): Define new macro.
2630 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2631
d369f531
JM
26322013-05-15 Joseph Myers <joseph@codesourcery.com>
2633
b861c6c4
JM
2634 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2635 instead of TEST_f_l.
2636 (llrint_test_tonearest): Likewise.
2637 (llrint_test_towardzero): Likewise.
2638 (llrint_test_downward): Likewise.
2639 (llrint_test_upward): Likewise.
2640 (llround_test): Likewise.
2641
7abeee12
JM
2642 * math/libm-test.inc (struct test_f_i_data): Add comment.
2643 (RUN_TEST_LOOP_f_b): New macro.
2644 (RUN_TEST_LOOP_f_b_tg): Likewise.
2645 (finite_test_data): New variable.
2646 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2647 (isfinite_test_data): New variable.
2648 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2649 (isinf_test_data): New variable.
2650 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2651 (isnan_test_data): New variable.
2652 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2653 (isnormal_test_data): New variable.
2654 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2655 (issignaling_test_data): New variable.
2656 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2657 (signbit_test_data): New variable.
2658 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2659
cbe8c4d3
JM
2660 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2661 with INVALID_EXCEPTION.
2662 (acosh_test_data): Likewise.
2663 (asin_test_data): Likewise.
2664 (atanh_test_data): Likewise.
2665 (fmod_test_data): Likewise.
2666 (log_test_data): Likewise.
2667 (log10_test_data): Likewise.
2668 (log2_test_data): Likewise.
2669 (pow_test_data): Likewise.
2670 (sqrt_test_data): Likewise.
2671 (y0_test_data): Likewise.
2672 (y1_test_data): Likewise.
2673 (yn_test_data): Likewise.
2674
5575c0e5
JM
2675 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2676 function contents.
2677
d369f531
JM
2678 * math/libm-test.inc (struct test_ff_i_data): New type.
2679 (RUN_TEST_LOOP_ff_i_tg): New macro.
2680 (isgreater_test_data): New variable.
2681 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2682 (isgreaterequal_test_data): New variable.
2683 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2684 (isless_test_data): New variable.
2685 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2686 (islessequal_test_data): New variable.
2687 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2688 (islessgreater_test_data): New variable.
2689 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2690 (isunordered_test_data): New variable.
2691 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2692
781fd748
DM
26932013-05-14 David S. Miller <davem@davemloft.net>
2694
2695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2696
87aa21df
JM
26972013-05-14 Joseph Myers <joseph@codesourcery.com>
2698
5e908270
JM
2699 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2700
f71172e5
JM
2701 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2702 extra_test to int.
2703 (struct test_f_i_data): Change type of max_ulp to int.
2704
8cfa635a
JM
2705 * math/libm-test.inc (test_ffI_f1_data): New type.
2706 (RUN_TEST_LOOP_ffI_f1): New macro.
2707 (remquo_test_data): New variable.
2708 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2709
2bcb36b2
JM
2710 * setjmp/tst-setjmp-fp.c: New file.
2711 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2712 (link-libm): New variable.
2713 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2714
acbd839a
JM
2715 * math/libm-test.inc (struct test_f_i_data): New type.
2716 (RUN_TEST_LOOP_f_i): New macro.
2717 (RUN_TEST_LOOP_f_i_tg): Likewise.
2718 (fpclassify_test_data): New variable.
2719 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2720 (ilogb_test_data): New variable.
2721 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2722
e414d745
JM
2723 * math/libm-test.inc (scalbln_test): Correct function name in END
2724 call.
2725
d9c2a0fd
JM
2726 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2727 (RUN_TEST_LOOP_fI_f1): New macro.
2728 (frexp_test_data): New variable.
2729 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2730
9dc9095d
JM
2731 * math/libm-test.inc (struct test_fF_f1_data): New type.
2732 (RUN_TEST_LOOP_fF_f1): New macro.
2733 (modf_test_data): New variable.
2734 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2735
87aa21df
JM
2736 * math/libm-test.inc (struct test_f_f1_data): New type.
2737 (RUN_TEST_LOOP_f_f1): New macro.
2738 (gamma_test_data): New variable.
2739 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2740 (lgamma_test_data): New variable.
2741 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2742
141af660
CD
27432013-05-13 Carlos O'Donell <carlos@redhat.com>
2744
2745 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2746 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2747 (main): Comment "tls" pseudo-hwcap.
2748
6d33265c
JM
27492013-05-13 Joseph Myers <joseph@codesourcery.com>
2750
68fc074c
JM
2751 * math/libm-test.inc (struct test_fl_f_data): New type.
2752 (RUN_TEST_LOOP_fl_f): New variable.
2753 (scalbln_test_data): New variable.
2754 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2755
243216e1
JM
2756 * math/libm-test.inc (struct test_fi_f_data): New type.
2757 (RUN_TEST_LOOP_fi_f): New macro.
2758 (ldexp_test_data): New variable.
2759 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2760 (scalbn_test_data): New variable.
2761 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2762
6a1992e2
JM
2763 * math/libm-test.inc (struct test_c_f_data): New type.
2764 (RUN_TEST_LOOP_c_f): New macro.
2765 (cabs_test_data): New variable.
2766 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2767 (carg_test_data): New variable.
2768 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2769 (cimag_test_data): New variable.
2770 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2771 (creal_test_data): New variable.
2772 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2773
0e400df5
JM
2774 * math/libm-test.inc (struct test_if_f_data): New type.
2775 (RUN_TEST_LOOP_if_f): New macro.
2776 (jn_test_data): New variable.
2777 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2778 (yn_test_data): New variable.
2779 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2780
6d33265c
JM
2781 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2782
f98ece5f
AZ
27832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2784
2785 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2786 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2787
0f7d347b
SP
27882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2789
43fe811b
SP
2790 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2791 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2792 (bench-deps): Add bench-timing.h.
2793 * benchtests-bench-skeleton.c: Include bench-timing.h.
2794 (main): Use TIMING_* macros instead of clock_gettime.
2795 * benchtests/bench-timing.h: New file.
2796
0f7d347b
SP
2797 [BZ #14582]
2798 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2799 Renamed from _LIB_VERSION.
2800 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2801
601a3a5f
JM
28022013-05-12 Joseph Myers <joseph@codesourcery.com>
2803
4f184d30
JM
2804 * math/libm-test.inc (struct test_fff_f_data): New type.
2805 (RUN_TEST_LOOP_fff_f): New macro.
2806 (fma_test_data): New variable.
2807 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2808 (fma_towardzero_test_data): New variable.
2809 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2810 (fma_downward_test_data): New variable.
2811 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2812 (fma_upward_test_data): New variable.
2813 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2814
08198877
JM
2815 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2816 (struct test_c_c_data): New type.
2817 (RUN_TEST_LOOP_c_c): New macro.
2818 (cacos_test_data): New variable.
2819 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2820 (cacosh_test_data): New variable.
2821 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2822 (casin_test_data): New variable.
2823 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2824 (casinh_test_data): New variable.
2825 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2826 (catan_test_data): New variable.
2827 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2828 (catanh_test_data): New variable.
2829 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2830 (ccos_test_data): New variable.
2831 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2832 (ccosh_test_data): New variable.
2833 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2834 (cexp_test_data): New variable.
2835 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2836 (clog_test_data): New variable.
2837 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2838 (clog10_test_data): New variable.
2839 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2840 (conj_test_data): New variable.
2841 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2842 (cproj_test_data): New variable.
2843 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2844 (csin_test_data): New variable.
2845 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2846 (csinh_test_data): New variable.
2847 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2848 (csqrt_test_data): New variable.
2849 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2850 (ctan_test_data): New variable.
2851 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2852 (ctan_tonearest_test_data): New variable.
2853 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2854 (ctan_towardzero_test_data): New variable.
2855 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2856 (ctan_downward_test_data): New variable.
2857 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2858 (ctan_upward_test_data): New variable.
2859 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2860 (ctanh_test_data): New variable.
2861 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2862 (ctanh_tonearest_test_data): New variable.
2863 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2864 (ctanh_towardzero_test_data): New variable.
2865 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2866 (ctanh_downward_test_data): New variable.
2867 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2868 (ctanh_upward_test_data): New variable.
2869 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2870 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2871 of BUILD_COMPLEX.
2872
601a3a5f
JM
2873 * math/libm-test.inc (struct test_ff_f_data): New type.
2874 (struct test_ff_f_data_nexttoward): Likewise.
2875 (RUN_TEST_LOOP_2_f): New macro.
2876 (RUN_TEST_LOOP_ff_f): Likewise.
2877 (atan2_test_data): New variable.
2878 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2879 (copysign_test_data): New variable.
2880 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2881 (fdim_test_data): New variable.
2882 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2883 (fmax_test_data): New variable.
2884 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2885 (fmin_test_data): New variable.
2886 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2887 (fmod_test_data): New variable.
2888 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2889 (hypot_test_data): New variable.
2890 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2891 (nextafter_test_data): New variable.
2892 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2893 (nexttoward_test_data): New variable.
2894 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2895 (pow_test_data): New variable.
2896 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2897 (pow_tonearest_test_data): New variable.
2898 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2899 (pow_towardzero_test_data): New variable.
2900 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2901 (pow_downward_test_data): New variable.
2902 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2903 (pow_upward_test_data): New variable.
2904 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2905 (remainder_test_data): New variable.
2906 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2907 (scalb_test_data): New variable.
2908 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2909 * sysdeps/i386/fpu/libm-test-ulps: Update.
2910
74c57478
JM
29112013-05-11 Joseph Myers <joseph@codesourcery.com>
2912
8329e4da
JM
2913 * math/libm-test.inc (fma_test): Use max_value instead of local
2914 variable fltmax.
2915 (nextafter_test): Likewise.
2916
74c57478
JM
2917 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2918 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2919 (acos_downward_test_data): New variable.
2920 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2921 (acos_upward_test_data): New variable.
2922 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2923 (acosh_test_data): New variable.
2924 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2925 (asin_test_data): New variable.
2926 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2927 (asin_tonearest_test_data): New variable.
2928 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2929 (asin_towardzero_test_data): New variable.
2930 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2931 (asin_downward_test_data): New variable.
2932 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2933 (asin_upward_test_data): New variable.
2934 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2935 (asinh_test_data): New variable.
2936 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2937 (atan_test_data): New variable.
2938 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2939 (atanh_test_data): New variable.
2940 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2941 (cbrt_test_data): New variable.
2942 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2943 (ceil_test_data): New variable.
2944 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2945 (cos_test_data): New variable.
2946 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2947 (cos_tonearest_test_data): New variable.
2948 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2949 (cos_towardzero_test_data): New variable.
2950 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2951 (cos_downward_test_data): New variable.
2952 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2953 (cos_upward_test_data): New variable.
2954 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2955 (cosh_test_data): New variable.
2956 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2957 (cosh_tonearest_test_data): New variable.
2958 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2959 (cosh_towardzero_test_data): New variable.
2960 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2961 (cosh_downward_test_data): New variable.
2962 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2963 (cosh_upward_test_data): New variable.
2964 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2965 (erf_test_data): New variable.
2966 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2967 (erfc_test_data): New variable.
2968 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2969 (exp_test_data): New variable.
2970 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2971 (exp_tonearest_test_data): New variable.
2972 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2973 (exp_towardzero_test_data): New variable.
2974 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2975 (exp_downward_test_data): New variable.
2976 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2977 (exp_upward_test_data): New variable.
2978 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2979 (exp10_test_data): New variable.
2980 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2981 (exp2_test_data): New variable.
2982 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2983 (expm1_test_data): New variable.
2984 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2985 (fabs_test_data): New variable.
2986 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2987 (floor_test_data): New variable.
2988 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2989 (j0_test_data): New variable.
2990 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2991 (j1_test_data): New variable.
2992 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2993 (log_test_data): New variable.
2994 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2995 (log10_test_data): New variable.
2996 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2997 (log1p_test_data): New variable.
2998 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2999 (log2_test_data): New variable.
3000 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3001 (logb_test_data): New variable.
3002 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3003 (logb_downward_test_data): New variable.
3004 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3005 (nearbyint_test_data): New variable.
3006 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3007 (rint_test_data): New variable.
3008 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3009 (rint_tonearest_test_data): New variable.
3010 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3011 (rint_towardzero_test_data): New variable.
3012 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3013 (rint_downward_test_data): New variable.
3014 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3015 (rint_upward_test_data): New variable.
3016 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3017 (round_test_data): New variable.
3018 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3019 (sin_test_data): New variable.
3020 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3021 (sin_tonearest_test_data): New variable.
3022 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3023 (sin_towardzero_test_data): New variable.
3024 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3025 (sin_downward_test_data): New variable.
3026 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3027 (sin_upward_test_data): New variable.
3028 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3029 (sinh_test_data): New variable.
3030 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3031 (sinh_tonearest_test_data): New variable.
3032 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3033 (sinh_towardzero_test_data): New variable.
3034 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3035 (sinh_downward_test_data): New variable.
3036 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3037 (sinh_upward_test_data): New variable.
3038 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3039 (sqrt_test_data): New variable.
3040 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3041 (tan_test_data): New variable.
3042 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3043 (tan_tonearest_test_data): New variable.
3044 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3045 (tan_towardzero_test_data): New variable.
3046 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3047 (tan_downward_test_data): New variable.
3048 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3049 (tan_upward_test_data): New variable.
3050 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3051 (tanh_test_data): New variable.
3052 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3053 (tgamma_test_data): New variable.
3054 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3055 (trunc_test_data): New variable.
3056 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3057 (y0_test_data): New variable.
3058 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3059 (y1_test_data): New variable.
3060 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3061 (significand_test_data): New variable.
3062 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3063
7187d844
CG
30642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3065
3066 [BZ #12387]
3067 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3068
f63fae73
PT
30692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3070
3071 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3072
8a67a4b3
AJ
30732013-05-10 Andreas Jaeger <aj@suse.de>
3074
3075 [BZ #15448]
3076 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3077 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3078
51df539d
JM
30792013-05-10 Joseph Myers <joseph@codesourcery.com>
3080
3081 * math/gen-libm-test.pl (adjust_arg): New function.
3082 (special_functions): Handle generating output in both functions
3083 and arrays.
3084 (parse_args): Likewise.
3085 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3086 $in_func argument to parse_args.
3087 * math/libm-test.inc (struct test_f_f_data): New type.
3088 (IF_ROUND_INIT_): New macro.
3089 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3090 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3091 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3092 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3093 (ROUND_RESTORE_): Likewise.
3094 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3095 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3096 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3097 (ROUND_RESTORE_FE_UPWARD): Likewise.
3098 (RUN_TEST_LOOP_f_f): New macro.
3099 (acos_test_data): New variable.
3100 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3101 (acos_tonearest_test_data): New variable.
3102 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3103
5c637fe5
SP
31042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3105
3106 * benchtests/bench-skeleton.c (startup): Fix coding style.
3107
ab2b9461
JM
31082013-05-10 Joseph Myers <joseph@codesourcery.com>
3109
3110 [BZ #6809]
3111 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3112 negative infinity argument.
3113 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3114 negative infinity argument.
3115 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3116 negative infinity argument.
3117 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3118 domain errors.
3119
4c0fe6fe
FW
31202013-05-10 Florian Weimer <fweimer@redhat.com>
3121
3122 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3123 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3124 * iconv/iconv_prog.c (main): Likewise.
3125 * locale/programs/charmap-dir.c (charmap_readdir)
3126 (fopen_uncompressed): Likewise.
3127 * locale/programs/locfile.c (siblings_uncached)
3128 (write_locale_data): Use lstat64 instead of lstat.
3129 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3130 stat.
3131
a3375d29
AJ
31322013-05-10 Andreas Jaeger <aj@suse.de>
3133
3134 [BZ #15395]
3135 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3136 localization.
3137 Include <locale.h>.
3138
36129722
CD
31392013-05-09 Carlos O'Donell <carlos@redhat.com>
3140
3141 * elf/dl-close.c (_dl_close_worker): Add comments.
3142
faa7f811
JM
31432013-05-09 Joseph Myers <joseph@codesourcery.com>
3144
ed41ffef
JM
3145 [BZ #15359]
3146 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3147 high part of pi/2.
3148 (__ieee754_rem_pio2l): Update comments.
3149
d0213cd0
JM
3150 [BZ #15429]
3151 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3152 high part of pi/2.
3153 (__ieee754_rem_pio2l): Update comments.
3154
0d3e777a
JM
3155 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3156 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3157
24f56066
JM
3158 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3159 M_PI_4l.
3160
faa7f811
JM
3161 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3162 (M_PI_34_LOG10El): Likewise.
3163 (M_PI2_LOG10El): Likewise.
3164 (M_PI4_LOG10El): Likewise.
3165 (M_PI_LOG10El): Likewise.
3166
e9a5e0fd
AZ
31672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168
3169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3170
d8cd06db
JM
31712013-05-08 Joseph Myers <joseph@codesourcery.com>
3172
a0d9f9d7
JM
3173 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3174 (MINUS_ZERO_INIT): Likewise.
3175 (PLUS_INFTY_INIT): Likewise.
3176 (MINUS_INFTY_INIT): Likewise.
3177 (QNAN_VALUE_INIT): Likewise.
3178 (MAX_VALUE_INIT): Likewise.
3179 (MIN_VALUE_INIT): Likewise.
3180 (MIN_SUBNORM_VALUE_INIT): Likewise.
3181 (plus_zero): Initialize with PLUS_ZERO_INIT.
3182 (minus_zero): Initialize with MINUS_ZERO_INIT.
3183 (plus_infty): Initialize with PLUS_INFTY_INIT.
3184 (minus_infty): Initialize with MINUS_INFTY_INIT.
3185 (qnan_value): Initialize with QNAN_VALUE_INIT.
3186 (max_value): Initialize with MAX_VALUE_INIT.
3187 (min_value): Initialize with MIN_VALUE_INIT.
3188 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3189
ae08db3b
JM
3190 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3191 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3192 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3193 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3194
f44bf14a
JM
3195 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3196 (RUN_TEST_2_f): Likewise.
3197 (RUN_TEST_ff_f): Likewise.
3198 (RUN_TEST_fi_f): Likewise.
3199 (RUN_TEST_fl_f): Likewise.
3200 (RUN_TEST_fff_f): Likewise.
3201 (RUN_TEST_c_f): Likewise.
3202 (RUN_TEST_f_f1): Likewise.
3203 (RUN_TEST_fF_f1): Likewise.
3204 (RUN_TEST_fI_f1): Likewise.
3205 (RUN_TEST_ffI_f1): Likewise.
3206 (RUN_TEST_c_c): Likewise.
3207 (RUN_TEST_cc_c): Likewise.
3208 (RUN_TEST_f_i): Likewise.
3209 (RUN_TEST_f_i_tg): Likewise.
3210 (RUN_TEST_ff_i_tg): Likewise.
3211 (RUN_TEST_f_b): Likewise.
3212 (RUN_TEST_f_b_tg): Likewise.
3213 (RUN_TEST_f_l): Likewise.
3214 (RUN_TEST_f_L): Likewise.
3215 (RUN_TEST_sincos): Likewise.
3216 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3217 whether to show exceptions. Do not include ");\n" in return
3218 value.
3219 (special_functions): Output call to RUN_TEST_sincos instead of
3220 check_float calls. Update calls to new_test.
3221 (parse_args): Output call to single RUN_TEST_* macro instead of
3222 check_* calls and other assignments. Update calls to new_test.
3223
d8cd06db
JM
3224 [BZ #2546]
3225 [BZ #2560]
3226 [BZ #5159]
3227 [BZ #15426]
3228 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3229 input to result for tgamma overflow.
3230 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3231 (gamma_coeff): New variable.
3232 (NCOEFF): New macro.
3233 (gamma_positive): New function.
3234 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3235 underflow here. Use gamma_positive instead of exp (lgamma) for
3236 other arguments.
3237 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3238 (gamma_coeff): New variable.
3239 (NCOEFF): New macro.
3240 (gammaf_positive): New function.
3241 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3242 underflow here. Use gamma_positive instead of exp (lgamma) for
3243 other arguments.
3244 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3245 (gamma_coeff): New variable.
3246 (NCOEFF): New macro.
3247 (gammal_positive): New function.
3248 (__ieee754_gammal_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-128ibm/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, overflow and
3256 underflow here. Handle NaN the same as positive infinity. Remove
3257 check x < 0xffffffff for negative integers. Use gamma_positive
3258 instead of exp (lgamma) for other arguments.
3259 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3260 (gamma_coeff): New variable.
3261 (NCOEFF): New macro.
3262 (gammal_positive): New function.
3263 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3264 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3265 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3266 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3268 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3269 * sysdeps/generic/math_private.h (__gamma_productf): New
3270 prototype.
3271 (__gamma_product): Likewise.
3272 (__gamma_productl): Likewise.
3273 * math/Makefile (libm-calls): Add gamma_product.
3274 * math/libm-test.inc (tgamma_test): Add more tests.
3275 * sysdeps/i386/fpu/libm-test-ulps: Update.
3276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3277
bb7cf681
OB
32782013-05-08 Ondřej Bílka <neleai@seznam.cz>
3279
3280 * benchtests/bench-skeleton.c (main): Preheat CPU.
3281
ba853947
AJ
32822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3283
3284 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3285
8347c74c
RM
32862013-05-07 Roland McGrath <roland@hack.frob.com>
3287
3288 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3289 and _dl_skip_args_internal.
3290
e8dd4791
CD
32912013-05-07 Carlos O'Donell <carlos@redhat.com>
3292
3293 * manual/message.texi (Message Translation): Talk about users.
3294 Message to key mapping impacts design.
3295
c7405830
RM
32962013-05-06 Roland McGrath <roland@hack.frob.com>
3297
a9173057
RM
3298 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3299
976e2f03
RM
3300 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3301
9723ffc5
RM
3302 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3303 * sysdeps/wordsize-64/glob64.c: ... here.
3304
962e6658
RM
3305 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3306 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3307 New macros.
3308
ee586a6d
RM
3309 * debug/getlogin_r_chk.c: Moved to ...
3310 * login/getlogin_r_chk.c: ... here.
3311 * debug/Makefile (routines): Move getlogin_r_chk to ...
3312 * login/Makefile (routines): ... here.
3313 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3314 * login/Versions (libc: GLIBC_2.4): ... here.
3315
355f9165
RM
3316 * io/poll.c (__poll): Renamed from poll.
3317 Add libc_hidden_def.
3318 (poll): Define as weak alias.
3319
bd9ffde6
RM
3320 * debug/ptsname_r_chk.c: Moved to ...
3321 * login/ptsname_r_chk.c: ... here.
3322 * debug/Makefile (routines): Move ptsname_r_chk to ...
3323 * login/Makefile (routines): ... here.
3324 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3325 * login/Versions (libc: GLIBC_2.4): ... here.
3326
8fb16a04
RM
3327 * posix/getlogin.c: Moved to ...
3328 * login/getlogin.c: ... here.
3329 * posix/getlogin_r.c: Moved to ...
3330 * login/getlogin_r.c: ... here.
3331 * posix/getlogin_r.c: Moved to ...
3332 * login/getlogin_r.c: ... here.
3333 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3334 * login/Makefile (routines): ... here.
3335 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3336 * login/Versions (libc: GLIBC_2.0): ... here.
3337
b99b892f
RM
3338 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3339 (setrlimit): Define as weak alias.
3340
c7405830
RM
3341 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3342 Call __ names for open, ftruncate, and close.
3343 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3344 (truncate): Define as weak alias.
3345
5bf96de5
JM
33462013-05-06 Joseph Myers <joseph@codesourcery.com>
3347
9ea3513c
JM
3348 * math/gen-libm-test.pl (parse_args): Initialize x before each
3349 test of frexp, modf and remquo.
3350
5bf96de5
JM
3351 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3352 test signgam value.
3353
16e616a7
AZ
33542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355
3356 [BZ #15418]
3357 [BZ #15419]
3358 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3359 internal tests.
3360 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3361
d5e82754
RM
33622013-05-06 Roland McGrath <roland@hack.frob.com>
3363
3364 * elf/dl-writev.h: New file.
3365 * elf/dl-misc.c: Include it.
3366 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3367 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3368
a7548d41
JM
33692013-05-04 Joseph Myers <joseph@codesourcery.com>
3370
b7dab1e4
JM
3371 * math/libm-test.inc (noXFails): Remove variable.
3372 (noXPasses): Likewise.
3373 (BUILD_COMPLEX_INT): Remove macro.
3374 (print_screen): Remove xfail argument.
3375 (print_screen_max_error): Likewise.
3376 (update_stats): Likewise.
3377 (print_max_error): Likewise. Update calls to other affected
3378 functions.
3379 (print_complex_max_error): Likewise.
3380 (test_single_exception): Update calls to print_screen.
3381 (test_single_errno): Likewise.
3382 (check_float_internal): Remove xfail argument. Update calls to
3383 other affected functions.
3384 (check_float): Likewise.
3385 (check_complex): Likewise.
3386 (check_int): Likewise.
3387 (check_long): Likewise.
3388 (check_bool): Likewise.
3389 (check_longlong): Likewise.
3390 (main): Don't print noXFails and noXPasses.
3391 * math/gen-libm-test.pl (top level): Don't mention expected
3392 failure handling in comment.
3393 (new_test): Don't handle expected failures.
3394 (parse_args): Don't mention expected failure handling in comment.
3395 (generate_testfile): Don't handle expected failures.
3396 (parse_ulps): Likewise.
3397 (print_ulps_file): Likewise.
3398 (get_failure): Remove function.
3399 (output_test): Don't handle expected failures.
3400 * make/README.libm-test: Don't mention expected failure handling.
3401
a7548d41
JM
3402 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3403 (minus_zero): Likewise.
3404 (plus_infty): Likewise.
3405 (minus_infty): Likewise.
3406 (qnan_value): Likewise.
3407 (max_value): Likewise.
3408 (min_value): Likewise.
3409 (min_subnorm_value): Likewise.
3410 (initialize): Do not initialize those variables dynamically.
3411
60bfd54c
RM
34122013-05-03 Roland McGrath <roland@hack.frob.com>
3413
cc0e6ed8
RM
3414 * io/open.c (__open_2): Moved to ...
3415 * io/open_2.c: ... this new file.
3416 * io/open64.c (__open64_2): Moved to ...
3417 * io/open64_2.c: ... this new file.
3418 * io/openat.c (__openat_2): Moved to ...
3419 * io/openat_2.c: ... this new file.
3420 * io/openat64.c (__openat64_2): Moved to ...
3421 * io/openat64_2.c: ... this new file.
3422 * io/Makefile (routines): Add them.
3423 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3424 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3425 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3426 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3427 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3428 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3429 (__openat64): Add hidden_ver.
3430 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3431 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3432
60bfd54c
RM
3433 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3434 Separately conditionalize setting of GLRO(dl_sysinfo) so
3435 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3436 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3437
83e7640f
AZ
34382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3439
3440 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3441 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3442 definition.
3443 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3444 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3445 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3446 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3447 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3448
d5dc2af3
JM
34492013-05-03 Joseph Myers <joseph@codesourcery.com>
3450
c31a5b1e
JM
3451 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3452 test signgam value.
3453
d5dc2af3
JM
3454 * math/libm-test.inc (hypot_test): Do not use
3455 IGNORE_ZERO_INF_SIGN.
3456
164fd39d
AJ
34572013-05-03 Andreas Jaeger <aj@suse.de>
3458
3459 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3460 Linux 3.9.
3461 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3462 (PF_MAX): Adjust for VSOCK change.
3463
8237f48c
AZ
34642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3465
3466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3467
9df02941
CD
34682013-05-02 Carlos O'Donell <carlos@redhat.com>
3469
3470 [BZ #15264]
3471 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3472 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3473 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3474
d422395e
DM
34752013-05-02 David S. Miller <davem@davemloft.net>
3476
3477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3478
a07c5731
OB
34792013-05-01 Ondřej Bílka <neleai@seznam.cz>
3480
3481 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3482
1324e37f
RM
34832013-05-01 Roland McGrath <roland@hack.frob.com>
3484
3485 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3486
0695940b
RS
34872013-05-01 Richard Smith <richard@metafoo.co.uk>
3488
bb5f27ad 3489 [BZ #14952]
0695940b
RS
3490 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3491 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3492 Use __attribute__ ((__gnu_inline__)).
3493 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3494 Don't use __attribute__ ((__gnu_inline__)).
3495
10de07f5
JM
34962013-05-01 Joseph Myers <joseph@codesourcery.com>
3497
3498 [BZ #15423]
3499 * math/s_catan.c (__catan): Handle small real or imaginary part of
3500 input specially to avoid spurious underflow.
3501 * math/s_catanf.c (__catanf): Likewise.
3502 * math/s_catanh.c (__catanh): Likewise.
3503 * math/s_catanhf.c (__catanhf): Likewise.
3504 * math/s_catanhl.c (__catanhl): Likewise.
3505 * math/s_catanl.c (__catanl): Likewise.
3506 * math/libm-test.inc (catan_test): Add more tests.
3507 (catanh_test): Likewise.
3508 * sysdeps/i386/fpu/libm-test-ulps: Update.
3509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3510
cb4d5414
AZ
35112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512
3513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3514
caf84319
JM
35152013-04-30 Joseph Myers <joseph@codesourcery.com>
3516
3517 [BZ #15416]
3518 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3519 accurately for denominator in atan2.
3520 * math/s_catanf.c (__catanf): Likewise.
3521 * math/s_catanh.c (__catanh): Likewise.
3522 * math/s_catanhf.c (__catanhf): Likewise.
3523 * math/s_catanhl.c (__catanhl): Likewise.
3524 * math/s_catanl.c (__catanl): Likewise.
3525 * math/libm-test.inc (catan_test): Add more tests.
3526 (catanh_test): Likewise.
3527 * sysdeps/i386/fpu/libm-test-ulps: Update.
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3529
d569c6ee
SP
35302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3531
6dbe713d
SP
3532 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3533
f0ee064b
SP
3534 * benchtests/Makefile (bench): Remove slow benchmarks.
3535 * benchtests/atan-inputs: Add slow benchmark inputs.
3536 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3537 (BENCH_FUNC): Accept variant offset.
3538 (VARIANT): Define.
3539 * benchtests/bench-skeleton.c (main): Run benchmark for each
3540 variant.
3541 * benchtests/cos-inputs: Add slow benchmark inputs.
3542 * benchtests/exp-inputs: Likewise.
3543 * benchtests/pow-inputs: Likewise.
3544 * benchtests/sin-inputs: Likewise.
3545 * benchtests/slowatan-inputs: Remove.
3546 * benchtests/slowatan.c: Remove.
3547 * benchtests/slowcos-inputs: Remove.
3548 * benchtests/slowcos.c: Remove.
3549 * benchtests/slowexp-inputs: Remove.
3550 * benchtests/slowexp.c: Remove.
3551 * benchtests/slowpow-inputs: Remove.
3552 * benchtests/slowpow.c: Remove.
3553 * benchtests/slowsin-inputs: Remove.
3554 * benchtests/slowsin.c: Remove.
3555 * benchtests/slowtan-inputs: Remove.
3556 * benchtests/slowtan.c: Remove.
3557 * benchtests/tan-inputs: Add slow benchmark inputs.
3558 * scripts/bench.pl: Parse comments and directives.
3559
d569c6ee
SP
3560 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3561 in CPPFLAGS.
3562 ($(objpfx)bench-%.c): Remove *-ITER.
3563 * benchtests/bench-modf.c: Remove definition of ITER.
3564 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3565 (main): Loop for DURATION seconds instead of fixed number of
3566 iterations.
3567 * scripts/bench.pl: Don't expect iterations in parameters.
3568
a6a242fe
RM
35692013-04-29 Roland McGrath <roland@hack.frob.com>
3570
3571 * io/fchdir.c (__fchdir): Renamed from fchdir.
3572 (fchdir): Define as weak alias.
3573
f2da7793
JM
35742013-04-29 Joseph Myers <joseph@codesourcery.com>
3575
3576 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3577 (ERRNO_EDOM): Likewise.
3578 (ERRNO_ERANGE): Likewise.
3579 (noErrnoTests): New variable.
3580 (init_max_error): Set errno to 0.
3581 (test_single_errno): New function.
3582 (test_errno): Likewise.
3583 (check_float_internal): Call test_errno. Set errno to 0.
3584 (check_complex): Refer to errno tests in comment.
3585 (check_int): Call test_errno. Set errno to 0.
3586 (check_long): Likewise.
3587 (check_bool): Likewise.
3588 (check_longlong): Likewise.
3589 (cos_test): Use ERRNO_* flags for errno tests instead of
3590 check_int.
3591 (expm1_test): Likewise.
3592 (fmod_test): Likewise.
3593 (ilogb_test): Likewise.
3594 (lgamma_test): Likewise.
3595 (pow_test): Likewise.
3596 (remainder_test): Likewise.
3597 (sin_test): Likewise.
3598 (tan_test): Likewise.
3599 (yn_test): Likewise.
3600 (initialize): Set errno to 0.
3601 (main): Print number of errno tests.
3602 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3603
b1a36ceb
AJ
36042013-04-29 Andreas Jaeger <aj@suse.de>
3605
c3ed8088
AJ
3606 [BZ #15084]
3607 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3608 and RES_USEVC.
3609
f1a24198
AJ
3610 [BZ #15085]
3611 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3612 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3613 unimplemented.
3614
9ce3b2cb
AJ
3615 [BZ #15380]
3616 * stdlib/random.c (__initstate): Return NULL if
3617 __initstate fails.
3618
f1a24198 3619 [BZ #15086]
b1a36ceb
AJ
3620 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3621 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3622 RES_SNGLKUPREOP.
3623
7e7b6f36
AZ
36242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3625
3626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3627
4d14f449
JM
36282013-04-29 Joseph Myers <joseph@codesourcery.com>
3629
3630 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3631 of individual tests.
3632 (casin_test): Likewise.
3633 (casinh_test): Likewise.
3634
5b4217d7
JM
36352013-04-27 Joseph Myers <joseph@codesourcery.com>
3636
3637 [BZ #15409]
3638 * math/s_catan.c (__catan): Handle arguments with large real or
3639 imaginary part separately without squaring.
3640 * math/s_catanf.c (__catanf): Likewise.
3641 * math/s_catanh.c (__catanh): Likewise.
3642 * math/s_catanhf.c (__catanhf): Likewise.
3643 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3644 and redefine.
3645 (__catanhl): Handle arguments with large real or imaginary part
3646 separately without squaring.
3647 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3648 and redefine.
3649 (__catanl): Handle arguments with large real or imaginary part
3650 separately without squaring.
3651 * math/libm-test.inc (catan_test): Add more tests.
3652 (catanh_test): Likewise.
3653 * sysdeps/i386/fpu/libm-test-ulps: Update.
3654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655
4220c3ef
AJ
36562013-04-27 Andreas Jaeger <aj@suse.de>
3657
3658 [BZ #15007]
3659 * stdlib/stdlib.h: Update guards for qecvt.
3660 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3661 <stdlib.h>.
3662
4721b2d1
AM
36632013-04-27 Allan McRae <allan@archlinux.org>
3664
3665 * sysdeps/i386/fpu/libm-test-ulps: Update.
3666
f0302940
JM
36672013-04-26 Joseph Myers <joseph@codesourcery.com>
3668
9457fd95
JM
3669 [BZ #15406]
3670 * math/s_catan.c: Include <float.h>.
3671 (__catan): Ensure underflow exception occurs for underflowed
3672 result.
3673 * math/s_catanf.c: Include <float.h>.
3674 (__catanf): Ensure underflow exception occurs for underflowed
3675 result.
3676 * math/s_catanh.c: Include <float.h>.
3677 (__catanh): Ensure underflow exception occurs for underflowed
3678 result.
3679 * math/s_catanhf.c: Include <float.h>.
3680 (__catanhf): Ensure underflow exception occurs for underflowed
3681 result.
3682 * math/s_catanhl.c: Include <float.h>.
3683 (__catanhl): Ensure underflow exception occurs for underflowed
3684 result.
3685 * math/s_catanl.c: Include <float.h>.
3686 (__catanl): Ensure underflow exception occurs for underflowed
3687 result.
3688 * math/libm-test.inc (catan_test): Add more tests.
3689 (catanh_test): Likewise.
3690
f0302940
JM
3691 [BZ #15405]
3692 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3693 underflowed result.
3694 * math/s_ccoshf.c (__ccoshf): Likewise.
3695 * math/s_ccoshl.c (__ccoshl): Likewise.
3696 * math/s_csin.c (__csin): Likewise.
3697 * math/s_csinf.c (__csinf): Likewise.
3698 * math/s_csinh.c (__csinh): Likewise.
3699 * math/s_csinhf.c (__csinhf): Likewise.
3700 * math/s_csinhl.c (__csinhl): Likewise.
3701 * math/s_csinl.c (__csinl): Likewise.
3702 * math/libm-test.inc (ccos_test): Add more tests.
3703 (ccosh_test): Likewise.
3704 (csin_test): Likewise.
3705 (csinh_test): Likewise.
3706
aa630f59
AZ
37072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3708
3709 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3710 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3711 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3712 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3713 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3714 powerpc/power5+/fpu folders.
3715 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3716
3717
1b835983
MT
37182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3719
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3721
73709b26
JM
37222013-04-25 Joseph Myers <joseph@codesourcery.com>
3723
3724 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3725 additions to variable.
3726 [$(config-machine) = x86_64] (modules-names): Likewise.
3727 ($(objpfx)tst-audit3): Remove dependency.
3728 ($(objpfx)tst-audit3.out): Likewise.
3729 ($(objpfx)tst-audit4): Likewise.
3730 ($(objpfx)tst-audit4.out): Likewise.
3731 ($(objpfx)tst-audit5): Likewise.
3732 ($(objpfx)tst-audit5.out): Likewise.
3733 ($(objpfx)tst-audit6): Likewise.
3734 ($(objpfx)tst-audit6.out): Likewise.
3735 ($(objpfx)tst-audit7): Likewise.
3736 ($(objpfx)tst-audit7.out): Likewise.
3737 (tst-audit3-ENV): Remove variable.
3738 (tst-audit4-ENV): Likewise.
3739 (tst-audit5-ENV): Likewise.
3740 (tst-audit6-ENV): Likewise.
3741 (tst-audit7-ENV): Likewise.
3742 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3743 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3744 addition to variable.
3745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3748 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3749 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3750 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3751 tst-audit3, tst-audit4 and tst-audit5.
3752 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3753 tst-audit6 and tst-audit7.
3754 [$(subdir) = elf] (modules-names): Add audit modules for those
3755 tests.
3756 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3757 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3758 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3759 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3760 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3761 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3762 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3763 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3764 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3765 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3766 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3767 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3768 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3769 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3770 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3771 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3772 Likewise.
3773 [$(subdir) = elf && $(config-cflags-avx) = yes]
3774 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3775 [$(subdir) = elf && $(config-cflags-avx) = yes]
3776 (CFLAGS-tst-auditmod4a.c): Likewise.
3777 [$(subdir) = elf && $(config-cflags-avx) = yes]
3778 (CFLAGS-tst-auditmod4b.c): Likewise.
3779 [$(subdir) = elf && $(config-cflags-avx) = yes]
3780 (CFLAGS-tst-auditmod6b.c): Likewise.
3781 [$(subdir) = elf && $(config-cflags-avx) = yes]
3782 (CFLAGS-tst-auditmod6c.c): Likewise.
3783 [$(subdir) = elf && $(config-cflags-avx) = yes]
3784 (CFLAGS-tst-auditmod7b.c): Likewise.
3785 * elf/tst-audit3.c: Move to ...
3786 * sysdeps/x86_64/tst-audit3.c: ... here.
3787 * elf/tst-audit4.c: Move to ...
3788 * sysdeps/x86_64/tst-audit4.c: ... here.
3789 * elf/tst-audit5.c: Move to ...
3790 * sysdeps/x86_64/tst-audit5.c: ... here.
3791 * elf/tst-audit6.c: Move to ...
3792 * sysdeps/x86_64/tst-audit6.c: ... here.
3793 * elf/tst-audit7.c: Move to ...
3794 * sysdeps/x86_64/tst-audit7.c: ... here.
3795 * elf/tst-auditmod3a.c: Move to ...
3796 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3797 * elf/tst-auditmod3b.c: Move to ...
3798 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3799 * elf/tst-auditmod4a.c: Move to ...
3800 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3801 * elf/tst-auditmod4b.c: Move to ...
3802 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3803 * elf/tst-auditmod5a.c: Move to ...
3804 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3805 * elf/tst-auditmod5b.c: Move to ...
3806 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3807 * elf/tst-auditmod6a.c: Move to ...
3808 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3809 * elf/tst-auditmod6b.c: Move to ...
3810 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3811 * elf/tst-auditmod6c.c: Move to ...
3812 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3813 * elf/tst-auditmod7a.c: Move to ...
3814 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3815 * elf/tst-auditmod7b.c: Move to ...
3816 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3817
1ef74943
PP
38182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3819
3820 [BZ #15366]
3821 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3822 define unconditionally.
3823 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3824 define unconditionally.
3825 (INT8_C, INT16_C, etc.): Likewise.
3826
93fd48c5
MR
38272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3828
ae9552cf
MR
3829 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3830 __ehdr_start with hidden visibility.
3831
93fd48c5
MR
3832 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3833
418601aa
CD
38342013-04-24 Carlos O'Donell <carlos@redhat.com>
3835
3836 * math/libm-test.inc (cos_test): Use accurate hex constants.
3837 (sincost_test): Likewise.
3838
2f38fbfe
JM
38392013-04-24 Joseph Myers <joseph@codesourcery.com>
3840
5e221800
JM
3841 * math/libm-test.inc (catan_test): Add more tests.
3842 (catanh_test): Likewise.
3843
77f143fd
JM
3844 * math/s_catanf.c (__catanf): Use suffixed floating-point
3845 constants.
3846 * math/s_catanhf.c (__catanhf): Likewise.
3847 * math/s_catanhl.c (__catanhl): Likewise.
3848 * math/s_catanl.c (__catanl): Likewise.
3849
2f38fbfe
JM
3850 [BZ #15394]
3851 * math/s_catan.c (__catan): Calculate imaginary part of result
3852 with log1p not log unless computing log of number close to 0.
3853 * math/s_catanf.c (__catanf): Likewise.
3854 * math/s_catanl.c (__catanl): Likewise.
3855 * math/s_catanh.c (__catanh): Calculate real part of result with
3856 log1p not log unless computing log of number close to 0.
3857 * math/s_catanhf.c (__catanhf): Likewise.
3858 * math/s_catanhl.c (__catanhl): Likewise.
3859 * math/libm-test.inc (catan_test): Add more tests.
3860 (catanh_test): Likewise.
3861 * sysdeps/i386/fpu/libm-test-ulps: Update.
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3863
45d69176
SP
38642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3865
3866 * benchtests/Makefile: Mention files in which fast and slow
3867 paths of math functions are implemented.
3868
87f51853
RM
38692013-04-23 Roland McGrath <roland@hack.frob.com>
3870
3871 * sysdeps/posix/timespec_get.c: New file.
3872
3c026539
AZ
38732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3874
3875 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3876 POWER.
3877 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3878 for POWER.
3879 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3880 powerpc/power5/fpu folders.
3881 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3882 * benchtests/Makefile: Add modf testcase.
3883 * benchtests/bench-modf.c: New file: Benchmark test for mo
3884
ff491d14
SP
38852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3886
3887 [BZ #14888]
3888 * time/Makefile (tests): Add tst-strptime-whitespace.
3889 * time/strptime_l.c (get_number): Use ISSPACE.
3890 (__strptime_internal): Likewise.
3891 * time/tst-strptime-whitespace.c: New test case.
3892
7ed3f4e8
AS
38932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3894
3895 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3896 member.
3897 (_nss_files_init): Set it here.
3898
5c95f7b6
HC
38992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3900
3901 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3902 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3903 unsigned.
3904
d34c9158
JBG
39052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3906
3907 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3908
2169712d
SP
39092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3910
3911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3912 size just once.
3913
29c5de99
DM
39142013-04-21 David S. Miller <davem@davemloft.net>
3915
3916 * po/ru.po: Update Russion translation from translation project.
3917
ccdad15d
AC
39182013-04-17 Adam Conrad <adconrad@0c3.net>
3919
3920 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3921 and setfsgid.
3922
0f122b8d
CD
39232013-04-17 Carlos O'Donell <carlos@redhat.com>
3924
5c5b07da 3925 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3926 * configure: Regenerate.
5c5b07da 3927 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3928 Add example to error message.
3929 * sysdeps/i386/configure: Regenerate.
3930
037714dd
SP
39312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3932
3933 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3934 slowtan.
3935 * benchtests/cos-inputs: New file.
3936 * benchtests/slowcos-inputs: New file.
3937 * benchtests/slowcos.c: New file.
3938 * benchtests/slowtan-inputs: New file.
3939 * benchtests/slowtan.c: New file.
3940 * benchtests/tan-inputs: New file.
3941
e913141d
RM
39422013-04-16 Roland McGrath <roland@hack.frob.com>
3943
3944 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3945 considered kosher.
3946
a2964074
SP
39472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3948
4856bcd2
SP
3949 * benchtests/Makefile: Include cppflags-iterator.mk to add
3950 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3951
a2964074
SP
3952 * Makefile.in (bench-clean): New target.
3953 * benchtests/Makefile (bench-clean): Likewise.
3954
9fbf9aca
DH
39552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3956
3957 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3958
207d1e2a
TS
39592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3960
3961 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3962
306dfba9
AS
39632013-04-15 Andreas Schwab <schwab@suse.de>
3964
3965 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3966 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3967 * nscd/pwdcache.c (cache_addpw): Likewise.
3968 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3969 more than recsize.
3970
206a6699
SP
39712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
3973 * benchtests/Makefile (bench): Write all output to
3974 bench-out.tmp together.
3975
0582f6b3
AS
39762013-04-15 Andreas Schwab <schwab@suse.de>
3977
3978 * nscd/nscd.c (main): Don't fork again after closing files.
3979
acb4325f
SP
39802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3981
5cb26d0a
SP
3982 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3983
acb4325f
SP
3984 * benchtests/Rules (bench-deps): Collect dependencies into a
3985 single variable. Add Makefile to dependencies.
3986 ($(objpfx)bench-%.c): Depend on bench-deps.
3987
47792506
RM
39882013-04-12 Roland McGrath <roland@hack.frob.com>
3989 Xavier Roche <roche+kml2@exalead.com>
3990
3991 [BZ #15361]
3992 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3993 just that it's a file descriptor.
3994 * manual/llio.texi (Synchronizing AIO Operations): Update description
3995 for EBADF error from aio_fsync.
3996
8fc1bee5
SP
39972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3998
3999 * Rules (bench): Move target definition...
4000 * benchtests/Makefile: ... here.
4001
aba5e333
CD
40022013-04-11 Carlos O'Donell <carlos@redhat.com>
4003
4004 * math/libm-test.inc (cos_test): Fix PI/2 test.
4005 (sincos_test): Likewise.
4006 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4007 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4008
273cdee8
AS
40092013-04-11 Andreas Schwab <schwab@suse.de>
4010
6ecec3b6
AS
4011 [BZ #13988]
4012 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4013 accept exponent character only when digits were seen.
4014 * stdio-common/Makefile (tests): Add bug26.
4015 * stdio-common/bug26.c: New file.
4016
273cdee8
AS
4017 [BZ #14293]
4018 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4019 non-freeable.
4020
8da491f5
SP
40212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4022
01dc6df9
SP
4023 * Makeconfig (rtld-prefix): Define built linker prefix.
4024 * Rules (run-bench): Use it.
4025 * math/Makefile (run-regen-ulps): Likewise.
4026
8da491f5
SP
4027 * Rules (bench): Remove eval.
4028
abe7f530
SP
40292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4030 Roland McGrath <roland@hack.frob.com>
4031 Ondrej Bilka <neleai@seznam.cz>
4032
4033 [BZ #15346]
4034 * time/getdate.c: Include ctype.h and alloca.h.
4035 (__getdate_r): Trim leading and trailing spaces of input.
4036 * time/tst-getdate.c (tests): Add tests with leading and
4037 trailing spaces.
4038
61c23e62
RM
40392013-04-08 Roland McGrath <roland@hack.frob.com>
4040
4041 [BZ #14280]
4042 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4043 when computing value.
4044
7208a313
CD
40452013-04-06 Carlos O'Donell <carlos@redhat.com>
4046
085b2d41
CD
4047 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4048 Use testrun.sh to run libm tests.
4049
7208a313
CD
4050 [BZ #15309]
4051 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4052
872c0acd
MM
40532013-04-06 Marko Myllynen <myllynen@redhat.com>
4054
4055 [BZ #15264]
4056 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4057
26510bdd
CD
40582013-04-06 Carlos O'Donell <carlos@redhat.com>
4059
4060 * Makefile.in (regen-ulps): New target.
4061 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4062 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4063 [ifneq (no,$(PERL)] (regen-ulps): New target.
4064 [ifeq (no,$(PERL)] (regen-ulps): New target.
4065 * math/libm-test.inc (ulps_file_name): Define.
4066 (output_dir): New variable.
4067 (options): Add "output-dir" option.
4068 (parse_opt): Handle 'o' case.
4069 (main): If output_dir is non-NULL use it as a prefix
4070 otherwise use "".
4071 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4072
a01f19c8
CD
40732013-04-06 Carlos O'Donell <carlos@redhat.com>
4074
4075 [BZ #10060, #10062]
4076 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4077 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4078 fail configure if __sync_val_compare_and_swap is not inlined.
4079 * sysdeps/i386/configure: Regenerate.
4080 * configure.in: Build for i686 when configured for i386.
4081 * configure: Regenerate.
4082 * README: Remove i386 reference.
4083
b7a329a5
CD
40842013-04-06 Carlos O'Donell <carlos@redhat.com>
4085
4086 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4088
bf0f50df
TS
40892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4090
ee091edf
TS
4091 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4092 (lmsnanval): New variables.
4093 (F): Add conversion tests.
4094 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4095 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4096
a8b792d6
TS
4097 * stdio-common/tstdiomisc.c (F): Properly collect individual
4098 tests' results.
4099
a1cbf437
TS
4100 [BZ #14686, #15336]
4101 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4102 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4103 Instead, use input NaN values or generate a qNaN by arithmetic
4104 operation. Also fix bugs to comply with the standard.
4105 * math/libm-test.inc (remainder_test): Add more tests.
4106
8b43a0c9
TS
4107 [BZ #15335, #15342]
4108 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4109 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4110 input NaN values or generate a qNaN by arithmetic operation.
4111
d91da4ce
TS
4112 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4113 unreachable code.
4114
bf0f50df
TS
4115 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4116 definitions.
4117
05e166c8
JM
41182013-04-03 Joseph Myers <joseph@codesourcery.com>
4119
4120 [BZ #14478]
4121 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4122 underflowed result.
4123 * math/s_cexpf.c (__cexpf): Likewise.
4124 * math/s_cexpl.c (__cexpl): Likewise.
4125 * math/libm-test.inc (cexp_test): Add more tests.
4126
1cef1b19
AS
41272013-04-03 Andreas Schwab <schwab@suse.de>
4128
4129 [BZ #15330]
4130 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4131 order arrays from heap if bigger than alloca cutoff.
4132
74d87055
TS
41332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4134
4135 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4136 (SNAN_TESTS_double): Refer to GCC PR56831.
4137 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4138 GCC PR56828.
4139
d755bba4
SP
41402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4141
90d5d5bb
SP
4142 * Rules (bench): Move bench.out after the run is complete.
4143
73e0cd5d
SP
4144 * Rules (bench): Echo currently running benchmark.
4145
64aabd4b
SP
4146 * benchtests/Makefile (bench): Add atan and slowatan.
4147 * benchtests/atan-inputs: New file.
4148 * benchtests/slowatan-inputs: New file.
4149 * benchtests/slowatan.c: New file.
4150
c871eccd
SP
4151 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4153 its value.
4154
d755bba4
SP
4155 [BZ #15305]
4156 * sysdeps/unix/sysv/linux/kernel-features.h
4157 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4158 __ASSUME_XFS_RESTRICTED_CHOWN.
4159 * sysdeps/unix/sysv/linux/pathconf.c
4160 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4161 Save and restore errno.
4162
52ce4860
JM
41632013-04-02 Joseph Myers <joseph@codesourcery.com>
4164
4165 [BZ #15327]
4166 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4167 arguments using __kernel_casinh.
4168 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4169 arguments using __kernel_casinhf.
4170 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4171 arguments using __kernel_casinhl.
4172 * math/libm-test.inc (cacosh_test): Add more tests.
4173 * sysdeps/i386/fpu/libm-test-ulps: Update.
4174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4175
81f311c2
SP
41762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4177
e7906a47
SP
4178 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4180
92e3664b
SP
4181 * bench/Makefile (bench): Add sin and slowsin.
4182 * benchtests/sin-inputs: New file.
4183 * benchtests/slowsin-inputs: New file.
4184 * benchtests/slowsin.c: New file.
4185
81f311c2
SP
4186 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4187 (bench): Add slowexp and slowpow.
4188 (exp-ITER): Increase iterations.
4189 (pow-ITER): Likewise.
4190 * benchtests/exp-inputs: Change input.
4191 * benchtests/pow-inputs: Likewise.
4192 * benchtests/slowexp-inputs: New file.
4193 * benchtests/slowexp.c: New file.
4194 * benchtests/slowpow-inputs: New file.
4195 * benchtests/slowpow.c: New file.
4196
ab0f1aa9
AZ
41972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4198
4199 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4200 instructions.
4201 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4202 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4203 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4204 * benchtests/Makefile: Add rint benchtest.
4205 * benchtests/rint-inputs: Input for rint benchtest.
4206
57267616
TS
42072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4208
4209 * Versions.def (libm): Add GLIBC_2.18.
4210 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4211 hidden libm prototypes.
4212 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4213 * math/Makefile (libm-calls): Add s_issignaling.
4214 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4215 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4216 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4217 declaration.
4218 * math/math.h [__USE_GNU] (issignaling): New macro.
4219 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4220 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4225 * manual/arith.texi (issignaling): New section.
4226 * manual/libm-err-tab.pl (@all_functions): Update comment.
4227 * math/gen-libm-test.pl (parse_args): Apply special handling for
4228 issignaling.
4229 * math/libm-test.inc (print_float, issignaling_test): New
4230 functions.
4231 (check_float_internal): Add issignaling checks.
4232 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4233 default definition.
4234 * sysdeps/powerpc/math-tests.h: New file.
4235 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4236 tests.
4237 * math/test-snan.c (TEST_FUNC): Likewise.
4238
6142896d
DM
42392013-03-30 David S. Miller <davem@davemloft.net>
4240
4241 * po/de.po: Update from translation team.
4242
ccc8cadf
JM
42432013-03-30 Joseph Myers <joseph@codesourcery.com>
4244
4245 [BZ #10357]
4246 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4247 imaginary part less than 1.0 and real part less than 0.5
4248 specially.
4249 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4250 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4251 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4252 (cacos_test): Add more tests.
4253 (casin_test): Likewise.
4254 (casinh_test): Likewise.
4255 * sysdeps/i386/fpu/libm-test-ulps: Update.
4256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4257
0f6a8d4b
SP
42582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4259
0d1029de
SP
4260 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4261 ONE with its value.
4262
c2d94018
SP
4263 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4264 (__pow_mp): Replace ONE and MONE with their values.
4265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4266 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4267 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4268 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4269 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4270 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4271
27ec37f1
SP
4272 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4273
a64d7e0e
SP
4274 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4275 (__pow_mp): Replace ZERO and MZERO with their values.
4276 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4277 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4278 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4280 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4281 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4282 (__sqr): Likewise.
4283
d26dd3eb
SP
4284 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4285
0f6a8d4b
SP
4286 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4287
e57b0c61
RM
42882013-03-28 Roland McGrath <roland@hack.frob.com>
4289
4290 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4291 Declare with __attribute__ ((weak)).
4292 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4293 Call __call_tls_dtors only if it's not NULL.
4294
356b3480
RM
42952013-03-28 Roland McGrath <roland@hack.frob.com>
4296
288f7d79
RM
4297 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4298 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4299 magic __ehdr_start linker symbol if it's defined.
4300 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4301 them up here if it was already done.
4302
dc0a0263
RM
4303 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4304 (_dl_aux_init): Use const in cast when setting it.
4305 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4306 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4307 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4308
3d3436ae
RM
4309 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4310 Declare them here.
4311 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4312 * csu/libc-tls.c: Nor here.
4313 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4314
356b3480
RM
4315 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4316 (__libc_message): Never call vsyslog.
4317
b0f1246a
AM
43182013-03-28 Alan Modra <amodra@gmail.com>
4319
4320 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4321 Define as empty.
4322 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4323 Likewise.
4324
fbbe2b9a
AZ
43252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4326
4327 [BZ #15214]
4328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4329 underflow.
4330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4331
1728ab37
SP
43322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4333
7a86be6e
SP
4334 [BZ #15304]
4335 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4336 Don't add gid passed as argument.
4337
1728ab37
SP
4338 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4339
3a7182a1
JM
43402013-03-27 Joseph Myers <joseph@codesourcery.com>
4341
4342 [BZ #15307]
4343 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4344 imaginary part between 1.0 and 1.5 and real part less than 0.5
4345 specially.
4346 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4347 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4348 * math/libm-test.inc (cacos_test): Add more tests.
4349 (casin_test): Likewise.
4350 (casinh_test): Likewise.
4351 * sysdeps/i386/fpu/libm-test-ulps: Update.
4352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4353
6f2e90e7
SP
43542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4355
5739f705
SP
4356 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4357 constants.
4358 (norm): Likewise.
4359 (denorm): Likewise.
4360 (__dbl_mp): Likewise.
4361 (add_magnitudes): Likewise.
4362 (sub_magnitudes): Likewise.
4363 (__add): Likewise.
4364 (__sub): Likewise.
4365 (__mul): Likewise.
4366 (__sqr): Likewise.
4367 (__inv): Likewise.
4368 (__dvd): Likewise.
4369
e375e83d
SP
4370 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4371 commented code.
4372 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4373 (__dubcos): Likewise.
4374 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4375 (__ieee754_acos): Likewise.
4376 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4377 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4378 (__exp1): Likewise.
4379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4381 (log1): Likewise.
4382 (my_log2): Likewise.
4383 (checkint): Likewise.
4384 * sysdeps/ieee754/dbl-64/e_remainder.c
4385 (__ieee754_remainder): Likewise.
4386 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4387 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4388 (bsloww): Likewise.
4389 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4390
6f2e90e7
SP
4391 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4392 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4393 MANTISSA_STORE_T to store computations on mantissa. Use
4394 macros for rounding and division.
4395 (denorm): Likewise.
4396 (__dbl_mp): Likewise.
4397 (add_magnitudes): Likewise.
4398 (sub_magnitudes): Likewise.
4399 (__mul): Likewise.
4400 (__sqr): Likewise.
4401 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4402 powers of two in terms of TWOPOW macro.
4403 (mp_no): Make type of mantissa as MANTISSA_T.
4404 [!RADIXI]: Define RADIXI.
4405 [!TWO52]: Define TWO52.
4406 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4407
fce14d4e
AZ
44082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4409
4410 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4411 llroundl symbol when building for PPC32.
4412
9ad027fb
MW
44132013-03-24 Mark H Weaver <mhw@netris.org>
4414
4415 * manual/arith.texi (Normalization Functions): Fix prototypes for
4416 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4417
e42a38dd
AZ
44182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4419
4420 [BZ #13889]
4421 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4422 high value to check if expl overflow.
4423 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4424 to check for underflow and overflow.
4425 * math/libm-test.inc: Add exp test.
4426
2e0fb521
DL
44272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4428
4429 [BZ #11120]
4430 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4431 with NOT_IN_libc.
4432
b5784d95
AZ
44332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4434
4435 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4436 symbol.
4437
5aa4a1a1
TS
44382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4439
bdef0be7
TS
4440 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4441 wrap blocks consisting of several statements.
4442
5aa4a1a1
TS
4443 * sysdeps/generic/math-tests.h: New file.
4444 * sysdeps/i386/fpu/math-tests.h: Likewise.
4445 * math/test-snan.c: Include it.
4446 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4447
98c48fe5
JM
44482013-03-21 Joseph Myers <joseph@codesourcery.com>
4449
4450 [BZ #15285]
4451 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4452 (__ieee754_j0l): Do not improve calculations using cos of twice
4453 input for inputs above LDBL_MAX / 2.0L.
4454 (__ieee754_y0l): Likewise.
4455 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4456 (__ieee754_j1l): Do not improve calculations using cos of twice
4457 input for inputs above LDBL_MAX / 2.0L.
4458 (__ieee754_y1l): Likewise.
4459 * math/libm-test.inc (j0_test): Add another test.
4460 (j1_test): Likewise.
4461 (y0_test): Likewise.
4462 (y1_test): Likewise.
4463 * sysdeps/i386/fpu/libm-test-ulps: Update.
4464
3775a8bc
SP
44652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4466
4467 * Rules ($(objpfx)bench-%.c): Include code from a C source
4468 file.
4469
0a1b2ae6
JM
44702013-03-21 Joseph Myers <joseph@codesourcery.com>
4471
4472 [BZ #15287]
4473 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4474 imaginary part 1.0 and real part less than 0.5 specially.
4475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4477 * math/libm-test.inc (cacos_test): Add more tests.
4478 (casin_test): Likewise.
4479 (casinh_test): Likewise.
4480 * sysdeps/i386/fpu/libm-test-ulps: Update.
4481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482
b33d4ce4
SP
44832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4484
4485 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4486 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4487
bef0b507
JM
44882013-03-20 Joseph Myers <joseph@codesourcery.com>
4489
4490 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4491 * config.make.in (config-cflags-sse4): Remove variable.
4492 (config-cflags-avx): Likewise.
4493 (config-cflags-sse2avx): Likewise.
4494 (config-cflags-novzeroupper): Likewise.
4495 (config-asflags-i686): Likewise.
4496 (have-mfma4): Likewise.
4497 (have-as-vis3): Likewise.
4498 (MIG): Likewise.
4499 * configure.in (MIG): Do not AC_SUBST.
4500 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4501 (libc_cv_cc_sse4): Do not AC_SUBST.
4502 (libc_cv_cc_avx): Likewise.
4503 (libc_cv_cc_sse2avx): Likewise.
4504 (libc_cv_cc_novzeroupper): Likewise.
4505 (libc_cv_cc_fma4): Likewise.
4506 (libc_cv_as_i686): Likewise.
4507 (libc_cv_sparc_as_vis3): Likewise.
4508 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4509 LIBC_CONFIG_VAR.
4510 (config-asflags-i686): Likewise.
4511 (config-cflags-avx): Likewise.
4512 (config-cflags-sse2avx): Likewise.
4513 (have-mfma4): Likewise.
4514 (config-cflags-novzeroupper): Likewise.
4515 * sysdeps/mach/configure.in (MIG): Likewise.
4516 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4517 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4518 LIBC_CONFIG_VAR.
4519 (config-cflags-avx): Likewise.
4520 (config-cflags-sse2avx): Likewise.
4521 (have-mfma4): Likewise.
4522 (config-cflags-novzeroupper): Likewise.
4523 * configure: Regenerated.
4524 * sysdeps/i386/configure: Likewise.
4525 * sysdeps/mach/configure: Likewise.
4526 * sysdeps/sparc/configure: Likewise.
4527 * sysdeps/x86_64/configure: Likewise.
4528
912cc4b3
RM
45292013-03-20 Roland McGrath <roland@hack.frob.com>
4530
4531 [BZ #14812]
4532 * locale/programs/localedef.c (options): Put N_ translation marker
4533 on argument names, not just descriptions.
4534
04eed2b0
MS
45352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4536
4537 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4538
a065ceff
OB
45392013-03-20 Ondřej Bílka <neleai@seznam.cz>
4540
9bb2a810 4541 [BZ #14176]
a065ceff
OB
4542 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4543
a600e5ce
RM
45442013-03-19 Roland McGrath <roland@hack.frob.com>
4545
4546 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4547 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4548 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4549 [!BEFORE_ABORT] (before_abort): New function.
4550 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4551 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4552 (writev_for_fatal): New function.
4553 (WRITEV_FOR_FATAL): New macro; call that.
4554 (backtrace_and_maps): New function.
4555 (BEFORE_ABORT): New macro; call that.
4556 (struct str_list): Type removed.
4557 (__libc_message, __libc_fatal): Functions removed.
4558 Include <sysdeps/posix/libc_fatal.c> instead.
4559
6b18bea6
JM
45602013-03-19 Joseph Myers <joseph@codesourcery.com>
4561
4562 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4563 constants.
4564 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4565 double constants.
4566
aaa8cb4b
AS
45672013-03-19 Andreas Schwab <schwab@suse.de>
4568
44673770
AS
4569 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4570 * sysdeps/gnu/configure: Regenerate.
4571
aaa8cb4b
AS
4572 * configure.in: Substitute libc_cv_rtlddir.
4573 * configure: Regenerate.
4574 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4575 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4576 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4577 * elf/Makefile (install-others, CFLAGS-interp.c)
4578 (ldso_install, common-ldd-rewrite): Likewise.
4579 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4580 $(inst_slibdir)/$(rtld-installed-name).
4581 * scripts/rellns-sh: Add -p option.
4582 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4583 for source.
4584
d3cfc668
SP
45852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4586
4587 * manual/nptl.texi: Renamed to ...
4588 * manual/threads.texi: ... this.
4589 * manual/Makefile (chapters): Update.
4590
0e2b9cdd
RM
45912013-03-18 Roland McGrath <roland@hack.frob.com>
4592
4593 [BZ #14812]
4594 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4595 on argument names, not just descriptions.
0e2b9cdd
RM
4596 * malloc/memusagestat.c (options): Likewise.
4597 * nss/getent.c (options): Likewise.
63270c24
RM
4598
45992013-03-18 Benno Schulenberg <bensberg@justemail.net>
4600
4601 [BZ #14812]
4602 * iconv/iconv_prog.c (options): Put N_ translation marker
4603 on argument names, not just descriptions.
4604 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4605
b2e1393c
OB
46062013-03-18 Ondrej Bilka <neleai@seznam.cz>
4607
4608 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4609 implementation which is faster on all x86_64 architectures.
4610 Tested on AMD, Intel Nehalem, SNB, IVB.
4611 * sysdeps/x86_64/strnlen.S: Likewise.
4612
4613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4614 Remove all multiarch strlen and strnlen versions.
4615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4616 Remove strlen and strnlen related parts.
4617
4618 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4619 Inline strlen part.
4620 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4621
4622 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4623 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4624 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4625 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4626 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4627 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4628
ec4ff04d
CD
46292013-03-17 Carlos O'Donell <carlos@redhat.com>
4630
4631 * manual/memory.texi (Malloc Tunable Parameters):
4632 Sort parameters alphabetically. Add comments for missing entries.
4633
cd18e90a
DM
46342013-03-17 David S. Miller <davem@davemloft.net>
4635
4636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4637
2a185d32
JM
46382013-03-16 Joseph Myers <joseph@codesourcery.com>
4639
d2f9799e
JM
4640 [BZ #15283]
4641 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4642 for arguments at most half maximum finite value.
4643 * math/libm-test.inc (j0_test): Add more tests.
4644 (j1_test): Likewise.
4645 (y0_test): Likewise.
4646 (y1_test): Likewise.
4647 * sysdeps/i386/fpu/libm-test-ulps: Update.
4648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4649
2a185d32
JM
4650 [BZ #14155]
4651 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4652 1 / x and functions P and Q for arguments above 0x1p256L.
4653 (__ieee754_y0l): Likewise.
4654 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4655 (__ieee754_y1l): Likewise.
4656 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4657 (j1_test): Likewise.
4658 (y0_test): Likewise.
4659 (y1_test): Likewise.
4660
6cbec759
TS
46612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4662
4663 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4664 variable.
4665
bc16e260
RM
46662013-03-15 Roland McGrath <roland@hack.frob.com>
4667
aefc9b8c
RM
4668 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4669 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4670 zero since it's initialized to EXEC_PAGESIZE.
4671
bc16e260
RM
4672 * sysdeps/unix/sysv/linux/ldsodefs.h
4673 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4674 * sysdeps/generic/ldsodefs.h: ... here.
4675
a57da955
TS
46762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4677
af00a34d
TS
4678 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4679
495ded2c
TS
4680 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4681 math/test-snan.c.
4682 * math/test-snan.c: Renamed from
4683 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4684 * math/Makefile (tests): Add test-snan.
4685 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4686 test-powerpc-snan.
4687
777b0332
TS
4688 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4689 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4690 functions.
4691 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4692 __builtin_nan family of functions.
4693 * math/libm-test.inc (initialize): Initialize qnan_value with
4694 __builtin_nan family of functions.
4695 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4696 Remove variables.
4697 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4698 Remove functions.
4699 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4700 storage class. Initialize qNaN_var and sNaN_var with
4701 __builtin_nan and __builtin_nans families of functions,
4702 respectively.
4703
64d063b8
TS
4704 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4705 (sqrt_test): Remove duplicate test with qNaN input.
4706 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4707 (round_test, signbit_test, significand_test): Note missing +/-Inf
4708 as well as qNaN tests.
4709
67e971f1
TS
4710 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4711 qNaN_var. Fix a few strings, too.
4712 * math/libm-test.inc (nan_value): Rename to qnan_value.
4713 * math/gen-libm-test.pl (%beautify): Adjust to that.
4714 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4715 * math/test-misc.c (main): Likewise.
4716 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4717 to __qnan_bytes, and __qnan_union, respectively.
4718 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4719 Likewise.
4720 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4721 and lqnanval, respectively.
4722 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4723 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4724 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4725 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4726
64487e12
TS
4727 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4728 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4729 doubles.
4730
e015e27b
TS
4731 * math/test-misc.c (main): Fix copy'n'pastos.
4732 * misc/tst-efgcvt.c (special): Likewise.
4733
a57da955
TS
4734 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4735 Remove declarations.
4736
1e380345
SP
47372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4738
4739 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4740 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4741 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4742 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4743
ef26eece
AZ
47442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4745
4746 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4747 macro to return vdso values correctly in IFUNC implementations.
4748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4749 Optimization by using IFUNC.
4750
8cfdb7e0
SP
47512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4752 Richard Henderson <rth@redhat.com>
4753 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4754
4755 * Makefile.in (bench): New target.
4756 * NEWS: Mention the benchmark framework.
4757 * Rules (bench): Likewise.
4758 (binaries-bench): Generate binaries for functions to
4759 benchmark.
4760 * benchtests/Makefile: New makefile for benchmark tests.
4761 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4762 programs.
4763 * benchtests/exp-inputs: New input file for EXP function.
4764 * benchtests/pow-inputs: New input file for POW function.
4765 * scripts/bench.pl: New script to generate source files for
4766 benchmark programs.
4767
bcda9880
SP
47682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4769
d22ca8cd
SP
4770 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4771 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4772 computations on mantissa. Use macros for rounding and
4773 division.
4774 (denorm): Likewise.
4775 (__dbl_mp): Likewise.
4776 (add_magnitudes): Likewise.
4777 (sub_magnitudes): Likewise.
4778 (__mul): Likewise.
4779 (__sqr): Likewise.
4780 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4781 powers of two in terms of TWOPOW macro.
4782 (mp_no): Make type of mantissa as MANTISSA_T.
4783 [!RADIXI]: Define RADIXI.
4784 [!TWO52]: Define TWO52.
4785 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4786
bcda9880
SP
4787 * manual/nptl.texi (cindex): Modify threads to pthreads.
4788
06d5adfb
JM
47892013-03-15 Joseph Myers <joseph@codesourcery.com>
4790
4791 * sysdeps/x86_64/preconfigure: Regenerated.
4792
41c7328e
JM
47932013-03-14 Joseph Myers <joseph@codesourcery.com>
4794
4795 [BZ #14155]
4796 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4797 0x1p28 and above.
4798 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4799 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4800 0x1p28 and above.
4801 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4802 * math/libm-test.inc (j0_test): Do not allow one spurious
4803 underflow exception.
4804 (y1_test): Likewise.
4805
e25cfa60
SP
48062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4807
0409959c
SP
4808 * manual/Makefile (chapters): Add nptl.
4809 * manual/debug.texi (Debugging Support): Add link to Threads
4810 chapter.
4811 * manual/nptl.texi: New file.
4812
e25cfa60
SP
4813 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4814
58a1335e
PB
48152013-03-14 Petr Baudis <pasky@ucw.cz>
4816
4817 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4818 for non-NULL pointer before the memory validity test. Pointed
4819 out by Holger Brunck <holger.brunck@keymile.com>.
4820
9dc7c64f
AS
48212013-03-13 Andreas Schwab <schwab@suse.de>
4822
4823 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4824 instead of .os.
4825
54206aa6
JM
48262013-03-13 Joseph Myers <joseph@codesourcery.com>
4827
4828 * timezone/zic.c: Update from tzcode 2013b.
4829
e98cdb38
CD
48302013-03-12 Carlos O'Donell <carlos@redhat.com>
4831
4832 * manual/install.texi (Configuring and compiling):
4833 Mention i686 and i586.
4834 * INSTALL: Regenerate.
4835
9967e003
RM
48362013-03-12 Roland McGrath <roland@hack.frob.com>
4837
4838 * sysdeps/init_array/elf-init.c: New file.
4839 * csu/elf-init.c
4840 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4841 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4842
4843 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4844 __gmon_start__ as global, but as static with a .preinit_array pointer.
4845 * sysdeps/init_array/gmon-start.c: New file. Use that.
4846 * sysdeps/init_array/crti.S: New file, empty except for comments.
4847 * sysdeps/init_array/crtn.S: Likewise.
4848
e6b5a293 48492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4850
4851 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4852 definining bcopy.
80f844c9
OB
4853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4854 Remove Prefer_SSE_for_memop.
4855 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4856 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4857 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4859 memset-x86-64.
80f844c9 4860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4861 Remove bzero, memset ifunc support.
80f844c9
OB
4862 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4863 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4864 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4865 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4866
fb6b0fcb
AS
48672013-03-11 Andreas Schwab <schwab@suse.de>
4868
4869 [BZ #15234]
4870 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4871 by SHLIB_COMPAT.
4872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4873 (GLIBC_2.16): Remove pthread_atfork.
4874
3e6bd4b1
PP
48752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4876
4877 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4878 (ptestcases.h): Likewise.
4879
222d7f00
RM
48802013-03-08 Roland McGrath <roland@hack.frob.com>
4881
4882 * Makeconfig ($(common-objpfx)config.status): Depend on
4883 sysdeps/*/preconfigure{,.in} too.
4884
1ba4f030
JM
48852013-03-08 Joseph Myers <joseph@codesourcery.com>
4886
a222d91a
JM
4887 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4888 (__free_hook): Use void * instead of __malloc_ptr_t.
4889 (__malloc_hook): Likewise.
4890 (__realloc_hook): Likewise.
4891 (__memalign_hook): Likewise.
4892 (__after_morecore_hook): Likewise.
4893 * malloc/arena.c (save_malloc_hook): Likewise.
4894 (save_free_hook): Likewise.
4895 * malloc/hooks.c (malloc_hook_ini): Likewise.
4896 (realloc_hook_ini): Likewise.
4897 (memalign_hook_ini): Likewise.
4898 * malloc/malloc.c (malloc_hook_ini): Likewise.
4899 (realloc_hook_ini): Likewise.
4900 (memalign_hook_ini): Likewise.
4901 (__free_hook): Likewise.
4902 (__malloc_hook): Likewise.
4903 (__realloc_hook): Likewise.
4904 (__memalign_hook): Likewise.
4905 (__libc_malloc): Likewise.
4906 (__libc_free): Likewise.
4907 (__libc_realloc): Likewise.
4908 (__libc_memalign): Likewise.
4909 (__libc_valloc): Likewise.
4910 (__libc_pvalloc): Likewise.
4911 (__libc_calloc): Likewise.
4912 (__posix_memalign): Likewise.
4913 * malloc/morecore.c (__sbrk): Likewise.
4914 (__default_morecore): Likewise.
4915
5cc45e10
JM
4916 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4917
dd54b864
JM
4918 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4919 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4920 __malloc_ptrdiff_t.
4921
1ba4f030
JM
4922 * malloc/malloc.h (__malloc_size_t): Remove macro.
4923 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4924 __malloc_size_t.
4925 (old_memalign_hook): Likewise.
4926 (old_realloc_hook): Likewise.
4927 (struct hdr): Likewise.
4928 (flood): Likewise.
4929 (mallochook): Likewise.
4930 (memalignhook): Likewise.
4931 (reallochook): Likewise.
4932 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4933 (tr_old_realloc_hook): Likewise.
4934 (tr_old_memalign_hook): Likewise.
4935 (tr_mallochook): Likewise.
4936 (tr_reallochook): Likewise.
4937 (tr_memalignhook): Likewise.
4938
edf66e57
AZ
49392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4940
4941 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4942 default_ldbl_pack and using as default implementation.
4943 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4944 implementation.
4945 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4946 redundant definition.
4947 (ldbl_insert_mantissa): Likewise.
4948 (ldbl_canonicalize): Likewise.
4949 (ldbl_nearbyint): Likewise.
4950 (ldbl_pack): Rename to ldbl_pack_ppc.
4951 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4952 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4953 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4954
6d9145d8
SP
49552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4956
4957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4958 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4959 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4960 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4962 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4963 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4964 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4965
4dd4e157
AJ
49662013-03-07 Andreas Jaeger <aj@suse.de>
4967
4968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4969 bits/mman-linux.h.
4970
adbb8027
SP
49712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4972
ce544b5b
SP
4973 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4974 Include mpa.h and declare __MPEXP.
4975 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4977 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4978 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4979 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4980 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4981 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4982
4cc149fd
SP
4983 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4984 (__slowpow): Use long double EXPL and LOGL functions to
4985 compute POW.
4986 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4987 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4988 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4989 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4990 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4991 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4992
e6ebd4a7
SP
4993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4994 intermediate variable to calculate exponent.
4995 (__sqr): Likewise.
4996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4997 Likewise.
4998 (__sqr): Likewise.
4999
82a9811d
SP
5000 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5001 [!NO__SQR]: Define __sqr.
5002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5003 and NO__SQR. Remove all code except __mul and __sqr. Include
5004 sysdeps/ieee754/dbl-64/mpa.c.
5005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5006
adbb8027
SP
5007 [BZ #12723]
5008 * posix/Makefile (tests): Add tst-pathconf.
5009 * posix/tst-pathconf.c: New test case.
5010 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5011 _PC_PIPE_BUF.
5012 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5013
39120df9
PF
50142013-03-06 Patsy Franklin <pfrankli@redhat.com>
5015
5016 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5017
67525cb8
AJ
50182013-03-06 Andreas Jaeger <aj@suse.de>
5019
664a9ce4
AJ
5020 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5021 definition via __MAP_ANONYMOUS.
5022
8e39047d
AJ
5023 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5024 it's not part of Linux headers.
5025
67525cb8
AJ
5026 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5027 (MAP_HUGE_MASK): Define.
5028
5029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5030 Define.
5031 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5033 Define.
5034 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5035 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5036 Define.
5037 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5039 Define.
5040 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5041
5042 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5043 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5044 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5045 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5046 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5048
5049 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5050 Handle f2fs.
5051
5052 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5053 Handle f2fs and efivarfs.
5054
5055 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5056 f2fs.
5057
5058 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5059 (EFIVARFS_MAGIC): Add.
5060 (F2FS_LINK_MAX): Add.
5061
e1b42695
PP
50622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5063
5064 * stdio-common/vfprintf.c: Replace __builtin_expect with
5065 __glibc_unlikely.
5066
2d67d91a
JM
50672013-03-06 Joseph Myers <joseph@codesourcery.com>
5068
5069 [BZ #13550]
5070 * sysdeps/generic/bp-sym.h: Remove file.
5071 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5072 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5073 <bp-sym.h> and <bp-asm.h>.
5074 (__longjmp): Don't use BP_SYM.
5075 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5076 and <bp-asm.h>.
5077 (memcpy): Don't use BP_SYM.
5078 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5079 <bp-sym.h> and <bp-asm.h>.
5080 (memcpy): Don't use BP_SYM.
5081 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5082 <bp-asm.h>.
5083 (memcpy): Don't use BP_SYM.
5084 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5085 <bp-asm.h>.
5086 (memset): Don't use BP_SYM.
5087 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5088 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5089 (__bzero): Don't use BP_SYM.
5090 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5091 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5092 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5093 <bp-sym.h> and <bp-asm.h>.
5094 (memcmp): Don't use BP_SYM. Remove comment about bounded
5095 pointers.
5096 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5097 <bp-sym.h> and <bp-asm.h>.
5098 (memcpy): Don't use BP_SYM.
5099 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5100 <bp-sym.h> and <bp-asm.h>.
5101 (memset): Don't use BP_SYM.
5102 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5103 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5104 (__bzero): Don't use BP_SYM.
5105 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5106 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5107 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5108 <bp-sym.h> and <bp-asm.h>.
5109 (strncmp): Don't use BP_SYM. Remove comment about bounded
5110 pointers.
5111 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5112 <bp-sym.h> and <bp-asm.h>.
5113 (memcpy): Don't use BP_SYM.
5114 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5115 <bp-sym.h> and <bp-asm.h>.
5116 (memset): Don't use BP_SYM.
5117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5119 (__bzero): Don't use BP_SYM.
5120 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5121 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5123 <bp-sym.h> and <bp-asm.h>.
5124 (__memchr): Don't use BP_SYM.
5125 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5126 <bp-sym.h> and <bp-asm.h>.
5127 (memcmp): Don't use BP_SYM. Remove comment about bounded
5128 pointers.
5129 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5130 <bp-sym.h> and <bp-asm.h>.
5131 (memcpy): Don't use BP_SYM.
5132 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5133 <bp-sym.h> and <bp-asm.h>.
5134 (__mempcpy): Don't use BP_SYM.
5135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5136 <bp-sym.h> and <bp-asm.h>.
5137 (__memrchr): Don't use BP_SYM.
5138 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5139 <bp-sym.h> and <bp-asm.h>.
5140 (memset): Don't use BP_SYM.
5141 (__bzero): Likewise.
5142 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5143 <bp-sym.h> and <bp-asm.h>.
5144 (__rawmemchr): Don't use BP_SYM.
5145 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5146 <bp-sym.h> and <bp-asm.h>.
5147 (__STRCMP): Don't use BP_SYM.
5148 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5149 <bp-sym.h> and <bp-asm.h>.
5150 (strchr): Don't use BP_SYM.
5151 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5152 <bp-sym.h> and <bp-asm.h>.
5153 (__strchrnul): Don't use BP_SYM.
5154 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5155 <bp-sym.h> and <bp-asm.h>.
5156 (strlen): Don't use BP_SYM.
5157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5158 <bp-sym.h> and <bp-asm.h>.
5159 (strncmp): Don't use BP_SYM. Remove comment about bounded
5160 pointers.
5161 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5162 <bp-sym.h> and <bp-asm.h>.
5163 (__strnlen): Don't use BP_SYM.
5164 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5165 <bp-sym.h> and <bp-asm.h>.
5166 (__GI__setjmp): Don't use BP_SYM.
5167 (_setjmp): Likewise.
5168 (__sigsetjmp): Likewise.
5169 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5170 (L(start_addresses)): Don't use BP_SYM.
5171 (_start): Likewise.
5172 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5173 <bp-asm.h>.
5174 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5175 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5176 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5177 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5178 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5179 <bp-asm.h>.
5180 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5181 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5182 about bounded pointers.
5183 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5184 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5185 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5186 <bp-asm.h>.
5187 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5188 about bounded pointers. Remove GKM FIXME comments.
5189 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5190 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5191 <bp-asm.h>.
5192 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5193 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5194 Remove GKM FIXME comments.
5195 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5196 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5197 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5198 <bp-asm.h>.
5199 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5200 about bounded pointers. Remove GKM FIXME comment.
5201 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5202 and <bp-asm.h>.
5203 (strncmp): Don't use BP_SYM. Remove comment about bounded
5204 pointers.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5206 <bp-sym.h> and <bp-asm.h>.
5207 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5209 <bp-sym.h> and <bp-asm.h>.
5210 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5211 comment.
5212
cdcf361f
PP
52132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5214
5215 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5216 call free(NULL).
5217
3c4a2b15
DM
52182013-03-05 David S. Miller <davem@davemloft.net>
5219
5220 * po/es.po: Update from translation team.
5221
cdcf361f 52222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5223
5224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5225 <bits/mman-linux.h>.
5226 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5227 is fine.
5228 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5229 <bits/mman-linux.h> to end of file.
5230 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5231 is fine.
5232 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5233 <bits/mman-linux.h> to end of file.
5234 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5235 is fine.
5236 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5237 <bits/mman-linux.h> to end of file.
5238
5239 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5240 (MCL_CURRENT, MCL_FUTURE): Define here.
5241
5f67c04f
AK
52422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5243
8a4473cc 5244 [BZ #15232]
5f67c04f
AK
5245 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5246 attribute_hidden.
5247 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5248
c3e94a95
AK
52492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5250
5251 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5252 fourth parameter needed for rt_sigprocmask syscall.
5253 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5254 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5255 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5256 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5257 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5258 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5259
cfb6382a
JM
52602013-03-04 Joseph Myers <joseph@codesourcery.com>
5261
5262 [BZ #13550]
5263 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5264 comment about bounded pointers.
5265 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5266 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5267
539d8e01
AJ
52682013-03-04 Andreas Jaeger <aj@suse.de>
5269
5270 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5271 common definitions.
5272
5273 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5274 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5275 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5276 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5277 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5278 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5279
2e167a70 52802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5281
5282 [BZ #15055]
5283 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5284 __ieee754_sqrl instead of __sqrl.
5285
68508633
JM
52862013-03-01 Joseph Myers <joseph@codesourcery.com>
5287
5288 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5289 * sysdeps/powerpc/fpu_control.h: ... here.
5290 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5291 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5292 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5293 * sysdeps/powerpc/bits/mathinline.h: ... here.
5294
7775448e
RM
52952013-03-01 Roland McGrath <roland@hack.frob.com>
5296
5297 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5298 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5299 to just [NEED_DL_SYSINFO_DSO].
5300 * elf/dl-support.c: Likewise.
5301 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5302 * elf/rtld.c (dl_main): Likewise.
5303 * elf/setup-vdso.h (setup_vdso): Likewise.
5304 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5305 * sysdeps/unix/sysv/linux/dl-sysdep.c
5306 (_dl_discover_osversion): Likewise.
5307
4e9b5995
CD
53082013-03-01 Carlos O'Donell <carlos@redhat.com>
5309
5310 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5311 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5312
e23872c8
SP
53132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5314
e5c74c63
SP
5315 * NEWS: Mention libm performance improvements and non-x86 PI
5316 futex support.
5317
e23872c8
SP
5318 * csu/libc-start.c (__pthread_initialize_minimal): Change
5319 function arguments.
5320 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5321
b5510883
JM
53222013-02-28 Joseph Myers <joseph@codesourcery.com>
5323
5324 [BZ #13550]
5325 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5326 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5327 <bp-sym.h> and <bp-asm.h>.
5328 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5329 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5330 and <bp-asm.h>.
5331 (memcpy): Don't use BP_SYM.
5332 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5333 <bp-asm.h>.
5334 (__mpn_add_n): Don't use BP_SYM.
5335 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5336 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5337 and <bp-asm.h>.
5338 (__mpn_addmul_1): Don't use BP_SYM.
5339 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5340 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5341 <bp-sym.h>.
5342 (_setjmp): Don't use BP_SYM.
5343 (__novmx_setjmp): Likewise.
5344 (__GI__setjmp): Likewise.
5345 (__vmx_setjmp): Likewise.
5346 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5347 <bp-sym.h>.
5348 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5349 (__bzero): Don't use BP_SYM.
5350 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5351 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5352 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5353 <bp-sym.h> and <bp-asm.h>.
5354 (memcpy): Don't use BP_SYM.
5355 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5356 <bp-sym.h> and <bp-asm.h>.
5357 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5358 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5359 <bp-sym.h> and <bp-asm.h>.
5360 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5361 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5362 <bp-asm.h>.
5363 (__mpn_lshift): Don't use BP_SYM.
5364 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5365 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5366 <bp-asm.h>.
5367 (memset): Don't use BP_SYM.
5368 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5369 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5370 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5371 <bp-asm.h>.
5372 (__mpn_mul_1): Don't use BP_SYM.
5373 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5375 <bp-sym.h> and <bp-asm.h>.
5376 (memcmp): Don't use BP_SYM.
5377 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5378 <bp-sym.h> and <bp-asm.h>.
5379 (memcpy): Don't use BP_SYM.
5380 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5381 <bp-sym.h> and <bp-asm.h>.
5382 (memset): Don't use BP_SYM.
5383 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5384 <bp-sym.h> and <bp-asm.h>.
5385 (strncmp): Don't use BP_SYM.
5386 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5387 <bp-sym.h> and <bp-asm.h>.
5388 (memcpy): Don't use BP_SYM.
5389 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5390 <bp-sym.h> and <bp-asm.h>.
5391 (memset): Don't use BP_SYM.
5392 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5393 <bp-sym.h> and <bp-asm.h>.
5394 (__memchr): Don't use BP_SYM.
5395 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5396 <bp-sym.h> and <bp-asm.h>.
5397 (memcmp): Don't use BP_SYM.
5398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5399 <bp-sym.h> and <bp-asm.h>.
5400 (memcpy): Don't use BP_SYM.
5401 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5402 <bp-sym.h> and <bp-asm.h>.
5403 (__mempcpy): Don't use BP_SYM.
5404 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5405 <bp-sym.h> and <bp-asm.h>.
5406 (__memrchr): Don't use BP_SYM.
5407 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5408 <bp-sym.h> and <bp-asm.h>.
5409 (memset): Don't use BP_SYM.
5410 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5411 <bp-sym.h> and <bp-asm.h>.
5412 (__rawmemchr): Don't use BP_SYM.
5413 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5414 <bp-sym.h> and <bp-asm.h>.
5415 (__STRCMP): Don't use BP_SYM.
5416 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5417 <bp-sym.h> and <bp-asm.h>.
5418 (strchr): Don't use BP_SYM.
5419 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5420 <bp-sym.h> and <bp-asm.h>.
5421 (__strchrnul): Don't use BP_SYM.
5422 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5423 <bp-sym.h> and <bp-asm.h>.
5424 (strlen): Don't use BP_SYM.
5425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5426 <bp-sym.h> and <bp-asm.h>.
5427 (strncmp): Don't use BP_SYM.
5428 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5429 <bp-sym.h> and <bp-asm.h>.
5430 (__strnlen): Don't use BP_SYM.
5431 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5432 <bp-asm.h>.
5433 (__mpn_rshift): Don't use BP_SYM.
5434 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5435 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5436 <bp-sym.h> and <bp-asm.h>.
5437 (__sigsetjmp): Don't use BP_SYM.
5438 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5439 (L(start_addresses)): Don't use BP_SYM.
5440 (_start): Likewise.
5441 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5442 <bp-asm.h>.
5443 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5444 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5445 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5446 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5447 <bp-asm.h>.
5448 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5449 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5450 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5451 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5452 <bp-asm.h>.
5453 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5454 comments.
5455 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5456 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5457 <bp-asm.h>.
5458 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5459 FIXME comments.
5460 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5461 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5462 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5463 <bp-asm.h>.
5464 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5465 comment.
5466 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5467 and <bp-asm.h>.
5468 (strncmp): Don't use BP_SYM,
5469 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5470 <bp-asm.h>.
5471 (__mpn_sub_n): Don't use BP_SYM.
5472 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5473 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5474 and <bp-asm.h>.
5475 (__mpn_submul_1): Don't use BP_SYM.
5476 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5478 <bp-sym.h> and <bp-asm.h>.
5479 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5481 <bp-sym.h> and <bp-asm.h>.
5482 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5483 comment.
5484
8d19fe64
SP
54852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5486
5487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5488 Use ZK to minimize writes to Z.
5489 (sub_magnitudes): Simplify code a bit.
5490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5491 Use ZK to minimize writes to Z.
5492 (sub_magnitudes): Simplify code a bit.
5493
85bd816a
RM
54942013-02-27 Roland McGrath <roland@hack.frob.com>
5495
5496 * csu/gmon-start.c: Add special exception to license text.
5497
b5977bf2
RH
54982013-02-27 Richard Henderson <rth@redhat.com>
5499
5500 * scripts/config.guess: Update from config.git.
5501 * scripts/config.sub: Likewise.
5502
11d6e2f2
SP
55032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5504
09c14ed2
SP
5505 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5506
a688864e
SP
5507 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5508
6295157a
SP
5509 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5510
b8de2202
SP
5511 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5512
11d6e2f2
SP
5513 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5514
7e80ddb8
RM
55152013-02-26 Roland McGrath <roland@hack.frob.com>
5516
5517 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5518 [$(build-shared = yes].
7e80ddb8 5519
7da6d9ed
SP
55202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5521
45f05884
SP
5522 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5523 (__mul): Reduce iterations for calculating mantissa.
5524
2236d359
SP
5525 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5526 MPTWO.
5527 (__mpranred): Likewise.
5528
7da6d9ed
SP
5529 [BZ #15160]
5530 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5531 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5532
b7688c42
PE
55332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5534
5535 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5536 Define __attribute__.
5537
53a5c423
SP
55382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5539
5540 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5541 unused.
5542 * posix/regex_internal.h (__attribute): Remove.
5543 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5544 (re_string_context_at): Likewise.
5545 (bitset_not): Use __attribute__ and mark function as possibly
5546 unused.
5547 (bitset_merge): Likewise.
5548 (bitset_mask): Likewise.
5549 (re_string_char_size_at): Likewise.
5550 (re_string_wchar_at): Likewise.
5551 (re_string_elem_size_at): Likewise.
5552
60f5a8b5
SP
55532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5554
2a983a2e
SP
5555 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5556 code.
5557 (cc32): Likewise.
5558
e69804d1
SP
5559 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5560 (__acr): Likewise.
5561 (__cpy): Likewise.
5562 (norm): Likewise.
5563 (denorm): Likewise.
5564 (__dbl_mp): Likewise.
5565 (add_magnitudes): Likewise.
5566 (sub_magnitudes): Likewise.
5567 (__mul): Likewise.
5568 (__inv): Likewise.
5569
2f22a1e8
SP
5570 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5571 style.
5572
8930ddc7
SP
5573 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5574 style.
5575
dc60cb11
SP
5576 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5577 code.
5578
60f5a8b5
SP
5579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5580 up changes with default code.
5581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5582 Likewise.
5583
b4d1fd33
AM
55842013-02-24 Allan McRae <allan@archlinux.org>
5585
faf6f8bc
AM
5586 * manual/socket.texi (The Internet Namespace): Order menu items
5587 to match that in the file.
5588
b4d1fd33
AM
5589 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5590 node listing of the info page menu.
5591
2366713d
JM
55922013-02-21 Joseph Myers <joseph@codesourcery.com>
5593
5594 [BZ #13550]
5595 * sysdeps/i386/bp-asm.h: Remove file.
5596 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5597 (PARMS): Do not use macros from bp-asm.h.
5598 (S1): Likewise.
5599 (S2): Likewise.
5600 (SIZE): Likewise.
5601 (__mpn_add_n): Do not use BP_SYM
5602 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5603 "bp-asm.h".
5604 (PARMS): Do not use macros from bp-asm.h.
5605 (S1): Likewise.
5606 (SIZE): Likewise.
5607 (__mpn_addmul_1): Do not use BP_SYM
5608 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5609 "bp-asm.h".
5610 (PARMS): Do not use macros from bp-asm.h.
5611 (SIGMSK): Likewise.
5612 (_setjmp): Likewise. Do not use BP_SYM.
5613 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5614 "bp-asm.h".
5615 (PARMS): Do not use macros from bp-asm.h.
5616 (SIGMSK): Likewise.
5617 (setjmp): Likewise. Do not use BP_SYM.
5618 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5619 "bp-asm.h".
5620 (PARMS): Do not use macros from bp-asm.h.
5621 (__frexp): Do not use BP_SYM.
5622 (frexp): Likewise.
5623 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5624 "bp-asm.h".
5625 (PARMS): Do not use macros from bp-asm.h.
5626 (__frexpf): Do not use BP_SYM.
5627 (frexpf): Likewise.
5628 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5629 "bp-asm.h".
5630 (PARMS): Do not use macros from bp-asm.h.
5631 (__frexpl): Do not use BP_SYM.
5632 (frexpl): Likewise.
5633 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5634 "bp-asm.h".
5635 (PARMS): Do not use macros from bp-asm.h.
5636 (__remquo): Do not use BP_SYM.
5637 (remquo): Likewise.
5638 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5639 "bp-asm.h".
5640 (PARMS): Do not use macros from bp-asm.h.
5641 (__remquof): Do not use BP_SYM.
5642 (remquof): Likewise.
5643 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5644 "bp-asm.h".
5645 (PARMS): Do not use macros from bp-asm.h.
5646 (__remquol): Do not use BP_SYM.
5647 (remquol): Likewise.
5648 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5649 "bp-asm.h".
5650 (PARMS): Do not use macros from bp-asm.h.
5651 (DEST): Likewise.
5652 (SRC): Likewise.
5653 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5654 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5655 "bp-asm.h".
5656 (PARMS): Do not use macros from bp-asm.h.
5657 (strlen): Do not use BP_SYM.
5658 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5659 "bp-asm.h".
5660 (PARMS): Do not use macros from bp-asm.h.
5661 (S1): Likewise.
5662 (S2): Likewise.
5663 (SIZE): Likewise.
5664 (__mpn_add_n): Do not use BP_SYM.
5665 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
5670 (__mpn_addmul_1): Do not use BP_SYM.
5671 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5672 weak_alias.
5673 (bzero): Likewise.
5674 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5675 "bp-asm.h".
5676 (PARMS): Do not use macros from bp-asm.h.
5677 (S): Likewise.
5678 (SIZE): Likewise.
5679 (__mpn_lshift): Do not use BP_SYM.
5680 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5681 "bp-asm.h".
5682 (PARMS): Do not use macros from bp-asm.h.
5683 (DEST): Likewise.
5684 (SRC): Likewise.
5685 (LEN): Likewise.
5686 (memcpy): Likewise. Do not use BP_SYM.
5687 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5688 libc_hidden_def and weak_alias.
5689 (mempcpy): Do not use BP_SYM in weak_alias.
5690 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5691 "bp-asm.h".
5692 (PARMS): Do not use macros from bp-asm.h.
5693 (DEST): Likewise.
5694 (LEN): Likewise.
5695 [!BZERO_P] (CHR): Likewise.
5696 (memset): Likewise. Do not use BP_SYM.
5697 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5698 "bp-asm.h".
5699 (PARMS): Do not use macros from bp-asm.h.
5700 (S1): Likewise.
5701 (SIZE): Likewise.
5702 (__mpn_mul_1): Do not use BP_SYM.
5703 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5704 "bp-asm.h".
5705 (PARMS): Do not use macros from bp-asm.h.
5706 (S): Likewise.
5707 (SIZE): Likewise.
5708 (__mpn_rshift): Do not use BP_SYM.
5709 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5710 "bp-asm.h".
5711 (PARMS): Do not use macros from bp-asm.h.
5712 (STR): Likewise.
5713 (CHR): Likewise.
5714 (strchr): Likewise. Do not use BP_SYM.
5715 (index): Do not use BP_SYM in weak_alias.
5716 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5717 "bp-asm.h".
5718 (PARMS): Do not use macros from bp-asm.h.
5719 (DEST): Likewise.
5720 (SRC): Likewise.
5721 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5722 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5723 "bp-asm.h".
5724 (PARMS): Do not use macros from bp-asm.h.
5725 (strlen): Do not use BP_SYM.
5726 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5727 "bp-asm.h".
5728 (PARMS): Do not use macros from bp-asm.h.
5729 (S1): Likewise.
5730 (S2): Likewise.
5731 (SIZE): Likewise.
5732 (__mpn_sub_n): Do not use BP_SYM.
5733 * sysdeps/i386/i586/submul_1.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 (SIZE): Likewise.
5738 (__mpn_submul_1): Do not use BP_SYM.
5739 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5740 "bp-asm.h".
5741 (PARMS): Do not use macros from bp-asm.h.
5742 (S1): Likewise.
5743 (S2): Likewise.
5744 (SIZE): Likewise.
5745 (__mpn_add_n): Do not use BP_SYM.
5746 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5747 weak_alias.
5748 (bzero): Likewise.
5749 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5750 "bp-asm.h".
5751 (PARMS): Do not use macros from bp-asm.h.
5752 (BLK2): Likewise.
5753 (LEN): Likewise.
5754 (memcmp): Do not use BP_SYM.
5755 (bcmp): Do not use BP_SYM in weak_alias.
5756 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5757 "bp-asm.h".
5758 (PARMS): Do not use macros from bp-asm.h.
5759 (DEST): Likewise.
5760 (SRC): Likewise.
5761 (LEN): Likewise.
5762 (memcpy): Likewise. Do not use BP_SYM.
5763 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
5770 * sysdeps/i386/i686/mempcpy.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 (__mempcpy): Likewise. Do not use BP_SYM.
5777 (mempcpy): Do not use BP_SYM in weak_alias.
5778 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5779 "bp-asm.h".
5780 (PARMS): Do not use macros from bp-asm.h.
5781 (DEST): Likewise.
5782 (LEN): Likewise.
5783 [!BZERO_P] (CHR): Likewise.
5784 (memset): Likewise. Do not use BP_SYM.
5785 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5786 "bp-asm.h".
5787 (PARMS): Do not use macros from bp-asm.h.
5788 (STR2): Likewise.
5789 (strcmp): Do not use BP_SYM.
5790 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5791 "bp-asm.h".
5792 (PARMS): Do not use macros from bp-asm.h.
5793 (STR): Likewise.
5794 (DELIM): Likewise.
5795 [USE_AS_STRTOK_R] (SAVE): Likewise.
5796 (FUNCTION): Likewise. Do not use BP_SYM.
5797 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5798 aliases.
5799 (strtok_r): Likewise.
5800 (__GI___strtok_r): Likewise.
5801 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5802 (PARMS): Do not use macros from bp-asm.h.
5803 (S): Likewise.
5804 (SIZE): Likewise.
5805 (__mpn_lshift): Do not use BP_SYM.
5806 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5807 (PARMS): Do not use macros from bp-asm.h.
5808 (STR): Likewise.
5809 (CHR): Likewise.
5810 (__memchr): Do not use BP_SYM.
5811 (memchr): Do not use BP_SYM in weak_alias.
5812 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5813 (PARMS): Do not use macros from bp-asm.h.
5814 (BLK2): Likewise.
5815 (LEN): Likewise.
5816 (memcmp): Do not use BP_SYM.
5817 (bcmp): Do not use BP_SYM in weak_alias.
5818 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5819 (PARMS): Do not use macros from bp-asm.h.
5820 (S1): Likewise.
5821 (SIZE): Likewise.
5822 (__mpn_mul_1): Do not use BP_SYM.
5823 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5824 "bp-asm.h".
5825 (PARMS): Do not use macros from bp-asm.h.
5826 (STR): Likewise.
5827 (CHR): Likewise.
5828 (__rawmemchr): Do not use BP_SYM.
5829 (rawmemchr): Do not use BP_SYM in weak_alias.
5830 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5831 (PARMS): Do not use macros from bp-asm.h.
5832 (S): Likewise.
5833 (SIZE): Likewise.
5834 (__mpn_rshift): Do not use BP_SYM.
5835 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5836 (PARMS): Do not use macros from bp-asm.h.
5837 (SIGMSK): Likewise.
5838 (__sigsetjmp): Likewise. Do not use BP_SYM.
5839 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5840 (_start): Do not use BP_SYM.
5841 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5842 (PARMS): Do not use macros from bp-asm.h.
5843 (DEST): Likewise.
5844 (SRC): Likewise.
5845 (__stpcpy): Likewise. Do not use BP_SYM.
5846 (stpcpy): Do not use BP_SYM in weak_alias.
5847 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5848 "bp-asm.h".
5849 (PARMS): Do not use macros from bp-asm.h.
5850 (DEST): Likewise.
5851 (SRC): Likewise.
5852 (LEN): Likewise.
5853 (__stpncpy): Likewise. Do not use BP_SYM.
5854 (stpncpy): Do not use BP_SYM in weak_alias.
5855 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5856 (PARMS): Do not use macros from bp-asm.h.
5857 (STR): Likewise.
5858 (CHR): Likewise.
5859 (strchr): Likewise. Do not use BP_SYM.
5860 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5861 "bp-asm.h".
5862 (PARMS): Do not use macros from bp-asm.h.
5863 (STR): Likewise.
5864 (CHR): Likewise.
5865 (__strchrnul): Likewise. Do not use BP_SYM.
5866 (strchrnul): Do not use BP_SYM in weak_alias.
5867 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5868 "bp-asm.h".
5869 (PARMS): Do not use macros from bp-asm.h.
5870 (STOP): Likewise.
5871 (strcspn): Do not use BP_SYM.
5872 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5873 "bp-asm.h".
5874 (PARMS): Do not use macros from bp-asm.h.
5875 (STR): Likewise.
5876 (STOP): Likewise.
5877 (strpbrk): Likewise. Do not use BP_SYM.
5878 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5879 "bp-asm.h".
5880 (PARMS): Do not use macros from bp-asm.h.
5881 (STR): Likewise.
5882 (CHR): Likewise.
5883 (strrchr): Likewise. Do not use BP_SYM.
5884 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5885 (PARMS): Do not use macros from bp-asm.h.
5886 (SKIP): Likewise.
5887 (strspn): Do not use BP_SYM.
5888 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5889 (PARMS): Do not use macros from bp-asm.h.
5890 (STR): Likewise.
5891 (DELIM): Likewise.
5892 (SAVE): Likewise.
5893 (FUNCTION): Likewise. Do not use BP_SYM.
5894 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5895 aliases.
5896 (strtok_r): Likewise.
5897 (__GI___strtok_r): Likewise.
5898 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5899 (PARMS): Do not use macros from bp-asm.h.
5900 (S1): Likewise.
5901 (S2): Likewise.
5902 (SIZE): Likewise.
5903 (__mpn_sub_n): Do not use BP_SYM.
5904 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5905 "bp-asm.h".
5906 (PARMS): Do not use macros from bp-asm.h.
5907 (S1): Likewise.
5908 (SIZE): Likewise.
5909 (__mpn_submul_1): Do not use BP_SYM.
5910 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5911 <bp-sym.h>.
5912 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5913 and <bp-asm.h>.
5914 (PARMS): Do not use macros from bp-asm.h.
5915 (FLAGS): Likewise.
5916 (PTID): Likewise.
5917 (TLS): Likewise.
5918 (CTID): Likewise.
5919 (__clone): Do not use BP_SYM.
5920 (clone): Do not use BP_SYM in weak_alias.
5921 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5922 and <bp-asm.h>.
5923 (PARMS): Do not use macros from bp-asm.h.
5924 (LEN): Likewise.
5925 (__mmap64): Do not use BP_SYM.
5926 (mmap64): Do not use BP_SYM in weak_alias.
5927 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5928 <bp-sym.h> and <bp-asm.h>.
5929 (PARMS): Do not use macros from bp-asm.h.
5930 (__posix_fadvise64_l64): Do not use BP_SYM.
5931 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5932 (PARMS): Do not use macros from bp-asm.h.
5933 (NSOPS): Likewise.
5934 (semtimedop): Do not use BP_SYM.
5935 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5936 and <bp-asm.h>.
5937
582a3cff
AM
59382013-02-21 Allan McRae <allan@archlinux.org>
5939
5940 * manual/message.texi (Charset conversion in gettext):
5941 Move @end statement to beginning of line.
5942
bab8a695
SP
59432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5944
80945231
SP
5945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5946 static.
5947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5948 Likewise.
5949
bab8a695
SP
5950 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5951 (denorm): Likewise.
5952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5954
e21d7aa7
AK
59552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5956
5957 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5958 tail-call to the resolved function if pltexit isn't needed.
5959
4c7a4263
SP
59602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5961
5962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5963 or Y being zero as being unlikely.
5964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5965 Likewise.
5966
41f49342
CD
59672013-02-20 Carlos O'Donell <carlos@redhat.com>
5968
5969 * manual/nss.texi (System Databases and Name Service Switch):
5970 Remove frobnicate @pxref.
5971
50022a93
TS
59722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5973
5974 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5975 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5976
08cbd996
PM
59772013-02-20 Petr Machata <pmachata@redhat.com>
5978
5979 * elf/elf.h (R_ARM_TARGET1): New macro.
5980 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5981 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5982 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5983 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5984 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5985 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5986 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5987 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5988 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5989 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5990 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5991 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5992 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5993 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5994 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5995 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5996 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5997 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5998 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5999 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6000 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6001 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6002 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6003 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6004 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6005 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6006 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6007 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6008 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6009 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6010 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6011 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6012 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6013 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6014 (R_ARM_THM_GOT_BREL12): Likewise.
6015 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6016 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6017 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6018 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6019 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6020 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6021 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6022 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6023 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6024
c7b275d6
TS
60252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6026
6027 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6028 __attribute_used__ to __attribute__ ((unused)).
6029
20cd7fb3
SP
60302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6031
6032 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6033 powerpc mpa.c.
6034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6035 comment formatting.
6036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6037
92945b52
JM
60382013-02-19 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #13550]
6041 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6042 Remove macro.
6043 (ENTER): Remove both macro definitions.
6044 (LEAVE): Likewise.
6045 (CHECK_BOUNDS_LOW): Likewise.
6046 (CHECK_BOUNDS_HIGH): Likewise.
6047 (CHECK_BOUNDS_BOTH): Likewise.
6048 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6049 (RETURN_BOUNDED_POINTER): Likewise.
6050 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6051 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6052 (POP_ERRNO_LOCATION_RETURN): Likewise.
6053 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6054 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6055 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6056 macros.
6057 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6058 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6059 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6060 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6061 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6062 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6063 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6064 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6065 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6066 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6067 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6068 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6069 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6070 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6071 removed macros.
6072 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6073 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6074 macros.
6075 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6076 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6077 * sysdeps/i386/i586/memset.S (memset): Likewise.
6078 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6079 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6080 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6081 macros.
6082 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6083 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6084 Change uses of L(2) to L(out).
6085 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6086 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6087 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6088 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6089 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6090 removed macros.
6091 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6092 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6093 macros.
6094 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6095 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6096 (RETURN): Do not use macro LEAVE.
6097 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6098 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6099 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6100 * sysdeps/i386/i686/memset.S (memset): Likewise.
6101 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6102 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6103 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6104 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6105 Likewise.
6106 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6107 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6108 L(1_2) and L(1_3) into L(1).
6109 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6110 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6111 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6112 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6113 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6114 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6115 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6116 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6117 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6118 macros.
6119 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6120 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6121 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6122 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6123 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6124 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6125 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6126 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6127 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6128 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6129 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6130 * sysdeps/i386/strspn.S (strspn): Likewise.
6131 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6132 conditional code.
6133 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6134 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6135 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6136 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6137 L(1_3) into L(1_1).
6138 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6139 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6140 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6141 macros.
6142 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6143
2389741a
JJ
61442013-02-19 Jakub Jelinek <jakub@redhat.com>
6145
6146 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6147 macro.
6148
2016b3cd
SP
61492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6150
e4f22324
SP
6151 * math/atest-exp.c (exp_mpn): Remove ROUND.
6152 * math/atest-exp2.c (exp_mpn): Likewise.
6153 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6154
2016b3cd
SP
6155 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6156 * stdlib/tst-tls-atexit-lib.c: Likewise.
6157 * stdlib/tst-tls-atexit.c: Likewise.
6158
4be9b544
MF
61592013-02-18 Mike Frysinger <vapier@gentoo.org>
6160
6161 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6162 and __attribute_alloc_size__.
6163
2f62b9ee
MF
61642013-02-18 Mike Frysinger <vapier@gentoo.org>
6165
6166 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6167 __attribute_alloc_size__.
6168 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6169 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6170
6ff444c4
MF
61712013-02-18 Mike Frysinger <vapier@gentoo.org>
6172
6173 * include/programs/xmalloc.h: New file.
6174 * catgets/gencat.c: Include it.
6175 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6176 * elf/pldd.c: Likewise.
6177 * iconv/iconv_charmap.c: Likewise.
6178 * iconv/iconvconfig.c: Likewise.
6179 * iconv/strtab.c: Likewise.
6180 * locale/programs/locale.c: Likewise.
6181 * locale/programs/localedef.h: Likewise.
6182 * locale/programs/simple-hash.c: Likewise.
6183 * nscd/nscd.h: Likewise.
6184 * nss/makedb.c: Likewise.
6185 * sysdeps/generic/ldconfig.h: Likewise.
6186
be179c8a
SP
61872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6188
ba384f6e
SP
6189 * Versions.def: Add GLIBC_2.18.
6190 * include/link.h (struct link_map): New member l_tls_dtor_count.
6191 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6192 (__call_tls_dtors): Likewise.
6193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6194 __cxa_thread_atexit_impl.
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6196 Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6198 Likewise.
6199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6200 Likewise.
6201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6202 Likewise.
6203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6205 Likewise.
6206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6207 Likewise.
6208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6210 Likewise.
6211 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6212 (tests): Add test case tst-tls-atexit.
6213 (modules-names): Add shared library for tst-tls-atexit.
6214 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6215 (GLIBC_PRIVATE): Add __call_tls_dtors.
6216 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6217 for libstdc++.
6218 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6219 * stdlib/tst-tls-atexit.c: New test case.
6220 * stdlib/tst-tls-atexit-lib.c: New test case.
6221
ffaa74cf 6222 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6223
be179c8a
SP
6224 * elf/Versions (ld): Add _dl_find_dso_for_object.
6225 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6226 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6227 (dl_open_worker): Use _dl_find_dso_for_object.
6228 * elf/dl-sym.c (do_sym): Likewise.
6229 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6230
f78b5caa
AK
62312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6232
6233 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6234 Syntactic changes only.
6235 (_dl_runtime_profile): Do a tail-call to the resolved function.
6236
29691210
JM
62372013-02-17 Joseph Myers <joseph@codesourcery.com>
6238
6239 [BZ #13550]
6240 * sysdeps/x86_64/bp-asm.h: Remove file.
6241 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6242 <bp-sym.h> and <bp-asm.h>.
6243 (__clone): Do not use BP_SYM.
6244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6245 <bp-sym.h> and <bp-asm.h>.
6246 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6247 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6248 "bp-asm.h".
6249 (_setjmp): Do not use BP_SYM.
6250 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6251 "bp-asm.h".
6252 (setjmp): Do not use BP_SYM.
6253 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6254 libc_hidden_def.
6255 (mempcpy): Do not use BP_SYM in weak_alias.
6256 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6257 "bp-asm.h".
6258 (strchr): Do not use BP_SYM.
6259 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6260 "bp-asm.h".
6261 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6262 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6263 (_start): Do not use BP_SYM.
6264 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6265 "bp-asm.h".
6266 (strcat): Do not use BP_SYM.
6267 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6268 "bp-asm.h".
6269 (STRCMP): Do not use BP_SYM.
6270 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6271 "bp-asm.h".
6272 (STRCPY): Do not use BP_SYM.
6273 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6274 "bp-asm.h".
6275 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6276 "bp-asm.h".
6277 (FUNCTION): Do not use BP_SYM.
6278 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6279 weak_alias.
6280 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6281
f238fd19
AJ
62822013-02-17 Andreas Jaeger <aj@suse.de>
6283
6284 * time/Versions: Sort entries.
6285 * string/Versions: Likewise.
6286 * resolv/Versions: Likewise.
6287 * posix/Versions: Likewise.
6288 * iconv/Versions: Likewise.
6289 * elf/Versions: Likewise.
6290 * wcsmbs/Versions: Likewise.
6291
bd07f23c 62922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6293
22af19f9
SP
6294 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6295 loop termination condition.
6296
4709fe76
SP
6297 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6298 variable to calculate EZ.
6299 (__sqr): Likewise.
2d0e0f29
SP
6300
6301 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6302 the lower precision input.
6303
daaa7713
JM
63042013-02-15 Joseph Myers <joseph@codesourcery.com>
6305
6306 [BZ #13550]
6307 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6308 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6309 (run-via-rtld-prefix): Do not handle %-bp tests.
6310 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6311 (all-object-suffixes): Remove .ob.
6312 (bppfx): Remove variable.
6313 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6314 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6315 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6316 [$(build-bounded) = yes] (libtype.ob): Likewise.
6317 * Makerules (elide-routines.ob): Remove variable.
6318 (do-tests-clean): Do not handle *-bp.out.
6319 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6320 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6321 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6322 (tests): Do not include $(tests-bp.out).
6323 (xtests): Do not include $(xtests-bp.out).
6324 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6325 [$(build-bounded) = yes] ($(addprefix
6326 $(objpfx),$(binaries-bounded))): Remove rule.
6327 ($(objpfx)%-bp.out): Remove rule.
6328 * config.make.in (build-bounded): Remove variable.
6329 * crypt/Makefile [$(build-bounded) = yes]
6330 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6331 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6332 append to variable.
6333 [$(build-bounded) = yes] (install-lib): Likewise.
6334 [$(build-bounded) = yes] (generated): Likewise.
6335 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6336 Remove rule.
6337 * intl/Makefile [$(build-bounded) = yes]
6338 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6339 * math/Makefile [$(build-bounded) = yes]
6340 ($(tests:%=$(objpfx)%-bp): Likewise.
6341 * misc/Makefile [$(build-bounded) = yes]
6342 ($(objpfx)tst-tsearch-bp): Likewise.
6343 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6344 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6345 Remove dependency.
6346 * string/Makefile (o-objects.ob): Remove variable.
6347 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6348 (CFLAGS-.ob): Remove variable.
6349 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6350 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6351 both definitions of variable.
6352 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6353 (ASFLAGS-.ob): Remove variable.
6354
e97ed6dd
JM
63552013-02-14 Joseph Myers <joseph@codesourcery.com>
6356
2bdd4ca6
JM
6357 [BZ #13550]
6358 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6359 Remove __BOUNDED_POINTERS__ from condition.
6360 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6361 * string/bits/string2.h [!__NO_STRING_INLINES &&
6362 !__BOUNDED_POINTERS__]: Likewise.
6363 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6366 Remove conditional code.
6367 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6368 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6369 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6370 condition.
6371
e97ed6dd
JM
6372 [BZ #13550]
6373 * csu/libc-start.c: Do not include <bp-sym.h>.
6374 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6375 * elf/dl-open.c: Do not include <bp-sym.h>.
6376 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6377 * math/fegetenv.c: Do not include <bp-sym.h>.
6378 (fegetenv): Do not use BP_SYM in versioned symbols.
6379 * nptl/sysdeps/pthread/bits/libc-lockP.h
6380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6381 <bp-sym.h>.
6382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6383 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6385 (__pthread_mutex_destroy): Likewise.
6386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6387 (__pthread_mutex_lock): Likewise.
6388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6389 (__pthread_mutex_trylock): Likewise.
6390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6391 (__pthread_mutex_unlock): Likewise.
6392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6393 (__pthread_mutexattr_init): Likewise.
6394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6395 (__pthread_mutexattr_destroy): Likewise.
6396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6397 (__pthread_mutexattr_settype): Likewise.
6398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6399 (__pthread_rwlock_init): Likewise.
6400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6401 (__pthread_rwlock_destroy): Likewise.
6402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6403 (__pthread_rwlock_rdlock): Likewise.
6404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6405 (__pthread_rwlock_tryrdlock): Likewise.
6406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6407 (__pthread_rwlock_wrlock): Likewise.
6408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6409 (__pthread_rwlock_trywrlock): Likewise.
6410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6411 (__pthread_rwlock_unlock): Likewise.
6412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6413 (__pthread_key_create): Likewise.
6414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6415 (__pthread_setspecific): Likewise.
6416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6417 (__pthread_getspecific): Likewise.
6418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6419 Likewise.
6420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6421 (_pthread_cleanup_push_defer): Likewise.
6422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6423 (_pthread_cleanup_pop_restore): Likewise.
6424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6425 (pthread_setcancelstate): Likewise.
6426 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6427 <bp-sym.h>.
6428 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6429 (memchr): Do not use BP_SYM in weak_alias.
6430 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6431 (fegetenv): Do not use BP_SYM in versioned symbols.
6432 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6433 (fesetenv): Do not use BP_SYM in versioned symbols.
6434 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6435 (feupdateenv): Do not use BP_SYM in versioned symbols.
6436 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6437 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6438 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6439 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6440 (open64): Do not use BP_SYM in weak_alias.
6441 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6442 (fegetenv): Do not use BP_SYM in versioned symbols.
6443 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6444 (fesetenv): Do not use BP_SYM in versioned symbols.
6445 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6446 (feupdateenv): Do not use BP_SYM in versioned symbols.
6447 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6448 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6449 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6450 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6451 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6452 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6453 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6454 <bp-sym.h>.
6455 (__libc_start_main): Do not use BP_SYM.
6456
d6752ccd
SP
64572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6458
cb57ce60
SP
6459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6460 redundant return line.
6461 (norm): Likewise.
6462 (denorm): Likewise.
6463 (dbl_mp): Likewise.
6464 (sub_magnitudes): Likewise.
6465 (__add): Likewise.
6466 (__sub): Likewise.
6467 (__mul): Likewise.
6468 (__inv): Likewise.
6469 (__dvd): Likewise.
6470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6471 (norm): Likewise.
6472 (denorm): Likewise.
6473 (dbl_mp): Likewise.
6474 (sub_magnitudes): Likewise.
6475 (__add): Likewise.
6476 (__sub): Likewise.
6477 (__mul): Likewise.
6478 (__inv): Likewise.
6479 (__dvd): Likewise.
6480
f414520d
SP
6481 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6482 instead of __mul.
6483 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6484 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6485 (cc32): Likewise.
6486
d6752ccd
SP
6487 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6488 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6490 of __mul for squares.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6492 function
6493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6494 Likewise.
6495 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6496 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6497
70d9946a
JM
64982013-02-13 Joseph Myers <joseph@codesourcery.com>
6499
6500 [BZ #13550]
6501 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6502 code.
6503 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6504 prototype or function definition. Rename ubp_* variables and
6505 parameters. Remove argv definitions conditional on
6506 [__BOUNDED_POINTERS__].
6507 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6508 * elf/dl-runtime.c (_dl_fixup): Likewise.
6509 * include/set-hooks.h (RUN_HOOK): Likewise.
6510 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6511 definition.
6512 * string/strcpy.c (strcpy): Do not use __unbounded.
6513 * sysdeps/generic/frame.h (struct layout): Likewise.
6514 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6515 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6516 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6517 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6518 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6519 (__backtrace): Likewise.
6520 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6521 use __ptrvalue.
6522 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6523 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6524 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6527 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6528 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6529 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6530 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6531 Do not use __unbounded.
6532 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6533 Rename __unboundedrlimits parameter to rlimits in prototype.
6534 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6535 Do not use __unbounded.
6536 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6537 not use __ptrvalue.
6538 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6539 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6540 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6541 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6542 __ptrvalue or __unbounded.
6543 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6544 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6545 use __unbounded.
6546 (__new_msgctl): Do not use __ptrvalue.
6547 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6548 __unbounded.
6549 (__libc_msgrcv): Do not use __ptrvalue.
6550 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6551 startup_info): Do not use __unbounded.
6552 (__libc_start_main): Likewise. Rename ubp_* variables and
6553 parameters. Remove argv definitions conditional on
6554 [__BOUNDED_POINTERS__].
6555 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6556 __ptrvalue.
6557 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6558 use __unbounded.
6559 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6560 or __ptrvalue.
6561 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6562 use __unbounded.
6563 (__new_shmctl): Do not use __ptrvalue.
6564 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6565 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6566 Likewise.
6567 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6568 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6569 (__libc_sigaction): Likewise.
6570 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6571 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6572 Likewise.
6573 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6574
cc7834d6
OB
65752013-02-13 Ondřej Bílka <neleai@seznam.cz>
6576
ffb1ec7b 6577 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6578
6579 * string/mempcpy.c: Implement by calling memcpy.
6580
bdf02814
SP
65812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6582
c2af38aa
SP
6583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6584
4e92d59e
SP
6585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6586 evaluation.
6587
909279a5
SP
6588 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6589 values in the mantissa.
6590
bdf02814
SP
6591 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6592 minimize writes to Z.
6593 (sub_magnitudes): Simplify code a bit.
6594
cd525923
RM
65952013-02-12 Roland McGrath <roland@hack.frob.com>
6596
6597 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6598 from the message. The linker prefixes all warnings with that already.
6599
7e2f0d2d
AS
66002013-02-12 Andreas Schwab <schwab@suse.de>
6601
a445af0b
AS
6602 [BZ #15078]
6603 * posix/regexec.c (extend_buffers): Add parameter min_len.
6604 (check_matching): Pass minimum needed length.
6605 (clean_state_log_if_needed): Likewise.
6606 (get_subexp): Likewise.
6607 * posix/Makefile (tests): Add bug-regex34.
6608 (bug-regex34-ENV): Define.
6609 * posix/bug-regex34.c: New file.
6610
7e2f0d2d
AS
6611 [BZ #11561]
6612 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6613 elements compare against the byte sequence of it, not its name.
6614 * posix/Makefile (tests): Add bug-regex35.
6615 (bug-regex35-ENV): Define.
6616 * posix/bug-regex35.c: New file.
6617
a175b684
TV
66182013-02-11 Tom de Vries <tom@codesourcery.com>
6619
6620 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6621 comment.
6622 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6623 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6624 (CHECK_EOL): Add undef.
6625
310998fe 66262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6627
6628 * bits/stdlib-bsearch.h: New file.
6629 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6630 * stdlib/stdlib.h: Likewise.
41eda41d 6631
8ded91fb
RM
66322013-02-11 Roland McGrath <roland@hack.frob.com>
6633
6634 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6635 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6636 declaration.
6637 * manual/search.texi (Array Search Function): Add missing const in
6638 lfind prototype.
6639 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6640 declaration to use rlim_t.
6641 (Basic Scheduling Functions): Remove erroneous const from
6642 sched_getparam prototype. Remove erroneous * from
6643 sched_get_priority_max and sched_get_priority_min prototypes.
6644 (Resource Usage): Fix summary @comment on vtimes to refer to
6645 sys/vtimes.h rather than vtimes.h.
6646 Add missing *s in vtimes prototype.
6647 (Limits on Resources): Fix ulimit prototype to return long int.
6648 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6649 prototypes to use long int rather than double.
6650 (BSD Random): Fix initstate and setstate to use char *, not void *.
6651 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6652 prototype to make second argument 'struct aiocb64 *const[]'.
6653 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6654 (Status of AIO Operations): Remove erroneous const in aio_return and
6655 aio_return64 prototypes.
6656 (Synchronizing I/O): Fix sync prototype to return void.
6657 * manual/startup.texi (Suboptions): Remove an erroneous const in
6658 getsubopt prototype.
6659 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6660 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6661 use size_t rather than int.
6662 (Scanning All Users): Likewise for getpwent_r.
6663 (Setting Groups): Add missing const to setgroups prototype.
6664 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6665 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6666 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6667 'const void *' rather than 'const char *'.
6668 (Host Address Functions): Likewise for inet_ntop.
6669 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6670 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6671 ssize_t for return value.
6672 (Sending Data): Likewise for send, sendto, sendmsg.
6673 (Socket Option Functions): Add a missing const in setsockopt prototype.
6674 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6675 use wchar_t for the argument.
6676 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6677 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6678 take no arguments.
6679 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6680 double/float/long double for second argument.
6681 Fix return types of significand, significandf, significandl.
6682 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6683 argument in fchmod prototype.
6684 (File Owner): Use uid_t and gid_t in fchown prototype.
6685 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6686 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6687 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6688 use 'const struct dirent **' as argument types to CMP function pointer
6689 argument.
6690 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6691 (File Times): Fix summary magic @comment for struct utimbuf and utime
6692 to refer to utime.h, not time.h.
6693 * manual/string.texi (Argz Functions): Add missing const in
6694 argz_extract and argz_next prototypes.
6695 (Finding Tokens in a String): Likewise for basename.
6696 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6697 (Copying and Concatenation): Fix typo in wmemmove prototype.
6698 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6699 (Signal Stack): Remove erroneous const in sigstack prototype.
6700 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6701 prototype.
6702 (Simple Calendar Time): Likewise for stime.
6703 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6704 prototype.
6705 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6706 say sys/sysctl.h instead.
6707 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6708 and vsyslog prototypes.
6709
fe77fe6d
TV
67102013-02-11 Tom de Vries <tom@codesourcery.com>
6711
6712 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6713 Remove.
6714
3a09b620
RM
67152013-02-11 Roland McGrath <roland@hack.frob.com>
6716
6717 * misc/sys/mman.h: Fix typo in mremap comment.
6718
550a0b89
RM
67192013-02-08 Roland McGrath <roland@hack.frob.com>
6720
6721 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6722 the '\0' terminator.
6723
a2da1673
JM
67242013-02-08 Joseph Myers <joseph@codesourcery.com>
6725
6726 [BZ #13550]
6727 * debug/segfault.c: Don't include <bp-checks.h>.
6728 * sysdeps/generic/bp-checks.h: Remove file.
6729 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6730 (__GETDENTS): Don't use CHECK_N.
6731 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6732 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6733 (__getgroups): Don't use CHECK_N.
6734 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6735 (setgroups): Don't use CHECK_N.
6736 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6737 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6738 (__libc_msgrcv): Don't use CHECK_N.
6739 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6740 (__libc_msgsnd): Don't use CHECK_N.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6742 <bp-checks.h>.
6743 (__libc_pread): Don't use CHECK_N.
6744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6745 include <bp-checks.h>.
6746 (__libc_pread64): Don't use CHECK_N.
6747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6748 include <bp-checks.h>.
6749 (__libc_pwrite): Don't use CHECK_N.
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6751 include <bp-checks.h>.
6752 (__libc_pwrite64): Don't use CHECK_N.
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6754 <bp-checks.h>.
6755 (__libc_pread): Don't use CHECK_N.
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6757 include <bp-checks.h>.
6758 (__libc_pread64): Don't use CHECK_N.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6760 include <bp-checks.h>.
6761 (__libc_pwrite): Don't use CHECK_N.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6763 include <bp-checks.h>.
6764 (__libc_pwrite64): Don't use CHECK_N.
6765 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6766 (do_pread): Don't use CHECK_N.
6767 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6768 (do_pread64): Don't use CHECK_N.
6769 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6770 (do_pwrite): Don't use CHECK_N.
6771 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6772 (do_pwrite64): Don't use CHECK_N.
6773 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6774 (__libc_readv): Don't use CHECK_N.
6775 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6776 (semop): Don't use CHECK_N.
6777 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6778 <bp-checks.h>.
6779 (semtimedop): Don't use CHECK_N.
6780 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6781 (__libc_pread): Don't use CHECK_N.
6782 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6783 <bp-checks.h>.
6784 (__libc_pread64): Don't use CHECK_N.
6785 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6786 <bp-checks.h>.
6787 (__libc_pwrite): Don't use CHECK_N.
6788 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6789 <bp-checks.h>.
6790 (__libc_pwrite64): Don't use CHECK_N.
6791 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6792 <bp-checks.h>.
6793 (__libc_msgrcv): Don't use CHECK_N.
6794 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6795 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6796 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6797 (__libc_writev): Don't use CHECK_N.
6798
b84660a8
RM
67992013-02-08 Roland McGrath <roland@hack.frob.com>
6800
7f3e75f8
RM
6801 * string/strcpy.c: Removed unused variable.
6802
b84660a8
RM
6803 * Makeconfig (+sysdep-includes): Define with := rather than =.
6804 Use an existing include/ subdir of each sysdeps dir before it.
6805
471514d3
CD
68062013-02-08 Carlos O'Donell <carlos@redhat.com>
6807
6808 * nscd/connection.c (register_traced_file): Comment function.
6809 [HAVE_INOTIFY] (union __inev): Define.
6810 [HAVE_INOTIFY] (inotify_check_files): New function.
6811 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6812 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6813 clear_db_cache.
6814 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6815
b2d3c3be
CD
68162013-02-08 Carlos O'Donell <carlos@redhat.com>
6817
6818 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6819 loaded if not already and that a failure is permanent.
6820
b39949d2
CD
68212013-02-08 Carlos O'Donell <carlos@redhat.com>
6822
ddacd1db 6823 [BZ #15006]
b39949d2
CD
6824 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6825 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6826
b2c9eff4
JM
68272013-02-08 Joseph Myers <joseph@codesourcery.com>
6828
f3aae3f3
JM
6829 [BZ #13550]
6830 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6831 (CHECK_1_NULL_OK): Likewise.
6832 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6833 (__fxstat): Do not use CHECK_1.
6834 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6835 <bp-checks.h>.
6836 (___fxstat64): Do not use CHECK_1.
6837 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6838 <bp-checks.h>.
6839 (__fxstatat): Do not use CHECK_1.
6840 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6841 <bp-checks.h>.
6842 (__fxstatat64): Do not use CHECK_1.
6843 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6844 <bp-checks.h>.
6845 (__fxstat): Do not use CHECK_1.
6846 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6847 <bp-checks.h>.
6848 (__fxstatat): Do not use CHECK_1.
6849 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6850 <bp-checks.h>.
6851 (__getresgid): Do not use CHECK_1.
6852 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6853 <bp-checks.h>.
6854 (__getresuid): Do not use CHECK_1.
6855 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6856 <bp-checks.h>.
6857 (__lxstat): Do not use CHECK_1.
6858 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6859 <bp-checks.h>.
6860 (__old_msgctl): Do not use CHECK_1.
6861 (__new_msgctl): Likewise.
6862 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6863 <bp-checks.h>.
6864 (__new_setrlimit): Do not use CHECK_1.
6865 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6866 <bp-checks.h>.
6867 (__old_shmctl): Do not use CHECK_1.
6868 (__new_shmctl): Likewise.
6869 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6870 <bp-checks.h>.
6871 (__xstat): Do not use CHECK_1.
6872 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6873 (__lxstat): Do not use CHECK_1.
6874 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6875 <bp-checks.h>.
6876 (___lxstat64): Do not use CHECK_1.
6877 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6878 (__old_msgctl): Do not use CHECK_1.
6879 (__new_msgctl): Likewise.
6880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6881 <bp-checks.h>.
6882 (__gettimeofday): Do not use CHECK_1.
6883 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6884 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6885 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6886 <bp-checks.h>.
6887 (__gettimeofday): Do not use CHECK_1.
6888 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6889 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6890 (__new_shmctl): Do not use CHECK_1.
6891 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6892 <bp-checks.h>.
6893 (do_sigtimedwait): Do not use CHECK_1.
6894 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6895 <bp-checks.h>.
6896 (do_sigwaitinfo): Do not use CHECK_1.
6897 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6898 <bp-checks.h>.
6899 (msgctl): Do not use CHECK_1.
6900 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6901 <bp-checks.h>.
6902 (shmctl): Do not use CHECK_1.
6903 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6904 (ustat): Do not use CHECK_1.
6905 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6906 <bp-checks.h>.
6907 (__fxstat): Do not use CHECK_1.
6908 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6909 <bp-checks.h>.
6910 (__fxstatat): Do not use CHECK_1.
6911 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6912 <bp-checks.h>.
6913 (__lxstat): Do not use CHECK_1.
6914 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6915 <bp-checks.h>.
6916 (__xstat): Do not use CHECK_1.
6917 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6918 (__xstat): Do not use CHECK_1.
6919 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6920 (___xstat64): Do not use CHECK_1.
6921
b2c9eff4
JM
6922 [BZ #13550]
6923 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6924 definitions.
6925 (CHECK_BOUNDS_HIGH): Likewise.
6926 * string/strcpy.c: Do not include <bp-checks.h>.
6927 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6928
f1d70dad
RM
69292013-02-07 Roland McGrath <roland@hack.frob.com>
6930
6931 * nscd/nscd-client.h (__nscd_drop_map_ref):
6932 Add __attribute__ ((unused)).
6933 * nis/nss-nisplus.h (niserr2nss): Likewise.
6934
6935 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6936 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6937
6938 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6939 Remove inline keyword.
6940 * include/rounding-mode.h (round_away): Likewise.
6941 * libio/wfileops.c (adjust_wide_data): Likewise.
6942 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6943 (__m128i_strloadu_tolower): Likewise.
6944 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6945 (__m128i_strloadu_tolower): Likewise.
6946 * time/mktime.c (ydhms_diff): Likewise.
6947 * locale/elem-hash.h (elem_hash): Likewise.
6948 * locale/setlocale.c (setdata): Likewise.
6949 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6950 (re_string_wchar_at): Likewise.
6951 (bitset_not, bitset_merge, bitset_mask): Likewise.
6952 [!(__GNUC__ > 3)] (inline): Remove macro.
6953 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6954 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6955 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6956 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6957 * string/memcmp.c (memcmp_bytes): Likewise.
6958 * locale/programs/locarchive.c (compute_hashval): Likewise.
6959 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6960 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6961 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6962 * nss/getent.c (print_rpc, print_protocols): Likewise.
6963 (print_passwd, print_group, print_aliases): Likewise.
6964 * nis/nss-nisplus.h (niserr2nss): Likewise.
6965 * nscd/connections.c (restart_p): Likewise.
6966 Change return type to bool.
6967
eab55bfb
RM
69682013-02-05 Roland McGrath <roland@hack.frob.com>
6969
7bd642f5
RM
6970 * Makeconfig (all-Depend-files): Add existing
6971 $(sorted-subdirs:=/Depend) files.
6972 (all-subdirs): Remove nss.
6973 * sysdeps/unix/inet/Subdirs: Add it here instead.
6974 * hesiod/Depend: New file.
6975
573c29b2
RM
6976 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6977 instead of calling alloca.
6978
b2e25af0
RM
6979 * io/lseek.c (__lseek): Rename to __libc_lseek.
6980 Define __lseek as an alias.
6981
eab55bfb
RM
6982 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6983
9a0d1941
CD
69842013-02-04 Carlos O'Donell <carlos@redhat.com>
6985
6986 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6987 else clause and remove check for non-standard endianness.
6988
b83bbec4
DM
69892013-02-04 David S. Miller <davem@davemloft.net>
6990
6991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6992
6277fdab
JM
69932013-02-04 Joseph Myers <joseph@codesourcery.com>
6994
6995 [BZ #13550]
6996 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6997 (__ubp_memchr): Remove prototype.
6998 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6999 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7000 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7001 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7002 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7003 Remove alias.
7004 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7005 (__ubp_memchr): Likewise.
7006 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7007 (__ubp_memchr): Likewise.
7008 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7009 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7010 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7011 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7012 CHECK_STRING.
7013 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7014 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7015 (__getcwd): Do not use CHECK_STRING.
7016 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7017 <bp-checks.h>.
7018 (__real_chown): Do not use CHECK_STRING.
7019 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7020 <bp-checks.h>.
7021 (fchownat): Do not use CHECK_STRING.
7022 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7023 CHECK_STRING.
7024 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7025 <bp-checks.h>.
7026 (__lchown): Do not use CHECK_STRING.
7027 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7028 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7029 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7030 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7032 include <bp-checks.h>.
7033 (truncate64): Do not use CHECK_STRING.
7034 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7035 <bp-checks.h>.
7036 (__real_chown): Do not use CHECK_STRING.
7037 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7038 <bp-checks.h>.
7039 (__lchown): Do not use CHECK_STRING.
7040 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7041 <bp-checks.h>.
7042 (__chown): Do not use CHECK_STRING.
7043 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7044 <bp-checks.h>.
7045 (truncate64): Do not use CHECK_STRING.
7046 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7047 Likewise.
7048 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7049 (__xmknod): Do not use CHECK_STRING.
7050 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7051 <bp-checks.h>.
7052 (__xmknodat): Do not use CHECK_STRING.
7053 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7054 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7055
903ae060
AS
70562013-02-04 Andreas Schwab <schwab@suse.de>
7057
7058 [BZ #14142]
7059 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7060 * include/netdb.h: Likewise for h_errno.
7061 * elf/tst-stackguard1.c: Include <tls.h>.
7062
542f9466
JK
70632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7064
7065 * elf/link.h (struct link_map): Extend the l_addr comment.
7066 * include/link.h (struct link_map): Likewise.
7067
e782a927
JM
70682013-02-01 Joseph Myers <joseph@codesourcery.com>
7069
7070 [BZ #13550]
7071 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7072 (BOUNDED_1): Remove macro.
7073 * debug/backtrace.c: Don't include <bp-checks.h>.
7074 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7075 (__backtrace): Likewise.
7076 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7077 <bp-checks.h>.
7078 (__backtrace): Don't use BOUNDED_1.
7079 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7080 <bp-checks.h>.
7081 (__backtrace): Don't use BOUNDED_1.
7082 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7083 (__backtrace): Don't use BOUNDED_1.
7084 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7085 (shmat): Don't use BOUNDED_N.
7086
8cf28c5e
JM
70872013-01-31 Joseph Myers <joseph@codesourcery.com>
7088
3a7ac8a0
JM
7089 [BZ #13550]
7090 * sysdeps/generic/bp-start.h: Remove file.
7091 * csu/libc-start.c: Don't include <bp-start.h>.
7092 (LIBC_START_MAIN): Set up __environ directly instead of using
7093 INIT_ARGV_and_ENVIRON.
7094 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7095 <bp-start.h>.
7096
f3499f95
JM
7097 [BZ #13550]
7098 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7099 definitions.
7100 (CHECK_FCNTL): Likewise.
7101 (CHECK_N_PAGES): Likewise.
7102
32a45bea
JM
7103 [BZ #13550]
7104 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7105 definitions.
7106 (CHECK_SIGSET_NULL_OK): Likewise.
7107 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7108 <bp-checks.h>.
7109 (sigpending): Don't use CHECK_SIGSET.
7110 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7111 <bp-checks.h>.
7112 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7113 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7114 <bp-checks.h>.
7115 (do_sigsuspend): Don't use CHECK_SIGSET.
7116 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7117 use CHECK_SIGSET.
7118 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7119 (do_sigwait): Don't use CHECK_SIGSET.
7120 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7121 use CHECK_SIGSET.
7122 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7123 include <bp-checks.h>.
7124 (sigpending): Don't use CHECK_SIGSET.
7125 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7126 include <bp-checks.h>.
7127 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7128 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7129 <bp-checks.h>.
7130 (sigpending): Don't use CHECK_SIGSET.
7131 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7132 <bp-checks.h>.
7133 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7134
2e8a5c8c
JM
7135 [BZ #13550]
7136 * sysdeps/generic/bp-semctl.h: Remove file.
7137 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7138 <bp-checks.h> and <bp-semctl.h>.
7139 (__old_semctl): Don't use CHECK_SEMCTL.
7140 (__new_semctl): Likewise.
7141 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7142 and <bp-semctl.h>.
7143 (__old_semctl): Don't use CHECK_SEMCTL.
7144 (__new_semctl): Likewise.
7145 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7146 <bp-checks.h> and <bp-semctl.h>.
7147 (__old_semctl): Don't use CHECK_SEMCTL.
7148 (__new_semctl): Likewise.
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7150 <bp-checks.h> and <bp-semctl.h>.
7151 (semctl): Don't use CHECK_SEMCTL.
7152
c2d54929
JM
7153 [BZ #13550]
7154 * Makerules (elide-bp-thunks): Remove variable.
7155 (elide-routines.oS): Don't use $(elide-bp-thunks).
7156 (elide-routines.os): Likewise.
7157 (elide-routines.o): Likewise.
7158 (elide-routines.op): Likewise.
7159 (elide-routines.og): Likewise.
7160 (objects): Don't use $(bp-thunks).
7161 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7162 include.
7163 (common-generated): Do not add s-proto-bp.d.
7164 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7165 (int): Likewise.
7166 (typ): Likewise.
7167 Do not generate makefile rules for bounded-pointer thunks.
7168 * sysdeps/generic/bp-thunks.h: Remove file.
7169 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7170 * sysdeps/unix/s-proto-bp.S: Likewise.
7171
8cf28c5e
JM
7172 [BZ #15062]
7173 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7174 parts of result separately when argument is not close to line from
7175 -i to i and one part of argument is small.
7176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7178 * math/libm-test.inc (cacos_test): Add more tests.
7179 (casin_test): Likewise.
7180 (casinh_test): Likewise.
7181 * sysdeps/i386/fpu/libm-test-ulps: Update.
7182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7183
c4e33b8d
DM
71842013-01-31 David S. Miller <davem@davemloft.net>
7185
7186 * po/de.po: Update from translation team.
7187
3b60b421
MK
71882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7189
7190 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7191
bb931195
TS
71922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7193
b5a5da23
TS
7194 * configure.in (_AC_PROG_CC_C89): New definition.
7195 * configure: Regenerate.
7196
bb931195
TS
7197 * configure.in (AC_PROG_CPP): New definition.
7198 * configure: Regenerate.
7199
8c53a12c
JM
72002013-01-23 Joseph Myers <joseph@codesourcery.com>
7201
7202 * debug/tst-backtrace.h: New file.
7203 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7204 (ret): Remove variable.
7205 (x): Likewise.
7206 (FAIL): Remove macro.
7207 (NO_INLINE): Likewise.
7208 (fn1): Use match function instead of strstr.
7209 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7210 (ret): Remove variable.
7211 (x): Likewise.
7212 (FAIL): Remove macro.
7213 (NO_INLINE): Likewise.
7214 (fn): Use match function instead of strstr.
7215 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7216 (ret): Remove variable.
7217 (x): Likewise.
7218 (FAIL): Remove macro.
7219 (NO_INLINE): Likewise.
7220 (handle_signal): Use match function instead of strstr.
7221 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7222 (ret): Remove variable.
7223 (x): Likewise.
7224 (FAIL): Remove macro.
7225 (NO_INLINE): Likewise.
7226 (handle_signal): Use match function instead of strstr.
7227
4858fa2a
RM
72282013-01-23 Roland McGrath <roland@hack.frob.com>
7229
7230 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7231
bae8e7f5
DM
72322013-01-23 David S. Miller <davem@davemloft.net>
7233
7234 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7235 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7236 argument of CAS if possible.
7237 * sysdeps/sparc/sparc64/bits/atomic.h
7238 (__arch_compare_and_exchange_val_32_acq): Likewise.
7239 (__arch_compare_and_exchange_val_64_acq): Likewise.
7240
9cbbc4ae
PT
72412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7242
7243 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7244 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7245 Include <limits.h>.
67b3f58c 7246 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7247
5655a0b5
AC
72482013-01-23 Adam Conrad <adconrad@0c3.net>
7249
7250 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7251 (LDFLAGS-tst-array5): Likewise.
7252
052aff95
JM
72532013-01-23 Joseph Myers <joseph@codesourcery.com>
7254
7255 [BZ #15036]
7256 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7257 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7258 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7259 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7260
7c1e01aa
DM
72612013-01-21 David S. Miller <davem@davemloft.net>
7262
7263 * sysdeps/sparc/backtrace.c: New file.
7264 * sysdeps/sparc/sparc32/backtrace.h: New file.
7265 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7266 * sysdeps/sparc/sparc64/backtrace.h: New file.
7267 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7268 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7269 -funwind-tables.
7270
ab087e0a
AS
72712013-01-21 Andreas Schwab <schwab@suse.de>
7272
7273 [BZ #15020]
7274 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7275 closed its stdout.
7276
ed689c2f
AS
72772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7278
7279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7280 "mpa2.h".
7281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7282
31d470ac
JM
72832013-01-18 Joseph Myers <joseph@codesourcery.com>
7284 Mark Mitchell <mark@codesourcery.com>
7285 Tom de Vries <tom@codesourcery.com>
7286 Paul Pluzhnikov <ppluzhnikov@google.com>
7287
7288 * debug/tst-backtrace2.c: New file.
7289 * debug/tst-backtrace3.c: Likewise.
7290 * debug/tst-backtrace4.c: Likewise.
7291 * debug/tst-backtrace5.c: Likewise.
7292 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7293 (CFLAGS-tst-backtrace3.c): Likewise.
7294 (CFLAGS-tst-backtrace4.c): Likewise.
7295 (CFLAGS-tst-backtrace5.c): Likewise.
7296 (LDFLAGS-tst-backtrace2): Likewise.
7297 (LDFLAGS-tst-backtrace3): Likewise.
7298 (LDFLAGS-tst-backtrace4): Likewise.
7299 (LDFLAGS-tst-backtrace5): Likewise.
7300 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7301 tst-backtrace4 and tst-backtrace5.
7302
90567f30 73032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7304 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7305
7306 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7307 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7308 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7309 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7311 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7312 "+r" and remove output regs list as redundant. Add explicit inline
7313 asm to specify register of return val to work around compiler codegen
7314 bug. Remove (int) cast on return value. Add return type parameter to
7315 use in macro so that this macro does not truncate return value for
7316 64-bit values.
7317 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7318 pass to INTERNAL_VSYSCALL_NCS.
7319 (INLINE_VSYSCALL): Add 'long int' as return type to
7320 INTERNAL_VSYSCALL_NCS macro invocation.
7321 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7322 INTERNAL_VSYSCALL_NCS macro invocation.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7324
d3b9ea61
SP
73252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7326
0b57daeb
SP
7327 [BZ #14496]
7328 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7329 Fix application of SIMD FP exception mask.
7330
caa99d06
SP
7331 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7332 mp_no from a power of two.
7333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7334 __mpexp_twomm1. Use __pow_mp.
7335
d3b9ea61
SP
7336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7337 multiplication.
7338
1dbaee3c
DM
73392013-01-17 David S. Miller <davem@davemloft.net>
7340
7341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7342
728d7b43
JM
73432013-01-17 Joseph Myers <joseph@codesourcery.com>
7344
7345 [BZ #15023]
7346 * include/complex.h: Condition contents on [!_COMPLEX_H].
7347 (__kernel_casinhf): New prototype.
7348 (__kernel_casinh): Likewise.
7349 (__kernel_casinhl): Likewise.
7350 * math/Makefile (libm_calls): Add k_casinh.
7351 * math/k_casinh.c: New file.
7352 * math/k_casinhf.c: Likewise.
7353 * math/k_casinhl.c: Likewise.
7354 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7355 finite nonzero arguments.
7356 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7357 finite nonzero arguments.
7358 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7359 finite nonzero arguments.
7360 * math/s_casinh.c: Do not include <float.h>.
7361 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7362 * math/s_casinhf.c: Do not include <float.h>.
7363 (__casinhf): Move code for finite nonzero arguments to
7364 k_casinhf.c.
7365 * math/s_casinhl.c: Do not include <float.h>.
7366 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7367 redefine.
7368 (__casinhl): Move code for finite nonzero arguments to
7369 k_casinhl.c.
7370 * math/libm-test.inc (cacos_test): Add more tests.
7371 * sysdeps/i386/fpu/libm-test-ulps: Update.
7372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7373
2a26ef3a
PT
73742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7375
7376 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7377 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7378 [!HAVE_MREMAP]: Remove [defined linux] case.
7379 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7380
a897655d
SP
73812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7382
7383 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7384
881ebe89 73852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7386
7387 * elf/elf.h (R_386_SIZE32): New relocation.
7388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7389 R_386_SIZE32.
7390 (elf_machine_rela): Likewise.
7391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7392 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7393
59981e9b
JM
73942013-01-17 Joseph Myers <joseph@codesourcery.com>
7395
7396 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7397 (FP_FAST_FMA): Do not define.
7398 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7399 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7400 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7401 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7402 !_SOFT_FLOAT]: Likewise.
7403 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7404 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7405 value.
7406 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7407 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7408 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7409 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7410 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7411 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7412 file.
7413
cfa8054f
AS
74142013-01-16 Andreas Schwab <schwab@suse.de>
7415
7416 [BZ #14327]
7417 * include/stdlib.h (__mktemp): Add declaration.
7418 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7419 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7420
dd930cc5
SP
74212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7422
881ebe89
SP
7423 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7424 definitions.
7425 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7426 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7427 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7428 definitions here.
7429 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7430 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7431 definitions.
7432 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7433 and ONE.
7434 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7435 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7436 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7437 definitions.
7438 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7439 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7440 definitions.
7441 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7442
dd930cc5
SP
7443 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7444
c19a9f89
DM
74452013-01-15 David S. Miller <davem@davemloft.net>
7446
1aa61767
DM
7447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7448 trunc{,f} to libm-sysdep_routes.
7449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7451 file.
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7454 file.
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7456 file.
7457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7459 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7460 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7461 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7462 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7463 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7464 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7465
c42d5e98
DM
7466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7467 nearbyint{,f} to libm-sysdep_routes.
7468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7470 New file.
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7472 file.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7474 New file.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7476 file.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7480 file.
7481 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7482 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7483 file.
7484 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7485 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7486 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7487
c19a9f89
DM
7488 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7489 libc_feholdexcept and libc_fesetenv.
7490
357679d2
MF
74912013-01-15 Mike Frysinger <vapier@gentoo.org>
7492
7493 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7494
65a82e3d
DM
74952013-01-14 David S. Miller <davem@davemloft.net>
7496
8b954ab9
DM
7497 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7498 (SPARC_ASM_VIS2_IFUNC): Likewise.
7499 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7501 use of 'siam' instruction.
7502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7503 Likewise.
7504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7505 Likewise.
7506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7507 Likewise.
7508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7513 file.
7514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7515 file.
7516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7517 file.
7518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7519 file.
7520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7525 new VIS2 routines.
7526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7529 Likewise.
7530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7535 routines to libm-sysdep_routines.
7536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7537
65a82e3d
DM
7538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7539 fdim/fdimf to libm-sysdep_routines.
7540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7541 file.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7544 file.
7545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7548 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7549 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7550 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7551 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7552
e34ab705
SP
75532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
2a91b573
SP
7555 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7556 to optimize copies.
7557
1066a534
SP
7558 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7561
e34ab705
SP
7562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7563 local variable MPTWO.
7564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7565 Likewise.
7566
aba5e596
MF
75672013-01-13 Mike Frysinger <vapier@gentoo.org>
7568
7569 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7570 GLOB_NOESCAPE.
7571
e557e9e5
MF
75722013-01-13 Mike Frysinger <vapier@gentoo.org>
7573
7574 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7575
0428cec9
MF
75762013-01-13 Mike Frysinger <vapier@gentoo.org>
7577
7578 * manual/pattern.texi (glob_t): Document gl_flags.
7579 (glob64_t): Likewise.
7580
8794a964
DM
75812013-01-11 David S. Miller <davem@davemloft.net>
7582
66438c3f
RM
7583 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7584 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7585 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7586 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7587 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7588 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7589 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7590 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7591 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7592 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7593 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7594 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7595 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7596
4ae4244d
DM
7597 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7598 sparc V9 rather than using V8 code.
7599 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7600 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7601
8794a964
DM
7602 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7603 Move to...
7604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7605 Here.
7606
6270516e
RM
76072013-01-11 Roland McGrath <roland@hack.frob.com>
7608
7609 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7610 not in the main loop.
7611 * configure: Regenerated.
7612
6a57d931
JM
76132013-01-11 Joseph Myers <joseph@codesourcery.com>
7614
7615 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7616 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7617 to just #else.
7618 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7619 [!__GLIBC_HAVE_LONG_LONG] case.
7620 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7621 condition to just #else.
7622 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7623 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7624 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7625 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7626 unconditional.
7627 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7628 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7629 #elif condition to just #else.
7630 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7631 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7632 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7633 #elif condition to just #else.
7634
0e8529e9
SE
76352013-01-11 Steve Ellcey <sellcey@mips.com>
7636
7637 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7638 (EF_MIPS_ARCH_64): Fix value.
7639 (EF_MIPS_ARCH_32R2): New.
7640 (EF_MIPS_ARCH_64R2): New.
7641
740b3dbe
L
76422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7643
7644 * Makeconfig (+link-pie-before-libc): New.
7645 (+link-pie-after-libc): Likewise.
7646 (+link-pie-tests): Likewise.
7647 (+link-pie): Rewritten.
7648 (link-before-libc): Remove $(config-LDFLAGS).
7649 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7650 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7651 (config-LDFLAGS): Renamed to ...
7652 (rtld-LDFLAGS): This.
7653 (rtld-tests-LDFLAGS): New macro.
7654 (link-libc-rpath-link): Likewise.
7655 (link-libc-tests-rpath-link): Likewise.
7656 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7657 (link-libc): Prepand $(link-libc-rpath-link).
7658 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7659 (test-program-prefix): New macro.
7660 (test-via-rtld-prefix): Likewise.
7661 (test-program-cmd): Likewise.
7662 (host-test-program-cmd): Likewise.
7663 * Makefile ($(common-objpfx)testrun.sh): Replace
7664 $(run-program-prefix) with $(test-program-prefix).
7665 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7666 $(rtld-LDFLAGS).
7667 ($(common-objpfx)shlib.lds): Likewise.
7668 (build-module-helper): Likewise.
7669 ($(common-objpfx)format.lds): Likewise.
7670 * Rules (binaries-pie-tests): New.
7671 (binaries-pie-notests): Likewise.
7672 (binaries-pie): Rewritten.
7673 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7674 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7675 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7676 (make-test-out): Replace $(host-built-program-cmd) with
7677 $(host-test-program-cmd).
7678 * config.make.in (build-hardcoded-path-in-tests): New variable.
7679 * configure.in (--enable-hardcoded-path-in-tests): New configure
7680 option.
7681 (hardcoded_path_in_tests): New AC_SUBST.
7682 * configure: Regenerated.
7683 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7684 $(built-program-cmd) with $(test-program-cmd).
7685 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7686 (test_program_cmd): This.
7687 * elf/Makefile ($(objpfx)order.out): Run test with
7688 $(test-program-prefix).
7689 ($(objpfx)order2.out): Likewise.
7690 ($(objpfx)tst-initorder.out): Likewise.
7691 ($(objpfx)tst-initorder2.out): Likewise.
7692 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7693 $(test-program-cmd).
7694 ($(objpfx)tst-array1-static.out): Likewise.
7695 ($(objpfx)tst-array2.out): Likewise.
7696 ($(objpfx)tst-array3.out): Likewise.
7697 ($(objpfx)tst-array4.out): Likewise.
7698 ($(objpfx)tst-array5.out): Likewise.
7699 ($(objpfx)tst-array5-static.out): Likewise.
7700 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7701 $(test-program-cmd).
7702 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7703 $(run-program-prefix) with $(test-program-prefix).
7704 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7705 (test_program_prefix): This.
7706 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7707 $(run-program-prefix) with $(test-program-prefix).
7708 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7709 (test_program_prefix): This.
7710 * iconvdata/tst-tables.sh: Likewise.
7711 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7712 $(run-program-prefix) with $(test-program-prefix).
7713 ($(objpfx)tst-translit.out): Likewise.
7714 ($(objpfx)tst-gettext2.out): Likewise.
7715 ($(objpfx)tst-gettext4.out): Likewise.
7716 ($(objpfx)tst-gettext6.out): Likewise.
7717 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7718 (test_program_prefix): This.
7719 * intl/tst-gettext2.sh: Likewise.
7720 * intl/tst-gettext4.sh Likewise.
7721 * intl/tst-gettext6.sh: Likewise.
7722 * intl/tst-translit.sh: Likewise.
7723 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7724 with $(test-program-cmd).
7725 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7726 $(run-program-prefix) with $(test-program-prefix).
7727 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7728 (test_program_prefix): This.
7729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7730 $(run-program-prefix) with $(test-program-prefix).
7731 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7732 (test_program_prefix): This.
7733 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7734 * posix/Makefile ($(objpfx)globtest.out): Replace
7735 $(run-via-rtld-prefix) and $(test-wrapper) with
7736 $(test-program-prefix) and $(test-via-rtld-prefix).
7737 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7738 $(test-program-prefix).
7739 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7740 $(host-test-program-cmd).
7741 (tst-spawn-ARGS): Likewise.
7742 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7743 $(test-program-prefix).
7744 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7745 (test_via_rtld_prefix): This.
7746 (test_wrapper): Renamed to ...
7747 (test_program_prefix): This.
7748 (run_program_prefix): Replaced by test_program_prefix.
7749 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7750 (test_program_prefix): This.
7751 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7752 with $(host-test-program-cmd).
7753 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7754 $(run-program-prefix) with $(test-program-prefix).
7755 ($(objpfx)tst-printf.out): Likewise.
7756 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7757 $(test-program-cmd).
7758 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7759 (test_program_prefix): This.
7760 * stdio-common/tst-unbputc.sh: Likewise.
7761 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7762 $(run-program-prefix) with $(test-program-prefix).
7763 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7764 (test_program_prefix): This.
7765 * string/Makefile ($(objpfx)tst-svc.out): Replace
7766 $(built-program-cmd) with $(test-program-cmd).
7767
c6fe55cf
AJ
77682013-01-11 Andreas Jaeger <aj@suse.de>
7769
7770 [BZ #15003]
7771 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7772 value. Sync with Linux 3.7.
7773
9e6919c8
DM
77742013-01-10 David S. Miller <davem@davemloft.net>
7775
7776 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7777 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7778 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7779
1c9f1a02
RM
77802013-01-10 Roland McGrath <roland@hack.frob.com>
7781
7782 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7783 never set.
7784 * configure: Regenerated.
7785
b9de2dde
DM
77862013-01-10 David S. Miller <davem@davemloft.net>
7787
7788 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7789 sparc V9 rather than using V8 code.
7790 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7791 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7792
e7f68ef4
RM
77932013-01-10 Roland McGrath <roland@hack.frob.com>
7794
7795 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7796 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7797 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7798 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7799 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7800 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7801 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7802 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7803 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7804 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7805 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7806 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7807 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7808 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7809 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7810 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7811 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7812 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7813 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7814 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7815 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7816 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7817 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7818 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7819 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7820 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7821 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7822
5a47cc9c
DM
78232013-01-10 David S. Miller <davem@davemloft.net>
7824
7825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7826
4cf8f209
L
78272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7828
7829 * posix/Makefile (tests-static): New variable.
7830 (tests): Add $(tests-static).
7831 (tst-exec-static-ARGS): New variable.
7832 (tst-spawn-static-ARGS): Likewise.
7833 * posix/tst-exec-static.c: New file.
7834 * posix/tst-spawn-static.c: Likewise.
7835 * posix/tst-exec.c: Support run directly.
7836 * posix/tst-spawn.c: Likewise.
7837
fed0faa1
JM
78382013-01-10 Joseph Myers <joseph@codesourcery.com>
7839
828beb13
JM
7840 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7841 long.
7842 * math/bits/mathcalls.h (llrint): Likewise.
7843 (llround): Likewise.
7844 * stdlib/stdlib.h (struct drand48_data): Likewise.
7845 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7846 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7847 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7848 Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7850 Likewise.
7851 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7852 (elf_greg_t): Likewise.
7853 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7854 (__jmp_buf): Likewise.
7855 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7856 definitions.
7857 (llrint): Likewise, for all definitions.
7858 (llrintl): Likewise.
7859
fed0faa1
JM
7860 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7861 Remove [__GNUC__] condition.
7862 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7863 condition to just [__USE_ISOC99].
7864 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7865
1a20cb20
L
78662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7867
7868 [BZ #14200]
7869 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7870 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7871 defined.
7872 (_POSIX_V6_ILP32_OFF32): Likewise.
7873 (_XBS5_ILP32_OFF32): Likewise.
7874 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7875 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7876
751b85f7
SP
78772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7878
7490eb81
SP
7879 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7880
751b85f7
SP
7881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7882 doubles __mpexp_twomm1. Adjust usage.
7883 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7884 Remove.
7885
988197f0
AS
78862013-01-10 Andreas Schwab <schwab@suse.de>
7887
7888 [BZ #14964]
7889 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7890 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7891
e83d7298
DM
78922013-01-09 David S. Miller <davem@davemloft.net>
7893
034ed64b 7894 [BZ #15003]
e83d7298
DM
7895 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7896 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7897 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7898 TCP_FASTOPEN): Define.
7899 (tcp_repair_opt): New structure.
7900 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7901 enum values.
7902 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7903 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7904 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7905 (tcp_cookie_transactions): New structure.
7906
d5e0b9bd
AB
79072013-01-09 Anton Blanchard <anton@samba.org>
7908
7909 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7910 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7911 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7912 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7913
0c07e3ea
JM
79142013-01-09 Joseph Myers <joseph@codesourcery.com>
7915
7916 * include/features.h (__USE_ANSI): Remove.
7917
232f7002
RM
79182013-01-09 Roland McGrath <roland@hack.frob.com>
7919
ad98e30c
RM
7920 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7921
232f7002
RM
7922 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7923
950c99ca
SP
79242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7925
b5792741
SP
7926 * sysdeps/s390/fpu/libm-test-ulps: Update.
7927
47cf2278
SP
7928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7929
950c99ca
SP
7930 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7931 (__acr): Likewise.
7932 (__cpy): Likewise.
7933 (norm): Likewise.
7934 (denorm): Likewise.
7935 (__mp_dbl): Likewise.
7936 (__dbl_mp): Likewise.
7937 (add_magnitudes): Likewise.
7938 (sub_magnitudes): Likewise.
7939 (__add): Likewise.
7940 (__sub): Likewise.
7941 (__mul): Likewise.
7942 (__inv): Likewise.
7943 (__dvd): Likewise.
7944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7945 (__acr): Likewise.
7946 (__cpy): Likewise.
7947 (norm): Likewise.
7948 (denorm): Likewise.
7949 (__mp_dbl): Likewise.
7950 (__dbl_mp): Likewise.
7951 (add_magnitudes): Likewise.
7952 (sub_magnitudes): Likewise.
7953 (__add): Likewise.
7954 (__sub): Likewise.
7955 (__mul): Likewise.
7956 (__inv): Likewise.
7957 (__dvd): Likewise.
7958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7959 (__acr): Likewise.
7960 (__cpy): Likewise.
7961 (norm): Likewise.
7962 (denorm): Likewise.
7963 (__mp_dbl): Likewise.
7964 (__dbl_mp): Likewise.
7965 (add_magnitudes): Likewise.
7966 (sub_magnitudes): Likewise.
7967 (__add): Likewise.
7968 (__sub): Likewise.
7969 (__mul): Likewise.
7970 (__inv): Likewise.
7971 (__dvd): Likewise.
7972
eede9df9
JM
79732013-01-08 Joseph Myers <joseph@codesourcery.com>
7974
7975 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7976 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7977 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7978 2 && __USE_EXTERN_INLINES]: Likewise.
7979
c40ea3d9
AJ
79802013-01-08 Andreas Jaeger <aj@suse.de>
7981
7982 [BZ# 14985]
7983 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7984 Remove.
7985 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7986 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7987
2ccdea26
AB
79882013-01-07 Anton Blanchard <anton@samba.org>
7989
7990 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7991 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7992 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7993 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7994 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7995 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7996 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7997 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7999 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8000 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8001 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8002 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8004 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8006 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8008 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8010 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8011 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8013 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8014 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8015 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8016 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8018 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8019 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8020 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8022 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8024 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8025 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8026 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8027 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8028 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8030 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8032 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8033
a9708fed
JM
80342013-01-07 Joseph Myers <joseph@codesourcery.com>
8035
375607b9
JM
8036 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8037 (__MALLOC_PMT): Likewise.
8038 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8039 [__GNUC__], only on [_LIBC].
8040 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8041 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8042 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8043 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8044 forward declaration.
8045 (realloc_hook_ini): Likewise.
8046 (memalign_hook_ini): Likewise.
8047 (__libc_memalign): Do not use __MALLOC_PMT in variable
8048 declaration.
8049 (__libc_valloc): Likewise.
8050 (__libc_pvalloc): Likewise.
8051 (__libc_calloc): Likewise.
8052 (__posix_memalign): Likewise.
8053
a9708fed
JM
8054 [BZ #14996]
8055 * math/s_casinh.c: Include <float.h>.
8056 (__casinh): Do not do computation with squaring and square root
8057 for large arguments.
8058 * math/s_casinhf.c: Include <float.h>.
8059 (__casinhf): Do not do computation with squaring and square root
8060 for large arguments.
8061 * math/s_casinhl.c: Include <float.h>.
8062 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8063 (__casinhl): Do not do computation with squaring and square root
8064 for large arguments.
8065 * math/libm-test.inc (casin_test): Add more tests.
8066 (casinh_test): Likewise.
8067 * sysdeps/i386/fpu/libm-test-ulps: Update.
8068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8069
afec409a
L
80702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8071
8072 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8073 (__x86_64_raw_data_cache_size): Likewise.
8074 (__x86_64_data_cache_size_half): Likewise.
8075 (__x86_64_raw_data_cache_size_half): Likewise.
8076 (__x86_64_shared_cache_size): Likewise.
8077 (__x86_64_raw_shared_cache_size): Likewise.
8078 (__x86_64_shared_cache_size_half): Likewise.
8079 (__x86_64_raw_shared_cache_size_half): Likewise.
8080 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8081 to ...
8082 (__x86_data_cache_size): This.
8083 (__x86_64_raw_data_cache_size): Renamed to ...
8084 (__x86_raw_data_cache_size): This.
8085 (__x86_64_data_cache_size_half): Renamed to ...
8086 (__x86_data_cache_size_half): This.
8087 (__x86_64_raw_data_cache_size_half): Renamed to ...
8088 (__x86_raw_data_cache_size_half): This.
8089 (__x86_64_shared_cache_size): Renamed to ...
8090 (__x86_shared_cache_size): This.
8091 (__x86_64_raw_shared_cache_size): Renamed to ...
8092 (__x86_raw_shared_cache_size): This.
8093 (__x86_64_shared_cache_size_half): Renamed to ...
8094 (__x86_shared_cache_size_half): This.
8095 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8096 (__x86_raw_shared_cache_size_half): This.
8097 * sysdeps/x86_64/memcpy.S: Updated.
8098 * sysdeps/x86_64/memset.S: Likewise.
8099 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8102
0b3986d0
DM
81032013-01-04 David S. Miller <davem@davemloft.net>
8104
8105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8106
e47686e9
AS
81072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8108
d643bac1
AS
8109 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8110 1 to avoid redefinition warning.
8111 (__USE_GNU): Don't define.
8112 (init_signaling_nan): Protoize.
8113
e47686e9
AS
8114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8115
b18decba
SP
81162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8117
fffb407f
SP
8118 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8120 (__cpymn): Likewise.
8121 (norm): Remove commented code.
8122 (denorm): Likewise.
8123 (__mp_dbl): Likewise.
8124 (__inv): Likewise.
8125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8126 (__cpymn): Likewise.
8127 (norm): Remove commented code.
8128 (denorm): Likewise.
8129 (__mp_dbl): Likewise.
8130 (__inv): Likewise.
8131
b18decba
SP
8132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8133 mp_no value for 1.0 and 2.0.
8134 (norm): Use RADIXI instead of radixi.d.
8135 (denorm): Likewise.
8136 (__mul): Use 0.0 instead of zero.d.
8137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8138 mp_no value for 1.0 and 2.0.
8139 (norm): Use RADIXI instead of radixi.d.
8140 (denorm): Likewise.
8141 (__mul): Use 0.0 instead of zero.d.
8142
cdc1c96f
JM
81432013-01-04 Joseph Myers <joseph@codesourcery.com>
8144
8145 [BZ #14994]
8146 * math/s_casinh.c (__casinh): Reduce finite argument to first
8147 quadrant then set signs of results at the end.
8148 * math/s_casinhf.c (__casinhf): Likewise.
8149 * math/s_casinhl.c (__casinhl): Likewise.
8150 * math/libm-test.inc (casin_test): Add more tests.
8151 (casinh_test): Likewise.
8152 * sysdeps/i386/fpu/libm-test-ulps: Update.
8153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8154
302913e1
SP
81552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8156
6420d207
SP
8157 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8158
a9e48ab4
SP
8159 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8160
b7837264
SP
8161 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8162 declarations.
8163 (denorm): Likewise.
8164 (__mp_dbl): Likewise.
8165 (__inv): Likewise.
8166
f8af25d2
SP
8167 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8168 and adjust the header comment.
8169
302913e1
SP
8170 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8171 variable name from declaration.
8172
5d7dd1ca
L
81732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8174
8175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8176 Initialize COMMON_CPUID_INDEX_7 element.
8177 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8178 (CPUID_RTM): Likewise.
8179 (HAS_RTM): Likewise.
8180 (COMMON_CPUID_INDEX_7): New enum.
8181
2f5f40f4
AS
81822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8183
8184 [BZ #14981]
8185 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8186 size is zero, record memory as freed.
8187
4056f4a0
AJ
81882013-01-03 Andreas Jaeger <aj@suse.de>
8189
8190 * po/ia.po: Add new Interlingua translation.
8191
ab15736f 81922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8193
8194 * locale/programs/localedef.c: Fix description of '--posix' flag.
8195
568035b7
JM
81962013-01-02 Joseph Myers <joseph@codesourcery.com>
8197
e6898b8d
JM
8198 * NEWS: Update dates in second copyright notice.
8199 * README: Update copyright dates in example.
8200 * manual/libc.texinfo: Update copyright dates.
8201 * scripts/test-installation.pl: Update copyright date in --version
8202 output.
8203
0e2f9562
JM
8204 * hurd/ctty-input.c: Fix copyright notice formatting.
8205 * hurd/ctty-output.c: Likewise.
8206 * hurd/dtable.c: Likewise.
8207 * hurd/hurd-raise.c: Likewise.
8208 * hurd/hurdprio.c: Likewise.
8209 * hurd/msgportdemux.c: Likewise.
8210 * misc/sys/file.h: Likewise.
8211 * misc/sys/ioctl.h: Likewise.
8212 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8213 * sysdeps/mach/hurd/chdir.c: Likewise.
8214 * sysdeps/mach/hurd/fchdir.c: Likewise.
8215 * sysdeps/mach/hurd/rename.c: Likewise.
8216 * sysdeps/mach/hurd/rmdir.c: Likewise.
8217 * sysdeps/mach/hurd/seekdir.c: Likewise.
8218 * sysdeps/mach/hurd/setsid.c: Likewise.
8219 * sysdeps/posix/wait3.c: Likewise.
8220
568035b7
JM
8221 * All files with FSF copyright notices: Update copyright dates
8222 using scripts/update-copyrights.
8223 * intl/plural.c: Regenerated.
8224 * locale/programs/charmap-kw.h: Likewise.
8225 * locale/programs/locfile-kw.h: Likewise.
8226
da08f647
SP
82272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8228
0f5477af
SP
8229 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8230 four values.
8231
44e0d4c2
SP
8232 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8233 calculation loop and add branch prediction.
8234
4d55b4e5
SP
8235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8236 check access beyond bounds of m1np.
8237
da08f647
SP
8238 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8239 MPTWO.
8240 (__inv): Remove local variable MPTWO to use the global
8241 constant.
8242 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8244 variable MPTWO.
8245 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8246 MP3HALFS static const.
8247
8e051029
DM
82482013-01-01 David S. Miller <davem@davemloft.net>
8249
8250 * po/ca.po: Update from translation team.
8251
f4cf5f2d
JM
82522013-01-01 Joseph Myers <joseph@codesourcery.com>
8253
8254 * scripts/update-copyrights: New file.
8255 * Makeconfig: Reformat copyright notice.
8256 * ctype/ctype.h: Likewise.
8257 * debug/swprintf_chk.c: Likewise.
8258 * elf/dl-cache.c: Likewise.
8259 * elf/dl-debug.c: Likewise.
8260 * elf/dl-object.c: Likewise.
8261 * grp/initgroups.c: Likewise.
8262 * hurd/Makefile: Likewise.
8263 * hurd/hurd/signal.h: Likewise.
8264 * hurd/hurdfault.c: Likewise.
8265 * hurd/hurdioctl.c: Likewise.
8266 * hurd/hurdlookup.c: Likewise.
8267 * hurd/intr-msg.c: Likewise.
8268 * iconv/gconv_open.c: Likewise.
8269 * libio/swprintf.c: Likewise.
8270 * locale/lc-ctype.c: Likewise.
8271 * locale/nl_langinfo.c: Likewise.
8272 * mach/Machrules: Likewise.
8273 * mach/Makefile: Likewise.
8274 * malloc/obstack.h: Likewise.
8275 * manual/Makefile: Likewise.
8276 * manual/tsort.awk: Likewise.
8277 * misc/bits/stab.def: Likewise.
8278 * nis/nis_print_group_entry.c: Likewise.
8279 * nis/nis_table.c: Likewise.
8280 * nis/nss_compat/compat-pwd.c: Likewise.
8281 * nis/nss_compat/compat-spwd.c: Likewise.
8282 * po/Makefile: Likewise.
8283 * posix/fnmatch.c: Likewise.
8284 * posix/regex.h: Likewise.
8285 * resolv/Makefile: Likewise.
8286 * resolv/nss_dns/dns-network.c: Likewise.
8287 * resolv/res_hconf.c: Likewise.
8288 * scripts/gen-sorted.awk: Likewise.
8289 * soft-fp/soft-fp.h: Likewise.
8290 * stdio-common/printf.h: Likewise.
8291 * stdlib/monetary.h: Likewise.
8292 * stdlib/random.c: Likewise.
8293 * stdlib/random_r.c: Likewise.
8294 * sysdeps/generic/Makefile: Likewise.
8295 * sysdeps/gnu/Makefile: Likewise.
8296 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8324 * sysdeps/mach/hurd/errnos.awk: Likewise.
8325 * sysdeps/mach/hurd/fork.c: Likewise.
8326 * sysdeps/mach/hurd/getcwd.c: Likewise.
8327 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8328 * sysdeps/mach/hurd/mmap.c: Likewise.
8329 * sysdeps/mach/hurd/utimes.c: Likewise.
8330 * sysdeps/mach/hurd/xmknod.c: Likewise.
8331 * sysdeps/posix/profil.c: Likewise.
8332 * sysdeps/posix/readdir_r.c: Likewise.
8333 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8334 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8335 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8336 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8338 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8339 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8340 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8342 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8343 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8344 * sysdeps/pthread/lio_listio.c: Likewise.
8345 * sysdeps/sparc/dl-procinfo.h: Likewise.
8346 * sysdeps/unix/i386/sysdep.S: Likewise.
8347 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8348 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8349 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8350 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8352 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8353 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8354 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8355 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8356 * sysdeps/wordsize-32/divdi3.c: Likewise.
8357 * time/sys/time.h: Likewise.
8358 * wcsmbs/Makefile: Likewise.
8359
0549fbba
DM
83602013-01-01 David S. Miller <davem@davemloft.net>
8361
a141f1a7
DM
8362 * po/fr.po: Update from translation team.
8363
0549fbba
DM
8364 * catgets/gencat.c: Update copyright year.
8365 * csu/version.c: Likewise.
8366 * debug/catchsegv.sh: Likewise.
8367 * debug/pcprofiledump.c: Likewise.
8368 * debug/xtrace.sh: Likewise.
8369 * elf/ldconfig.c: Likewise.
8370 * elf/ldd.bash.in: Likewise.
8371 * elf/pldd.c: Likewise.
8372 * elf/sotruss.ksh: Likewise.
8373 * elf/sprof.c: Likewise.
8374 * iconv/iconv_prog.c: Likewise.
8375 * iconv/iconvconfig.c: Likewise.
8376 * locale/programs/locale.c: Likewise.
8377 * locale/programs/localedef.c: Likewise.
8378 * login/programs/pt_chown.c: Likewise.
8379 * malloc/memusage.sh: Likewise.
8380 * malloc/memusagestat.c: Likewise.
8381 * malloc/mtrace.pl: Likewise.
8382 * nscd/nscd.c: Likewise.
8383 * nss/getent.c: Likewise.
8384 * nss/makedb.c: Likewise.
8385 * posix/getconf.c: Likewise.
8386
18ea052c
SP
83872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8388
8389 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8390 numbers.
8391
9c89fca6
MF
83922012-12-30 Mike Frysinger <vapier@gentoo.org>
8393
8394 * math/bits/mathcalls.h (modf): Use __nonnull.
8395
085ec079
SP
83962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8397
8398 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8399 (split): Use macro CN instead of the bare value.
8400 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8401 could be used.
8402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8403 instead of the bare value.
8404 (power1): Likewise.
8405
6d9f97e1
SP
84062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8407
d63f73be
SP
8408 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8409 __ATAN_TWOM.
8410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8411
6d9f97e1
SP
8412 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8413 their values.
8414 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8415 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8416 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8417 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8418
4c4febf5
AJ
84192012-12-28 Andreas Jaeger <aj@suse.de>
8420
af5843ef
AJ
8421 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8422 values are from Linux 3.7.
8423
4c4febf5
AJ
8424 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8425 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8426
99136f82
SP
84272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8428
2f216c3c 8429 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8430 TRUE case.
8431
99136f82
SP
8432 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8433 (norm): Likewise.
8434 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8435 variables with preprocessor constants.
8436 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8437 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8438 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8439
7fffbdff
BH
84402012-12-27 Bruno Haible <bruno@clisp.org>
8441
8442 [BZ #14317]
8443 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8444 only if needed.
8445
b76eb5f0
SP
84462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
31a7fe5c
SP
8448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8449 and use variable directly.
8450 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8451
b76eb5f0
SP
8452 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8453 MPONE.
8454 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8455 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8456 variable MPONE.
8457 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8459 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8460 include directive. Remove local variable MPONE.
8461 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8462 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8463 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8464
2c8bfe7d
DM
84652012-12-25 David S. Miller <davem@davemloft.net>
8466
8467 * version.h (RELEASE): Set to "development".
8468 (VERSION): Set to "2.17.90".
8469 * NEWS: Add 2.18 section.
8470
147d03b0
DM
84712012-12-21 David S. Miller <davem@davemloft.net>
8472
8473 * po/hr.po: Update from translation team.
8474
a8ebb2b9
AK
84752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8476
8477 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8478
95b4f1b6
SE
84792012-12-19 Steve Ellcey <sellcey@mips.com>
8480
b2d94007 8481 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8482
cedb2a90
MS
84832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8484
8485 * manual/contrib.texi (Contributors): Spelling correction.
8486
bbf527d6
DM
84872012-12-15 David S. Miller <davem@davemloft.net>
8488
8489 * po/ru.po: Update from translation team.
8490
bc38c906
DM
84912012-12-13 David S. Miller <davem@davemloft.net>
8492
85429b1a
DM
8493 * NEWS: Mention IFUNC testsuite enhancements.
8494
d283e353
DM
8495 * po/pl.po: Update from translation team.
8496 * po/bg.po: Likewise.
8497
bc38c906
DM
8498 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8499 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8500
a181b0d7
DM
85012012-12-11 David S. Miller <davem@davemloft.net>
8502
4641d57e
DM
8503 * po/sv.po: Update from translation team.
8504
f7bc6495
DM
8505 * po/vi.po: Update from translation team.
8506
6fc9048f
DM
8507 * po/cs.po: Update from translation team.
8508
a181b0d7
DM
8509 * po/de.po: Update from translation team.
8510 * po/eo.po: Likewise.
8511 * po/nl.po: Likewise.
8512
f70bfe80
SP
85132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8514
3c8b4190
SP
8515 [BZ #14246]
8516 * manual/argp.texi (Argp Helper Functions): Move node to follow
8517 Argp Parsing State.
8518
f70bfe80
SP
8519 [BZ #14872]
8520 * manual/conf.texi (Limits on File System Capacity): Mention if
8521 terminating null is included in the max size.
8522
188f0adf
AJ
85232012-12-10 Andreas Jaeger <aj@suse.de>
8524
8525 * po/cs.po: Update from translation team.
8526
56e7d3ad
SP
85272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8528
8529 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8530 void pointer and cast to uintptr_t.
8531 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8532 path.
8533 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8534 * sysdeps/s390/s390-64/memset.S: Likewise.
8535
76f2d2ea 85362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8537
8538 [BZ #14833]
8539 * menual/message.texi (Message Translation): Fix typos.
8540 (Helper programs for gettext): Likewise.
8541
67cbf9a2
AS
85422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8543
8544 [BZ #14898]
8545 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8546 Change to -1.
8547
682d0e9a
DM
85482012-12-07 David S. Miller <davem@davemloft.net>
8549
8550 * po/libc.pot: Update.
8551
573cd484
RH
85522012-12-07 Richard Henderson <rth@redhat.com>
8553
7e9da188 8554 [BZ #10114]
573cd484
RH
8555 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8556 normal/normal case to before the switch.
8557 (_FP_DIV): Likewise.
8558
e933a943
MF
85592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8560 Mike Frysinger <vapier@gentoo.org>
8561
8562 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8563 check for __NR_fadvise64_64.
8564
82123268
CM
85652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8566
8567 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8568 0, not just to plain "0" as a statement.
8569 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8570 with cw.
8571
d9814526
JM
85722012-12-06 Joseph Myers <joseph@codesourcery.com>
8573
8574 * NEWS: Use sourceware.org in Bugzilla URL.
8575
7728c574
SP
85762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8577
f16946dd
SP
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8579 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8580
5704bbcb
SP
8581 * stdio-common/tst-put-error.c (do_test): Add newline to the
8582 padded test to ensure flush.
8583
17aa0516
JL
85842012-12-05 Jeff Law <law@redhat.com>
8585
8586 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8587
363313b5
JM
85882012-12-05 Joseph Myers <joseph@codesourcery.com>
8589
effbd42a
JM
8590 * README: Don't refer to ports add-on as distributed separately.
8591 Mention AArch64 in list of systems supported in the ports add-on.
8592
87600365
JM
8593 * LICENSES: Add more non-FSF copyright and license notices.
8594
a0d7066a
JM
8595 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8596 ((unused)).
8597
66ca5a5b
JM
8598 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8599
363313b5
JM
8600 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8601 10000 as width of padded output.
8602
b37984ad
JM
86032012-12-04 Joseph Myers <joseph@codesourcery.com>
8604
9003570a
JM
8605 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8606
b37984ad
JM
8607 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8608 variable LX with __attribute__ ((unused)).
8609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8610 Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8614 with __attribute__ ((unused)).
8615
c8df52ec
DM
86162012-12-04 David S. Miller <davem@abraco.davemloft.net>
8617
8618 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8619
b3b099af
JM
86202012-12-04 Joseph Myers <joseph@codesourcery.com>
8621
c33aa6e3
JM
8622 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8623 (CFLAGS-nldbl-acos.c): New variable.
8624 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8626 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8627 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8628 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8629 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8630 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8631 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8632 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8633 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8634 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8635 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8636 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8637 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8638 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8639 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8649 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8650 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8651 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8652 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8653 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8654 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8655 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8656 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8657 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8658 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8659 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8660 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8661 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8662 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8663 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8664 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8665 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8666 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8667 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8668 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8669 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8670 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8671 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8672 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8673 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8674 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8675 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8676 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8677 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8678 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8679 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8680 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8681 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8682 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8683 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8684 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8685 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8686 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8687 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8688 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8689 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8690 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8691 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8692 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8693 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8694 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8695 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8696 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8697 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8698 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8699 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8700 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8701 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8702 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8703 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8704 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8705 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8706 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8707 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8708 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8709 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8710 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8711 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8712 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8713 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8714 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8715 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8716 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8717 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8718 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8719 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8720 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8721
20f0018d
JM
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8723 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8724
b3b099af
JM
8725 [BZ #14914]
8726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8727 whole low double instead of just low 47 bits when splitting values
8728 into two parts.
8729
029264d1
AM
87302012-12-03 Allan McRae <allan@archlinux.org>
8731
8732 * manual/stdio.texi (Predefined Printf Handlers): Remove
8733 @hsep and @vsep usage.
8734
c9d6789e
MF
87352012-12-03 Mike Frysinger <vapier@gentoo.org>
8736
8737 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8738 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8739
4b7634a5
JL
87402012-12-03 Jeff Law <law@redhat.com>
8741
8742 * time/sys/time.h (settimeofday): Do not mark TV argument
8743 as __nonnull.
8744
eb6cbd24
MF
87452012-12-01 Mike Frysinger <vapier@gentoo.org>
8746
8747 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8748 when currently writing and seek to current position when not.
8749 * libio/Makefile (tests): Remove bug-fclose1.
8750 * libio/bug-fclose1.c: Delete.
8751
f638872a
JM
87522012-12-01 Joseph Myers <joseph@codesourcery.com>
8753
8754 * manual/arith.texi (feenableexcept): Fix typo.
8755 (fedisableexcept): Likewise.
8756
48085d14
RM
87572012-11-30 Roland McGrath <roland@hack.frob.com>
8758
8759 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8760 second, differently-typed declaration, rather than a cast.
8761
1a538b9f
SP
87622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
8764 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8765 * include/rpc/svc.h: ... here.
8766
d07f2ff1 87672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8768
8769 [BZ #13013]
8770 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8771 depending n and resplen2 to catch cases where answer
8772 equals answerp2.
8773
c93ec1f0
CD
87742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8775
8776 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8777 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8778
37db69de
MF
87792012-11-29 Mike Frysinger <vapier@gentoo.org>
8780
8781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8782
e10c4e4f
RM
87832012-11-29 Roland McGrath <roland@hack.frob.com>
8784
8785 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8786
2af1b328
JL
87872012-11-28 Jeff Law <law@redhat.com>
8788
8789 [BZ #13761]
8790 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8791 dataset_temporary. Track alloca usage into alloca_used.
8792 If dataset is large allocate and release it via malloc/free.
8793
111db5b1
FW
87942012-06-04 Florian Weimer <fweimer@redhat.com>
8795
f06cc227 8796 [BZ #14197]
111db5b1
FW
8797 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8798
dd694abd
DM
87992012-11-28 David S. Miller <davem@davemloft.net>
8800
8801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8802
9984dd01
JM
88032012-11-28 Joseph Myers <joseph@codesourcery.com>
8804
8805 [BZ #14803]
8806 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8807 of pi/2 rounded to nearest to 64 bits.
8808 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8809 nearest to 64 bits.
8810 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8811 bits.
8812
14bc93a9
JL
88132012-11-28 Jeff Law <law@redhat.com>
8814 Martin Osvald <mosvald@redhat.com>
8815
8816 [BZ #14889]
8817 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8818 * sunrpc/svc.c: Include time.h.
8819 (__svc_accept_failed): New function.
8820 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8821 any reason other than EINTR, call __svc_accept_failed.
8822 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8823 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8824
e3c6aa3a
AS
88252012-11-28 Andreas Schwab <schwab@suse.de>
8826
8827 * scripts/abilist.awk: Also handle indirect functions in .opd
8828 section.
8829
1bead169
JM
88302012-11-28 Joseph Myers <joseph@codesourcery.com>
8831
8832 [BZ #13881]
8833 * sysdeps/x86/fpu/powl_helper.c: New file.
8834 * sysdeps/x86/fpu/Makefile: Likewise.
8835 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8836 (p3): New object.
8837 (__ieee754_powl): Use __powl_helper for finite arguments except
8838 integer exponents below 8.
8839 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8840 (p3): New object.
8841 (__ieee754_powl): Use __powl_helper for finite arguments except
8842 integer exponents below 8.
8843 * math/libm-test.inc (pow_test): Add more tests and enable some
8844 previously disabled tests.
8845 * sysdeps/i386/fpu/libm-test-ulps: Update.
8846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8847
0817d63d
SP
88482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8849 Carlos O'Donell <carlos_odonell@mentor.com>
8850
8851 * nss/makedb.c (is_prime): Assert that input is odd and greater
8852 than 4. Note that fact in a comment too.
8853 (next_prime): Add 4 to input.
8854
de2fd463
SP
88552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8856
8857 [BZ #11741]
8858 * libio/Makefile (tests): Add test case tst-fwrite-error.
8859 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8860 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8861 * libio/tst-fwrite-error.c: New test case.
8862
c515fb51
L
88632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8864
8865 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8866 before casting to void *.
8867 * include/libc-internal.h (__pointer_type): New macro.
8868 (__integer_if_pointer_type_sub): Likewise.
8869 (__integer_if_pointer_type): Likewise.
8870 (cast_to_integer): Likewise.
8871 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8872 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8873 before casting to atomic64_t.
8874 (atomic_exchange_acq): Likewise.
8875 (__arch_exchange_and_add_body): Likewise.
8876 (__arch_add_body): Likewise.
8877 (atomic_add_negative): Likewise.
8878 (atomic_add_zero): Likewise.
8879
4cf77aa9
JM
88802012-11-26 Joseph Myers <joseph@codesourcery.com>
8881
8882 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8883 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8884 (add_fdes): Likewise.
8885 (linear_search_fdes): Likewise.
8886 (binary_search_unencoded_fdes): Likewise.
8887
d260b3b4
AS
88882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8889
8890 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8891
67060746
AC
88922012-11-24 Adam Conrad <adconrad@0c3.net>
8893
8894 * configure.in: Autodetect C++ header directories.
8895 * configure: Regenerated.
8896
800938a1
MF
88972012-11-23 Mike Frysinger <vapier@gentoo.org>
8898
8899 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8900
4e6e34e6
AS
89012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8902
8903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8904
7c7feb47
JM
89052012-11-22 Joseph Myers <joseph@codesourcery.com>
8906
7184dcdf
JM
8907 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8908 LDBL_MANT_DIG == 106]: Disable some tests.
8909 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8910 Likewise.
8911 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8912 Likewise.
8913
0a42601f
JM
8914 [BZ #14871]
8915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8916 input for small inputs. Return +/- pi/2 for large inputs.
8917 * math/libm-test.inc (atan_test): Add more tests.
8918
79c9b9fe
JM
8919 * sysdeps/generic/unwind-dw2-fde-glibc.c
8920 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8921 __attribute__ ((unused)).
8922
c60d3bf2
JM
8923 [BZ #14645]
8924 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8925 x * y if x and y are nonzero and z is zero.
8926
ef1e0867
JM
8927 [BZ #14811]
8928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8929 nonzero exponents with absolute value below 0x1p-117 to +/-
8930 0x1p-117.
8931
1468ded3
JM
8932 [BZ #14869]
8933 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8934 up arguments below 2**-450, not just those below 2**-500.
8935 * math/libm-test.inc (hypot_test): Add another test.
8936
8e27e3cc
JM
8937 [BZ #14868]
8938 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8939 Return a+b for ratio over 2**120, not 2**60.
8940 * math/libm-test.inc (hypot_test): Add another test.
8941
c9c0279b
JM
8942 * math/libm-test.inc (clog_test): Use
8943 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8944 (clog10_test): Likewise.
8945
7c7feb47
JM
8946 [BZ #6778]
8947 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8948
fff1530e
AS
89492012-11-22 Andreas Schwab <schwab@suse.de>
8950
8951 * sysdeps/i386/fpu/libm-test-ulps: Update.
8952
94558d30
PT
89532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8954
8955 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8956 printf output with newline.
8957
7e1be741
L
89582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8959
6bfea974
L
8960 [BZ #14865]
8961 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8962 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8963 -z nodlopen, -z initfirst and -z execstack support.
8964 * configure: Regenerated.
8965
7e1be741
L
8966 * elf/elf.h (DF_1_NODIRECT): New macro.
8967 (DF_1_IGNMULDEF): Likewise.
8968 (DF_1_NOKSYMS): Likewise.
8969 (DF_1_NOHDR): Likewise.
8970 (DF_1_EDITED): Likewise.
8971 (DF_1_NORELOC): Likewise.
8972 (DF_1_SYMINTPOSE): Likewise.
8973 (DF_1_GLOBAUDIT): Likewise.
8974 (DF_1_SINGLETON): Likewise.
8975 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8976 DT_1_SUPPORTED_MASK bits.
8977 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8978
105ce2ce
CD
89792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8980
8981 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8982
123be9de
TS
89832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8984
d072f3f7
TS
8985 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8986 macro.
8987
123be9de
TS
8988 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8989 (sendmmsg): Move declarations...
8990 * socket/sys/socket.h: ... here.
8991 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8992 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8993 include it from...
8994 * socket/recvmmsg.c: ... this new file.
8995 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8996 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8997 definition of __sendmmsg hidden.
8998 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8999 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9000 Move ENOSYS stub into and include it from...
9001 * socket/sendmmsg.c: ... this new file.
9002 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9003 (sysdep_routines): Move recvmmsg and sendmmsg...
9004 * socket/Makefile (routines): ... here.
9005 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9006 (GLIBC_PRIVATE): Add __sendmmsg.
9007 * include/sys/socket.h (__sendmmsg): Add declarations.
9008 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9009 sendmmsg.
9010
cf9a5d18
JM
90112012-11-20 Joseph Myers <joseph@codesourcery.com>
9012
9013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9014 variable I1 with __attribute__ ((unused)).
9015 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9016
ecd4caf9
JM
90172012-11-19 Joseph Myers <joseph@codesourcery.com>
9018
be14d48f
JM
9019 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9020 DUMMY variables with __attribute__ ((unused)).
9021
ecd4caf9
JM
9022 * bits/byteswap.h: Include <bits/types.h>.
9023 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9024
986cab95
PT
90252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9026
9027 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9028 string_t. Do not manually set errno.
9029 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9030 length with __strnlen. Make sure to both set errno and return it on
9031 failure.
9032
6d33cc9d
DM
90332012-11-19 David S. Miller <davem@davemloft.net>
9034
9035 With help from Joseph Myers.
9036 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9037 very large arguments properly.
9038 * math/libm-test.inc (atan_test): New tests.
9039 (atan2_test): New tests.
9040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9042
ee663277
JM
90432012-11-19 Joseph Myers <joseph@codesourcery.com>
9044
877f2d8e
JM
9045 [BZ #14856]
9046 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9047 Define to 3.
9048
116fc08a
JM
9049 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9050 [POSIX] (EADDRNOTAVAIL): Likewise.
9051 [POSIX] (EAFNOSUPPORT): Likewise.
9052 [POSIX] (EALREADY): Likewise.
9053 [POSIX] (ECONNABORTED): Likewise.
9054 [POSIX] (ECONNREFUSED): Likewise.
9055 [POSIX] (ECONNRESET): Likewise.
9056 [POSIX] (EDESTADDRREQ): Likewise.
9057 [POSIX] (EDQUOT): Likewise.
9058 [POSIX] (EHOSTUNREACH): Likewise.
9059 [POSIX] (EIDRM): Likewise.
9060 [POSIX] (EISCONN): Likewise.
9061 [POSIX] (ELOOP): Likewise.
9062 [POSIX] (EMULTIHOP): Likewise.
9063 [POSIX] (ENETDOWN): Likewise.
9064 [POSIX] (ENETUNREACH): Likewise.
9065 [POSIX] (ENOBUFS): Likewise.
9066 [POSIX] (ENODATA): Likewise.
9067 [POSIX] (ENOLINK): Likewise.
9068 [POSIX] (ENOMSG): Likewise.
9069 [POSIX] (ENOPROTOOPT): Likewise.
9070 [POSIX] (ENOSR): Likewise.
9071 [POSIX] (ENOSTR): Likewise.
9072 [POSIX] (ENOTCONN): Likewise.
9073 [POSIX] (ENOTSOCK): Likewise.
9074 [POSIX] (EOPNOTSUPP): Likewise.
9075 [POSIX] (EOVERFLOW): Likewise.
9076 [POSIX] (EPROTO): Likewise.
9077 [POSIX] (EPROTONOSUPPORT): Likewise.
9078 [POSIX] (EPROTOTYPE): Likewise.
9079 [POSIX] (ESTALE): Likewise.
9080 [POSIX] (ETIME): Likewise.
9081 [POSIX] (ETXTBSY): Likewise.
9082 [POSIX] (EWOULDBLOCK): Likewise.
9083 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9084 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9085 [POSIX] (SEEK_CUR): Likewise.
9086 [POSIX] (SEEK_END): Likewise.
9087 [POSIX || UNIX98] (mode_t): Do not require.
9088 [POSIX] (off_t): Likewise.
9089 [POSIX] (pid_t): Likewise.
9090 [POSIX] (sys/stat.h): Do not allow header.
9091 [POSIX] (unistd.h): Likewise.
9092 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9093 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9094 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9095 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9096 require.
9097 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9098 sigevent): Specify elements.
9099 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9100 entry.
9101 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9102 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9103
a483863f
JM
9104 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9105 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9106 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9107 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9108 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9109 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9110 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9111 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9112 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9113 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9114 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9115 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9116 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9117 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9118 Likewise.
9119 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9120 Likewise.
9121 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9122 Likewise.
9123 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9124 Likewise.
9125 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9126 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9127 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9128 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9129 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9130 Specify lower bound on value.
9131 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9132 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9133 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9134 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9135 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9136 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9137 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9138 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9139 value.
9140 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9141 as optional.
9142 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9143 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9144 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9145 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9146 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9147 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9148 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9149 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9150 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9151 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9152 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9153 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9154 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9155 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9156 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9157 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9158 entry.
9159 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9160 optional.
9161 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9162 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9163 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9164 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9165 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9166 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9167 Likewise.
9168 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9169 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9170 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9171 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9172 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9173 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9174 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9175 as optional.
9176 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9177 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9178 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9179 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9180 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9181 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9182 specify as optional.
9183 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9184 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9185 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9186 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9187 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9188 [XPG3] (NL_LANGMAX): Likewise.
9189 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9190 [POSIX || XPG3] (NL_NMAX): Likewise.
9191 [POSIX || XPG3] (NL_SETMAX): Likewise.
9192 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9193 [XPG3] (NZERO): Likewise.
9194 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9195 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9196 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9197 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9198 (REG_ERANGE): Expect.
9199 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9200 optional-constant.
9201 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9202 Use (void) in prototype.
9203 [POSIX] (*_t): Allow.
9204 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9205 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9206 (WRDE_BADVAL): Expect.
9207
5ba924e3
JM
9208 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9209 expect.
9210 [XPG3 || XPG4] (O_RSYNC): Likewise.
9211 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9212 Likewise.
9213 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9214 [XPG3 || XPG4] (sigqueue): Likewise.
9215 [XPG3 || XPG4] (sigtimedwait): Likewise.
9216 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9217 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9218 [XPG3 || XPG4] (vsnprintf): Likewise.
9219 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9220 Likewise.
9221 [XPG3 || XPG4] (blksize_t): Likewise.
9222 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9223 Likewise.
9224 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9225 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9226 [XPG3 || XPG4] (struct itimerspec): Likewise.
9227 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9228 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9229 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9230 [XPG3 || XPG4] (clockid_t): Likewise.
9231 [XPG3 || XPG4] (timer_t): Likewise.
9232 [XPG3 || XPG4] (clock_getres): Likewise.
9233 [XPG3 || XPG4] (clock_gettime): Likewise.
9234 [XPG3 || XPG4] (clock_settime): Likewise.
9235 [XPG3 || XPG4] (nanosleep): Likewise.
9236 [XPG3 || XPG4] (timer_create): Likewise.
9237 [XPG3 || XPG4] (timer_delete): Likewise.
9238 [XPG3 || XPG4] (timer_gettime): Likewise.
9239 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9240 [XPG3 || XPG4] (timer_settime): Likewise.
9241 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9242 [XPG3 || XPG4] (getlogin_r): Likewise.
9243 [XPG3 || XPG4] (pread): Likewise.
9244 [XPG3 || XPG4] (pthread_atfork): Likewise.
9245 [XPG3 || XPG4] (pwrite): Likewise.
9246
ee663277
JM
9247 [BZ #14835]
9248 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9249 <bits/siginfo.h>.
9250
942caa16
PT
92512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9252
e19af380
PT
9253 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9254 finalizing MALLSTREAM.
9255
942caa16
PT
9256 * sysdeps/mach/hurd/syncfs.c: New file.
9257
cfde9b46
SP
92582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9259
9260 [BZ #14719]
9261 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9262 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9263 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9264 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9265 (_nss_dns_gethostbyname4_r): Likewise.
9266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9267 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9268
f6da27e5
PH
92692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9270
9271 [BZ #13763]
9272 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9273
6665d4a2
SM
92742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9275
1f51ee92
SM
9276 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9277 * elf/cache.c (print_entry): Print ",AArch64" for
9278 FLAG_AARCH64_LIB64
9279
6665d4a2
SM
9280 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9281 * elf/cache.c (print_entry): Print ",hard-float" for
9282 FLAG_ARM_LIBHF.
9283
05b227bd
DM
92842012-11-18 David S. Miller <davem@davemloft.net>
9285
9286 With help from Joseph Myers.
9287 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9288 cutoff to 2**-13.
9289 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9290 cutoff to 2**-25.
9291 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9292 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9293 small.
9294 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9295 * math/libm-test.inc (y0_test): New tests.
9296 (y1_test): New tests.
9297 * sysdeps/i386/fpu/libm-test-ulps: Update.
9298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9300
786b0b67
AS
93012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9302
9303 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9304 64-bit targets.
9305 * configure: Regenerated.
9306
8e18b86d
DM
93072012-11-17 David S. Miller <davem@davemloft.net>
9308
9309 [BZ #14811]
9310 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9311 nonzero exponents with absolute value below 0x1p-128 to +/-
9312 0x1p-128.
9313
531f1ae0
JM
93142012-11-17 Joseph Myers <joseph@codesourcery.com>
9315
12df29e2
JM
9316 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9317
150dc1a0
JM
9318 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9319
531f1ae0
JM
9320 * posix/getconf-speclist.c: New file.
9321 * posix/posix-envs.def: Likewise.
9322 * posix/confstr.c (START_ENV_GROUP): New macro.
9323 (END_ENV_GROUP): Likewise.
9324 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9325 (KNOWN_PRESENT_ENV_STRING): Likewise.
9326 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9327 (UNKNOWN_ENVIRONMENT): Likewise.
9328 (confstr): Include posix-envs.def instead of handling
9329 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9330 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9331 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9332 (END_ENV_GROUP): Likewise.
9333 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9334 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9335 (UNKNOWN_ENVIRONMENT): Likewise.
9336 (__sysconf): Include posix-envs.def instead of handling associated
9337 cases directly here.
9338 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9339 preprocessing getconf-speclist.c rather than running getconf or
9340 generating empty file.
9341
a93f9cbc
PT
93422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9343
9344 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9345
d64d9f87
AL
93462012-11-16 Andrej Lajovic <natrij@gmail.com>
9347
9348 [BZ #14672]
9349 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9350
447885eb
DM
93512012-11-16 David S. Miller <davem@davemloft.net>
9352
9353 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9354 smaller than LDBL_EPSILON/2.0L, just return xm1.
9355
bcbf9830
L
93562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * elf/tst-array1.c (init): Set constructor priority to 1000.
9359 (fini): Set destructor priority to 1000.
9360 * elf/tst-array2dep.c: Likewise.
9361
2b766585
SP
93622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9363
9364 [BZ #11741]
9365 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9366 (_IO_new_file_xsputn): Also return EOF if none of the input
9367 data was written when overflow failed.
9368 * libio/iopadn.c (_IO_padn): Likewise.
9369 * libio/iowpadn.c (_IO_wpadn): Likewise.
9370 * stdio-common/tst-put-error.c: Add copyright notice.
9371 (do_test): Add case for printing padded string.
9372 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9373 _IO_padn returned error.
9374 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9375 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9376 return EOF.
9377
b1848fde
SP
93782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9379
9380 * libio/libioP.h: Add comment note that the references to C++
9381 bits are now obsolete.
9382
2fd89785
MS
93832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9384
9385 * math/libm-test.inc (check_complex): Use asprintf.
9386
e3ea5409
JM
93872012-11-14 Joseph Myers <joseph@codesourcery.com>
9388
9389 * debug/pcprofiledump.c (print_version): Update copyright year.
9390 * malloc/memusagestat.c (print_version): Likewise.
9391
2e64d265
L
93922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9393
9394 [BZ #14831]
9395 * elf/Makefile (tests): Add tst-audit8.
9396 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9397 ($(objpfx)tst-audit8.out): New target.
9398 (tst-audit8-ENV): New variable.
9399 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9400 audit if l_reloc_result is NULL.
9401 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9402 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9403 * elf/tst-audit8.c: New file.
9404
c485e4d2
MS
94052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9406
9407 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9408 * misc/Makefile (CFLAGS-select.c): Define.
9409 * posix/Makefile (CFLAGS-pause.c): Define.
9410
3a0d900a
DM
94112012-11-13 David S. Miller <davem@davemloft.net>
9412
9413 * crypt/Makefile: Move test targets after toplevel Rules
9414 inclusion. Grab any necessary sysdep routines when linking.
9415 * crypt/md5.c (md5_process_block): Remove define, we will always
9416 name it __md5_process_block.
9417 (md5_finish_ctx): Update md5_process_block call.
9418 (md5_stream): Likewise.
9419 (md5_process_bytes): Likewise.
9420 (md5_process_block): Rename to __md5_process_block and move to ...
9421 * crypt/md5-block.c: ... here.
9422 * crypt/sha256.c (sha256_process_block): Move to ...
9423 * crypt/sha256-block.c: ... here.
9424 * crypt/sha512.c (sha512_process_block): Move to ...
9425 * crypt/sha512-block.c: ... here.
9426 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9427 path.
9428 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9429 * sysdeps/sparc/sparc64/multiarch/Makefile
9430 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9431 crypt subdir.
9432 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9433 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9434 multiarch changes.
9435 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9436 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9437 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9438 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9439 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9440 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9441 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9442 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9443 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9444 file.
9445 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9446 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9447 file.
9448 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9449
8ca89318
JM
94502012-11-13 Joseph Myers <joseph@codesourcery.com>
9451
e27d476a
JM
9452 * timezone/tzselect.ksh: Update from tzcode git revision
9453 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9454 * timezone/zdump.c: Likewise.
9455 * timezone/zic.c: Likewise.
9456 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9457 in TZVERSION setting, not $(PKGVERSION).
9458 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9459 REPORT_BUGS_TO settings.
9460
8ca89318
JM
9461 [BZ #14838]
9462 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9463 macro.
9464
47594329
MS
94652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9466
9467 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9468 detection to immediately after _FP_ROUND().
9469 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9470 bits are 0.
9471
640ac3f1
DM
94722012-11-11 David S. Miller <davem@davemloft.net>
9473
9474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9475 inttypes.h
9476 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9477 __close rather than their public counterparts.
9478
3d2577bb
JM
94792012-11-10 Joseph Myers <joseph@codesourcery.com>
9480
9481 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9482 file.
9483 [UNIX98] (sem_timedwait): Do not expect.
9484 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9485 [XPG4 || UNIX98] (sockatmark): Do not expect.
9486 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9487 (clock_getcpuclockid): Do not expect.
9488 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9489 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9490 Do not expect.
9491 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9492 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9493 [UNIX98] (vwscanf): Likewise.
9494 [UNIX98] (vswscanf): Likewise.
9495
fb1ae1ee
JM
94962012-11-09 Joseph Myers <joseph@codesourcery.com>
9497
9ec6f8bd
JM
9498 * timezone/version.h: Remove file.
9499 * timezone/README: Do not refer to version.h.
9500 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9501 $(objpfx)version.h.
9502 ($(objpfx)zdump.o): Likewise.
c3f81911 9503 ($(objpfx)version.h): New target.
9ec6f8bd 9504
0aa8f8a1
JM
9505 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9506 2012i.
9507 * timezone/README: Don't mention modification to tzselect.ksh.
9508 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9509 work on unmodified tzselect.ksh. Substitute version numbers in
9510 tzselect.ksh.
9511
4e87147f
JM
9512 * Makefile (format-me): Remove.
9513 (INSTALL): Adjust indentation. Use commands directly instead of
9514 using $(format-me).
9515
8b748aed
JM
9516 * aclocal.m4 (ACX_PKGVERSION): New macro.
9517 (ACX_BUGURL): Likewise.
9518 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9519 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9520 (REPORT_BUGS_TO): Likewise.
9521 * configure: Regenerated.
9522 * config.h.in (PKGVERSION): New macro.
9523 (REPORT_BUGS_TO): Likewise.
9524 * config.make.in (PKGVERSION): New variable.
9525 (PKGVERSION_TEXI): Likewise.
9526 (REPORT_BUGS_TO): Likewise.
9527 (REPORT_BUGS_TEXI): Likewise.
9528 * Makefile (format-me): Use -I$(common-objpfx)manual.
9529 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9530 ($(common-objpfx)manual/%): New target.
9531 (manual/%): Remove target.
9532 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9533 (print_version): Use PKGVERSION.
9534 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9535 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9536 and REPORT_BUGS_TO.
9537 ($(objpfx)xtrace): Likewise.
9538 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9539 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9540 (print_version): Use PKGVERSION.
9541 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9542 (do_version): Use PKGVERSION.
9543 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9544 REPORT_BUGS_TO.
9545 (common-ldd-rewrite): Likewise.
9546 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9547 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9548 (print_version): Use PKGVERSION.
9549 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9550 * elf/pldd.c (argp_program_bug_address): Remove variable.
9551 (more_help): New function.
9552 (argp): Use more_help.
9553 (print_version): Use PKGVERSION.
9554 * elf/sln.c (main): Use PKGVERSION.
9555 (usage): Use REPORT_BUGS_TO.
9556 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9557 (top level): Use PKGVERSION.
9558 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9559 (print_version): Use PKGVERSION.
9560 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9561 (print_version): Use PKGVERSION.
9562 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9563 (print_version): Use PKGVERSION.
9564 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9565 (print_version): Use PKGVERSION.
9566 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9567 (print_version): Use PKGVERSION.
9568 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9569 (print_version): Use PKGVERSION.
9570 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9571 and BUGURL.
9572 ($(objpfx)memusage): Likewise.
9573 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9574 (do_version): Use PKGVERSION.
9575 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9576 (print_version): Use PKGVERSION.
9577 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9578 ($PKGVERSION): New variable.
9579 ($REPORT_BUGS_TO): Likewise.
9580 (usage): Use $REPORT_BUGS_TO.
9581 (top level): Use $PKGVERSION.
9582 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9583 ($(objpfx)pkgvers.texi): New rule.
9584 ($(objpfx)stamp-pkgvers): Likewise.
9585 * manual/install.texi: Include pkgvers.texi.
9586 (--with-pkgversion): Document new configure option.
9587 (--with-bugurl): Likewise.
9588 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9589 than necessarily for this particular distribution. Use
9590 REPORT_BUGS_TO for where to report bugs.
9591 * INSTALL: Regenerated.
9592 * manual/libc.texinfo: Include pkgvers.texi.
9593 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9594 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9595 (print_version): Use PKGVERSION.
9596 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9597 (print_version): Use PKGVERSION.
9598 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9599 (print_version): Use PKGVERSION.
9600 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9601 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9602 macro.
9603 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9604 (print_version): Use PKGVERSION.
9605 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9606 (print_version): Use PKGVERSION.
9607 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9608 and PKGVERSION.
9609
92e4b6a9
JM
9610 * timezone/checktab.awk: Update from tzcode 2012i.
9611 * timezone/ialloc.c: Likewise.
9612 * timezone/private.h: Likewise.
9613 * timezone/scheck.c: Likewise.
9614 * timezone/tzfile.h: Likewise.
9615 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9616 (TZVERSION): Hardcode tzcode version number.
9617 * timezone/zdump.c: Update from tzcode 2012i.
9618 * timezone/zic.c: Likewise.
9619 * timezone/version.h: New file.
9620 * timezone/README: Describe version.h. Update upstream location.
9621
9bde902c
JM
9622 [BZ #14824]
9623 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9624 (mktemp): Enable declaration.
9625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9628 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9629 Likewise.
9630 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9631 Likewise.
9632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9633 Likewise.
9634 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9635 Likewise.
9636 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9637 Likewise.
9638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9639 Likewise.
9640
fb1ae1ee
JM
9641 [BZ #14821]
9642 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9643 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9644 for copies of such integer values.
9645 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9646 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9647
2c1adbcb
AJ
96482012-11-09 Andreas Jaeger <aj@suse.de>
9649
9650 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9651 definitions and declarations that are provided by
9652 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9653
d0f8457e
AK
96542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9655
3a235abb 9656 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9657 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9658 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9659 definition.
9660
57241e26
MS
96612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9662
9663 * elf/elf.h: Update comment before AArch64 relocations.
9664
60e8270d
DM
96652012-11-07 David S. Miller <davem@davemloft.net>
9666
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9668 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9669 (__start_context): Declare.
9670 (__makecontext_ret): Delete.
9671 (__makecontext): Hook up __start_context instead of
9672 __makecontext_ret.
9673 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9674 (sysdep_routines): Add __start_context when in stdlib.
9675
0fbb0fbc
JM
96762012-11-07 Joseph Myers <joseph@codesourcery.com>
9677
9678 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9679 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9680 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9681 hardcoded "nm".
9682 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9683 (READELF): New variable. Use it instead of hardcoded "readelf".
9684
eb48db7e
L
96852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9686
9687 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9688 * sysdeps/x86/Makefile: Here.
9689 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9690 * sysdeps/x86/tst-xmmymm.sh: This.
9691
05bcf62a
JM
96922012-11-07 Joseph Myers <joseph@codesourcery.com>
9693
c4b6cf53
JM
9694 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9695 expectations.
9696 [UNIX98] (pthread_barrier_t): Do not expect.
9697 [UNIX98] (pthread_barrierattr_t): Likewise.
9698 [UNIX98] (pthread_spinlock_t): Likewise.
9699 [UNIX98] (pthread_barrier_destroy): Likewise.
9700 [UNIX98] (pthread_barrier_init): Likewise.
9701 [UNIX98] (pthread_barrier_wait): Likewise.
9702 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9703 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9704 [UNIX98] (pthread_barrierattr_init): Likewise.
9705 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9706 [UNIX98] (pthread_getcpuclockid): Likewise.
9707 [UNIX98] (pthread_mutex_timedlock): Likewise.
9708 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9709 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9710 [UNIX98] (pthread_sigmask): Likewise.
9711 [UNIX98] (pthread_spin_destroy): Likewise.
9712 [UNIX98] (pthread_spin_init): Likewise.
9713 [UNIX98] (pthread_spin_lock): Likewise.
9714 [UNIX98] (pthread_spin_trylock): Likewise.
9715 [UNIX98] (pthread_spin_unlock): Likewise.
9716 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9717 Do not expect.
9718 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9719 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9720 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9721 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9722 [XPG3 || XPG4] (pthread_key_t): Likewise.
9723 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9724 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9725 [XPG3 || XPG4] (pthread_once_t): Likewise.
9726 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9727 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9728 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9729 [XPG3 || XPG4] (pthread_t): Likewise.
9730
cbe6e120
JM
9731 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9732 not expect.
9733 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9734
1b126443
JM
9735 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9736 Change function return type to int.
9737
b961a573
JM
9738 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9739 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9740 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9741 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9742 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9743 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9744 [!POSIX] (posix_madvise): Likewise.
9745 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9746 && !UNIX98].
9747 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9748 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9749 (mode_t): Likewise.
9750 (posix_mem_offset): Likewise.
9751 (posix_typed_mem_get_info): Likewise.
9752 (posix_typed_mem_open): Likewise.
9753
9e188909
JM
9754 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9755 Change condition to [XOPEN2K8].
9756
05bcf62a
JM
9757 * conform/conformtest.pl: Preprocess allow-header data with -x c
9758 instead of from stdin.
9759 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9760 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9761 [C99-based standards] (cerfc): Likewise.
9762 [C99-based standards] (cexp2): Likewise.
9763 [C99-based standards] (cexpm1): Likewise.
9764 [C99-based standards] (clog10): Likewise.
9765 [C99-based standards] (clog1p): Likewise.
9766 [C99-based standards] (clog2): Likewise.
9767 [C99-based standards] (clgamma): Likewise.
9768 [C99-based standards] (ctgamma): Likewise.
9769 [C99-based standards] (cerff): Likewise.
9770 [C99-based standards] (cerfcf): Likewise.
9771 [C99-based standards] (cexp2f): Likewise.
9772 [C99-based standards] (cexpm1f): Likewise.
9773 [C99-based standards] (clog10f): Likewise.
9774 [C99-based standards] (clog1pf): Likewise.
9775 [C99-based standards] (clog2f): Likewise.
9776 [C99-based standards] (clgammaf): Likewise.
9777 [C99-based standards] (ctgammaf): Likewise.
9778 [C99-based standards] (cerfl): Likewise.
9779 [C99-based standards] (cerfcl): Likewise.
9780 [C99-based standards] (cexp2l): Likewise.
9781 [C99-based standards] (cexpm1l): Likewise.
9782 [C99-based standards] (clog10l): Likewise.
9783 [C99-based standards] (clog1pl): Likewise.
9784 [C99-based standards] (clog2l): Likewise.
9785 [C99-based standards] (clgammal): Likewise.
9786 [C99-based standards] (ctgammal): Likewise.
9787 * conform/data/inttypes.h-data [C99-based standards]: Include
9788 stdint.h-data. Remove all expectations for stdint.h contents.
9789 [C99-based standards] (PRI*): Do not allow.
9790 [C99-based standards] (SCN*): Likewise.
9791 [C99-based standards] (*_t): Likewise.
9792 [C99-based-standards] (PRId8): Expect macro.
9793 [C99-based-standards] (PRIi8): Likewise.
9794 [C99-based-standards] (PRIo8): Likewise.
9795 [C99-based-standards] (PRIu8): Likewise.
9796 [C99-based-standards] (PRIx8): Likewise.
9797 [C99-based-standards] (PRIX8): Likewise.
9798 [C99-based-standards] (SCNd8): Likewise.
9799 [C99-based-standards] (SCNi8): Likewise.
9800 [C99-based-standards] (SCNo8): Likewise.
9801 [C99-based-standards] (SCNu8): Likewise.
9802 [C99-based-standards] (SCNx8): Likewise.
9803 [C99-based-standards] (PRIdLEAST8): Likewise.
9804 [C99-based-standards] (PRIiLEAST8): Likewise.
9805 [C99-based-standards] (PRIoLEAST8): Likewise.
9806 [C99-based-standards] (PRIuLEAST8): Likewise.
9807 [C99-based-standards] (PRIxLEAST8): Likewise.
9808 [C99-based-standards] (PRIXLEAST8): Likewise.
9809 [C99-based-standards] (SCNdLEAST8): Likewise.
9810 [C99-based-standards] (SCNiLEAST8): Likewise.
9811 [C99-based-standards] (SCNoLEAST8): Likewise.
9812 [C99-based-standards] (SCNuLEAST8): Likewise.
9813 [C99-based-standards] (SCNxLEAST8): Likewise.
9814 [C99-based-standards] (PRIdFAST8): Likewise.
9815 [C99-based-standards] (PRIiFAST8): Likewise.
9816 [C99-based-standards] (PRIoFAST8): Likewise.
9817 [C99-based-standards] (PRIuFAST8): Likewise.
9818 [C99-based-standards] (PRIxFAST8): Likewise.
9819 [C99-based-standards] (PRIXFAST8): Likewise.
9820 [C99-based-standards] (SCNdFAST8): Likewise.
9821 [C99-based-standards] (SCNiFAST8): Likewise.
9822 [C99-based-standards] (SCNoFAST8): Likewise.
9823 [C99-based-standards] (SCNuFAST8): Likewise.
9824 [C99-based-standards] (SCNxFAST8): Likewise.
9825 [C99-based-standards] (PRId16): Likewise.
9826 [C99-based-standards] (PRIi16): Likewise.
9827 [C99-based-standards] (PRIo16): Likewise.
9828 [C99-based-standards] (PRIu16): Likewise.
9829 [C99-based-standards] (PRIx16): Likewise.
9830 [C99-based-standards] (PRIX16): Likewise.
9831 [C99-based-standards] (SCNd16): Likewise.
9832 [C99-based-standards] (SCNi16): Likewise.
9833 [C99-based-standards] (SCNo16): Likewise.
9834 [C99-based-standards] (SCNu16): Likewise.
9835 [C99-based-standards] (SCNx16): Likewise.
9836 [C99-based-standards] (PRIdLEAST16): Likewise.
9837 [C99-based-standards] (PRIiLEAST16): Likewise.
9838 [C99-based-standards] (PRIoLEAST16): Likewise.
9839 [C99-based-standards] (PRIuLEAST16): Likewise.
9840 [C99-based-standards] (PRIxLEAST16): Likewise.
9841 [C99-based-standards] (PRIXLEAST16): Likewise.
9842 [C99-based-standards] (SCNdLEAST16): Likewise.
9843 [C99-based-standards] (SCNiLEAST16): Likewise.
9844 [C99-based-standards] (SCNoLEAST16): Likewise.
9845 [C99-based-standards] (SCNuLEAST16): Likewise.
9846 [C99-based-standards] (SCNxLEAST16): Likewise.
9847 [C99-based-standards] (PRIdFAST16): Likewise.
9848 [C99-based-standards] (PRIiFAST16): Likewise.
9849 [C99-based-standards] (PRIoFAST16): Likewise.
9850 [C99-based-standards] (PRIuFAST16): Likewise.
9851 [C99-based-standards] (PRIxFAST16): Likewise.
9852 [C99-based-standards] (PRIXFAST16): Likewise.
9853 [C99-based-standards] (SCNdFAST16): Likewise.
9854 [C99-based-standards] (SCNiFAST16): Likewise.
9855 [C99-based-standards] (SCNoFAST16): Likewise.
9856 [C99-based-standards] (SCNuFAST16): Likewise.
9857 [C99-based-standards] (SCNxFAST16): Likewise.
9858 [C99-based-standards] (PRId32): Likewise.
9859 [C99-based-standards] (PRIi32): Likewise.
9860 [C99-based-standards] (PRIo32): Likewise.
9861 [C99-based-standards] (PRIu32): Likewise.
9862 [C99-based-standards] (PRIx32): Likewise.
9863 [C99-based-standards] (PRIX32): Likewise.
9864 [C99-based-standards] (SCNd32): Likewise.
9865 [C99-based-standards] (SCNi32): Likewise.
9866 [C99-based-standards] (SCNo32): Likewise.
9867 [C99-based-standards] (SCNu32): Likewise.
9868 [C99-based-standards] (SCNx32): Likewise.
9869 [C99-based-standards] (PRIdLEAST32): Likewise.
9870 [C99-based-standards] (PRIiLEAST32): Likewise.
9871 [C99-based-standards] (PRIoLEAST32): Likewise.
9872 [C99-based-standards] (PRIuLEAST32): Likewise.
9873 [C99-based-standards] (PRIxLEAST32): Likewise.
9874 [C99-based-standards] (PRIXLEAST32): Likewise.
9875 [C99-based-standards] (SCNdLEAST32): Likewise.
9876 [C99-based-standards] (SCNiLEAST32): Likewise.
9877 [C99-based-standards] (SCNoLEAST32): Likewise.
9878 [C99-based-standards] (SCNuLEAST32): Likewise.
9879 [C99-based-standards] (SCNxLEAST32): Likewise.
9880 [C99-based-standards] (PRIdFAST32): Likewise.
9881 [C99-based-standards] (PRIiFAST32): Likewise.
9882 [C99-based-standards] (PRIoFAST32): Likewise.
9883 [C99-based-standards] (PRIuFAST32): Likewise.
9884 [C99-based-standards] (PRIxFAST32): Likewise.
9885 [C99-based-standards] (PRIXFAST32): Likewise.
9886 [C99-based-standards] (SCNdFAST32): Likewise.
9887 [C99-based-standards] (SCNiFAST32): Likewise.
9888 [C99-based-standards] (SCNoFAST32): Likewise.
9889 [C99-based-standards] (SCNuFAST32): Likewise.
9890 [C99-based-standards] (SCNxFAST32): Likewise.
9891 [C99-based-standards] (PRId64): Likewise.
9892 [C99-based-standards] (PRIi64): Likewise.
9893 [C99-based-standards] (PRIo64): Likewise.
9894 [C99-based-standards] (PRIu64): Likewise.
9895 [C99-based-standards] (PRIx64): Likewise.
9896 [C99-based-standards] (PRIX64): Likewise.
9897 [C99-based-standards] (SCNd64): Likewise.
9898 [C99-based-standards] (SCNi64): Likewise.
9899 [C99-based-standards] (SCNo64): Likewise.
9900 [C99-based-standards] (SCNu64): Likewise.
9901 [C99-based-standards] (SCNx64): Likewise.
9902 [C99-based-standards] (PRIdLEAST64): Likewise.
9903 [C99-based-standards] (PRIiLEAST64): Likewise.
9904 [C99-based-standards] (PRIoLEAST64): Likewise.
9905 [C99-based-standards] (PRIuLEAST64): Likewise.
9906 [C99-based-standards] (PRIxLEAST64): Likewise.
9907 [C99-based-standards] (PRIXLEAST64): Likewise.
9908 [C99-based-standards] (SCNdLEAST64): Likewise.
9909 [C99-based-standards] (SCNiLEAST64): Likewise.
9910 [C99-based-standards] (SCNoLEAST64): Likewise.
9911 [C99-based-standards] (SCNuLEAST64): Likewise.
9912 [C99-based-standards] (SCNxLEAST64): Likewise.
9913 [C99-based-standards] (PRIdFAST64): Likewise.
9914 [C99-based-standards] (PRIiFAST64): Likewise.
9915 [C99-based-standards] (PRIoFAST64): Likewise.
9916 [C99-based-standards] (PRIuFAST64): Likewise.
9917 [C99-based-standards] (PRIxFAST64): Likewise.
9918 [C99-based-standards] (PRIXFAST64): Likewise.
9919 [C99-based-standards] (SCNdFAST64): Likewise.
9920 [C99-based-standards] (SCNiFAST64): Likewise.
9921 [C99-based-standards] (SCNoFAST64): Likewise.
9922 [C99-based-standards] (SCNuFAST64): Likewise.
9923 [C99-based-standards] (SCNxFAST64): Likewise.
9924 [C99-based-standards] (PRIdMAX): Likewise.
9925 [C99-based-standards] (PRIiMAX): Likewise.
9926 [C99-based-standards] (PRIoMAX): Likewise.
9927 [C99-based-standards] (PRIuMAX): Likewise.
9928 [C99-based-standards] (PRIxMAX): Likewise.
9929 [C99-based-standards] (PRIXMAX): Likewise.
9930 [C99-based-standards] (SCNdMAX): Likewise.
9931 [C99-based-standards] (SCNiMAX): Likewise.
9932 [C99-based-standards] (SCNoMAX): Likewise.
9933 [C99-based-standards] (SCNuMAX): Likewise.
9934 [C99-based-standards] (SCNxMAX): Likewise.
9935 [C99-based-standards] (PRIdPTR): Likewise.
9936 [C99-based-standards] (PRIiPTR): Likewise.
9937 [C99-based-standards] (PRIoPTR): Likewise.
9938 [C99-based-standards] (PRIuPTR): Likewise.
9939 [C99-based-standards] (PRIxPTR): Likewise.
9940 [C99-based-standards] (PRIXPTR): Likewise.
9941 [C99-based-standards] (SCNdPTR): Likewise.
9942 [C99-based-standards] (SCNiPTR): Likewise.
9943 [C99-based-standards] (SCNoPTR): Likewise.
9944 [C99-based-standards] (SCNuPTR): Likewise.
9945 [C99-based-standards] (SCNxPTR): Likewise.
9946 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9947 allow.
9948 * conform/data/stdint.h-data: Update comments to clarify
9949 requirements.
9950 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9951 type.
9952 [C99-based standards] (INT8_MAX): Likewise.
9953 [C99-based standards] (INT16_MIN): Likewise.
9954 [C99-based standards] (INT16_MAX): Likewise.
9955 [C99-based standards] (INT32_MIN): Likewise.
9956 [C99-based standards] (INT32_MAX): Likewise.
9957 [C99-based standards] (INT64_MIN): Likewise.
9958 [C99-based standards] (INT64_MAX): Likewise.
9959 [C99-based standards] (UINT8_MAX): Likewise.
9960 [C99-based standards] (UINT16_MAX): Likewise.
9961 [C99-based standards] (UINT32_MAX): Likewise.
9962 [C99-based standards] (UINT64_MAX): Likewise.
9963 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9964 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9965 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9966 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9967 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9968 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9969 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9970 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9971 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9972 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9973 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9974 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9975 [C99-based standards] (INT_FAST8_MIN): Likewise.
9976 [C99-based standards] (INT_FAST8_MAX): Likewise.
9977 [C99-based standards] (INT_FAST16_MIN): Likewise.
9978 [C99-based standards] (INT_FAST16_MAX): Likewise.
9979 [C99-based standards] (INT_FAST32_MIN): Likewise.
9980 [C99-based standards] (INT_FAST32_MAX): Likewise.
9981 [C99-based standards] (INT_FAST64_MIN): Likewise.
9982 [C99-based standards] (INT_FAST64_MAX): Likewise.
9983 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9984 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9985 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9986 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9987 [C99-based standards] (INTPTR_MIN): Likewise.
9988 [C99-based standards] (INTPTR_MAX): Likewise.
9989 [C99-based standards] (UINTPTR_MAX): Likewise.
9990 [C99-based standards] (INTMAX_MIN): Likewise.
9991 [C99-based standards] (INTMAX_MAX): Likewise.
9992 [C99-based standards] (UINTMAX_MAX): Likewise.
9993 [C99-based standards] (PTRDIFF_MIN): Likewise.
9994 [C99-based standards] (PTRDIFF_MAX): Likewise.
9995 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9996 [C99-based standards] (SIZE_MAX): Likewise.
9997 [C99-based standards] (WCHAR_MAX): Likewise.
9998 [C99-based standards] (WINT_MAX): Likewise.
9999 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10000 constraint on value.
10001 [C99-based standards] (WCHAR_MIN): Likewise.
10002 [C99-based standards] (WINT_MIN): Likewise.
10003 [C99-based standards] (*_t): Allow.
10004 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10005 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10006 Include math.h-data and complex.h-data. Remove all expectations
10007 of math.h and complex.h contents.
10008 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10009 at end of line.
10010 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10011 (struct tm): Expect tag.
10012 [C99-based-standards] (wcstof): Expect function.
10013 [C99-based-standards] (wcstold): Likewise.
10014 [C99-based-standards] (wcstoll): Likewise.
10015 [C99-based-standards] (wcstoull): Likewise.
10016 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10017 macro-int-constant. Specify type.
10018 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10019 constraint on value.
10020 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10021 Specify type.
10022 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10023 Specify value.
10024 [ISO C standards]: Do not allow headers.
10025 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10026 wcs[abcdefghijklmnopqrstuvwxyz]*.
10027 [ISO C standards] (*_t): Do not allow.
10028 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10029 Expect function.
10030 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10031 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10032 Specify type.
10033 [ISO C standards]: Do not allow headers.
10034 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10035 is[abcdefghijklmnopqrstuvwxyz]*.
10036 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10037 to[abcdefghijklmnopqrstuvwxyz]*.
10038 [ISO C standards] (*_t): Do not allow.
10039 * conform/data/stdalign.h-data: New file.
10040 * conform/data/stdbool.h-data: Likewise.
10041 * conform/data/stdnoreturn.h-data: Likewise.
10042
7514feb8
RM
100432012-11-07 Roland McGrath <roland@hack.frob.com>
10044
10045 [BZ #14815]
10046 * manual/filesys.texi (Directory Entries): Typo fix.
10047 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10048
19b2ecfc
MS
100492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10050
10051 * elf/elf.h (EM_AARCH64): New macro.
10052 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10053 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10054 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10055 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10056 (R_AARCH64_TLSDESC): Likewise.
10057 (NT_ARM_TLS): Likewise.
10058 (NT_ARM_HW_BREAK): Likewise.
10059 (NT_ARM_HW_WATCH): Likewise.
10060
60e235ee
JM
100612012-11-07 Joseph Myers <joseph@codesourcery.com>
10062
10063 [BZ #14811]
10064 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10065 (__ieee754_powl): Saturate nonzero exponents with absolute value
10066 below 0x1p-79 to +/- 0x1p-79.
10067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10068 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10069 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10070 nonzero exponents with absolute value below 0x1p-32 to +/-
10071 0x1p-32.
10072 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10073 (__ieee754_powl): Saturate nonzero exponents with absolute value
10074 below 0x1p-79 to +/- 0x1p-79.
10075 * math/libm-test.inc (pow_test): Add more tests.
10076
0ab234b7
AK
100772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10078
10079 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10080 _dl_s390_cap_flags with kernel. Increase string length.
10081 (_dl_s390_platforms): Add z196 and zEC12.
10082
45832f74
JM
100832012-11-07 Joseph Myers <joseph@codesourcery.com>
10084
10085 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10086 Change XOPEN21K to XOPEN2K.
10087
19218757
MK
100882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10089
10090 * string/memmove.c: Use memcpy when possible.
10091
c5f45721
AJ
100922012-11-06 Andreas Jaeger <aj@suse.de>
10093
10094 * po/eo.po: Update from translation team.
10095
82477c28
JM
100962012-11-06 Joseph Myers <joseph@codesourcery.com>
10097
10098 [BZ #14793]
10099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10100 exponent and small x and y exponents, scale x or y up. Increase
10101 by 2 the exponent used in scaling up.
10102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10103 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10104 * math/libm-test.inc (fma_test): Add more tests.
10105 (fma_test_towardzero): Likewise.
10106 (fma_test_downward): Likewise.
10107 (fma_test_upward): Likewise.
10108
99252c8c
JM
101092012-11-05 Joseph Myers <joseph@codesourcery.com>
10110
acfa885f
JM
10111 [BZ #14805]
10112 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10113 fenv_t *.
10114
99252c8c
JM
10115 [BZ #14801]
10116 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10117 namespace for names of struct fields.
10118 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10119 fenv_t fields.
10120 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10121 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10122
d6d98dea
ST
101232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10124
10125 [BZ #3665]
10126 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10127
e10bb107
TS
101282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10129
10130 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10131 PTR_DEMANGLE.
10132
10133 [BZ #5246]
10134 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10135 PTR_DEMANGLE.
10136
a0c2940d
JM
101372012-11-04 Joseph Myers <joseph@codesourcery.com>
10138
10139 [BZ #14797]
10140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10141 definitely overflow as x * y not x * y + z.
10142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10144 * math/libm-test.inc (fma_test): Add more tests.
10145 (fma_test_towardzero): Likewise.
10146 (fma_test_downward): Likewise.
10147 (fma_test_upward): Likewise.
10148
b830319d
TS
101492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10150
10151 [BZ #157]
10152
10153 * include/stub-tag.h: Remove file.
10154 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10155 '#include' of it.
10156 * manual/maint.texi (Porting): Don't reference it.
10157 * Makerules ($(objpfx)stubs): Likewise.
10158 * dirent/closedir.c: Don't include <stub-tag.h>.
10159 * dirent/dirfd.c: Likewise.
10160 * dirent/fdopendir.c: Likewise.
10161 * dirent/getdents.c: Likewise.
10162 * dirent/getdents64.c: Likewise.
10163 * dirent/opendir.c: Likewise.
10164 * dirent/readdir.c: Likewise.
10165 * dirent/readdir64.c: Likewise.
10166 * dirent/readdir64_r.c: Likewise.
10167 * dirent/readdir_r.c: Likewise.
10168 * dirent/rewinddir.c: Likewise.
10169 * dirent/seekdir.c: Likewise.
10170 * dirent/telldir.c: Likewise.
10171 * gmon/profil.c: Likewise.
10172 * grp/setgroups.c: Likewise.
10173 * inet/if_index.c: Likewise.
10174 * io/access.c: Likewise.
10175 * io/chdir.c: Likewise.
10176 * io/chmod.c: Likewise.
10177 * io/chown.c: Likewise.
10178 * io/close.c: Likewise.
10179 * io/dup.c: Likewise.
10180 * io/dup2.c: Likewise.
10181 * io/dup3.c: Likewise.
10182 * io/euidaccess.c: Likewise.
10183 * io/faccessat.c: Likewise.
10184 * io/fchdir.c: Likewise.
10185 * io/fchmod.c: Likewise.
10186 * io/fchmodat.c: Likewise.
10187 * io/fchown.c: Likewise.
10188 * io/fchownat.c: Likewise.
10189 * io/fcntl.c: Likewise.
10190 * io/flock.c: Likewise.
10191 * io/fstatfs.c: Likewise.
10192 * io/fstatfs64.c: Likewise.
10193 * io/fstatvfs.c: Likewise.
10194 * io/fstatvfs64.c: Likewise.
10195 * io/futimens.c: Likewise.
10196 * io/fxstat.c: Likewise.
10197 * io/fxstat64.c: Likewise.
10198 * io/fxstatat.c: Likewise.
10199 * io/fxstatat64.c: Likewise.
10200 * io/getcwd.c: Likewise.
10201 * io/isatty.c: Likewise.
10202 * io/lchmod.c: Likewise.
10203 * io/lchown.c: Likewise.
10204 * io/link.c: Likewise.
10205 * io/linkat.c: Likewise.
10206 * io/lseek.c: Likewise.
10207 * io/lseek64.c: Likewise.
10208 * io/lxstat64.c: Likewise.
10209 * io/mkdir.c: Likewise.
10210 * io/mkdirat.c: Likewise.
10211 * io/mkfifo.c: Likewise.
10212 * io/mkfifoat.c: Likewise.
10213 * io/open.c: Likewise.
10214 * io/open64.c: Likewise.
10215 * io/openat.c: Likewise.
10216 * io/openat64.c: Likewise.
10217 * io/pipe.c: Likewise.
10218 * io/pipe2.c: Likewise.
10219 * io/poll.c: Likewise.
10220 * io/posix_fadvise.c: Likewise.
10221 * io/posix_fadvise64.c: Likewise.
10222 * io/posix_fallocate.c: Likewise.
10223 * io/posix_fallocate64.c: Likewise.
10224 * io/read.c: Likewise.
10225 * io/readlink.c: Likewise.
10226 * io/readlinkat.c: Likewise.
10227 * io/rmdir.c: Likewise.
10228 * io/sendfile.c: Likewise.
10229 * io/sendfile64.c: Likewise.
10230 * io/statfs.c: Likewise.
10231 * io/statfs64.c: Likewise.
10232 * io/statvfs.c: Likewise.
10233 * io/statvfs64.c: Likewise.
10234 * io/symlink.c: Likewise.
10235 * io/symlinkat.c: Likewise.
10236 * io/ttyname.c: Likewise.
10237 * io/ttyname_r.c: Likewise.
10238 * io/umask.c: Likewise.
10239 * io/unlink.c: Likewise.
10240 * io/unlinkat.c: Likewise.
10241 * io/utime.c: Likewise.
10242 * io/utimensat.c: Likewise.
10243 * io/write.c: Likewise.
10244 * io/xmknod.c: Likewise.
10245 * io/xmknodat.c: Likewise.
10246 * io/xstat.c: Likewise.
10247 * io/xstat64.c: Likewise.
10248 * login/getpt.c: Likewise.
10249 * login/grantpt.c: Likewise.
10250 * login/unlockpt.c: Likewise.
10251 * math/e_acoshl.c: Likewise.
10252 * math/e_acosl.c: Likewise.
10253 * math/e_asinl.c: Likewise.
10254 * math/e_atan2l.c: Likewise.
10255 * math/e_atanhl.c: Likewise.
10256 * math/e_coshl.c: Likewise.
10257 * math/e_expl.c: Likewise.
10258 * math/e_fmodl.c: Likewise.
10259 * math/e_gammal_r.c: Likewise.
10260 * math/e_hypotl.c: Likewise.
10261 * math/e_j0l.c: Likewise.
10262 * math/e_j1l.c: Likewise.
10263 * math/e_jnl.c: Likewise.
10264 * math/e_lgammal_r.c: Likewise.
10265 * math/e_log10l.c: Likewise.
10266 * math/e_log2l.c: Likewise.
10267 * math/e_logl.c: Likewise.
10268 * math/e_powl.c: Likewise.
10269 * math/e_rem_pio2l.c: Likewise.
10270 * math/e_sinhl.c: Likewise.
10271 * math/e_sqrtl.c: Likewise.
10272 * math/fclrexcpt.c: Likewise.
10273 * math/fedisblxcpt.c: Likewise.
10274 * math/feenablxcpt.c: Likewise.
10275 * math/fegetenv.c: Likewise.
10276 * math/fegetexcept.c: Likewise.
10277 * math/fegetround.c: Likewise.
10278 * math/feholdexcpt.c: Likewise.
10279 * math/fesetenv.c: Likewise.
10280 * math/fesetround.c: Likewise.
10281 * math/feupdateenv.c: Likewise.
10282 * math/fgetexcptflg.c: Likewise.
10283 * math/fraiseexcpt.c: Likewise.
10284 * math/fsetexcptflg.c: Likewise.
10285 * math/ftestexcept.c: Likewise.
10286 * math/k_cosl.c: Likewise.
10287 * math/k_rem_pio2l.c: Likewise.
10288 * math/k_sinl.c: Likewise.
10289 * math/k_tanl.c: Likewise.
10290 * math/s_asinhl.c: Likewise.
10291 * math/s_atanl.c: Likewise.
10292 * math/s_cbrtl.c: Likewise.
10293 * math/s_erfl.c: Likewise.
10294 * math/s_expm1l.c: Likewise.
10295 * math/s_log1pl.c: Likewise.
10296 * math/s_tanhl.c: Likewise.
10297 * misc/acct.c: Likewise.
10298 * misc/brk.c: Likewise.
10299 * misc/chflags.c: Likewise.
10300 * misc/chroot.c: Likewise.
10301 * misc/fchflags.c: Likewise.
10302 * misc/fgetxattr.c: Likewise.
10303 * misc/flistxattr.c: Likewise.
10304 * misc/fremovexattr.c: Likewise.
10305 * misc/fsetxattr.c: Likewise.
10306 * misc/fsync.c: Likewise.
10307 * misc/ftruncate.c: Likewise.
10308 * misc/futimes.c: Likewise.
10309 * misc/futimesat.c: Likewise.
10310 * misc/getdomain.c: Likewise.
10311 * misc/getdtsz.c: Likewise.
10312 * misc/gethostid.c: Likewise.
10313 * misc/gethostname.c: Likewise.
10314 * misc/getloadavg.c: Likewise.
10315 * misc/getpagesize.c: Likewise.
10316 * misc/getsysstats.c: Likewise.
10317 * misc/getxattr.c: Likewise.
10318 * misc/gtty.c: Likewise.
10319 * misc/ioctl.c: Likewise.
10320 * misc/lgetxattr.c: Likewise.
10321 * misc/listxattr.c: Likewise.
10322 * misc/llistxattr.c: Likewise.
10323 * misc/lremovexattr.c: Likewise.
10324 * misc/lsetxattr.c: Likewise.
10325 * misc/lutimes.c: Likewise.
10326 * misc/madvise.c: Likewise.
10327 * misc/mincore.c: Likewise.
10328 * misc/mlock.c: Likewise.
10329 * misc/mlockall.c: Likewise.
10330 * misc/mmap.c: Likewise.
10331 * misc/mprotect.c: Likewise.
10332 * misc/msync.c: Likewise.
10333 * misc/munlock.c: Likewise.
10334 * misc/munlockall.c: Likewise.
10335 * misc/munmap.c: Likewise.
10336 * misc/preadv.c: Likewise.
10337 * misc/preadv64.c: Likewise.
10338 * misc/ptrace.c: Likewise.
10339 * misc/pwritev.c: Likewise.
10340 * misc/pwritev64.c: Likewise.
10341 * misc/readv.c: Likewise.
10342 * misc/reboot.c: Likewise.
10343 * misc/remap_file_pages.c: Likewise.
10344 * misc/removexattr.c: Likewise.
10345 * misc/revoke.c: Likewise.
10346 * misc/select.c: Likewise.
10347 * misc/setdomain.c: Likewise.
10348 * misc/setegid.c: Likewise.
10349 * misc/seteuid.c: Likewise.
10350 * misc/sethostid.c: Likewise.
10351 * misc/sethostname.c: Likewise.
10352 * misc/setregid.c: Likewise.
10353 * misc/setreuid.c: Likewise.
10354 * misc/setxattr.c: Likewise.
10355 * misc/sstk.c: Likewise.
10356 * misc/stty.c: Likewise.
10357 * misc/swapoff.c: Likewise.
10358 * misc/swapon.c: Likewise.
10359 * misc/sync.c: Likewise.
10360 * misc/syncfs.c: Likewise.
10361 * misc/syscall.c: Likewise.
10362 * misc/truncate.c: Likewise.
10363 * misc/ualarm.c: Likewise.
10364 * misc/usleep.c: Likewise.
10365 * misc/ustat.c: Likewise.
10366 * misc/utimes.c: Likewise.
10367 * misc/vhangup.c: Likewise.
10368 * misc/writev.c: Likewise.
10369 * posix/_exit.c: Likewise.
10370 * posix/alarm.c: Likewise.
10371 * posix/execve.c: Likewise.
10372 * posix/fexecve.c: Likewise.
10373 * posix/fork.c: Likewise.
10374 * posix/fpathconf.c: Likewise.
10375 * posix/getaddrinfo.c: Likewise.
10376 * posix/getegid.c: Likewise.
10377 * posix/geteuid.c: Likewise.
10378 * posix/getgid.c: Likewise.
10379 * posix/getgroups.c: Likewise.
10380 * posix/getlogin.c: Likewise.
10381 * posix/getlogin_r.c: Likewise.
10382 * posix/getpgid.c: Likewise.
10383 * posix/getpid.c: Likewise.
10384 * posix/getppid.c: Likewise.
10385 * posix/getresgid.c: Likewise.
10386 * posix/getresuid.c: Likewise.
10387 * posix/getsid.c: Likewise.
10388 * posix/getuid.c: Likewise.
10389 * posix/glob64.c: Likewise.
10390 * posix/nanosleep.c: Likewise.
10391 * posix/pathconf.c: Likewise.
10392 * posix/pause.c: Likewise.
10393 * posix/posix_madvise.c: Likewise.
10394 * posix/pread.c: Likewise.
10395 * posix/pread64.c: Likewise.
10396 * posix/pwrite.c: Likewise.
10397 * posix/pwrite64.c: Likewise.
10398 * posix/sched_getaffinity.c: Likewise.
10399 * posix/sched_getp.c: Likewise.
10400 * posix/sched_gets.c: Likewise.
10401 * posix/sched_primax.c: Likewise.
10402 * posix/sched_primin.c: Likewise.
10403 * posix/sched_rr_gi.c: Likewise.
10404 * posix/sched_setaffinity.c: Likewise.
10405 * posix/sched_setp.c: Likewise.
10406 * posix/sched_sets.c: Likewise.
10407 * posix/sched_yield.c: Likewise.
10408 * posix/setgid.c: Likewise.
10409 * posix/setlogin.c: Likewise.
10410 * posix/setpgid.c: Likewise.
10411 * posix/setresgid.c: Likewise.
10412 * posix/setresuid.c: Likewise.
10413 * posix/setsid.c: Likewise.
10414 * posix/setuid.c: Likewise.
10415 * posix/sleep.c: Likewise.
10416 * posix/spawni.c: Likewise.
10417 * posix/sysconf.c: Likewise.
10418 * posix/times.c: Likewise.
10419 * posix/wait.c: Likewise.
10420 * posix/wait3.c: Likewise.
10421 * posix/wait4.c: Likewise.
10422 * posix/waitpid.c: Likewise.
10423 * resolv/gai_sigqueue.c: Likewise.
10424 * resource/getpriority.c: Likewise.
10425 * resource/getrlimit.c: Likewise.
10426 * resource/getrusage.c: Likewise.
10427 * resource/nice.c: Likewise.
10428 * resource/setpriority.c: Likewise.
10429 * resource/setrlimit.c: Likewise.
10430 * resource/ulimit.c: Likewise.
10431 * rt/aio_cancel.c: Likewise.
10432 * rt/aio_fsync.c: Likewise.
10433 * rt/aio_read.c: Likewise.
10434 * rt/aio_sigqueue.c: Likewise.
10435 * rt/aio_suspend.c: Likewise.
10436 * rt/aio_write.c: Likewise.
10437 * rt/clock_getres.c: Likewise.
10438 * rt/clock_gettime.c: Likewise.
10439 * rt/clock_nanosleep.c: Likewise.
10440 * rt/clock_settime.c: Likewise.
10441 * rt/lio_listio.c: Likewise.
10442 * rt/mq_close.c: Likewise.
10443 * rt/mq_getattr.c: Likewise.
10444 * rt/mq_notify.c: Likewise.
10445 * rt/mq_open.c: Likewise.
10446 * rt/mq_receive.c: Likewise.
10447 * rt/mq_send.c: Likewise.
10448 * rt/mq_setattr.c: Likewise.
10449 * rt/mq_timedreceive.c: Likewise.
10450 * rt/mq_timedsend.c: Likewise.
10451 * rt/mq_unlink.c: Likewise.
10452 * rt/shm_open.c: Likewise.
10453 * rt/shm_unlink.c: Likewise.
10454 * rt/timer_create.c: Likewise.
10455 * rt/timer_delete.c: Likewise.
10456 * rt/timer_getoverr.c: Likewise.
10457 * rt/timer_gettime.c: Likewise.
10458 * rt/timer_settime.c: Likewise.
10459 * setjmp/__longjmp.c: Likewise.
10460 * setjmp/setjmp.c: Likewise.
10461 * signal/kill.c: Likewise.
10462 * signal/killpg.c: Likewise.
10463 * signal/raise.c: Likewise.
10464 * signal/sigaction.c: Likewise.
10465 * signal/sigaltstack.c: Likewise.
10466 * signal/sigblock.c: Likewise.
10467 * signal/sigignore.c: Likewise.
10468 * signal/sigintr.c: Likewise.
10469 * signal/signal.c: Likewise.
10470 * signal/sigpause.c: Likewise.
10471 * signal/sigpending.c: Likewise.
10472 * signal/sigqueue.c: Likewise.
10473 * signal/sigreturn.c: Likewise.
10474 * signal/sigset.c: Likewise.
10475 * signal/sigsetmask.c: Likewise.
10476 * signal/sigstack.c: Likewise.
10477 * signal/sigsuspend.c: Likewise.
10478 * signal/sigtimedwait.c: Likewise.
10479 * signal/sigvec.c: Likewise.
10480 * signal/sigwait.c: Likewise.
10481 * signal/sigwaitinfo.c: Likewise.
10482 * signal/sysv_signal.c: Likewise.
10483 * socket/accept.c: Likewise.
10484 * socket/accept4.c: Likewise.
10485 * socket/bind.c: Likewise.
10486 * socket/connect.c: Likewise.
10487 * socket/getpeername.c: Likewise.
10488 * socket/getsockname.c: Likewise.
10489 * socket/getsockopt.c: Likewise.
10490 * socket/isfdtype.c: Likewise.
10491 * socket/listen.c: Likewise.
10492 * socket/recv.c: Likewise.
10493 * socket/recvfrom.c: Likewise.
10494 * socket/recvmsg.c: Likewise.
10495 * socket/send.c: Likewise.
10496 * socket/sendmsg.c: Likewise.
10497 * socket/sendto.c: Likewise.
10498 * socket/setsockopt.c: Likewise.
10499 * socket/shutdown.c: Likewise.
10500 * socket/sockatmark.c: Likewise.
10501 * socket/socket.c: Likewise.
10502 * socket/socketpair.c: Likewise.
10503 * stdio-common/ctermid.c: Likewise.
10504 * stdio-common/cuserid.c: Likewise.
10505 * stdio-common/remove.c: Likewise.
10506 * stdio-common/rename.c: Likewise.
10507 * stdio-common/renameat.c: Likewise.
10508 * stdio-common/tempname.c: Likewise.
10509 * stdlib/getcontext.c: Likewise.
10510 * stdlib/makecontext.c: Likewise.
10511 * stdlib/setcontext.c: Likewise.
10512 * stdlib/swapcontext.c: Likewise.
10513 * stdlib/system.c: Likewise.
10514 * streams/fattach.c: Likewise.
10515 * streams/fdetach.c: Likewise.
10516 * streams/getmsg.c: Likewise.
10517 * streams/getpmsg.c: Likewise.
10518 * streams/putmsg.c: Likewise.
10519 * streams/putpmsg.c: Likewise.
10520 * sysdeps/unix/bsd/getpt.c: Likewise.
10521 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10522 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10523 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10525 Likewise.
10526 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10527 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10528 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10529 * sysvipc/msgctl.c: Likewise.
10530 * sysvipc/msgget.c: Likewise.
10531 * sysvipc/msgrcv.c: Likewise.
10532 * sysvipc/msgsnd.c: Likewise.
10533 * sysvipc/semctl.c: Likewise.
10534 * sysvipc/semget.c: Likewise.
10535 * sysvipc/semop.c: Likewise.
10536 * sysvipc/semtimedop.c: Likewise.
10537 * sysvipc/shmat.c: Likewise.
10538 * sysvipc/shmctl.c: Likewise.
10539 * sysvipc/shmdt.c: Likewise.
10540 * sysvipc/shmget.c: Likewise.
10541 * termios/tcdrain.c: Likewise.
10542 * termios/tcflow.c: Likewise.
10543 * termios/tcflush.c: Likewise.
10544 * termios/tcgetattr.c: Likewise.
10545 * termios/tcgetpgrp.c: Likewise.
10546 * termios/tcsendbrk.c: Likewise.
10547 * termios/tcsetattr.c: Likewise.
10548 * termios/tcsetpgrp.c: Likewise.
10549 * time/adjtime.c: Likewise.
10550 * time/clock.c: Likewise.
10551 * time/getitimer.c: Likewise.
10552 * time/gettimeofday.c: Likewise.
10553 * time/setitimer.c: Likewise.
10554 * time/settimeofday.c: Likewise.
10555 * time/stime.c: Likewise.
10556 * time/time.c: Likewise.
10557
105582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10559
a20492cf
PT
10560 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10561 /usr/old/bin.
10562
72e182e3
PT
10563 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10564 instead of spaces.
10565 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10566
fbeafede
JM
105672012-11-03 Joseph Myers <joseph@codesourcery.com>
10568
5b5b04d6
JM
10569 [BZ #14796]
10570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10571 FE_TONEAREST before applying Dekker multiplication and Knuth
10572 addition. Clear inexact exceptions and check for exact zero
10573 results afterwards.
10574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10575 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10577 * math/libm-test.inc (fma_test): Add more tests.
10578 (fma_test_towardzero): Likewise.
10579 (fma_test_downward): Likewise.
10580 (fma_test_upward): Likewise.
10581 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10582 function.
10583 (libc_fesetround): New macro.
10584 (libc_fesetroundf): Likewise.
10585 (libc_fesetroundl): Likewise.
10586 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10587 function.
10588 (libc_fesetround_387): Likewise.
10589 (libc_fesetroundf): New macro.
10590 (libc_fesetround): Likewise.
10591 (libc_fesetroundl): Likewise.
10592 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10593 function.
10594 (libc_fesetroundf): New macro.
10595 (libc_fesetround): Likewise.
10596 (libc_fesetroundl): Likewise.
10597 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10598 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10599 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10600 libm_hidden_ver.
10601 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10602 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10603 libm_hidden_def.
10604 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10605 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10606 libm_hidden_ver.
10607 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10608 libm_hidden_def.
10609
fbeafede
JM
10610 [BZ #3439]
10611 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10612 integer constant usable in #if and use that to give value to enum
10613 constant.
10614 (FE_DIVBYZERO): Likewise.
10615 (FE_UNDERFLOW): Likewise.
10616 (FE_OVERFLOW): Likewise.
10617 (FE_INVALID): Likewise.
10618 (FE_INVALID_SNAN): Likewise.
10619 (FE_INVALID_ISI): Likewise.
10620 (FE_INVALID_IDI): Likewise.
10621 (FE_INVALID_ZDZ): Likewise.
10622 (FE_INVALID_IMZ): Likewise.
10623 (FE_INVALID_COMPARE): Likewise.
10624 (FE_INVALID_SOFTWARE): Likewise.
10625 (FE_INVALID_SQRT): Likewise.
10626 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10627 (FE_TONEAREST): Likewise.
10628 (FE_TOWARDZERO): Likewise.
10629 (FE_UPWARD): Likewise.
10630 (FE_DOWNWARD): Likewise.
10631 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10632 (FE_DIVBYZERO): Likewise.
10633 (FE_OVERFLOW): Likewise.
10634 (FE_UNDERFLOW): Likewise.
10635 (FE_INEXACT): Likewise.
10636 (FE_TONEAREST): Likewise.
10637 (FE_DOWNWARD): Likewise.
10638 (FE_UPWARD): Likewise.
10639 (FE_TOWARDZERO): Likewise.
10640 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10641 (FE_UNDERFLOW): Likewise.
10642 (FE_OVERFLOW): Likewise.
10643 (FE_DIVBYZERO): Likewise.
10644 (FE_INVALID): Likewise.
10645 (FE_TONEAREST): Likewise.
10646 (FE_TOWARDZERO): Likewise.
10647 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10648 (FE_OVERFLOW): Likewise.
10649 (FE_UNDERFLOW): Likewise.
10650 (FE_DIVBYZERO): Likewise.
10651 (FE_INEXACT): Likewise.
10652 (FE_TONEAREST): Likewise.
10653 (FE_TOWARDZERO): Likewise.
10654 (FE_UPWARD): Likewise.
10655 (FE_DOWNWARD): Likewise.
10656 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10657 (FE_DIVBYZERO): Likewise.
10658 (FE_OVERFLOW): Likewise.
10659 (FE_UNDERFLOW): Likewise.
10660 (FE_INEXACT): Likewise.
10661 (FE_TONEAREST): Likewise.
10662 (FE_DOWNWARD): Likewise.
10663 (FE_UPWARD): Likewise.
10664 (FE_TOWARDZERO): Likewise.
10665
105ca950
CM
106662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10667
10668 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10669
a542b389
AS
106702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10671
10672 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10673 commands. Quote $PWD.
10674 (blacklist_exports): Don't use remove_newlines. Replace "declare
10675 -x" by "export".
10676 (remove_newlines): Remove.
10677
f62c8abc
L
106782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10679
10680 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10681 * stdlib/stdlib.h (atof): Moved to ...
10682 * include/bits/stdlib-float.h: Here. New file.
10683 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10684 * stdlib/bits/stdlib-float.h: New file.
10685 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10686 -mno-sse -mno-mmx.
10687 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10688 <xmmintrin.h>.
10689
0155d5b2
JM
106902012-11-02 Joseph Myers <joseph@codesourcery.com>
10691
a68d0680
JM
10692 * conform/conformtest.pl (@headers): Add fenv.h.
10693 * conform/data/fenv.h-data: New file.
10694 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10695 include of <math/fenv.h>.
10696
caf7f573
JM
10697 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10698 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10699 && !UNIX98]. Enables tests for XOPEN2K8.
10700 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10701 POSIX2008]: Likewise.
10702
6c073ad6
JM
10703 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10704 (struct rusage): Do not expect type or its members.
10705
0155d5b2
JM
10706 [BZ #3439]
10707 * math/math.h (FP_NAN): Define macro to integer constant usable in
10708 #if and use that to give value to enum constant.
10709 (FP_INFINITE): Likewise.
10710 (FP_ZERO): Likewise.
10711 (FP_SUBNORMAL): Likewise.
10712 (FP_NORMAL): Likewise.
10713
b5dcacb4
AS
107142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10715
10716 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10717 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10718 arguments.
10719
f7934be8
RM
107202012-11-02 Roland McGrath <roland@hack.frob.com>
10721
10722 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10723 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10724 autoconf-time if not.
10725 * configure.in: Remove AC_PREREQ.
10726
d7d08bde
TMQMF
107272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10728
10729 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10730 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10731 of the internal implementation.
10732
dcdae19a
JM
107332012-11-02 Joseph Myers <joseph@codesourcery.com>
10734
10735 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10736 except include of <misc/sys/syslog.h>.
10737
d6cffd3e
AS
107382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10739
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10741 function returns with a NULL context exit with zero.
10742
b3563932
TMQMF
107432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10744
10745 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10746
b288a93d
L
107472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10748
10749 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10750 (run_program_cmd): This.
10751 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10752 (tst_langinfo): New variable. Use it.
10753
a2421a68
SAS
107542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10755
10756 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10757 floating point opcodes.
10758
6f796e1b
TS
107592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10760
7402596b
TS
10761 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10762 variable.
10763
d0d4f868
TS
10764 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10765
6f796e1b
TS
10766 * sysdeps/mach/hurd/powerpc: Remove directory.
10767 * sysdeps/mach/powerpc: Likewise.
10768
4da224a2
AS
107692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10770
10771 * scripts/check-local-headers.sh: Ignore c++ headers.
10772
341dd673
TS
107732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10774
10775 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10776 __libc_cleanup_region_start argument.
10777
473611b2
JM
107782012-11-01 Joseph Myers <joseph@codesourcery.com>
10779
10780 [BZ #14784]
10781 [BZ #14785]
10782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10783 x * y using scaling, not as x * y + z.
10784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10786 * math/libm-test.inc (fma_test): Add more tests.
10787 (fma_test_towardzero): Likewise.
10788 (fma_test_downward): Likewise.
10789 (fma_test_upward): Likewise.
10790
4078da3d
TS
107912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10792
10793 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10794
903252aa
JM
107952012-10-31 Joseph Myers <joseph@codesourcery.com>
10796
10797 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10798 New variable.
10799
cbc818d0
TS
108002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10801
10802 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10803
5a03cb1e
AS
108042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10805
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10807 Fix sort order.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10809 Likewise.
10810
90aff2ff
TMQMF
108112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10812
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10814 Fix the order of the list for glibc 2.17.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10816 Likewise.
10817
1818fcb7
AS
108182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10819
10820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10821
ef82f4da
JM
108222012-10-31 Joseph Myers <joseph@codesourcery.com>
10823
16a0e2ec
JM
10824 [BZ #14610]
10825 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10826 for low part of x being zero before using __atanl (y).
10827 * math/libm-test.inc (atan2_test): Add another test.
10828
0eb69512
JM
10829 * manual/install.texi (Configuring and compiling): Document
10830 general use of test-wrapper and test-wrapper-env.
10831 * INSTALL: Regenerated.
10832
ef82f4da
JM
10833 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10834 (__fma): Do not extract and scale down low bits on after-rounding
10835 systems when result rounded to normal precision would have normal
10836 exponent.
10837 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10838 (__fmal): Do not extract and scale down low bits on after-rounding
10839 systems when result rounded to normal precision would have normal
10840 exponent.
10841 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10842 (__fmal): Do not extract and scale down low bits on after-rounding
10843 systems when result rounded to normal precision would have normal
10844 exponent.
10845 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10846 macro.
10847 (fma_test): Add more tests.
10848 (fma_test_towardzero): Likewise.
10849 (fma_test_downward): Likewise.
10850 (fma_test_upward): Likewise.
10851
954ef0d9
L
108522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10853
10854 * sysdeps/i386/tininess.h: Renamed to ...
10855 * sysdeps/x86/tininess.h: This.
10856 * sysdeps/x86_64/tininess.h: Removed.
10857
df61ffb2
JM
108582012-10-30 Joseph Myers <joseph@codesourcery.com>
10859
10860 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10861 input. Use $(build-program-cmd).
10862 ($(objpfx)tst-array1-static.out): Likewise.
10863 ($(objpfx)tst-array2.out): Likewise.
10864 ($(objpfx)tst-array3.out): Likewise.
10865 ($(objpfx)tst-array4.out): Likewise.
10866 ($(objpfx)tst-array5.out): Likewise.
10867 ($(objpfx)tst-array5-static.out): Likewise.
10868
01767843
CM
108692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10870
47cc1490
CM
10871 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10872 if defined.
10873
01767843
CM
10874 * nss/nsswitch.h (nss_interface_function): Provide new
10875 macro for use with NSS functions.
10876 * grp/initgroups.c: Use new macro.
10877 * nss/getXXbyYY.c: Likewise.
10878 * nss/getXXbyYY_r.c: Likewise.
10879 * nss/getXXent.c: Likewise.
10880 * nss/getXXent_r.c: Likewise.
10881 * sysdeps/posix/getaddrinfo.c: Likewise.
10882
8321aa97
AJ
108832012-10-30 Andreas Jaeger <aj@suse.de>
10884
10885 * po/ru.po: Update Russion translation from translation project.
10886
2a27fd6d
JM
108872012-10-30 Joseph Myers <joseph@codesourcery.com>
10888
8627a232
JM
10889 [BZ #14152]
10890 [BZ #14783]
10891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10892 result and shift together with sticky bit instead of replicating
10893 round-to-nearest rounding.
10894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10895 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10896 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10897 missing underflow exceptions.
10898 (fma_test_towardzero): Add more tests.
10899 (fma_test_downward): Likewise.
10900 (fma_test_upward): Likewise.
10901
2a27fd6d
JM
10902 [BZ #14047]
10903 * sysdeps/generic/tininess.h: New file.
10904 * sysdeps/i386/tininess.h: Likewise.
10905 * sysdeps/sh/tininess.h: Likewise.
10906 * sysdeps/x86_64/tininess.h: Likewise.
10907 * stdlib/tst-strtod-underflow.c: Likewise.
10908 * stdlib/tst-tininess.c: Likewise.
10909 * stdlib/strtod_l.c: Include <tininess.h>.
10910 (round_and_return): Do not set errno for exact underflow cases.
10911 Force an underflow exception when setting errno for underflow.
10912 Determine underflow based on rounding to normal precision if
10913 TININESS_AFTER_ROUNDING.
10914 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10915 ERANGE for exact underflow cases.
10916 * stdlib/Makefile (tests): Add tst-tininess and
10917 tst-strtod-underflow.
10918 ($(objpfx)tst-tininess): Use $(link-libm).
10919 ($(objpfx)tst-strtod-underflow): Likewise.
10920
e7170363
AJ
109212012-10-30 Andreas Jaeger <aj@suse.de>
10922
e5088dc6
AJ
10923 [BZ#14767]
10924 * elf/Makefile (tests): Remove conditional for have-initfini-array
10925 since this is now always required and the variable does not exist
10926 anymore.
10927 (tests-static): Likewise.
10928 (modules-names): Likewise.
10929
e7170363 10930 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10931
10932 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10933 merged with constructor/destructor.
10934 (init_array): Likewise.
10935 * elf/tst-array2dep.c (fini_array): Likewise.
10936 (init_array): Likewise.
10937
60457d8a
MF
109382012-10-29 Mike Frysinger <vapier@gentoo.org>
10939
10940 * manual/message.texi: Delete @cartouche tags.
10941
8bece752
PT
109422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10943
94ce799f
PT
10944 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10945 EOPNOTSUPP.
10946 * sysdeps/mach/hurd/fsync.c: Likewise.
10947
8bece752
PT
10948 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10949 [_POSIX_REALTIME_SIGNALS]: Change condition to
10950 [_POSIX_REALTIME_SIGNALS > 0].
10951
86ebe6b1
AJ
109522012-10-27 Andreas Jaeger <aj@suse.de>
10953
10954 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10955 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10957 [__WORDSIZE != 64]: Likewise.
10958
54399c08
L
109592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10960
10961 * iconvdata/tst-table.sh: Remove ${SHELL}.
10962 * iconvdata/tst-tables.sh: Likewise.
10963
e2211bed
DM
109642012-10-25 David S. Miller <davem@davemloft.net>
10965
10966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10967 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10968 of strtoull.
10969
f303f97c
DM
10970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10971 ifunc-impl-list.c
10972 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10973 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10974 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10975 file.
10976
1e9d84cd
RM
109772012-10-25 Roland McGrath <roland@hack.frob.com>
10978
10979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10980 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10981 __getdirentries.
10982
df381762
JM
109832012-10-25 Joseph Myers <joseph@codesourcery.com>
10984 Jim Blandy <jimb@codesourcery.com>
10985
10986 * scripts/cross-test-ssh.sh: New file.
10987 * manual/install.texi (Configuring and compiling): Document use of
10988 cross-test-ssh.sh.
10989 * INSTALL: Regenerated.
10990
bff64913
PT
109912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10992
10993 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10994 EOPNOTSUPP.
10995
25fe8932
JM
109962012-10-25 Joseph Myers <joseph@codesourcery.com>
10997
10998 * Makeconfig (run-program-prefix): Fix comment.
10999
cc1290d0
JM
110002012-10-24 Joseph Myers <joseph@codesourcery.com>
11001 Jim Blandy <jimb@codesourcery.com>
11002
11003 * Makeconfig (test-wrapper): New variable,
11004 (test-wrapper-env): Likewise.
11005 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11006 (run-built-tests): Define to yes.
11007 (run-program-prefix): Use $(test-wrapper).
11008 (built-program-cmd): Likewise.
11009 * Rules (make-test-out): Use $(test-wrapper-env) and
11010 $(host-built-program-cmd).
11011 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11012 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11013 tst-pathopt.sh.
11014 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11015 $(test-wrapper-env) to tst-rtld-load-self.sh.
11016 ($(objpfx)order2.out): Use $(test-wrapper).
11017 ($(objpfx)tst-initorder.out): Likewise.
11018 ($(objpfx)tst-initorder2.out): Likewise.
11019 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11020 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11021 (test_wrapper_env): New variable. Use it to run ld.so.
11022 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11023 Use it to run ld.so.
11024 (test_wrapper_env): Likewise.
11025 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11026 $(test-wrapper) to run-iconv-test.sh.
11027 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11028 (ICONV): Use $test_wrapper.
11029 * posix/Makefile ($(objpfx)globtest.out): Pass
11030 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11031 globtest.sh, not $(run-program-prefix).
11032 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11033 (test_wrapper): Likewise.
11034 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11035 set together with run_via_rtld_prefix.
11036 (run_program_prefix): Define in terms of test_wrapper and
11037 run_via_rtld_prefix.
11038
6e6249d0
RM
110392012-10-24 Roland McGrath <roland@hack.frob.com>
11040
11041 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11042 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11043 Targets removed.
11044
11045 [BZ #14743]
11046 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11047 Declare __clock_getres, __clock_gettime, __clock_settime,
11048 __clock_nanosleep, and __clock_getcpuclockid.
11049 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11050 Remove librt_hidden_def (clock_gettime).
11051 * sysdeps/unix/clock_gettime.c: Likewise.
11052 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11054 * rt/clock_getres.c: Define __clock_getres as an alias.
11055 * sysdeps/posix/clock_getres.c: Likewise.
11056 * rt/clock_settime.c: Define __clock_settime as an alias.
11057 * sysdeps/unix/clock_settime.c: Likewise.
11058 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11059 * sysdeps/unix/clock_nanosleep.c: Likewise.
11060 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11061 * rt/clock-compat.c: New file.
11062 * rt/Makefile (librt-routines): Add clock-compat and move
11063 $(clock-routines) to ...
11064 (routines): ... here, new variable.
11065 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11066 Don't add get_clockfreq here.
11067 * rt/Versions (libc: GLIBC_2.17): New version set.
11068 Add clock_* symbols here.
11069 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11070 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11071 (GLIBC_2.17): Add clock_* symbols.
11072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11076 Likewise.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11078 Likewise.
11079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11083 * NEWS: Mention the move.
11084
11085 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11086 Use __open, __read, __close rather than their public counterparts.
11087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11088 (__get_clockfreq_via_cpuinfo): Likewise.
11089 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11090 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11091
11092 * config.h.in (HAVE_IFUNC): New #undef.
11093 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11094 was successful.
11095 * configure: Regenerated.
11096
0cae3f4b
MF
110972012-10-24 Mike Frysinger <vapier@gentoo.org>
11098
11099 * configure.in: Move READELF check to start of file.
11100 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11101 libc_cv_asm_gnu_indirect_function in the process.
11102 * configure: Regenerated.
11103
8175a253
MF
111042012-10-24 Mike Frysinger <vapier@gentoo.org>
11105
11106 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11107 send the output to /dev/null.
11108 (libc_cv_cc_with_libunwind): Likewise.
11109 (libc_cv_as_noexecstack): Likewise.
11110 * configure: Regenerate.
11111
0708a7d1
JM
111122012-10-24 Joseph Myers <joseph@codesourcery.com>
11113
10b40d85
JM
11114 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11115
0708a7d1
JM
11116 * posix/globtest.sh (TMPDIR): Do not set.
11117 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11118 (testout): Likewise.
11119
9fddec1a
AJ
111202012-10-24 Andreas Jaeger <aj@suse.de>
11121
3a8db22f
AJ
11122 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11123 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11124 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11125 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11126 posix_fadvise64, posix_fallocate64.
11127
9fddec1a
AJ
11128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11129 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11130 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11131 Likewise.
11132 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11133 Likewise.
11134 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11135
11136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11137 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11138 <bits/fcntl-linux.h>.
11139 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11140
11141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11142 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11143 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11144 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11145 [__WORDSIZE != 64]: Likewise.
11146
ebfd1bbd
JM
111472012-10-23 Joseph Myers <joseph@codesourcery.com>
11148
03ac099f
JM
11149 * Makeconfig (run-built-tests): New variable.
11150 * Rules [$(cross-compiling) = yes]: Change condition to
11151 [$(run-built-tests) = no].
11152 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11153 to [$(run-built-tests) = yes].
11154 * elf/Makefile [$(cross-compiling) = no]: Likewise
11155 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11156 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11157 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11158 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11159 * io/Makefile [$(cross-compiling) = no]: Likewise.
11160 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11161 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11162 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11163 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11164 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11165 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11166 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11167 * string/Makefile [$(cross-compiling) = no]: Likewise.
11168
ebfd1bbd
JM
11169 * posix/Makefile ($(objpfx)globtest.out): Pass
11170 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11171 $(rtld-installed-name).
11172 * posix/globtest.sh (elf_objpfx): Remove variable.
11173 (rtld_installed_name): Likewise.
11174 (library_path): Likewise.
11175 (run_program_prefix): New variable. Use for running globtest
11176 binary.
11177
166bca24
JB
111782012-10-23 Jim Blandy <jimb@codesourcery.com>
11179 Joseph Myers <joseph@codesourcery.com>
11180
11181 * Makeconfig (host-built-program-cmd): New variable.
11182 * elf/Makefile (tst-stackguard1-ARGS): Use
11183 $(host-built-program-cmd).
11184 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11185 (tst-spawn-ARGS): Likewise.
11186 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11187
88866099
JM
111882012-10-23 Joseph Myers <joseph@codesourcery.com>
11189 Jim Blandy <jimb@codesourcery.com>
11190
11191 * Makeconfig (run-via-rtld-prefix): New variable.
11192 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11193 (built-program-cmd): Likewise.
11194
b4b4c296
AJ
111952012-10-22 Andreas Jaeger <aj@suse.de>
11196
11197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11198 __O_RSYNC if it exists, otherwise to O_SYNC.
11199
6fb54a22
JB
112002012-10-22 Jim Blandy <jimb@codesourcery.com>
11201 Joseph Myers <joseph@codesourcery.com>
11202
11203 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11204 /dev/null.
11205 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11206 from /dev/null
11207 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11208 /dev/null.
11209
481b90b9
AJ
112102012-10-22 Andreas Jaeger <aj@suse.de>
11211
2a0e2669
AJ
11212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11213 Define always.
11214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11215
76e38f9a
AJ
11216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11217 bits/fcntl-linux.h.
11218
7cd37b43
AJ
11219 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11220 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11221
481b90b9
AJ
11222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11223 to __O_LARGEFILE.
11224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11225 to __O_LARGEFILE.
11226
aba75984
JB
112272012-10-21 Jim Blandy <jimb@codesourcery.com>
11228 Joseph Myers <joseph@codesourcery.com>
11229
11230 * config.make.in (NM): New variable.
11231
88d4247f
AJ
112322012-10-21 Andreas Jaeger <aj@suse.de>
11233
11234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11235 definitions and declarations that are provided by
11236 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11237
f2eed205
L
112382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 [BZ #14683]
11241 * elf/Makefile (tests-static): Add tst-leaks1-static.
11242 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11243 ($(objpfx)tst-leaks1-static): New rule.
11244 ($(objpfx)tst-leaks1-static-mem): Likewise.
11245 (tst-leaks1-static-ENV): New macro.
11246 * elf/dl-open.c (dl_open_worker): Check the main application
11247 only if SHARED is defined.
11248 * elf/tst-leaks1-static.c: New file.
11249
335e6931
AJ
112502012-10-20 Andreas Jaeger <aj@suse.de>
11251
11252 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11253 generic values for Linux.
11254 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11255 and declarations that are provided by <bits/fcntl-linux.h> and
11256 include <bits/fcntl-linux.h>.
11257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11259
ac5c94d3
RM
112602012-10-20 Roland McGrath <roland@hack.frob.com>
11261
11262 * io/fcntl.h: Move include of <bits/types.h> to the top and
11263 include it unconditionally.
11264
de54b33a
L
112652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11266
228cfb01
L
11267 * wcsmbs/Makefile (tests-ifunc): New variable.
11268 (tests): Add $(tests-ifunc).
11269 * wcsmbs/test-wcschr-ifunc.c: New file.
11270 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11271 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11272 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11273 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11274 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11275
69f07e5f
L
11276 * string/Makefile (tests-ifunc): New variable.
11277 (tests): Add $(tests-ifunc).
11278 * string/test-memccpy.c (TEST_NAME): New macro.
11279 * string/test-memchr.c (TEST_NAME): Likewise.
11280 * string/test-memcmp.c (TEST_NAME): Likewise.
11281 * string/test-memcpy.c (TEST_NAME): Likewise.
11282 * string/test-memmem.c (TEST_NAME): Likewise.
11283 * string/test-memmove.c (TEST_NAME): Likewise.
11284 * string/test-memset.c (TEST_NAME): Likewise.
11285 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11286 * string/test-stpcpy.c (TEST_NAME): Likewise.
11287 * string/test-stpncpy.c (TEST_NAME): Likewise.
11288 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11289 * string/test-strcasestr.c (TEST_NAME): Likewise.
11290 * string/test-strcat.c (TEST_NAME): Likewise.
11291 * string/test-strchr.c (TEST_NAME): Likewise.
11292 * string/test-strcmp.c(TEST_NAME): Likewise.
11293 * string/test-strcpy.c (TEST_NAME): Likewise.
11294 * string/test-strcspn.c (TEST_NAME): Likewise.
11295 * string/test-strlen.c (TEST_NAME): Likewise.
11296 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11297 * string/test-strncmp.c (TEST_NAME): Likewise.
11298 * string/test-strncpy.c (TEST_NAME): Likewise.
11299 * string/test-strnlen.c (TEST_NAME): Likewise.
11300 * string/test-strpbrk.c (TEST_NAME): Likewise.
11301 * string/test-strrchr.c (TEST_NAME): Likewise.
11302 * string/test-strspn.c (TEST_NAME): Likewise.
11303 * string/test-strstr.c (TEST_NAME): Likewise.
11304 * string/test-bcopy-ifunc.c: New file.
11305 * string/test-bzero-ifunc.c: Likewise.
11306 * string/test-memccpy-ifunc.c: Likewise.
11307 * string/test-memchr-ifunc.c: Likewise.
11308 * string/test-memcmp-ifunc.c: Likewise.
11309 * string/test-memcpy-ifunc.c: Likewise.
11310 * string/test-memmem-ifunc.c: Likewise.
11311 * string/test-memmove-ifunc.c: Likewise.
11312 * string/test-mempcpy-ifunc.c: Likewise.
11313 * string/test-memset-ifunc.c: Likewise.
11314 * string/test-rawmemchr-ifunc.c: Likewise.
11315 * string/test-stpcpy-ifunc.c: Likewise.
11316 * string/test-stpncpy-ifunc.c: Likewise.
11317 * string/test-strcasecmp-ifunc.c: Likewise.
11318 * string/test-strcasestr-ifunc.c: Likewise.
11319 * string/test-strcat-ifunc.c: Likewise.
11320 * string/test-strchr-ifunc.c: Likewise.
11321 * string/test-strchrnul-ifunc.c: Likewise.
11322 * string/test-strcmp-ifunc.c: Likewise.
11323 * string/test-strcpy-ifunc.c: Likewise.
11324 * string/test-strcspn-ifunc.c: Likewise.
11325 * string/test-strlen-ifunc.c: Likewise.
11326 * string/test-strncasecmp-ifunc.c: Likewise.
11327 * string/test-strncat-ifunc.c: Likewise.
11328 * string/test-strncmp-ifunc.c: Likewise.
11329 * string/test-strncpy-ifunc.c: Likewise.
11330 * string/test-strnlen-ifunc.c: Likewise.
11331 * string/test-strpbrk-ifunc.c: Likewise.
11332 * string/test-strrchr-ifunc.c: Likewise.
11333 * string/test-strspn-ifunc.c: Likewise.
11334 * string/test-strstr-ifunc.c: Likewise.
11335
de54b33a
L
11336 * debug/Makefile (tests-ifunc): New variable.
11337 (tests): Add $(tests-ifunc).
11338 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11339 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11340 * debug/test-stpcpy_chk-ifunc.c: New file.
11341 * debug/test-strcpy_chk-ifunc.c: Likewise.
11342
88481c16
SP
113432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11344
11345 [BZ #13601]
11346 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11347 header is not read in.
11348
135948bd
JM
113492012-10-19 Joseph Myers <joseph@codesourcery.com>
11350
89f1c388
JM
11351 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11352 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11353 directly. Pass built executable to script as
11354 $(built-program-cmd).
11355 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11356 $testprogram without using LD_LIBRARY_PATH and $ldso.
11357
e40a0d21
JM
11358 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11359 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11360 $(rtld-installed-name).
11361 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11362 (rtld_installed_name): Likewise.
11363 (library_path): Likewise.
11364 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11365 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11366 $(run-program-prefix) to tst-tables.sh.
11367 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11368 it to run tst-table-from and tst-table-to.
11369 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11370 Pass it to tst-table.sh.
11371 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11372 $(run-program-prefix) to tst-gettext.sh.
11373 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11374 tst-translit.sh.
11375 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11376 tst-gettext2.sh.
11377 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11378 to run tst-gettext.
11379 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11380 to run tst-gettext2.
11381 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11382 to run tst-translit.
11383 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11384 $(run-program-prefix) to tst-mtrace.sh.
11385 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11386 to run tst-mtrace.
11387 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11388 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11389 $(rtld-installed-name).
11390 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11391 (rtld_installed_name): Likewise.
11392 (run_program_prefix): New variable. Use it to run wordexp-test.
11393
728e272a
JM
11394 * Makeconfig (ARCH): Remove all definitions.
11395 (machine): Likewise.
11396 [ARCH]: Remove conditional code.
11397 [!objdir]: Give error.
11398 [!objdir] (objpfx): Remove.
11399 [!objdir] (common-objpfx): Likewise.
11400 [!objdir] (common-objdir): Likewise.
11401 * configure.in (config_makefile): Remove. Hardcode Makefile in
11402 AC_CONFIG_FILES call.
11403 * configure: Regenerated.
11404
d528cdcf
JM
11405 [BZ #13888]
11406 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11407 or TMPDIR.
11408 (testout): Likewise.
11409
135948bd
JM
11410 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11411 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11412 $(rtld-installed-name).
11413 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11414 (rtld_installed_name): Likwise.
11415 (runit): Remove function.
11416 (run_getconf): New variable, Use it for running getconf binary.
11417
38c78296
L
114182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11419
11420 [BZ #14716]
11421 * string/test-memmem.c (check_result): New function.
11422 (do_one_test): Use it.
11423 (check1): New function.
11424 (test_main): Use it.
11425
d077f65f
MT
114262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11427
11428 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11429
ced52c71
JM
114302012-10-18 Joseph Myers <joseph@codesourcery.com>
11431
11432 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11433 (_G_LSEEK64): Likewise.
11434 (_G_MMAP64): Likewise.
11435 (_G_FSTAT64): Likewise.
11436 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11437 (_G_LSEEK64): Likewise.
11438 (_G_MMAP64): Likewise.
11439 (_G_FSTAT64): Likewise.
11440 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11441 unconditional. Call __mmap64 directly.
11442 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11443 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11444 __lseek64 directly.
11445 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11446 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11447 __mmap64 directly.
11448 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11449 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11450 __lseek64 directly.
11451 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11452 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11453 __lseek64 directly.
11454 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11455 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11456 __lseek64 directly.
11457 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11458 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11459 __fxstat64 directly.
11460 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11461 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11462 unconditional.
11463 (freopen64) [!_G_OPEN64]: Remove conditional code.
11464 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11465 unconditional.
11466 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11467 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11468 unconditional.
11469 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11470 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11471 unconditional.
11472 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11473 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11474 unconditional.
11475 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11476 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11477 unconditional.
11478 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11479 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11480 unconditional.
11481 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11482 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11483 unconditional.
11484 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11485
b741de23
SP
114862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11487
11488 [BZ #12140]
11489 * manual/memory.texi (Malloc Tunable Parameters): Add note
11490 about free list pointers overwriting some perturb bytes.
11491 Wording suggested by Roland McGrath.
11492
f9b9d9c9
JM
114932012-10-17 Joseph Myers <joseph@codesourcery.com>
11494
11495 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11496 (lgamma_test): Likewise.
11497 (tgamma_test): Likewise.
11498
172a631a
FW
114992012-10-16 Florian Weimer <fweimer@redhat.com>
11500
11501 [BZ #14700]
11502 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11503 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11504
e9f37252
MK
115052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11506
11507 * NEWS: Mention BZ #14716.
11508 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11509 when removing AVAILABLE1_USES_J macro.
11510
d394eb74
L
115112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11512
11513 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11514 (__bswap_64): __uint64_t for unsigned 64-bit int.
11515
ca38dc17
AS
115162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11517
11518 * include/string.h (memmem): Declare libc hidden alias.
11519 * string/memmem.c (memmem): Define libc hidden alias.
11520 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11521 __read, __close instead of open, read, close.
11522
9a387d1f
L
115232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11524
ac49ecaf
L
11525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11526 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11527 global and hidden.
11528 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11529 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11530 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11531 Likewise.
11532 (__rawmemchr_sse2): Likewise.
11533 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11534 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11535 (__strchr_sse2): Likewise.
11536 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11537 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11538 (__strcasecmp_sse2): Likewise.
11539 (__strncasecmp_sse2): Likewise.
11540 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11541 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11542 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11543 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11544 (__strrchr_sse2): Likewise.
11545 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11546 ifunc-impl-list.c.
11547 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11548 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11549 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11550 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11551 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11552 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11553 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11554 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11555 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11556 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11557 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11558 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11559 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11560 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11561 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11562 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11563 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11564 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11565 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11566 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11567 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11568 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11569 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11570 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11571 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11573 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11574 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11575 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11576 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11577
b090e8ea
L
11578 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11579 global and hidden.
11580 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11581 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11582 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11583 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11584 Likewise.
11585 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11586 Likewise.
11587 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11588 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11589 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11590 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11591 ifunc-impl-list.c.
11592 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11593 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11594 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11602 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11603 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11604 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11605 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11606 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11608 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11609 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11610 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11611 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11612 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11613 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11614 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11615 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11616 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11617 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11618 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11619 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11620 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11621 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11622 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11623 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11624 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11625 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11626 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11627 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11628 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11629 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11630 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11632 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11633
11dd4af6
L
11634 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11635 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11636 * include/ifunc-impl-list.h: New file.
11637 * misc/ifunc-impl-list.c: Likewise.
11638 * misc/Makefile (routines): Add ifunc-impl-list.
11639 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11640 * string/test-string.h: Include <ifunc-impl-list.h>.
11641 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11642 impl_array): New variables.
11643 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11644 are defined.
11645 (test_init): Call __libc_ifunc_impl_list to initialize
11646 func_list if TEST_IFUNC and TEST_NAME are defined.
11647
9a387d1f
L
11648 * string/Makefile (strop-tests): Add bcopy and bzero.
11649 * string/test-bcopy.c: New file.
11650 * string/test-bzero.c: Likewise.
11651 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11652 defined.
11653 * string/test-memset.c: Support bzero test if TEST_BZERO is
11654 defined.
11655 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11656 __libc_memmove.
11657 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11658 __libc_memset.
11659 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11660 of memset.
11661
472371b9
JM
116622012-10-10 Joseph Myers <joseph@codesourcery.com>
11663
1e4a9536
JM
11664 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11665 * configure: Regenerated.
11666
d173d12e
JM
11667 * Makeconfig (+link-static-before-libc): Don't include
11668 $(link-static-libc).
11669
472371b9
JM
11670 * libio/libio.h (_IO_pos_t): Remove.
11671
89a3ad0b
AO
116722012-10-10 Alexandre Oliva <aoliva@redhat.com>
11673
11674 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11675 McGrath.
11676
e7451425
AO
116772012-10-10 Alexandre Oliva <aoliva@redhat.com>
11678
11679 * crypt/crypt-entry.c: Include fips-private.h.
11680 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11681 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11682 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11683 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11684
4ba74a35
AO
116852012-10-10 Alexandre Oliva <aoliva@redhat.com>
11686
11687 * crypt/crypt-private.h: Include stdbool.h.
11688 (_ufc_setup_salt_r): Return bool.
11689 * crypt/crypt-entry.c: Include errno.h.
11690 (__crypt_r): Return NULL with EINVAL for bad salt.
11691 * crypt/crypt_util.c (bad_for_salt): New.
11692 (_ufc_setup_salt_r): Check that salt is long enough and within
11693 the specified alphabet.
11694 * crypt/badsalttest.c: New file.
11695 * crypt/Makefile (tests): Add it.
11696 ($(objpfx)badsalttest): New.
11697
f96f1242
MK
116982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11699
11700 * NEWS: Add entry for BZ #14602.
11701
0e8e0c1c
JM
117022012-10-09 Joseph Myers <joseph@codesourcery.com>
11703
11704 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11705 type-generic.
11706 * math/libm-test.inc: Update comment listing what functions and
11707 macros are tested.
11708 (isgreater_test): New function.
11709 (isgreaterequal_test): Likewise.
11710 (isless_test): Likewise.
11711 (islessequal_test): Likewise.
11712 (islessgreater_test): Likewise.
11713 (isunordered_test): Likewise.
11714 (main): Call the new functions.
11715
273edc5e
RM
117162012-10-09 Roland McGrath <roland@hack.frob.com>
11717
b8493de0
RM
11718 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11719 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11720 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11721 * sysdeps/i386/configure: Regenerated.
11722 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11723 * sysdeps/mach/configure: Regenerated.
11724 * sysdeps/mach/hurd/configure: Regenerated.
11725 * sysdeps/powerpc/configure: Regenerated.
11726 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11727 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11728 * sysdeps/s390/s390-32/configure: Regenerated.
11729 * sysdeps/s390/s390-64/configure: Regenerated.
11730 * sysdeps/sh/configure: Regenerated.
11731 * sysdeps/sparc/configure: Regenerated.
11732 * sysdeps/unix/sysv/linux/configure: Regenerated.
11733 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11734 * sysdeps/x86_64/configure: Regenerated.
11735
273edc5e
RM
11736 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11737 defined. Don't check if MAP is NULL.
11738
c8450f70
JM
117392012-10-09 Joseph Myers <joseph@codesourcery.com>
11740
11741 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11742 (_G_stat64): Likewise.
11743 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11744 (_G_stat64): Likewise.
11745 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11746 instead of struct _G_stat64.
11747 * libio/fileops.c (mmap_remap_check): Likewise.
11748 (decide_maybe_mmap): Likewise.
11749 (_IO_new_file_seekoff): Likewise.
11750 (_IO_file_stat): Likewise.
11751 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11752 _G_off64_t.
11753 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11754 instead of struct _G_stat64.
11755 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11756
57e605ba
MK
117572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11758
11759 [BZ #14602]
11760 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11761 Replace with ...
11762 (CHECK_EOL): New macro.
11763 (two_way_short_needle): Check beginning of haystack for EOL. Use
11764 CHECK_EOL.
11765 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11766 Replace with CHECK_EOL.
11767 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11768 Replace with CHECK_EOL.
11769
ef1bb361
JM
117702012-10-08 Joseph Myers <joseph@codesourcery.com>
11771
11772 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11773 type-generic.
11774 * math/libm-test.inc: Update comment listing what functions and
11775 macros are tested.
11776 (finite_test): New function.
11777 (isinf_test): Likewise.
11778 (isnan_test): Likewise.
11779 (fpclassify_test): Test subnormal input.
11780 (isfinite_test): Likewise.
11781 (isnormal_test): Likewise.
11782 (main): Call the new functions.
11783
55f11534
JN
117842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11785
11786 [BZ #14660]
11787 * Makerules (%.dynsym): Force C locale when running
11788 $(OBJDUMP) --dynamic-syms.
11789
1ab29350
AS
117902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11791
11792 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11793 <stdint.h>.
11794
f1ecb7ef
DM
117952012-10-06 David S. Miller <davem@davemloft.net>
11796
11797 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11798 upper 32-bits of the length value in %o2 since we use branch-on-register
11799 tests which consider the entire 64-bit register.
11800
5d41d91a
L
118012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11802
11803 * string/test-strstr.c (check2): Add a test for page boundary.
11804
3baddb72
DM
118052012-10-05 David S. Miller <davem@davemloft.net>
11806
11807 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11809 file.
11810 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11811 sysdep_routines.
11812 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11813 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11814 and bzero when HWCAP_SPARC_CRYPTO is present.
11815
9cee5585
L
118162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11817
d7e0dab9
L
11818 [BZ #14602]
11819 * string/test-strstr.c (check2): New function.
11820 (test_main): Call check2.
11821
03759f47
L
11822 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11823 and bug-strchr1.
11824 * string/bug-strcasestr1.c (do_test): Moved to ...
11825 * string/test-strcasestr.c (check1): Here. New function.
11826 (do_one_test): Break out result checking code into ...
11827 (check_result): This. New function.
11828 (do_one_test): Call check_result.
11829 (test_main): Call check1.
11830 * string/bug-strchr1.c (do_test): Moved to ...
11831 * string/test-strchr.c (check1): Here. New function.
11832 (do_one_test): Break out result checking code into ...
11833 (check_result): This. New function.
11834 (do_one_test): Call check_result.
11835 (test_main): Call check1.
11836 * string/bug-strstr1.c (main): Moved to ...
046f153e 11837 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11838 (do_one_test): Break out result checking code into ...
11839 (check_result): This. New function.
11840 (do_one_test): Call check_result.
11841 (test_main): Call check1.
11842 * string/bug-strcasestr1.c: Removed.
11843 * string/bug-strchr1.c: Likewise.
11844 * string/bug-strstr1.c: Likewise.
11845
53cea63e
L
11846 * elf/Makefile (dl-routines): Add hwcaps.
11847 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11848 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11849 (_dl_important_hwcaps): Moved to ...
11850 * elf/dl-hwcaps.c: Here. New file.
11851 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11852
9cee5585 11853 [BZ #14557]
bb859b06
L
11854 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11855 if IS_IN_rtld isn't defined.
11856
9cee5585
L
11857 * elf/dl-support.c (_dl_sysinfo_map): New.
11858 Include "get-dynamic-info.h" and "setup-vdso.h".
11859 (_dl_non_dynamic_init): Call setup_vdso.
11860 * elf/dynamic-link.h: Don't include <assert.h>.
11861 (elf_get_dynamic_info): Moved to ...
11862 * elf/get-dynamic-info.h: Here. New file.
11863 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11864 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11865 * elf/setup-vdso.h: Here. New file.
11866 * elf/rtld.c: Include "setup-vdso.h".
11867 (dl_main): Call setup_vdso.
11868
23c31b76
JM
118692012-10-05 Joseph Myers <joseph@codesourcery.com>
11870
28234b07
JM
11871 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11872 creal in comment listing functions tested. List finite, isinf,
11873 isnan, isless, islessequal, isgreater, isgreaterequal,
11874 islessgreater, isunordered, lgamma_r and pow10 as functions and
11875 macros not tested. Mention which functions not tested are aliases
11876 for other functions. Fix typo. Note that signs of NaNs are not
11877 tested.
11878
23c31b76
JM
11879 * scripts/config.guess: Update from config.git.
11880 * scripts/config.sub: Likewise.
11881
9043e228
RM
118822012-10-04 Roland McGrath <roland@hack.frob.com>
11883
11884 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11885 * misc/madvise.c (madvise): Renamed to __madvise.
11886 Make madvise a weak alias.
11887 * include/sys/mman.h: Declare __madvise.
11888 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11889 * sysdeps/unix/syscalls.list
11890 (madvise): Make __madvise the strong name, and madvise a weak alias.
11891 * sysdeps/unix/sysv/linux/syscalls.list
11892 (madvise, mmap): Remove redundant entries.
11893 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11894 * malloc/malloc.c (mtrim): Likewise.
11895 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11896
f57f8055
RM
118972012-10-03 Roland McGrath <roland@hack.frob.com>
11898
11899 * sysdeps/mach/hurd/dl-cache.c: File removed.
11900 * config.h.in (USE_LDCONFIG): New #undef.
11901 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11902 * configure: Regenerated.
11903 * elf/Makefile (dl-routines): Add dl-cache only under
11904 [$(use-ldconfig) = yes].
11905 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11906 cache on [USE_LDCONFIG].
11907 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11908 [USE_LDCONFIG].
11909 * elf/rtld.c (dl_main): Likewise.
11910
5bb0c10a
PT
119112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11912
11913 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11914 _SC_LEVEL4_CACHE_LINESIZE.
11915
010188c6
RM
119162012-10-03 Roland McGrath <roland@hack.frob.com>
11917
11918 * sysdeps/unix/bsd/confstr.h: File removed.
11919
b6c5ec07
AO
119202012-10-02 Alexandre Oliva <aoliva@redhat.com>
11921
11922 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11923 sys/sdt-config.h.
11924
408223d4
RM
119252012-10-02 Roland McGrath <roland@hack.frob.com>
11926
11927 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11928 Make 'mapoff' field ElfW(Off) rather than off_t.
11929
bb9510dc
DL
119302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11931
fc997c6e
DL
11932 * nscd/Makefile: Remove nscd-cflags and all its users.
11933 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11934 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11935
bb9510dc
DL
11936 [BZ #10631]
11937 * malloc.c (malloc_printerr): Clarify error message.
11938
05699367
L
119392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11940
11941 [BZ #14648]
11942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11943 Set bit_FMA_Usable if FMA is supported.
11944 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11945 macro.
11946 (bit_FMA4_Usable): Updated.
11947 (index_FMA_Usable): New macro.
11948 (CPUID_FMA): Likewise
11949 (HAS_FMA): Defined with bit_FMA_Usable.
11950
51367701
RM
119512012-10-01 Roland McGrath <roland@hack.frob.com>
11952
11953 * bits/types.h (__swblk_t): Type removed.
11954 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11955 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11957 (__SWBLK_T_TYPE): Likewise.
11958 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11959 (__SWBLK_T_TYPE): Likewise.
11960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11961 (__SWBLK_T_TYPE): Likewise.
11962 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11963 (__SWBLK_T_TYPE): Likewise.
11964
4d57bf63 119652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11966 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11967
11968 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11969 (xdr_mapname): Use YPMAXMAP as maxsize.
11970 (xdr_peername): Use YPMAXPEER as maxsize.
11971 (xdr_keydat): Use YPAXRECORD as maxsize.
11972 (xdr_valdat): Use YPMAXRECORD as maxsize.
11973
93c65d43
RM
119742012-10-01 Roland McGrath <roland@hack.frob.com>
11975
497a03d6
RM
11976 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11977
93c65d43
RM
11978 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11979 * csu/init-first.c: ... here.
11980 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11981 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11982 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11983 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11984 * sysdeps/i386/init-first.c: File removed.
11985 * sysdeps/sh/init-first.c: File removed.
11986
bec749fd
JM
119872012-10-01 Joseph Myers <joseph@codesourcery.com>
11988
11989 [BZ #14645]
11990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11991 if x * y might underflow to zero and z is zero.
11992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11994 * math/libm-test.inc (min_subnorm_value): New variable.
11995 (fma_test): Add more tests.
11996 (fma_test_towardzero): Likewise.
11997 (fma_test_downward): Likewise
11998 (fma_test_upward): Likewise.
11999 (initialize): Set min_subnorm_value.
12000
8ec5b013
JM
120012012-09-29 Joseph Myers <joseph@codesourcery.com>
12002
12003 [BZ #14638]
12004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12005 0 + 0.
12006 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12007 mode for addition resulting in exact zero.
12008 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12009 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12010 exact 0 + 0.
12011 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12013 * math/libm-test.inc (fma_test): Add more tests.
12014 (fma_test_towardzero): New function.
12015 (fma_test_downward): Likewise.
12016 (fma_test_upward): Likewise.
12017 (main): Call the new functions.
12018
b1fa802e
DM
120192012-09-28 David S. Miller <davem@davemloft.net>
12020
12021 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12022
d3b9fd9e
RM
120232012-09-28 Roland McGrath <roland@hack.frob.com>
12024
ea4d37b3
RM
12025 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12026 instead of SIGALRM.
12027
ac51c949
RM
12028 * sysdeps/gnu/_G_config.h: Moved to ...
12029 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12030 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12031 * sysdeps/generic/_G_config.h: ... here.
12032
28c195f7
RM
12033 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12034
848917f9
RM
12035 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12036
6bacf05b
RM
12037 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12038 Conditionalize target on [libnss_test1.so-version].
12039
91363dbb
RM
12040 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12041
cc87f7d8
RM
12042 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12043 (elfobjdir): Move out of conditionals.
12044
b1c608fe
RM
12045 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12046 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12047 (__nss_lookup_function): Conditionalize label remove_from_tree on
12048 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12049
1d9a6d96
DM
120502012-09-28 David S. Miller <davem@davemloft.net>
12051
12052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12053 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12054 file.
12055 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12056 sysdep_routines.
12057 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12059 when HWCAP_SPARC_CRYPTO is present.
12060
72581615
PT
120612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12062
12063 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12064
715a900c
JL
120652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12066
12067 [BZ #6530]
12068 * stdio-common/vfprintf.c (process_string_arg): Revert
12069 2000-07-22 change.
12070
120712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12072
12073 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12074 for testcase.
12075 * stdio-common/tst-sprintf.c: Include <locale.h>
12076 (main): Test sprintf's handling of incomplete multibyte
12077 characters.
12078
9bac1d86
L
120792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12080
12081 * elf/dl-runtime.c (VERSYMIDX): Removed.
12082 * elf/dl-version.c (VERSYMIDX): Likewise.
12083 * elf/do-rel.h (VERSYMIDX): Likewise.
12084 (VALIDX): Likewise.
12085 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12086 * elf/rtld.c (VALIDX): Likewise.
12087 (ADDRIDX): Likewise.
9bac1d86
L
12088 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12089 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12090 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12091 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12092 (VALIDX): Likewise.
12093 (ADDRIDX): Likewise.
9bac1d86 12094
b31606c0
PT
120952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12096
12097 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12098
11541177
JL
120992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12100
12101 [BZ #11438]
12102 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12103 to global scope.
12104 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12105 addresses are in the same scope as 192.0.2/24.
12106 * posix/gai.conf: Document new scope table defaults.
12107
adb26fae
SP
121082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 [BZ #5298]
12111 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12112 for ftell. Compute offsets from write pointers instead.
12113 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12114
4573c6b0
SP
121152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12116
12117 [BZ #14543]
12118 * libio/Makefile (tests): New test case tst-fseek.
12119 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12120 combination works in wide mode.
12121 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12122 state when the external buffer state changes.
12123
aa9bbfe6
DM
121242012-09-27 David S. Miller <davem@davemloft.net>
12125
12126 [BZ #14376]
12127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12128 pass reloc->r_addend in as the 'high' argument to
12129 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12130
784421e7
DM
12131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12132
c39bc8b8
PT
121332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12134
12135 * rt/tst-aio2.c: Include <pthread.h>.
12136 * rt/tst-aio3.c: Likewise.
12137
1ccc2399
SE
121382012-09-27 Steve Ellcey <sellcey@mips.com>
12139
12140 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12141
31ed4153
L
121422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12143
25f5f885
L
12144 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12145 contents on [SHARED].
31ed4153 12146
b7bfe116
MP
121472012-09-26 Marek Polacek <polacek@redhat.com>
12148
12149 [BZ #14530]
12150 [BZ #13741]
12151 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12152 for C++ and GCC <4.3 as well as for non GCC compilers.
12153
43c4edba
MT
121542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12155
12156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12157
6a1bf82f
RM
121582012-09-25 Roland McGrath <roland@hack.frob.com>
12159
12160 * Makefile.in (all, install): Declare with .PHONY.
12161 Reported by Michael Hope <michael.hope@linaro.org>.
12162
8ad11b9a
TMQMF
121632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12164
12165 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12166 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12167 system header.
12168 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12169 Likewise.
12170 (sydep_routines): Add the new and the internal functions.
12171 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12172 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12174 (GLIBC_2.17): Add the new function.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12176 (GLIBC_2.17): Likewise.
12177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12178 (GLIBC_2.17): Likewise.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12180 (GLIBC_2.17): Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12182
7e2fca8d
AM
121832012-09-25 Alan Modra <amodra@gmail.com>
12184
12185 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12186 Add release barrier before setting once_control to say
12187 initialisation is done. Add hints on lwarx. Use macro in
12188 place of isync.
12189 (clear_once_control): Add release barrier.
12190
b87c4b24
JM
121912012-09-25 Joseph Myers <joseph@codesourcery.com>
12192
d032e0d2
JM
12193 [BZ #13629]
12194 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12195 specially.
12196 * math/s_clog10.c (__clog10): Likewise.
12197 * math/s_clog10f.c (__clog10f): Likewise.
12198 * math/s_clog10l.c (__clog10l): Likewise.
12199 * math/s_clogf.c (__clogf): Likewise.
12200 * math/s_clogl.c (__clogl): Likewise.
12201 * math/Makefile (libm-calls): Add x2y2m1.
12202 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12203 (__x2y2m1): Likewise.
12204 (__x2y2m1l): Likewise.
12205 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12206 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12207 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12208 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12210 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12211 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12212 * sysdeps/i386/fpu/libm-test-ulps: Update.
12213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12214
b87c4b24
JM
12215 [BZ #14621]
12216 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12217 int as type of variable DEPTH.
12218 (glob): Use size_t instead of int as type of variables NEWCOUNT
12219 and OLD_PATHC.
12220
6d3bf199
LD
122212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12222
22bf5c17
LD
12223 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12224 Add s_sincosf-sse2.
12225 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12226 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12227 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12228 macros for using routine as __sincosf_ia32.
12229 Use macro for function declaration and weak_alias.
12230 * sysdeps/i386/fpu/libm-test-ulps: Update.
12231
12232 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12234
12235 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12236 subnormal argument.
12237 * math/s_cexpf.c (__cexpf): Likewise.
12238 * math/s_csinf.c (__csinf): Likewise.
12239 * math/s_csinhf.c (__csinhf): Likewise.
12240 * math/s_ctanf.c (__ctanf): Likewise.
12241 * math/s_ctanhf.c (__ctanhf): Likewise.
12242 * math/s_ccosh.c (__ccoshf): Likewise.
12243 * math/s_cexp.c (__cexpl): Likewise.
12244 * math/s_csin.c (__csin): Likewise.
12245 * math/s_csinh.c (__csinh): Likewise.
12246 * math/s_ctan.c (__ctan): Likewise.
12247 * math/s_ctanh.c (ctanh): Likewise.
12248 * math/s_ccoshl.c (__ccoshl): Likewise.
12249 * math/s_cexpl.c (__cexpl): Likewise.
12250 * math/s_csinl.c (__csinl): Likewise.
12251 * math/s_csinhl.c (__csinhl): Likewise.
12252 * math/s_ctanl.c (__ctanl): Likewise.
12253 * math/s_ctanhl.c (__ctanhl): Likewise.
12254
203e5603
JM
122552012-09-25 Joseph Myers <joseph@codesourcery.com>
12256
12257 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12258 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12259 (_IO_off_t): Define to __off_t, not _G_off_t.
12260 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12261 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12262 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12263 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12264 type of __dummy and __dummy2 fields.
12265 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12266 (_G_ssize_t): Likewise.
12267 (_G_off_t): Likewise.
12268 (_G_pid_t): Likewise.
12269 (_G_uid_t): Likewise.
12270 (_G_wchar_t): Likewise.
12271 (_G_wint_t): Likewise.
12272 * sysdeps/gnu/_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/mach/hurd/_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
9fab36eb
SP
122872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12288
12289 * malloc/arena.c: Include malloc-sysdep.h.
12290 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12291 is sufficient to shrink the heap or an unmap is needed.
12292 * sysdeps/generic/malloc-sysdep.h: New file. Define
12293 new function check_may_shrink_heap.
12294 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12295 new function check_may_shrink_heap.
12296
2b4f00d1
SP
122972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12298
12299 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12300 comments.
12301
9a9028b1
DL
123022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12303
57c69bef
DL
12304 * catgets/test-gencat.sh: Add "set -e".
12305 * elf/tst-pathopt.sh: Likewise.
12306 * grp/tst_fgetgrent.sh: Likewise.
12307 * iconvdata/run-iconv-test.sh: Likewise.
12308 * intl/tst-gettext.sh: Likewise.
12309 * intl/tst-gettext2.sh: Likewise.
12310 * intl/tst-gettext4.sh: Likewise.
12311 * intl/tst-gettext6.sh: Likewise.
12312 * intl/tst-translit.sh: Likewise.
12313 * io/ftwtest-sh: Likewise.
12314 * libio/test-freopen.sh: Likewise.
12315 * malloc/tst-mtrace.sh: Likewise.
12316 * posix/globtest.sh: Likewise.
12317 * posix/tst-getconf.sh: Likewise.
12318 * posix/wordexp-tst.sh: Likewise.
12319 * stdio-common/tst-printf.sh: Likewise.
12320 * stdio-common/tst-unbputc.sh: Likewise.
12321 * stdlib/tst-fmtmsg.sh: Likewise.
12322 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12323 * catgets/Makefile: Do not specify -e option when running
12324 testsuite shell scripts.
12325 * elf/Makefile: Likewise.
12326 * grp/Makefile: Likewise.
12327 * iconvdata/Makefile: Likewise.
12328 * intl/Makefile: Likewise.
12329 * io/Makefile: Likewise.
12330 * libio/Makefile: Likewise.
12331 * malloc/Makefile: Likewise.
12332 * posix/Makefile: Likewise.
12333 * stdio-common/Makefile: Likewise.
12334 * stdlib/Makefile: Likewise.
12335 * sysdeps/x86_64/Makefile: Likewise.
12336
9a9028b1
DL
12337 * io/ftwtest-sh: Add copyright header.
12338 * posix/globtest.sh: Likewise.
12339 * posix/tst-getconf.sh: Likewise.
12340 * posix/wordexp-tst.sh: Likewise.
12341 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12342
ced6f16e
L
123432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12344
94b32c39
L
12345 [BZ #13679]
12346 * Makeconfig (+link): Defined as $(+link-static) if
12347 $(build-shared) isn't yes.
12348 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12349 isn't yes.
12350 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12351
189e935b
L
12352 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12353
ced6f16e
L
12354 [BZ #14562]
12355 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12356 new chunk size with MALLOC_ALIGN_MASK.
12357
a9f8e53a
JM
123582012-09-24 Joseph Myers <joseph@codesourcery.com>
12359
12360 [BZ #5044]
12361 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12362 <rounding-mode.h>.
12363 (__printf_fphex): Determine rounding using get_rounding_mode and
12364 round_away.
12365 * stdio-common/tst-printf-round.c (struct hex_test): New
12366 structure.
12367 (hex_tests): New variable.
12368 (test_hex_in_one_mode): New function.
12369 (do_test): Also run tests for hex float output.
12370
43153109
JM
123712012-09-21 Joseph Myers <joseph@codesourcery.com>
12372
12373 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12374 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12375 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12376 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12377 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12378 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12379 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12381
8a26625d
JM
123822012-09-20 Joseph Myers <joseph@codesourcery.com>
12383
12384 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12385 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12386 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12387 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12388
f3fd569c
DL
123892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12390
12391 [BZ #14579]
12392 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12393 mode only.
12394 * elf/tst-rtld-load-self.sh: New test.
12395 * elf/Makefile: Run it.
12396
63bbedd4
JM
123972012-09-18 Joseph Myers <joseph@codesourcery.com>
12398
12399 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12400 (tst-writev-ENV): Remove.
12401 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12402
626f8b6a
CM
124032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12404
12405 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12406
b7aaa4d6
JM
124072012-09-17 Joseph Myers <joseph@codesourcery.com>
12408
12409 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12410 unconditional.
12411 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12412 Likewise.
12413 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12414 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12415 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12416 Likewise.
12417
65513990
L
124182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12419
12420 [BZ #14587]
12421 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12422 * config.make.in (have-cpp-asm-debuginfo): Removed.
12423 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12424 * configure: Regenerated.
12425
784761be
JM
124262012-09-14 Joseph Myers <joseph@codesourcery.com>
12427
12428 [BZ #5044]
12429 * stdio-common/printf_fp.c: Include <stdbool.h> and
12430 <rounding-mode.h>.
12431 (___printf_fp): Determine rounding using get_rounding_mode and
12432 round_away.
12433 * stdio-common/tst-printf-round.c: New file.
12434 * stdio-common/Makefile (tests): Add tst-printf-round.
12435 (link-libm): New variable.
12436 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12437
9503345f
L
124382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 [BZ #14576]
12441 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12442 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12443 Likewise.
12444 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12445 Likewise.
12446
ad35fc00
JM
124472012-09-13 Joseph Myers <joseph@codesourcery.com>
12448
12449 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12450 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12451 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12452 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12453
6c9b0f68
JM
124542012-09-12 Joseph Myers <joseph@codesourcery.com>
12455
12456 [BZ #14518]
12457 * include/rounding-mode.h: New file.
12458 * sysdeps/generic/get-rounding-mode.h: Likewise.
12459 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12460 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12461 (MAX_VALUE): New macro.
12462 (MIN_VALUE): Likewise.
12463 (overflow_value): New function.
12464 (underflow_value): Likewise.
12465 (round_and_return): Use overflow_value and underflow_value to
12466 determine return values in overflow and underflow cases. Use
12467 round_away to determine rounding depending on rounding mode.
12468 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12469 determine return values in overflow and underflow cases.
12470 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12471 (struct test_results): New structure.
12472 (struct test): Use struct test_results to store expected results
12473 for all rounding modes.
12474 (TEST): Include expected results for all rounding modes.
12475 (test_in_one_mode): New function.
12476 (do_test): Use test_in_one_mode to compute and check results.
12477 Check results for all rounding modes.
12478 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12479 $(link-libm).
12480
19fcedd5
AM
124812012-12-09 Allan McRae <allan@archlinux.org>
12482
1e9d84cd 12483 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12484
8bbfd2f1
JM
124852012-09-11 Joseph Myers <joseph@codesourcery.com>
12486
12487 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12488 (_G_int32_t): Likewise.
12489 (_G_uint16_t): Likewise.
12490 (_G_uint32_t): Likewise.
12491 (_G_HAVE_BOOL): Likewise.
12492 (_G_HAVE_ATEXIT): Likewise.
12493 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12494 (_G_HAVE_IO_FILE_OPEN): Likewise.
12495 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12496 (_G_int32_t): Likewise.
12497 (_G_uint16_t): Likewise.
12498 (_G_uint32_t): Likewise.
12499 (_G_HAVE_BOOL): Likewise.
12500 (_G_HAVE_ATEXIT): Likewise.
12501 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12502 (_G_HAVE_IO_FILE_OPEN): Likewise.
12503 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12504 (_G_int32_t): Likewise.
12505 (_G_uint16_t): Likewise.
12506 (_G_uint32_t): Likewise.
12507 (_G_HAVE_BOOL): Likewise.
12508 (_G_HAVE_ATEXIT): Likewise.
12509 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12510 (_G_HAVE_IO_FILE_OPEN): Likewise.
12511
b1dc5912
L
125122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12513
12514 * csu/libc-tls.c: Update copyright years.
12515
0e886ef9
JM
125162012-09-10 Joseph Myers <joseph@codesourcery.com>
12517
28361c5e
JM
12518 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12519 [!_G_USING_THUNKS]: Remove conditional code.
12520 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12521 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12522
0e886ef9
JM
12523 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12524 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12525 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12526 (_G_VTABLE_LABEL_PREFIX): Likewise.
12527 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12528 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12529 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12530 (_G_VTABLE_LABEL_PREFIX): Likewise.
12531 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12532 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12533 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12534 (_G_VTABLE_LABEL_PREFIX): Likewise.
12535 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12536
bcba7aa2
L
125372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12538
12539 * libio/Makefile: Include ../Makeconfig before tests.
12540 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12541 only if $(build-shared) is yes.
12542
06585ee8
L
12543 * iconv/gconv_db.c: Update copyright years.
12544
80ccd52c
LD
125452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12546
12547 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12548 unwind info if defined PIC. Fix special cases description.
12549 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12550
12551 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12552 DP_HI_MASK entry.
12553 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12554
691bc9c1
L
125552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12556
3d9b46b3
L
12557 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12558
de2139a9
L
12559 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12560 is NULL.
12561
5ca78dd0
L
12562 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12563 (LDLIBS-tst-chk4): This.
12564 (LDFLAGS-tst-chk5): Renamed to ...
12565 (LDLIBS-tst-chk5): This.
12566 (LDFLAGS-tst-chk6): Renamed to ...
12567 (LDLIBS-tst-chk6): This.
12568 (LDFLAGS-tst-lfschk4): Renamed to ...
12569 (LDLIBS-tst-lfschk4): This.
12570 (LDFLAGS-tst-lfschk5): Renamed to ...
12571 (LDLIBS-tst-lfschk5): This.
12572 (LDFLAGS-tst-lfschk6): Renamed to ...
12573 (LDLIBS-tst-lfschk6): This.
12574
691bc9c1
L
12575 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12576 on $(common-objpfx)soversions.mk.
12577
65cafb1c
JM
125782012-09-07 Joseph Myers <joseph@codesourcery.com>
12579
12580 [BZ #10014]
12581 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12582 example host name.
12583
c78ab094
SP
125842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12585
12586 * malloc/arena.c (arena_get_retry): New function that gets
12587 another arena for the caller to try its request on.
12588 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12589 current arena cannot fulfill the request.
12590 (__libc_memalign): Likewise.
12591 (__libc_memalign): Likewise.
12592 (__libc_pvalloc): Likewise.
12593 (__libc_calloc): Likewise.
12594
01f49f59
JT
125952012-09-05 John Tobey <john.tobey@gmail.com>
12596
12597 [BZ #13542]
12598 * manual/arith.texi (Operations on Complex): Fix description
12599 of carg branch cut.
12600
4c23fed5
JM
126012012-09-06 Joseph Myers <joseph@codesourcery.com>
12602
1d3c8572
JM
12603 [BZ #10014]
12604 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12605 host name.
12606
4c23fed5
JM
12607 [BZ #10038]
12608 * manual/memory.texi (Memory): Make order of menu items match
12609 order of sections.
12610
04570aaa
L
126112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12612
12613 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12614 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12615 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12616
b80af2f4
L
126172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12618
12619 * csu/libc-tls.c (static_dtv): Renamed to ...
12620 (_dl_static_dtv): This. Make it global.
12621 (_dl_initial_dtv): Removed.
12622 (__libc_setup_tls): Updated.
12623 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12624 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12625 DL_INITIAL_DTV.
12626
2abe9f15
PM
126272012-09-06 Petr Machata <pmachata@redhat.com>
12628
12629 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12630 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12631 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12632 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12633
0948c3af
L
126342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 [BZ #14545]
12637 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12638 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12639 freeing dtv[-1].
12640
a5055ad1
L
126412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 [BZ #14544]
12644 * Makeconfig (link-static-before-libc): Replace $(+prector)
12645 with $(+prectorT).
12646 (link-static-after-libc): Replace $(+postctor) with
12647 $(+postctorT).
12648 (link-bounded): Replace $(+prector)/$(+postctor) with
12649 $(+prectorT)/$(+postctorT).
12650 (+prectorT): New macro.
12651 (+postctorT): Likewise.
12652
ed8c2ecd
JM
126532012-09-06 Joseph Myers <joseph@codesourcery.com>
12654
12655 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12656 (round_str): Handle values above the maximum for IBM long double
12657 as inexact.
12658 * stdlib/tst-strtod-round.c (tests): Regenerated.
12659
14c996c8
AK
126602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12661
12662 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12663 assembler flag.
12664 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12665 zarch_nohighgprs around the zarch optimized routines.
12666 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12667 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12668 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12669 for zarch.
12670
430d6ce6
DM
126712012-09-05 David S. Miller <davem@davemloft.net>
12672
12673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12674
ff04dda4
DM
12675 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12676 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12677 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12678 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12679 entries.
12680
24d4e01b
AO
126812012-09-05 Alexandre Oliva <aoliva@redhat.com>
12682
12683 * malloc/arena.c: Fold copyright years.
12684 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12685
61d58174
AO
126862012-09-05 Alexandre Oliva <aoliva@redhat.com>
12687
12688 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12689
20196a5e
AO
126902012-09-05 Alexandre Oliva <aoliva@redhat.com>
12691
12692 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12693
5c447383
AO
126942012-09-05 Alexandre Oliva <aoliva@redhat.com>
12695
12696 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12697 change internal state upon failure.
12698
fad64255
AO
126992012-09-05 Alexandre Oliva <aoliva@redhat.com>
12700
12701 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12702 * malloc/memusage.c (mmap): Likewise.
12703 (mmap64, mremap): Likewise. Adjust name in comment.
12704
1ffb8c90
SP
127052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12706
12707 * libio/fileops.c: Fix typos in comments.
12708 * libio/oldfileops.c: Likewise.
12709 * libio/wfileops.c: Likewise.
12710
6ef9cc37
SP
127112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12712
12713 [BZ #1349]
12714 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12715 (tst-malloc-usable-ENV): Set environment for test case.
12716 * malloc/hooks.c (malloc_check_get_size): New function to get
12717 requested size.
12718 * malloc/malloc.c (musable): Use malloc_check_get_size.
12719 * malloc/tst-malloc-usable.c: New test case.
12720
4d038ae3
AS
127212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12722
12723 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12724
c4e85184
AM
127252012-09-05 Allan McRae <allan@archlinux.org>
12726
b9dafc56 12727 [BZ #13966]
c4e85184
AM
12728 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12729 determine header location.
12730 * configure: Regenerated.
12731
e1343020
AS
127322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12733
12734 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12735 float format.
12736 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12737 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12738 format.
e1343020
AS
12739 (test): Regenerate.
12740
0a9f1987
DM
127412012-09-04 David S. Miller <davem@davemloft.net>
12742
12743 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12744 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12745 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12746
29237804
FW
127472012-09-04 Florian Weimer <fweimer@redhat.com>
12748
12749 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12750 failures.
12751
edb3cb88
FW
12752 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12753
60160d83
JM
127542012-09-04 Joseph Myers <joseph@codesourcery.com>
12755
12756 [BZ #9914]
12757 * libio/iogetdelim.c: Include <limits.h>.
12758 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12759 + len + 1 would overflow.
12760
bcd6c8dc
AJ
127612012-09-03 Andreas Jaeger <aj@suse.de>
12762
12763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12764 * sysdeps/i386/fpu/libm-test-ulps: Update.
12765
4ffffbd2
LD
127662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12767
12768 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12769 Add s_sinf-sse2, s_conf-sse2.
12770
12771 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12772 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12773 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12774 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12775
12776 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12777 for using routine as __sinf_ia32.
12778 Use macro for function declaration and weak_alias.
12779 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12780 for using routine as __cosf_ia32.
12781 Use macro for function declaration and weak_alias.
12782
12783 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12784 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12785
12786 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12787 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12789
12790 * math/libm-test.inc (cos_test): Add more test cases.
12791 (sin_test): Likewise.
12792 (sincos_test): Likewise.
12793
511fa286
AK
127942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12795
12796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12797 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12798 hidden.
12799 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12800
5f30cfec
L
128012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12802
12803 [BZ #14538]
12804 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12805 first element of the GOT.
12806 (elf_machine_load_address): Return the difference between
12807 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12808
0786794f
AM
128092012-09-01 Allan McRae <allan@archlinux.org>
12810
5f30cfec
L
12811 [BZ #13412]
12812 * configure.in (AWK): Require gawk version 3.0 or later.
12813 * configure: Regenerated.
0786794f 12814
26889eac
JM
128152012-09-01 Joseph Myers <joseph@codesourcery.com>
12816
12817 * sysdeps/unix/sysv/linux/kernel-features.h
12818 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12819 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12820 [__NR_clock_getres]: Make code unconditional.
12821 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12822 (clock_getcpuclockid): Remove code left unreachable by removal of
12823 conditionals.
12824 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12825 code unconditional.
12826 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12827 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12828 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12829 Make code unconditional.
12830 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12831 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12832 * sysdeps/unix/sysv/linux/clock_settime.c
12833 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12834 conditional code.
12835 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12836 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12837
d22e28b0
L
128382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12839
12840 [BZ #14476]
12841 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12842 scripts/test-installation.pl.
12843
12844 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12845 and $ld_so_version if it is set.
12846
050af9c4
SP
128472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12848
12849 [BZ #14516]
12850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12851 failure if reading from procfs failed.
12852 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12853
ad845c0b
JM
128542012-08-27 Joseph Myers <joseph@codesourcery.com>
12855
12856 * sysdeps/unix/sysv/linux/kernel-features.h
12857 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12858 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12859 Remove conditional code.
12860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12861 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12862 Remove conditional code.
12863 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12864 * sysdeps/unix/sysv/linux/i386/fxstat.c
12865 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12866 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12867 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12868 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12870 * sysdeps/unix/sysv/linux/i386/lxstat.c
12871 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12873 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12874 Remove conditional code.
12875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12876 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12877 Remove conditional code.
12878 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12879 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12880 <kernel-features.h>.
12881 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12882 Remove.
12883 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12884 Remove conditional code.
12885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12886 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12887 Remove conditional.
12888
5dbf56af
MF
128892012-08-27 Mike Frysinger <vapier@gentoo.org>
12890
12891 [BZ #5400]
12892 * NEWS: Add fixed bug number.
12893
d6e70f43
JM
128942012-08-27 Joseph Myers <joseph@codesourcery.com>
12895
7efb4737
JM
12896 [BZ #14519]
12897 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12898 underflowing exponent in case of negative sign.
12899 * stdlib/tst-strtod-round-data: Add more tests.
12900 * stdlib/tst-strtod-round.c (tests): Regenerated.
12901
af92131a
JM
12902 [BZ #3479]
12903 * stdlib/strtod_l.c (NDIG): Remove.
12904 (HEXNDIG): Likewise.
12905 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12906 smallest representable value.
12907 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12908 lie within an exact representation of 1/2 ulp of the result.
12909 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12910 unconditionally.
12911 (TENS_P9_IDX): Define unconditionally.
12912 (TENS_P9_SIZE): Likewise.
12913 (TENS_P10_IDX): Likewise.
12914 (TENS_P10_SIZE): Likewise.
12915 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12916 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12917 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12918 entries for 10^2^13 and 10^2^14.
12919 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12920 (TENS_P13_IDX): Define.
12921 (TENS_P13_SIZE): Likewise.
12922 (TENS_P14_IDX): Likewise.
12923 (TENS_P14_SIZE): Likewise.
12924 (_fpioconst_pow10): Change array size to
12925 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12926 unconditional.
12927 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12928 1024]: Add entries for 10^2^13 and 10^2^14.
12929 [LAST_POW10 > _LAST_POW10]: Remove #error.
12930 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12931 (_fpioconst_pow10): Change array size to
12932 FPIOCONST_POW10_ARRAY_SIZE.
12933 * stdlib/gen-fpioconst.c: New file.
12934 * stdlib/gen-tst-strtod-round.c: Likewise.
12935 * stdlib/tst-strtod-round-data: Likewise.
12936 * stdlib/tst-strtod-round.c: Likewise.
12937 * stdlib/Makefile (tests): Add tst-strtod-round.
12938
d6e70f43
JM
12939 [BZ #14459]
12940 * stdlib/strtod_l.c: Include <stdint.h>.
12941 (NDEBUG): Do not define.
12942 (round_and_return): Change EXPONENT parameter to type intmax_t.
12943 Rearrange calculations to avoid internal overflow possibilities.
12944 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12945 Rearrange calculations to avoid internal overflow possibilities.
12946 Assert that number fits inside MPNSIZE limbs.
12947 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12948 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12949 calculations and add assertions to avoid internal overflow
12950 possibilities. Add casts to avoid signed/unsigned operations.
12951 * stdlib/tst-strtod-overflow.c: New file.
12952 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12953
1f529f7d
MP
129542012-08-25 Marek Polacek <polacek@redhat.com>
12955
12956 * time/time.h: Fix some typos in comments.
12957
59a629f1
RM
129582012-08-23 Roland McGrath <roland@hack.frob.com>
12959
12960 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12961 * posix/tst-rfc3484-2.c: Likewise.
12962 * posix/tst-rfc3484-3.c: Likewise.
12963
d3bafbc9
SM
129642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12965
12966 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12967 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12968
4efcc022
JM
129692012-08-23 Joseph Myers <joseph@codesourcery.com>
12970
12971 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12972 #include of fxstatat64.c.
12973
3cc3ef96
RM
129742012-08-22 Roland McGrath <roland@hack.frob.com>
12975
f04e2132
RM
12976 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12977 * shadow/getspent_r.c: Likewise.
12978 * shadow/getspnam.c: Likewise.
12979 * shadow/getspnam_r.c: Likewise.
12980 * gshadow/getsgent.c: Likewise.
12981 * gshadow/getsgent_r.c: Likewise.
12982 * gshadow/getsgnam.c: Likewise.
12983 * gshadow/getsgnam_r.c: Likewise.
12984 * inet/getnetbyad.c: Likewise.
12985 * inet/getnetbyad_r.c: Likewise.
12986 * inet/getnetbynm.c: Likewise.
12987 * inet/getnetbynm_r.c: Likewise.
12988 * inet/getnetent.c: Likewise.
12989 * inet/getnetent_r.c: Likewise.
12990 * inet/getproto.c: Likewise.
12991 * inet/getproto_r.c: Likewise.
12992 * inet/getprtent.c: Likewise.
12993 * inet/getprtent_r.c: Likewise.
12994 * inet/getprtname.c: Likewise.
12995 * inet/getprtname_r.c: Likewise.
12996 * inet/getrpcbyname.c: Likewise.
12997 * inet/getrpcbyname_r.c: Likewise.
12998 * inet/getrpcbynumber.c: Likewise.
12999 * inet/getrpcbynumber_r.c: Likewise.
13000 * inet/getrpcent.c: Likewise.
13001 * inet/getrpcent_r.c: Likewise.
13002 * inet/getaliasent.c: Likewise.
13003 * inet/getaliasent_r.c: Likewise.
13004 * inet/getaliasname.c: Likewise.
13005 * inet/getaliasname_r.c: Likewise.
13006 * nscd/getgrgid_r.c: Likewise.
13007 * nscd/getgrnam_r.c: Likewise.
13008 * nscd/gethstbyad_r.c: Likewise.
13009 * nscd/gethstbynm3_r.c: Likewise.
13010 * nscd/getpwnam_r.c: Likewise.
13011 * nscd/getpwuid_r.c: Likewise.
13012 * nscd/getsrvbynm_r.c: Likewise.
13013 * nscd/getsrvbypt_r.c: Likewise.
13014 * nscd/gai.c: Likewise.
13015
c53d909c
RM
13016 * configure.in (build_nscd): New substituted variable, set
13017 by --disable-build-nscd and defaults to $use_nscd.
13018 * configure: Regenerated.
13019 * config.make.in (build-nscd): New substituted variable.
13020 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13021 Change conditional to require [$(build-nscd) = yes] as well.
13022 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13023
3cc3ef96
RM
13024 [BZ# 13696]
13025 * configure.in (use_nscd): New substituted variable, set by
13026 --disable-nscd. If enabled, define USE_NSCD.
13027 * configure: Regenerated.
13028 * config.h.in: Add USE_NSCD.
13029 * config.make.in (use-nscd): New substituted variable.
13030 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13031 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13032 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13033 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13034 (CFLAGS-getgrnam_r.c): Likewise.
13035 (CFLAGS-initgroups.c): Likewise.
13036 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13037 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13038 Variables removed.
13039 * inet/getnetgrent_r.c
13040 (nscd_setnetgrent): New function, broken out of ...
13041 (setnetgrent): ... here. Call it.
13042 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13043 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13044 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13045 * nscd/Makefile (routines, aux): Move definitions after include of
13046 Makeconfig. Conditionalize on [$(use-nscd) != no].
13047 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13048 Conditionalize on [USE_NSCD].
13049 (is_nscd, nscd_init_cb): Likewise.
13050 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13051 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13052 * nss/nss_db/db-init.c: Likewise.
13053 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13054 [USE_NSCD].
13055 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13056 (make_request): Use it.
13057 (cache_valid_p): New function.
13058 (__check_pf): Use it.
13059 * NEWS: Add item for --disable-nscd.
13060
07e51550
DL
130612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13062
13063 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13064 to support sed >= 4.2.1-20-ga9bf076.
13065 * configure: Regenerated.
13066
35a5b08b
RM
130672012-08-22 Roland McGrath <roland@hack.frob.com>
13068
13069 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13070 Conditionalize whole body on [IREL].
13071
8479f23a
JL
130722012-08-22 Jeff Law <law@redhat.com>
13073
13074 [BZ #14505]
13075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13076 if the family is PF_UNSPEC.
13077
48da0b21
MF
130782012-08-22 Mike Frysinger <vapier@gentoo.org>
13079
13080 * Makerules (lib-version): Rename from V.
13081 (install-lib-nosubdir): Change V to lib-version.
13082
15d0da8c
WS
130832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13084
13085 [BZ #14252]
13086 * powerpc32/power6/wcschr.c: New file.
13087 * powerpc32/power6/wcscpy.c: New file.
13088 * powerpc32/power6/wcsrchr.c: New file.
13089 * powerpc64/power6/wcschr.c: New file.
13090 * powerpc64/power6/wcscpy.c: New file.
13091 * powerpc64/power6/wcsrchr.c: New file.
13092
bcca0895
MK
130932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13094
13095 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13096 (two_way_short_needle): Use it.
5a4aaa33
RM
13097 * string/strstr.c (AVAILABLE1_USES_J): Define.
13098 * string/strcasestr.c: Likewise.
99677e57
MK
13099
13100 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13101 array references.
13102 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13103
400726de
MK
13104 [BZ #11607]
13105 * NEWS: Add an entry.
13106 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13107 define their defaults.
13108 (two_way_short_needle): Detect end-of-string on-the-fly.
13109 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13110 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13111 * string/bug-strcasestr1.c: New test.
13112 * string/Makefile: Run it.
13113
20a71f2c
MK
131142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13115
13116 [BZ #11607]
13117 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13118 the first character.
13119
21ad0558
RM
131202012-08-21 Roland McGrath <roland@hack.frob.com>
13121
13122 * csu/elf-init.c (__libc_csu_irel): Function removed.
13123 * csu/libc-start.c (apply_irel): New function.
13124 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13125
0e1d9911
JM
131262012-08-21 Joseph Myers <joseph@codesourcery.com>
13127
13128 * sysdeps/unix/sysv/linux/kernel-features.h
13129 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13130 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13131 <kernel-features.h>.
13132 [__NR_fadvise64_64]: Make code unconditional.
13133 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13134 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13135 !__NR_fadvise64_64)]: Likewise.
13136 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13137 !__NR_fadvise64_64))]: Likewise.
13138 [__NR_fadvise64]: Make code unconditional.
13139 [!__NR_fadvise64]: Remove conditional code.
13140 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13141 <kernel-features.h>.
13142 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13143 unconditional.
13144 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13145 conditional code.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13147 not include <kernel-features.h>.
13148 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13149 unconditional.
13150 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13151 conditional code.
13152 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13153 include <kernel-features.h>.
13154 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13155 unconditional.
13156 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13157 conditional code.
13158
14a50c9d
WS
131592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13160
13161 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13162 slight instruction rearrangements per scrollpipe analysis.
13163 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13164
c0f4faf0
RM
131652012-08-20 Roland McGrath <roland@hack.frob.com>
13166
696da859
RM
13167 * manual/syslog.texi (syslog; vsyslog, closelog):
13168 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13169 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13170
c0f4faf0
RM
13171 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13172 DSOCAPS to match condition on defining it.
13173
348363b2
JM
131742012-08-20 Joseph Myers <joseph@codesourcery.com>
13175
a35cbf28
JM
13176 * sysdeps/unix/sysv/linux/kernel-features.h
13177 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13179 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13180 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13182 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13183 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13185 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13186 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13187
445f7ecd
JM
13188 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13189 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13190
348363b2
JM
13191 * sysdeps/unix/sysv/linux/kernel-features.h
13192 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13193 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13194 unconditional.
13195 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13196 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13197 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13198 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13199 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13200 Make code unconditional.
13201 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13202 (__mmap64) [!__NR_mmap2]: Likewise.
13203 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13204 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13205 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13206 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13207 [__NR_mmap2]: Make code unconditional.
13208 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13209 (__mmap64) [!__NR_mmap2]: Likewise.
13210
bc5bc0e5
AK
132112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13212
13213 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13214
88d506de
AJ
132152012-08-18 Andreas Jaeger <aj@suse.de>
13216
13217 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13218
493387d2
MF
132192012-08-18 Mike Frysinger <vapier@gentoo.org>
13220
13221 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13222 * include/unistd.h (__have_sock_cloexec): Likewise.
13223 (__have_pipe2): Likewise.
13224 (__have_dup3): Likewise.
13225
a277af22
MF
132262012-08-18 Mike Frysinger <vapier@gentoo.org>
13227
13228 [BZ #9685]
13229 * include/unistd.h (__have_pipe2): Change define into an extern int.
13230 (__have_dup3): Likewise.
13231 * socket/have_sock_cloexec.c: Include fcntl.h.
13232 (__have_pipe2): New variable.
13233 (__have_dup3): Likewise.
13234
fdab8fd3
MF
132352012-08-17 Mike Frysinger <vapier@gentoo.org>
13236
13237 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13238
31035e80
MP
132392012-08-17 Marek Polacek <polacek@redhat.com>
13240
13241 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13242 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13243
3bd9e993
RM
132442012-08-17 Roland McGrath <roland@hack.frob.com>
13245
c91c505f
RM
13246 * configure.in: Add AC_SUBST for sysheaders.
13247 * configure: Regenerated.
13248 * config.make.in (sysheaders): New substituted variable.
13249
7c6f9d53
RM
13250 * sysdeps/unix/mkfifo.c: Moved ...
13251 * sysdeps/posix/mkfifo.c: ... here.
13252 * sysdeps/unix/mkfifoat.c: Moved ...
13253 * sysdeps/posix/mkfifoat.c: ... here.
13254
13255 * sysdeps/unix/utime.c: Moved ...
13256 * sysdeps/posix/utime.c: ... here.
13257
13258 * sysdeps/unix/time.c: Moved ...
13259 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13260 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13261 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13262
13263 * sysdeps/unix/nice.c: Moved ...
13264 * sysdeps/posix/nice.c: ... here.
13265
13266 * sysdeps/unix/alarm.c: Moved ...
13267 * sysdeps/posix/alarm.c: ... here.
13268
3bd9e993
RM
13269 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13270
d1f09384
JL
132712012-08-17 Jeff Law <law@redhat.com>
13272
13273 * intl/Makefile (codeset_mo): New variable.
13274 ($(codeset_mo)): New target.
13275 (tst-codeset.out): Depend on that. Remove explicit rule.
13276 (tst-gettext3.out, tst-gettext5.out): Likewise.
13277 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13278 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13279 * intl/tst-codeset.sh: Remove.
13280 * intl/tst-gettext3.sh: Likewise.
13281 * intl/tst-gettext5.sh: Likewise.
13282
2ae1ae5c
RM
132832012-08-17 Roland McGrath <roland@hack.frob.com>
13284
c31fdb83
RM
13285 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13286 * sysdeps/unix/syscalls.list: ... here.
13287
a0844057
RM
13288 * sysdeps/posix/getaddrinfo.c
13289 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13290 (gaiconf_init, gaiconf_reload): Use them.
13291 [!_STATBUF_ST_NSEC]
13292 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13293 Define using time_t rather than struct timespec.
13294
750c1f2a
RM
13295 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13296 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13297 Macros removed.
13298 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13299 [!NO_THREADS].
13300 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13301 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13302 Likewise.
13303
2ae1ae5c
RM
13304 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13305 __libc_cleanup_push argument.
13306
e66a42f5
RM
13307 * bits/param.h: New file.
13308 * misc/sys/param.h: New file.
13309 * include/sys/param.h: New file.
13310 * misc/Makefile (headers): Add bits/param.h.
13311 * sysdeps/generic/sys/param.h: File removed.
13312 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13313 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13314 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13315 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13316
b7c08a66
RM
13317 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13318 last change.
13319
b2e1c562
RM
13320 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13321 [_IO_MTSAFE_IO].
13322 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13323 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13324 New macros.
13325
c75ccd4c
RM
13326 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13327 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13328 rather than -D_IO_MTSAFE_IO conditionally.
13329 * stdio-common/Makefile (CPPFLAGS): Likewise.
13330 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13331 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13332 Use $(libio-mtsafe).
13333 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13334 of -D_IO_MTSAFE_IO.
13335 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13336 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13337 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13338 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13339 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13340 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13341 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13342 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13343 (CFLAGS-fread_u_chk.c): Likewise.
13344 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13345 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13346 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13347 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13348 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13349 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13350 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13351 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13352 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13353
13354 * libio/Makefile: Test [$(libc-reentrant) = yes]
13355 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13356
13357 * Makeconfig
13358 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13359 * sysdeps/pthread/configure: File removed.
13360 * sysdeps/pthread/Makeconfig: New file.
13361 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13362 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13363
d9195db8
GB
133642012-08-16 Gary Benson <gbenson@redhat.com>
13365
13366 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13367 unmapping the first object in a namespace.
13368
86466cd9
RM
133692012-08-16 Roland McGrath <roland@hack.frob.com>
13370
13371 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13372 (__internal_setnetgrent): ... this. Add internal_function to
13373 definition. Add libc_hidden_def.
13374 (setnetgrent): Update caller.
13375 (internal_endnetgrent): Renamed to ...
13376 (__internal_endnetgrent): ... this. Add internal_function to
13377 definition. Add libc_hidden_def.
13378 (endnetgrent): Update caller.
13379 (internal_getnetgrent_r): Renamed to ...
13380 (__internal_getnetgrent_r): ... this. Add internal_function to
13381 definition. Add libc_hidden_def.
13382 (__getnetgrent_r): Update caller.
13383 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13384
c3c8283c
JM
133852012-08-16 Joseph Myers <joseph@codesourcery.com>
13386
13387 * stdlib/longlong.h: Update from GCC.
13388
db1ee0a8
RM
133892012-08-16 Roland McGrath <roland@hack.frob.com>
13390
13391 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13392 on _QL, which is set by umul_ppmm but never used.
13393 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13394 variables, which are set by GMP macros but never used.
13395 * stdio-common/_itowa.c (_itowa): Likewise.
13396 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13397 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13398
30f69637
CD
133992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13400
13401 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13402 struct La_sh_regs is not constant.
13403 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13404 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13405 and struct La_sparc64_regs are not constant.
13406
93a78ac4
JM
134072012-08-16 Joseph Myers <joseph@codesourcery.com>
13408
13409 * sysdeps/unix/sysv/linux/kernel-features.h
13410 (__ASSUME_POSIX_TIMERS): Remove.
13411 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13412 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13413 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13414 Make code unconditional.
13415 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13416 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13417 Make code unconditional.
13418 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13419 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13420 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13421 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13422 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13423 Make code unconditional.
13424 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13425 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13426 (__libc_missing_posix_timers): Remove.
13427
dd924cd7
RM
134282012-08-15 Roland McGrath <roland@hack.frob.com>
13429
4b4f2771
RM
13430 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13431 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13432
601c888b
RM
13433 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13434
176790a7
RM
13435 * elf/dl-sym.c: Include <stdlib.h>.
13436
329bc018
RM
13437 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13438 constants, which avoids warnings in 32-bit builds.
13439
e04e272d
RM
13440 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13441 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13442
952bf94a
RM
13443 * misc/lseek.c: File moved to ...
13444 * io/lseek.c: ... here.
13445
7c99b50a
RM
13446 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13447
dd924cd7
RM
13448 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13449 shifting LEN more than 31 bits at once.
13450
b3f479a8
LD
134512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13452
13453 [BZ #14195]
8c4ae0d4
RM
13454 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13455 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13456 * string/test-strncasecmp.c (check1): Renamed to...
13457 (bz12205): ...this.
13458 (bz14195): Add new testcase for two empty input strings and N > 0.
13459 (test_main): Call new testcase, adapt for renamed function.
13460
9c55864e
AJ
134612012-08-15 Andreas Jaeger <aj@suse.de>
13462
13463 [BZ #14090]
13464 * crypt/md5test2.c: New test, based on test supplied by Serge
13465 Belyshev <belyshev@depni.sinp.msu.ru>.
13466 * crypt/Makefile (xtests): Add md5test-giant..
13467 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13468
02dcb6c5
PE
134692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13470
13471 [BZ #14090]
13472 * crypt/md5.c (md5_process_block): Don't assume the buffer
13473 length is less than 2**32.
13474 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13475 length is less than 2**64.
13476
a3f95dcc
RM
134772012-08-15 Roland McGrath <roland@hack.frob.com>
13478
be75d758
RM
13479 * string/str-two-way.h: Include <sys/param.h>.
13480 (MAX): Macro removed.
13481
7312ca90
RM
13482 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13483 Move #define and #undef of memmove to just before and after
13484 including <string.h>.
13485
9a0a5486
RM
13486 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13487 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13488 and after including <string.h>. Move declarations of
13489 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13490 to before #include "string/memmove.c".
13491
67cc348d
RM
13492 * include/dirent.h: Declare __getdirentries.
13493
a3f95dcc
RM
13494 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13495 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13496
ca98e171
MF
134972012-08-14 Mike Frysinger <vapier@gentoo.org>
13498
13499 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13500 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13501 * sysdeps/i386/configure: Regenerated.
13502 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13503 STABS_CURRENT_FILE, and STABS_FUN.
13504 (END): Remove call to STABS_FUN_END.
13505 (STABS_CURRENT_FILE1): Delete.
13506 (STABS_CURRENT_FILE): Likewise.
13507 (STABS_FUN): Likewise.
13508 (STABS_FUN_END): Likewise.
13509 (STABS_FUN2): Likewise.
13510 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13511 * sysdeps/x86_64/configure: Regenerated.
13512
5908bf46
RM
135132012-08-14 Roland McGrath <roland@hack.frob.com>
13514
13515 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13516 * elf/dl-lookup.c: Likewise.
5908bf46 13517
f2c05b9e
JM
135182012-08-14 Joseph Myers <joseph@codesourcery.com>
13519
13520 * sysdeps/unix/sysv/linux/kernel-features.h
13521 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13522 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13523 unconditionally.
13524 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13525 unconditionally.
13526 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13527 condition on __ASSUME_CLONE_THREAD_FLAGS.
13528
e11f5155
AJ
135292012-08-14 Andreas Jaeger <aj@suse.de>
13530
13531 * sysdeps/i386/fpu/libm-test-ulps: Update.
13532
51a9ba86
MK
135332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13534
2fdd4f78
AJ
13535 * include/atomic.h (atomic_exchange_and_add): Split into ...
13536 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13537 New atomic macros.
51a9ba86 13538
ba6cba9e
MT
135392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13540
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13542
42443a47
JL
135432012-08-13 Jeff Law <law@redhat.com>
13544
13545 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13546 null byte in the output string.
13547
121dce05
JM
135482012-08-10 Joseph Myers <joseph@codesourcery.com>
13549
13550 * sysdeps/unix/sysv/linux/kernel-features.h
13551 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13552 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13553 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13554 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13555 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13556 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13557 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13558
bf51f568
JL
135592012-08-09 Jeff Law <law@redhat.com>
13560
13561 [BZ #13939]
13562 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13563 When avoid_arena is set, don't retry in the that arena. Pick the
13564 next one, whatever it might be.
13565 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13566 (arena_lock): Pass in new parameter to arena_get2.
13567 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13568 arena_get2.
13569 (__libc_malloc): Unify retrying after main arena failure with
13570 __libc_memalign version.
13571 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13572
f85fa270
L
135732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13574
13575 [BZ #14166]
13576 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13577 to __redirect_strstr.
13578 (__strstr_sse42): Use typeof __redirect_strstr.
13579 (__strstr_ia32): Likewise.
13580 (__libc_strstr): New prototype.
13581 (strstr): Renamed to ...
13582 (__libc_strstr): This.
13583 (strstr): New strong alias of __libc_strstr.
13584 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13585 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13586 __redirect_time.
13587 Include <time.h>.
13588 (__libc_time): New prototype.
13589 (time_ifunc): Replace time with __libc_time.
13590 (time): New strong alias and hidden definition of __libc_time.
13591 (__GI_time): Remove strong alias.
13592 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13593 Include <stddef.h>.
13594 (memmove): Redefined to __redirect_memmove.
13595 (__memmove_sse2): Use typeof __redirect_memmove.
13596 (__memmove_ssse3): Likewise.
13597 (__memmove_ssse3_back): Likewise.
13598 (__libc_memmove): New prototype.
13599 (memmove): Renamed to ...
13600 (__libc_memmove): This.
13601 (memmove): New strong alias of __libc_memmove.
13602
33b4a91e
MS
136032012-08-08 Mark Salter <msalter@redhat.com>
13604
13605 * elf/elf.h
13606 (R_MN10300_TLS_GD): Define.
13607 (R_MN10300_TLS_LD): Likewise.
13608 (R_MN10300_TLS_LDO): Likewise.
13609 (R_MN10300_TLS_GOTIE): Likewise.
13610 (R_MN10300_TLS_IE): Likewise.
13611 (R_MN10300_TLS_LE): Likewise.
13612 (R_MN10300_TLS_DTPMOD): Likewise.
13613 (R_MN10300_TLS_DTPOFF): Likewise.
13614 (R_MN10300_TLS_TPOFF): Likewise.
13615 (R_MN10300_SYM_DIFF): Likewise.
13616 (R_MN10300_ALIGN): Likewise.
13617 (R_MN10300_NUM): Update.
13618
b36137f1
JM
136192012-08-08 Joseph Myers <joseph@codesourcery.com>
13620
13621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13622 Remove.
13623
cdd915fd
RM
136242012-08-08 Roland McGrath <roland@hack.frob.com>
13625
a2433aac
RM
13626 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13627
cdd915fd
RM
13628 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13629 sysdeps/unix -> sysdeps/posix move.
13630 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13631
bf9b740a
AM
136322012-08-07 Allan McRae <allan@archlinux.org>
13633
13634 [BZ #14303]
13635 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13636 (SUNOS_CPP): Likewise.
13637 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13638 not found.
13639 (open_input): Call CPP using execvp.
13640
93df14ee
JM
136412012-08-07 Joseph Myers <joseph@codesourcery.com>
13642
13643 * sysdeps/unix/sysv/linux/kernel-features.h
13644 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13645 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13646 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13647 (__ASSUME_WAITID_SYSCALL): Likewise.
13648 * sysdeps/unix/sysv/linux/dl-execstack.c
13649 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13650 code unconditional.
13651 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13652 conditional code.
13653 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13654 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13655 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13656 code.
13657 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13658 unconditional.
13659 [__ASSUME_WAITID_SYSCALL]: Likewise.
13660 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13661
d34689de
RM
136622012-08-07 Roland McGrath <roland@hack.frob.com>
13663
a281decc
RM
13664 * sysdeps/unix/closedir.c: Renamed to ...
13665 * sysdeps/posix/closedir.c: ... here.
13666 * sysdeps/unix/dirfd.c: Renamed to ...
13667 * sysdeps/posix/dirfd.c: ... here.
13668 * sysdeps/unix/dirstream.h: Renamed to ...
13669 * sysdeps/posix/dirstream.h: ... here.
13670 * sysdeps/unix/fdopendir.c: Renamed to ...
13671 * sysdeps/posix/fdopendir.c: ... here.
13672 * sysdeps/unix/opendir.c: Renamed to ...
13673 * sysdeps/posix/opendir.c: ... here.
13674 * sysdeps/unix/readdir.c: Renamed to ...
13675 * sysdeps/posix/readdir.c: ... here.
13676 * sysdeps/unix/readdir_r.c: Renamed to ...
13677 * sysdeps/posix/readdir_r.c: ... here.
13678 * sysdeps/unix/rewinddir.c: Renamed to ...
13679 * sysdeps/posix/rewinddir.c: ... here.
13680 * sysdeps/unix/seekdir.c: Renamed to ...
13681 * sysdeps/posix/seekdir.c: ... here.
13682 * sysdeps/unix/telldir.c: Renamed to ...
13683 * sysdeps/posix/telldir.c: ... here.
13684 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13685 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13686 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13687 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13688
22895b47
RM
13689 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13690 * bits/fcntl.h: ... here.
13691
707a53b6
RM
13692 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13693 not 0.
13694 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13695 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13696 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13697 (struct flock): Move l_start, l_len to the beginning.
13698 Use __pid_t for l_pid.
13699 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13700 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13701 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13702 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13703 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13704 [__USE_LARGEFILE64] (struct flock64): New type.
13705 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13706
f0bd3e25
RM
13707 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13708 * bits/dirent.h: ... here.
13709
d34689de
RM
13710 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13711 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13712
6dad2c06
JM
137132012-08-07 Joseph Myers <joseph@codesourcery.com>
13714
13715 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13716 Change from 2.6.0 to 2.6.16.
13717 * sysdeps/unix/sysv/linux/configure: Regenerated.
13718 * sysdeps/unix/sysv/linux/kernel-features.h
13719 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13720 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13721 version.
13722 (__ASSUME_UTIMES): Likewise.
13723 (__ASSUME_CLONE_STOPPED): Remove.
13724 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13725 architectures, not kernel version.
13726 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13727 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13728 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13729 (__ASSUME_WAITID_SYSCALL): Likewise.
13730 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13731 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13732 * README: State 2.6.16 as minimum Linux kernel version. Do not
13733 refer to older versions.
13734
03af9520
RM
137352012-08-06 Roland McGrath <roland@hack.frob.com>
13736
8e49df1d
RM
13737 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13738 Define alphasort64 as an alias.
13739 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13740 Define versionsort64 as an alias.
13741 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13742 Define scandir64 as an alias.
13743 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13744 Define scandirat64 as an alias.
13745 * dirent/alphasort64.c (alphasort64):
13746 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13747 * dirent/versionsort64.c: Likewise.
13748 * dirent/scandir64.c: Likewise.
13749 * dirent/scandirat64.c: Likewise.
13750 * sysdeps/wordsize-64/alphasort.c: File removed.
13751 * sysdeps/wordsize-64/alphasort64.c: File removed.
13752 * sysdeps/wordsize-64/scandir.c: File removed.
13753 * sysdeps/wordsize-64/scandir64.c: File removed.
13754 * sysdeps/wordsize-64/scandirat.c: File removed.
13755 * sysdeps/wordsize-64/scandirat64.c: File removed.
13756 * sysdeps/wordsize-64/versionsort.c: File removed.
13757 * sysdeps/wordsize-64/versionsort64.c: File removed.
13758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13765 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13766
13767 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13769 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13771 [defined __arch64__ || defined __sparcv9]
13772 (__INO_T_MATCHES_INO64_T): New macro.
13773 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13774 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13775 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13776 * sysdeps/unix/sysv/linux/bits/dirent.h
13777 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13778 (_DIRENT_MATCHES_DIRENT64): New macro.
13779
03af9520
RM
13780 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13781 Define lockf64 as an alias.
13782 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13783 Define fseeko64 as an alias.
13784 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13785 Define ftello64 as an alias.
13786 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13787 Define _IO_fgetpos64 and fgetpos64 as aliases.
13788 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13789 Define _IO_fsetpos64 and fsetpos64 as aliases.
13790 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13791 Conditionalize body on this.
13792 * libio/fseeko64.c: Likewise.
13793 * libio/ftello64.c: Likewise.
13794 * libio/iofgetpos64.c: Likewise.
13795 * libio/iofsetpos64.c: Likewise.
13796 * sysdeps/wordsize-64/lockf.c: File removed.
13797 * sysdeps/wordsize-64/lockf64.c: File removed.
13798 * sysdeps/wordsize-64/fseeko.c: File removed.
13799 * sysdeps/wordsize-64/fseeko64.c: File removed.
13800 * sysdeps/wordsize-64/ftello.c: File removed.
13801 * sysdeps/wordsize-64/ftello64.c: File removed.
13802 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13803 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13804 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13805 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13809 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13811 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13815 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13816
13817 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13818 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13819 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13821 [defined __arch64__ || defined __sparcv9]
13822 (__OFF_T_MATCHES_OFF64_T): New macro.
13823 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13824 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13826 (__OFF_T_MATCHES_OFF64_T): New macro.
13827
c5757acd
L
138282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13829
13830 * stdlib/secure-getenv.c (__secure_getenv): Replace
13831 GLIBC_2_16 with GLIBC_2_17.
13832
3a31811e
L
138332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13837
faa2bccb
DM
138382012-08-03 David S. Miller <davem@davemloft.net>
13839
13840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13841
85fe1997
JM
138422012-08-03 Joseph Myers <joseph@codesourcery.com>
13843
13844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13845 Remove.
13846 (__ASSUME_CORRECT_SI_PID): Likewise.
13847 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13848 (__ASSUME_TMPFS_NAME): Likewise.
13849 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13850 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13851 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13852 (HAVE_AUX_SECURE): Make definition unconditional.
13853 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13854 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13855
4f75b7a0
RM
138562012-08-03 Roland McGrath <roland@hack.frob.com>
13857
13858 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13859 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13860 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13861 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13862 __eloop_threshold instead of SYMLOOP_MAX.
13863
13864 * sysdeps/generic/eloop-threshold.h: New file.
13865 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13866 of MAXSYMLINKS.
13867 * elf/chroot_canon.c (chroot_canon): Likewise.
13868
7aab07e4
JM
138692012-08-03 Joseph Myers <joseph@codesourcery.com>
13870
13871 [BZ #13717]
13872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13873 Change to 2.6.0 everywhere.
13874 * sysdeps/unix/sysv/linux/configure: Regenerated.
13875 * sysdeps/unix/sysv/linux/kernel-features.h
13876 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13877 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13878 kernel versions.
13879 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13880 (__ASSUME_FUTEX_REQUEUE): Remove.
13881 (__ASSUME_STATFS64): Define unconditionally.
13882 (__ASSUME_AT_SECURE): Likewise.
13883 (__ASSUME_CORRECT_SI_PID): Likewise.
13884 (__ASSUME_TGKILL): Define without depending on kernel version for
13885 i386.
13886 (__ASSUME_UTIMES): Likewise.
13887 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13888 kernel version.
13889 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13890 (__ASSUME_TMPFS_NAME): Likewise.
13891 * README: Update reference to Linux kernel versions.
13892
b67e9372
MP
138932012-08-02 Marek Polacek <polacek@redhat.com>
13894
1f529f7d 13895 [BZ# 14150]
b67e9372
MP
13896 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13897 libc_cv_asm_type_prefix with %.
13898 * configure: Regenerated.
d2441631
RM
13899 * include/libc-symbols.h: Remove comment about
13900 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13901 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13902 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13903 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13904 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13905 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13906 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13907 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13908 * elf/tst-unique2mod1.c: Likewise.
13909 * elf/tst-unique1mod2.c: Likewise.
13910 * elf/tst-unique1mod1.c: Likewise.
13911 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13912 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13913 Replace ASM_TYPE_DIRECTIVE with .type.
13914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13915 * sysdeps/i386/sysdep.h: Likewise.
13916 * sysdeps/x86_64/sysdep.h: Likewise.
13917 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13919 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13920 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13921 * sysdeps/powerpc/powerpc32/sysdep.h:
13922 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13923 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13924 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13925 * sysdeps/i386/fpu/e_powf.S: Likewise.
13926 * sysdeps/i386/fpu/e_expl.S: Likewise.
13927 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13928 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13929 * sysdeps/i386/fpu/e_pow.S: Likewise.
13930 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13931 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13932 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13933 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13934 * sysdeps/i386/fpu/e_log2.S: Likewise.
13935 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13936 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13937 * sysdeps/i386/fpu/e_powl.S: Likewise.
13938 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13939 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13940 * sysdeps/i386/fpu/e_logl.S: Likewise.
13941 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13942 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13943 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13945 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13946 * sysdeps/i386/fpu/e_log.S: Likewise.
13947 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13948 * sysdeps/i386/fpu/e_logf.S: Likewise.
13949 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13950 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13951 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13952 * sysdeps/i386/fpu/e_log10.S: Likewise.
13953 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13954 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13955 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13956 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13957 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13958 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13959 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13960 * sysdeps/i386/i686/strtok.S: Likewise.
13961 * sysdeps/i386/i386-mcount.S: Likewise.
13962 * sysdeps/i386/strtok.S: Likewise.
13963 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13964 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13965 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13966 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13967 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13968 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13969 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13970 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13972 * sysdeps/x86_64/_mcount.S: Likewise.
13973 * sysdeps/x86_64/strtok.S: Likewise.
13974 * sysdeps/sh/_mcount.S: Likewise.
13975
2747bf9a
RM
139762012-08-01 Roland McGrath <roland@hack.frob.com>
13977
13978 * libio/iofopen.c: Include <fcntl.h>.
13979 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13980 (_IO_fopen64, fopen64): Define as aliases.
13981 * libio/iofopen64.c: Include <fcntl.h>.
13982 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13983 Conditionalize body on this.
13984 * sysdeps/wordsize-64/iofopen.c: File removed.
13985 * sysdeps/wordsize-64/iofopen64.c: File removed.
13986
3fb791b8
MP
139872012-08-01 Marek Polacek <polacek@redhat.com>
13988
13989 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13990 Use dlfcn directly instead of a variable.
13991 (binfmt-subdir): Do not define.
13992 (dlfcn): Likewise.
13993
a9f1039f
JM
139942012-08-01 Joseph Myers <joseph@codesourcery.com>
13995
23bddc06
JM
13996 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13997 Remove all definitions.
13998 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13999 <kernel-features.h>.
14000 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14001 (miss_F_GETOWN_EX): Remove all definitions.
14002 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14003 macro definition.
14004 [!__ASSUME_FCNTL64]: Remove conditional code.
14005 [__ASSUME_FCNTL64]: Make code unconditional.
14006 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14007 <kernel-features.h>.
14008 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14009 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14010 (lockf64) [__NR_fcntl64]: Make code unconditional.
14011 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14012
a9f1039f
JM
14013 * sysdeps/unix/sysv/linux/kernel-features.h
14014 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14015 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14016 Make code unconditional.
14017 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14018 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14020 [__NR_vfork]: Make code unconditional.
14021 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14022 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14024 [__NR_vfork]: Make code unconditional.
14025 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14026 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14027
09c0ee5f
RM
140282012-08-01 Roland McGrath <roland@hack.frob.com>
14029
48aec5b9
RM
14030 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14031 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14032
cd97c966
RM
14033 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14034 Define mkstemp64 as an alias.
3f55550c
RM
14035 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14036 Define mkstemps64 as an alias.
cd97c966
RM
14037 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14038 Define mkostemp64 as an alias.
b8625cfc
RM
14039 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14040 Define mkostemps64 as an alias.
cd97c966
RM
14041 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14042 Conditionalize body on this.
14043 * misc/mkostemp64.c: Likewise.
b8625cfc 14044 * misc/mkostemps64.c: Likewise.
3f55550c 14045 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14046 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14047 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14048 * sysdeps/wordsize-64/mkostemp.c: File removed.
14049 * sysdeps/wordsize-64/mkstemp.c: File removed.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14054
09c0ee5f
RM
14055 [BZ #14138]
14056 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14057 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14058 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14059 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14060
14061 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14062 compat_symbol macros from <shlib-compat.h> rather than the underlying
14063 default_symbol_version and symbol_version macros, so that DEFAULT
14064 lines in shlib-versions are respected.
14065 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14066
7e66ee51
FW
140672012-08-01 Florian Weimer <fweimer@redhat.com>
14068
14069 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14070 Declare with warn_unused_result.
14071 (setgid, setregid, setegid, setresgid): Likewise.
14072 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14073 Likewise.
14074 * WUR-REPORT: Remove set*id functions.
14075
d2a54255
PT
140762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14077
14078 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14079
7ecdb005
RM
140802012-07-31 Roland McGrath <roland@hack.frob.com>
14081
b4180a5e 14082 [BZ #10191]
789bd351
RM
14083 * include/sys/socket.h (__libc_accept, __libc_accept4):
14084 Add attribute_hidden.
14085 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14086
40ce302d
RM
14087 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14088 use of PTR_MANGLE.
14089 * inet/getnetgrent_r.c (setup): Likewise.
14090
7ecdb005
RM
14091 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14092
e2eabb2c
DM
140932012-07-31 David S. Miller <davem@davemloft.net>
14094
14095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14096
d0419dbf
JM
140972012-07-31 Joseph Myers <joseph@codesourcery.com>
14098
14099 [BZ #13629]
14100 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14101 value between 1.0 and 2.0 and smaller part has absolute value less
14102 than 1.0.
14103 * math/s_clog10.c (__clog10): Likewise.
14104 * math/s_clog10f.c (__clog10f): Likewise.
14105 * math/s_clog10l.c (__clog10l): Likewise.
14106 * math/s_clogf.c (__clogf): Likewise.
14107 * math/s_clogl.c (__clogl): Likewise.
14108 * math/libm-test.inc (clog_test): Add more tests.
14109 (clog10_test): Likewise.
14110 * sysdeps/i386/fpu/libm-test-ulps: Update.
14111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14112
2bc13872
FW
141132012-07-31 Florian Weimer <fweimer@redhat.com>
14114
14115 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14116 Exit with zero in case no suitable GID is found, and write a
14117 message to standard error.
14118
bea9b193
RM
141192012-07-30 Roland McGrath <roland@hack.frob.com>
14120
14121 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14122 rather than to 1.
14123 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14124 (MAXPATHLEN): Removed.
14125 (NOGROUP, NODEV): New macros.
14126 (setbit, clrbit, isset, isclr): New macros.
14127 (howmany, roundup, powerof2): New macros.
14128 (DEV_BSIZE): New macro.
14129
14130 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14131 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14132
14133 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14134 definition on [!__NO_LONG_DOUBLE_MATH].
14135
14136 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14137 PTR_MANGLE and PTR_DEMANGLE.
14138
14139 * socket/accept4.c (accept4): Rename to __libc_accept4.
14140 Define accept4 as a weak alias.
14141
14142 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14143 on [_DIRENT_HAVE_D_TYPE].
14144 * io/ftw.c (ftw_dir): Likewise.
14145
14146 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14147
14148 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14149
14150 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14151 Use the BSD numbers rather than the arbitrary ones we had.
14152 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14153 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14154 (SIGXCPU, SIGXFSZ): New macros.
14155 (_NSIG): Now 32.
14156
14157 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14158 initializer on [_LIBC_REENTRANT].
14159
14160 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14161 definitions inside [_POSIX_MAPPED_FILES].
14162
14163 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14164
14165 * dirent/opendir.c: Include <fcntl.h>.
14166
14167 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14168 (__libc_getspecific): Likewise.
14169 (__libc_key_create): Likewise.
14170
14171 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14172 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14173 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14174 (tmpfile64): Define as alias.
14175 * sysdeps/wordsize-64/tmpfile.c: File removed.
14176 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14178 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14179
14180 * stdio-common/vfscanf.c: Include <stdbool.h>.
14181 * nss/makedb.c: Likewise.
14182 * stdio-common/_i18n_number.h: Likewise.
14183 * argp/argp-help.c: Likewise.
14184 * posix/wordexp.c: Likewise.
14185 * sysdeps/posix/spawni.c: Likewise.
14186 * nss/nss_files/files-initgroups.c: Likewise.
14187 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14188 * nss/nss_files/files-initgroups.c: Likewise.
14189 * nss/nss_db/db-netgrp.c: Likewise.
14190 * nss/nss_db/db-initgroups.c: Likewise.
14191 * io/fchmodat.c: Include <sys/stat.h>.
14192
14193 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14194 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14195
14196 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14197 [HAVE_MMAP].
14198
14199 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14200 Add multiple inclusion protection.
14201
e5abc686
DM
142022012-07-27 David S. Miller <davem@davemloft.net>
14203
14204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14205
815e6fa3
GB
142062012-07-27 Gary Benson <gbenson@redhat.com>
14207
14208 [BZ #14298]
14209 * elf/rtld.c: Include <stap-probe.h>.
14210 (dl_main): Added static probes "init_start" and "init_complete".
14211 * elf/dl-load.c: Include <stap-probe.h>.
14212 (lose): Take new parameter "nsid".
14213 Added static probe "map_failed".
14214 (_dl_map_object_from_fd): Pass namespace id to lose.
14215 Added static probe "map_start".
14216 (open_verify): Pass namespace id to lose.
14217 * elf/dl-open.c: Include <stap-probe.h>.
14218 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14219 and "reloc_complete".
14220 * elf/dl-close.c: Include <stap-probe.h>.
14221 (_dl_close_worker): Added static probes "unmap_start" and
14222 "unmap_complete".
14223 * elf/rtld-debugger-interface.txt: New file documenting the above.
14224
9f98c16c
RM
142252012-07-26 Roland McGrath <roland@hack.frob.com>
14226
14227 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14228 rather than a string variable.
14229 * sunrpc/rpc_main.c (h_output): Likewise.
14230 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14231
f3c22df3
PT
142322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14233
14234 * inet/check_native.c: New file.
14235
3129cfc6
JM
142362012-07-26 Joseph Myers <joseph@codesourcery.com>
14237
da865e95
JM
14238 [BZ #13629]
14239 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14240 if larger part has absolute value 1.0.
14241 * math/s_clog10.c (__clog10): Likewise.
14242 * math/s_clog10f.c (__clog10f): Likewise.
14243 * math/s_clog10l.c (__clog10l): Likewise.
14244 * math/s_clogf.c (__clogf): Likewise.
14245 * math/s_clogl.c (__clogl): Likewise.
14246 * math/libm-test.inc (clog_test): Add more tests.
14247 (clog10_test): Likewise.
14248 * sysdeps/i386/fpu/libm-test-ulps: Update.
14249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14250
3129cfc6
JM
14251 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14252 (pltexit): Likewise.
14253 (La_regs): Likewise.
14254 (La_retval): Likewise.
14255 (int_retval): Likewise.
14256 Update #error for removed macros to refer only to definitions in
14257 tst-audit.h.
14258 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14259 macro.
14260 (pltexit): Likewise.
14261 (La_regs): Likewise.
14262 (La_retval): Likewise.
14263 (int_retval): Likewise.
14264 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14265 macro.
14266 (pltexit): Likewise.
14267 (La_regs): Likewise.
14268 (La_retval): Likewise.
14269 (int_retval): Likewise.
14270 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14271 macro.
14272 (pltexit): Likewise.
14273 (La_regs): Likewise.
14274 (La_retval): Likewise.
14275 (int_retval): Likewise.
14276 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14277 macro.
14278 (pltexit): Likewise.
14279 (La_regs): Likewise.
14280 (La_retval): Likewise.
14281 (int_retval): Likewise.
14282 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14283 macro.
14284 (pltexit): Likewise.
14285 (La_regs): Likewise.
14286 (La_retval): Likewise.
14287 (int_retval): Likewise.
14288 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14289 macro.
14290 (pltexit): Likewise.
14291 (La_regs): Likewise.
14292 (La_retval): Likewise.
14293 (int_retval): Likewise.
14294 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14295 macro definitions in tst-audit.h.
14296 * sysdeps/i386/tst-audit.h: New file.
14297 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14298 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14299 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14300 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14301 * sysdeps/sh/tst-audit.h: Likewise.
14302 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14303 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14304 * sysdeps/x86_64/tst-audit.h: Likewise.
14305
bfc07087
AJ
143062012-07-26 Andreas Jaeger <aj@suse.de>
14307
b1b2aaf8
AJ
14308 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14309 ptrace.
14310
14311 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14312 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14313 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14314 PTRACE_O_MASK.
14315 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14316 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14317 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14318
bfc07087
AJ
14319 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14320 value.
14321
14322 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14323 _sigsys.
14324 (si_call_addr, si_syscall, si_arch): Define new macro.
14325 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14326 _sigsys.
14327 (si_call_addr, si_syscall, si_arch): Define new marcro.
14328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14329 _sigsys.
14330 (si_call_addr, si_syscall, si_arch): Define new macro.
14331 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14332 _sigsys.
14333 (si_call_addr, si_syscall, si_arch): Define new macro.
14334
89b4b02f
JM
143352012-07-25 Joseph Myers <joseph@codesourcery.com>
14336
14337 [BZ #13717]
14338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14339 Change to 2.4.21 where previously 2.4.1.
14340 * sysdeps/unix/sysv/linux/configure: Regenerated.
14341 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14342 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14343 Linux kernel version.
14344 (__ASSUME_STD_AUXV): Remove.
14345 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14346 kernel version.
14347 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14348 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14349 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14350 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14351 (__ASSUME_NETLINK_SUPPORT): Likewise.
14352 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14353 (__no_netlink_support): Remove conditional definition.
14354 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14355 Remove.
14356 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14357 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14358 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14359 (if_nameindex_ioctl): Remove.
14360 (if_nameindex_netlink): Do not handle __no_netlink_support.
14361 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14362 code.
14363 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14364 Remove conditional code.
14365 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14366 code.
14367 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14368 unconditional.
14369 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14370 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14371 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14372 Remove.
14373 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14374 [!__ASSUME_STD_AUXV]: Remove conditional code.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14376 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14377 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14379 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14380 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14381 code.
14382 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14384 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14385 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14386 conditional code.
14387 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14389 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14390 code.
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14392 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14393 conditional code.
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14395 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14396 code unconditional.
14397 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14398 conditional code.
14399 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14400 unconditional.
14401 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14402 conditional code.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14404 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14405 unconditional.
14406 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14407 conditional code.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14409 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14410 code unconditional.
14411 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14412 conditional code.
14413 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14414 unconditional.
14415 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14416 conditional code.
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14418 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14419 code unconditional.
14420 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14421 conditional code.
14422 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14423 unconditional.
14424 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14425 conditional code.
14426
842a39cd
AS
144272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14428
14429 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14430 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14431 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14432 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14433 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14434 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14435 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14436 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14437 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14438 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14439 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14440 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14441 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14442 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14445 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14446 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14447 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14449 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14451 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14452
84b3fd84
FW
144532012-07-25 Florian Weimer <fweimer@redhat.com>
14454
14455 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14456 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14457 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14458 Introduce __libc_secure_getenv.
0c7936d5
FW
14459 * stdlib/Versions (2.17): Add secure_getenv
14460 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14461 * stdlib/secure-getenv.c: Rename __secure_getenv to
14462 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14463 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14464 * stdlib/tst-secure-getenv.c: New.
14465 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14466 * manual/startup.texi (Environment Access): Document
14467 secure_getenv.
84b3fd84
FW
14468 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14469 __libc_secure_getenv.
14470 * inet/ruserpass.c (ruserpass): Likewise.
14471 * malloc/mtrace.c (mtrace): Likewise.
14472 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14473 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14474 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14475 * sysdeps/posix/tempname.c: Likewise. Evaluate
14476 HAVE_SECURE_GETENV.
14477 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14478 __secure_getenv to __libc_secure_getenv.
84b3fd84 14479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14481 Likewise.
14482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14483 Likewise.
14484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14491
56e49b71
JM
144922012-07-25 Joseph Myers <joseph@codesourcery.com>
14493
14494 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14495 (struct La_i86_retval): Likewise.
14496 (struct La_x86_64_regs): Likewise.
14497 (struct La_x86_64_retval): Likewise.
14498 (struct La_x32_regs): Likewise.
14499 (struct La_x32_retval): Likewise.
14500 (struct La_ppc32_regs): Likewise.
14501 (struct La_ppc32_retval): Likewise.
14502 (struct La_ppc64_regs): Likewise.
14503 (struct La_ppc64_retval): Likewise.
14504 (struct La_sh_regs): Likewise.
14505 (struct La_sh_retval): Likewise.
14506 (struct La_s390_32_regs): Likewise.
14507 (struct La_s390_32_retval): Likewise.
14508 (struct La_s390_64_regs): Likewise.
14509 (struct La_s390_64_retval): Likewise.
14510 (struct La_sparc32_regs): Likewise.
14511 (struct La_sparc32_retval): Likewise.
14512 (struct La_sparc64_regs): Likewise.
14513 (struct La_sparc64_retval): Likewise.
14514 (struct audit_ifaces): Remove architecture-specific pltenter and
14515 pltexit members.
14516 * sysdeps/i386/ldsodefs.h: New file.
14517 * sysdeps/powerpc/ldsodefs.h: Likewise.
14518 * sysdeps/s390/ldsodefs.h: Likewise.
14519 * sysdeps/sh/ldsodefs.h: Likewise.
14520 * sysdeps/sparc/ldsodefs.h: Likewise.
14521 * sysdeps/x86_64/ldsodefs.h: Likewise.
14522
354691b7
MP
145232012-07-25 Marek Polacek <polacek@redhat.com>
14524
14525 [BZ #6808]
14526 * math/libm-test.inc (yn_test): Add another test.
14527 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14528 to ERANGE when the result is +-Inf.
14529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14530 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14531 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14532 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14533
bf9e2071
JM
145342012-07-24 Joseph Myers <joseph@codesourcery.com>
14535
14536 * conform/data/time.h-data (NULL): Use macro-constant. Require
14537 equal to 0.
14538 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14539 clock_t.
14540 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14541
57633811
TS
145422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14543
14544 * configure.in <sysdeps resolving>: Correct printing
14545 Implies_before.
14546 * configure: Regenerate.
14547
c23c33b0
TS
145482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14549
14550 * math/w_ilogb.c: Include <limits.h>.
14551 * math/w_ilogbl.c: Likewise.
14552
b5982523
JM
145532012-07-20 Joseph Myers <joseph@codesourcery.com>
14554
14555 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14556 va_copy. Document allowing for unavailable va_copy only as
14557 pre-C99 compatibility.
14558 * manual/string.texi (Copying and Concatenation): Use va_copy
14559 instead of __va_copy in concat example.
14560
ac4ea442
PT
145612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14562
14563 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14564 (__sendto): Use create_address_port. Initialize APORT and deallocate
14565 it if not null.
14566
f98eafbd
PT
14567 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14568 with O_NOLINK passed to __file_name_lookup.
14569
898c7aab
PT
14570 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14571 with O_NOLINK passed to __file_name_lookup.
14572
0ced335a
PT
14573 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14574 negative N or less than NGIDS.
14575
b3404dbd
PT
14576 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14577 type to string_t. Set ERANGE as errno and return it if NAME is not big
14578 enough. Use memcpy instead of strncpy.
14579
0f48659e
JM
145802012-07-20 Joseph Myers <joseph@codesourcery.com>
14581
14582 * elf/Makefile (check-data): Remove.
14583 (localplt.data): New vpath directive.
14584 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14585 instead of $(check-data).
14586 * scripts/data/localplt-generic.data: Move to ...
14587 * sysdeps/generic/localplt.data: ... here.
14588 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14589 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14590 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14592 ... here.
14593 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14595 ... here.
14596 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14598 ... here.
14599 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14601 ... here.
14602 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14604 ... here.
14605 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14607 ... here.
14608
d37cbdaa
AZ
146092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14610
14611 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14612 PPC32 and PPC64 files.
14613 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14614 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14615
46f85fc2
AK
146162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14617
14618 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14619 __makecontext_ret to ...
14620 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14621 ... here and call exit if uc_link is NULL. New file.
14622 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14623 __makecontext_ret.S.
14624 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14625 __makecontext_ret to ...
14626 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14627 ... here and call exit if uc_link is NULL. New file.
14628 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14629 __makecontext_ret.S.
14630
08f43f9b
AK
146312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14632
14633 * elf/elf.h (R_390_IRELATIVE): New definition.
14634 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14635 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14636 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14637 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14638 (elf_machine_lazy_rel): Likewise.
14639 * sysdeps/s390/dl-irel.h: New file.
14640 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14641 * sysdeps/s390/s390-64/memset.S: New asm code.
14642 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14643 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14644 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14645 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14646 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14647 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14649 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14650 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14651 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14652 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14653 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14654 * sysdeps/s390/s390-32/memset.S: New asm code.
14655 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14656
3b05db33
MP
146572012-07-17 Marek Polacek <polacek@redhat.com>
14658
14659 [BZ #14349]
14660 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14661 * sysdeps/s390/s390-64/configure.in: Likewise.
14662 * sysdeps/sparc/configure.in: Likewise.
14663 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14664 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14665 * sysdeps/i386/configure.in: Likewise.
14666 * sysdeps/x86_64/configure.in: Likewise.
14667 * sysdeps/sh/configure.in: Likewise.
14668 * sysdeps/s390/s390-32/configure: Regenerated.
14669 * sysdeps/s390/s390-64/configure: Likewise.
14670 * sysdeps/x86_64/configure: Likewise.
14671 * sysdeps/sh/configure: Likewise.
14672 * sysdeps/powerpc/powerpc64/configure: Likewise.
14673 * sysdeps/powerpc/powerpc32/configure: Likewise.
14674 * sysdeps/sparc/configure: Likwise.
14675 * sysdeps/i386/configure: Likewise.
14676
a66877c6
MP
14677 * elf/dl-open.c: Comment fixes.
14678
cfc82fd8
JM
146792012-07-17 Joseph Myers <joseph@codesourcery.com>
14680
bd29910a
JM
14681 * Makefile [CXX] (check-data): Remove.
14682 [CXX] (c++-types.data): New vpath directive.
14683 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14684 vpath. Do not allow for C++ type data being missing.
14685 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14686 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14687 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14688 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14689 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14690 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14691 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14693 ... here.
14694 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14696 ... here.
14697 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14699 ... here.
14700 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14702 ... here.
14703 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14705 ... here.
14706 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14708 ... here.
14709 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14711 ... here.
14712 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14714
cfc82fd8
JM
14715 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14716 definitions to architecture-specific files.
14717 (TLS_IE): Likewise.
14718 (TLS_LD): Likewise.
14719 (TLS_GD): Likewise.
14720 * sysdeps/i386/tls-macros.h: New file.
14721 * sysdeps/powerpc/tls-macros.h: Likewise.
14722 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14723 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14724 * sysdeps/sh/tls-macros.h: Likewise.
14725 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14726 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14727 * sysdeps/x86_64/tls-macros.h: Likewise.
14728
f7db3170
TS
147292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14730
07cbfc23
TS
14731 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14732 zero value for regular exit case.
14733
f7db3170
TS
14734 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14735 (__start_context): Preserve zero value for regular exit case.
14736
dc97c227
TS
147372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14738 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14739
14740 * manual/setjmp.texi (setcontext): Clarify normal process
14741 termination when uc_link is the null pointer.
14742 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14743 exit call.
14744
d0cd7d02
AS
147452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14746
14747 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14748 preprocessor. Test for each exception mask separately.
14749
dd318934
AJ
147502012-07-16 Andreas Jaeger <aj@suse.de>
14751
14752 * po/ru.po: Update from translation team.
14753
8048311a
JM
147542012-07-15 Joseph Myers <joseph@codesourcery.com>
14755
14756 * conform/data/string.h-data (NULL): Use macro-constant. Require
14757 equal to 0.
14758 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14759 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14760 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14761 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14762 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14763
b637d46e
AJ
147642012-07-13 Andreas Jaeger <aj@suse.de>
14765
14766 * po/fr.po: Update from translation team.
14767
541428fe
MP
147682012-07-12 Marek Polacek <polacek@redhat.com>
14769
14770 [BZ #14173]
14771 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14772 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14773 loop condition.
14774
ec332e94
JM
147752012-07-12 Joseph Myers <joseph@codesourcery.com>
14776
14777 [BZ #13717]
14778 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14779 Change to 2.4.1 where previously 2.4.0.
14780 * sysdeps/unix/sysv/linux/configure: Regenerated.
14781 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14782 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14783 version.
14784 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14785 (__ASSUME_AT_CLKTCK): Remove.
14786 (__ASSUME_AT_PAGESIZE): Likewise.
14787 (__ASSUME_AT_XID): Likewise.
14788 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14789 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14790 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14791 unconditionally.
14792 (HAVE_AUX_PAGESIZE): Likewise.
14793 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14794 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14795 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14796
7b6e99be
JB
147972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14798
14799 [BZ #14307]
14800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14801 the temporary buffer used to invoke __gethostbyname2_r,
14802 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14803 host_data / struct gaih_addrtuple.
14804 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14805 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14806 header file nss/nsswitch.h.
14807 * nss/nsswitch.h (global scope): Add definition of implementation
14808 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14809 resolv/nss_dns/dns-host.c).
14810
608404eb
AJ
148112012-07-11 Andreas Jaeger <aj@suse.de>
14812
14813 * po/fr.po: Update from translation team.
14814
71220aca
AJ
14815 * po/sv.po: Update from translation team
14816 * po/fr.po: Another update from translation team.
14817
28cfe843
AZ
148182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14819
14820 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14821 for subnormals or multiply small sinh result by itself.
14822 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14824
6b90f981
DM
148252012-07-11 David S. Miller <davem@davemloft.net>
14826
14827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14828
c6825772
AS
148292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14830
14831 [BZ #14347]
14832 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14833 (INTERNAL_MARK): Shift it here.
14834
7b8e0d49
MP
148352012-07-10 Marek Polacek <polacek@redhat.com>
14836
14837 [BZ #14151]
14838 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14839 libc_cv_asm_global_directive with .globl.
14840 * configure: Regenerated.
14841 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14842 with .globl.
14843 * sysdeps/i386/configure: Regenerated.
14844 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14845 with .globl.
14846 * sysdeps/x86_64/configure: Regenerated.
14847 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14848 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14849 * elf/tst-unique2mod2.c: Likewise.
14850 * elf/tst-unique2mod1.c: Likewise.
14851 * elf/tst-unique1mod2.c: Likewise.
14852 * elf/tst-unique1mod1.c: Likewise.
14853 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14854 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14855 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14856 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14857 * sysdeps/mach/sysdep.h: Likewise.
14858 * sysdeps/i386/sysdep.h: Likewise.
14859 * sysdeps/i386/i386-mcount.S: Likewise.
14860 * sysdeps/x86_64/_mcount.S: Likewise.
14861 * sysdeps/x86_64/sysdep.h: Likewise.
14862 * sysdeps/sh/_mcount.S: Likewise.
14863 * sysdeps/sh/sysdep.h: Likewise.
14864 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14865 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14866 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14867 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14868 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14869 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14870 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14871 * locale/localeinfo.h: Likewise.
14872 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14873 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14874
6c55cda3
RM
148752012-07-09 Roland McGrath <roland@hack.frob.com>
14876
14877 [BZ #14336]
14878 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14879 system".
14880 * manual/message.texi (The Uniforum approach): Likewise.
14881 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14882 (glibc iconv Implementation): Likewise.
14883
638a572e
JM
148842012-07-09 Joseph Myers <joseph@codesourcery.com>
14885
14886 [BZ #14337]
14887 * math/s_clog.c (__clog): Avoid scaling a value down where that
14888 could result in underflow.
14889 * math/s_clog10.c (__clog10): Likewise.
14890 * math/s_clog10f.c (__clog10f): Likewise.
14891 * math/s_clog10l.c (__clog10l): Likewise.
14892 * math/s_clogf.c (__clogf): Likewise.
14893 * math/s_clogl.c (__clogl): Likewise.
14894 * math/libm-test.inc (clog_test): Add more tests.
14895 (clog10_test): Likewise.
14896 * sysdeps/i386/fpu/libm-test-ulps: Update.
14897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14898
261f4859
AS
148992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14900
0abaf3e4
AS
14901 [BZ #14283]
14902 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14903 by 7 not 8 to examine high bit of fractional part.
14904
261f4859
AS
14905 [BZ #14042]
14906 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14907 for call to __mcount_internal.
14908 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14909 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14910 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14911
f17ac40d
JM
149122012-07-06 Joseph Myers <joseph@codesourcery.com>
14913
9ad63c23
JM
14914 [BZ #14154]
14915 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14916 approximation for values within 0x1p-13f of an odd multiple of
14917 pi/4.
14918 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14919 exception. Add more tests.
14920 * sysdeps/i386/fpu/libm-test-ulps: Update.
14921
f17ac40d
JM
14922 [BZ #6778]
14923 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14924 inputs and return -1 for them. Do not check for +Inf in case not
14925 reachable for +Inf.
14926 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14927 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14928 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14929 and return -1 for them. Do not check for +Inf in case not
14930 reachable for +Inf.
14931 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14932 define.
14933 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14934 and return -1 for them. Do not check for +Inf in case not
14935 reachable for +Inf.
14936 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14937 spurious underflow.
14938 * sysdeps/i386/fpu/libm-test-ulps: Update.
14939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14940
fb21f89b
MF
149412012-07-06 Mike Frysinger <vapier@gentoo.org>
14942
14943 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14944
cdfe2c5e
JM
149452012-07-05 Joseph Myers <joseph@codesourcery.com>
14946
14947 [BZ #14157]
14948 [BZ #14331]
14949 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14950 could result in spurious underflow. Scale down values above
14951 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14952 * math/s_csqrtf.c (__csqrtf): Likewise.
14953 * math/s_csqrtl.c (__csqrtl): Likewise.
14954 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14955 spurious underflow.
14956 * sysdeps/i386/fpu/libm-test-ulps: Update.
14957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14958
70d35b67
AS
149592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14960
704bc459
AS
14961 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14962 xopen-msg.sed.
14963 * catgets/xopen-msg.awk: New file.
14964 * catgets/xopen-msg.sed: Removed.
14965
70d35b67
AS
14966 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14967 po2text.sed.
14968 * intl/po2test.awk: New file.
14969 * intl/po2test.sed: Removed.
14970
ca61cf32
JM
149712012-07-04 Joseph Myers <joseph@codesourcery.com>
14972
14973 [BZ #14328]
14974 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14975 or multiply small sinh result by itself.
14976 * math/s_ctanf.c (__ctanf): Likewise.
14977 * math/s_ctanh.c (__ctanh): Likewise.
14978 * math/s_ctanhf.c (__ctanhf): Likewise.
14979 * math/s_ctanhl.c (__ctanhl): Likewise.
14980 * math/s_ctanl.c (__ctanl): Likewise.
14981 * math/libm-test.inc (ctan_test_tonearest): New function.
14982 (ctan_test_towardzero): Likewise.
14983 (ctan_test_downward): Likewise.
14984 (ctan_test_upward): Likewise.
14985 (ctanh_test_tonearest): Likewise.
14986 (ctanh_test_towardzero): Likewise.
14987 (ctanh_test_downward): Likewise.
14988 (ctanh_test_upward): Likewise.
14989 (main): Call these new functions.
14990 * sysdeps/i386/fpu/libm-test-ulps: Update.
14991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14992
ca48a46a
MF
149932012-07-03 Mike Frysinger <vapier@gentoo.org>
14994
14995 * .gitignore: Delete /ports entry.
14996
9d63d37d
AJ
149972012-07-03 Andreas Jaeger <aj@suse.de>
14998
14999 * po/bg.po: Update from translation team.
15000 * po/cs.po: Likewise.
15001 * po/de.po: Likewise.
15002 * po/hr.po: Likewise.
15003 * po/nl.pl: Likewise.
15004 * po/pl.po: Likewise.
15005 * po/vi.po: Likewise.
15006
370ca3d2
JM
150072012-07-03 Joseph Myers <joseph@codesourcery.com>
15008
95f5a9a8
JM
15009 * Makeconfig [!+link] (+link-before-libc): New variable.
15010 [!+link] (+link-after-libc): Likewise.
15011 [!+link] (+link-tests): Likewise.
15012 [!+link] (+link): Define in terms of $(+link-before-libc) and
15013 $(+link-after-libc).
15014 [!+link-static] (+link-static-before-libc): New variable.
15015 [!+link-static] (+link-static-after-libc): Likewise.
15016 [!+link-static] (+link-static-tests): Likewise.
15017 [!+link-static] (+link-static): Define in terms of
15018 $(+link-static-before-libc) and $(+link-static-after-libc).
15019 [build-shared] (link-libc-before-gnulib): New variable.
15020 [build-shared] (link-libc-tests): Likewise.
15021 [build-shared] (link-libc): Define in terms of
15022 $(link-libc-before-gnulib).
15023 [!build-shared] (link-libc-tests): New variable.
15024 (link-libc-static-tests): New variable.
15025 [!gnulib] (gnulib-arch): New variable.
15026 [!gnulib] (gnulib-tests): Likewise.
15027 [!gnulib] (static-gnulib-arch): Likewise.
15028 [!gnulib] (static-gnulib-tests): Likewise.
15029 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15030 Define with "=" instead of ":=".
15031 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15032 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15033 * Rules (binaries-all-notests): New variable.
15034 (binaries-all-tests): Likewise.
15035 (binaries-static-notests): Likewise.
15036 (binaries-static-tests): Likewise.
15037 (binaries-all): Define using $(binaries-all-notests) and
15038 $(binaries-all-tests).
15039 (binaries-static): Define using $(binaries-static-notests) and
15040 $(binaries-static-tests).
15041 (binaries-shared-tests): New variable.
15042 (binaries-shared-notests): Likewise.
15043 (binaries-shared): Remove variable.
15044 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15045 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15046 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15047 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15048 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15049 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15050 * elf/Makefile (sln-modules): New variable.
15051 (extra-objs): Add $(sln-modules:=.o).
15052 (ldconfig-modules): Add static-stubs.
15053 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15054 * elf/static-stubs.c: New file.
15055
7a845b2c
JM
15056 [BZ #14283]
15057 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15058 by 7 not 8 to examine high bit of fractional part. Use volatile
15059 variables when splitting into final array of floats if
15060 __FLT_EVAL_METHOD__ != 0.
15061 * math/libm-test.inc (cos_test): Add another test.
15062 (sin_test): Likewise.
15063 * sysdeps/i386/fpu/libm-test-ulps: Update.
15064
e2283f38
JM
15065 [BZ #14273]
15066 * math/libm-test.inc (cosh_test): Add more tests.
15067
370ca3d2
JM
15068 * version.h (RELEASE): Set to "development".
15069 (VERSION): Set to "2.16.90".
15070
ee9247c3
CD
150712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15072
15073 * NEWS: Update copyright. Remove last-updated date.
15074 Mention math library bug fixes and timezone data changes.
15075 * README: Mention GNU/Hurd, x32, and HPPA support status.
15076
4648c381
TS
150772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15078
15079 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15080
aac78a43
AJ
150812012-06-27 Andreas Jaeger <aj@suse.de>
15082
15083 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15084
ed3dbfad
AJ
150852012-06-25 Andreas Jaeger <aj@suse.de>
15086
15087 * sysdeps/s390/fpu/libm-test-ulps: Update.
15088
4d0ee855
AS
150892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15090 Thomas Schwinge <thomas@codesourcery.com>
15091
15092 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15093 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15095 fanotify_mark.
15096
af1bce34
TS
150972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15098
a9fa33ba
TS
15099 * sysdeps/mach/start.c: Remove file.
15100 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15101 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15102 * sysdeps/sh/init-first.c: Likewise.
15103
58f902b8
TS
15104 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15105 registers for frame unwinding purposes, add CFI directives.
15106 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15107 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15108 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15109 Likewise.
15110
1518f58b
TS
15111 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15112 __fortify_fail returning.
15113 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15114
db9b5059
TS
15115 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15116 sysdeps/sh/____longjmp_chk.S.
15117 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15118 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15119 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15120 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15121
967705fe
TS
15122 * sysdeps/sh/abort-instr.h: New file.
15123 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15124 process in case exit returns.
15125
a9def8c4
TS
15126 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15127 initialize the GOT register before use.
15128
2a649725
TS
15129 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15130 calculation of ARGC > 4.
15131
af1bce34
TS
15132 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15133 meaningful names to some local labels.
15134
d230f50a
KK
151352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15136 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15137
15138 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15139 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15140 (__arch_compare_and_exchange_val_16_acq): Likewise.
15141 (__arch_compare_and_exchange_val_32_acq): Likewise.
15142 (atomic_exchange_and_add): Fix gUSA sequence.
15143 (atomic_add): Likewise.
15144 (atomic_add_negative): Likewise.
15145 (atomic_add_zero): Likewise.
15146 (atomic_bit_test_set): Likewise.
15147
0479b305
AS
151482012-06-22 Andreas Schwab <schwab@redhat.com>
15149
15150 [BZ #13579]
15151 * include/link.h (struct link_map): Add l_free_initfini.
15152 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15153 l_initfini.
15154 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15155 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15156 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15157 set.
15158
0e3933b9
CD
151592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15160
15161 * configure.in: Use AC_LANG_SOURCE.
15162 * configure: Regenerate.
15163
4248b1b1
RM
151642012-06-22 Roland McGrath <roland@hack.frob.com>
15165
15166 * configure.in (libc_cv_localstatedir): New substituted variable.
15167 * configure: Regenerated.
15168 * config.make.in (localstatedir): New variable, substituted from
15169 libc_cv_localstatedir.
15170 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15171 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15172 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15173 * sysdeps/gnu/configure: Regenerated.
15174
006dd861
JL
151752012-06-21 Jeff Law <law@redhat.com>
15176
15177 [BZ #14277]
15178 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15179 free. Simplify list management for _LIBC case.
15180
79662d42
JM
151812012-06-21 Joseph Myers <joseph@codesourcery.com>
15182
b7abb4bf
JM
15183 [BZ #14273]
15184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15185 Clear sign bit of 64-bit integer value before comparing against
15186 overflow value.
15187
79662d42
JM
15188 * sysdeps/mach/configure: Regenerated.
15189
1f150908
L
151902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15191
15192 [BZ #14278]
15193 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15194
28363bbf
JL
151952012-06-21 Jeff Law <law@redhat.com>
15196
15197 [BZ #13882]
15198 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15199 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15200 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15201 * elf/dl-open.c (dl_open_worker): Likewise.
15202
09615db4
CD
152032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15204
15205 * scripts/list-sources.sh: Scan PORTS for translations.
15206 * po/libc.pot: Regenerated.
15207
2174c6dd
AJ
152082012-06-21 Andreas Jaeger <aj@suse.de>
15209
15210 [BZ #12194]
15211 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15212 warning.
15213 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15214 * bits/byteswap-16.h (__bswap_16): Likewise.
15215 * bits/byteswap.h (__bswap_constant_16): Likewise.
15216
3ee947b1
L
152172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15218
15219 [BZ #14117]
a2f34833
L
15220 * sysdeps/i386/fpu_control.h: Removed.
15221 * sysdeps/x86_64/fpu_control.h: Moved to ...
15222 * sysdeps/x86/fpu_control.h: Here.
15223
3ee947b1
L
15224 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15225 (_FPU_SETCW): Likewise.
15226
ed1825f8
L
152272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15228
25f1282a
L
15229 [BZ #14117]
15230 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15231 * sysdeps/x86/fpu/bits/mathinline.h: This.
15232 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15233
ed1825f8
L
15234 [BZ #14050]
15235 [BZ #14117]
15236 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15237 functions if __x86_64__ is defined.
15238
36d54b74
CLT
152392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15240
15241 * string/endian.h: Add !__ASSEMBLER__ condition for including
15242 conversion interfaces.
15243
10285c21
JM
152442012-06-15 Joseph Myers <joseph@codesourcery.com>
15245
15246 [BZ #14241]
15247 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15248 of ABS(x) in calculating zero to negative powers other than odd
15249 integers.
15250 * math/libm-test.inc (pow_test): Add more tests.
15251
06c5abbd
AJ
152522012-06-15 Andreas Jaeger <aj@suse.de>
15253
15254 * manual/contrib.texi (Contributors): Update entry of Liubov
15255 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15256 Machado Filho.
15257
a3aeac40
CH
152582012-06-15 Cyril Hrubis <metan@ucw.cz>
15259
15260 * string/string.h: Add __wur to GNU version of strerror_r.
15261
49bdf4c1
L
152622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15263
15264 [BZ #14229]
15265 * string/Makefile (tests): Add tst-strtok_r.
15266 * string/tst-strtok_r.c: New file.
15267 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15268 RAX_LP/RDX_LP on SAVE_PTR.
15269
834f9b8d
RM
152702012-06-14 Roland McGrath <roland@hack.frob.com>
15271
15272 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15273
75fa1921
JM
152742012-06-14 Joseph Myers <joseph@codesourcery.com>
15275
15276 * libm_test.inc (csqrt_test): Allow more spurious underflow
15277 exceptions.
15278 (j0_test): Likewise.
15279 (j1_test): Likewise.
15280 (y0_test): Likewise.
15281 (y1_test): Likewise.
15282
771766df
CD
152832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15284
15285 * po/Makefile (libc.pot): Use UTF-8 charset.
15286
ceb9e56b
PP
152872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15288
15289 [BZ #14210]
15290 Suppress sign-conversion warning from FD_SET.
15291 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15292 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15293 not unsigned long int.
15294 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15295
ddb28975
L
152962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15297
15298 [BZ #14050]
15299 [BZ #14117]
15300 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15301 __extern_always_inline instead of __extern_inline.
15302 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15303 (__signbit): Likewise.
15304 (__signbitl): Support C++ namespace.
15305 (lrintf): New inline function.
15306 (lrint): Likewise.
15307 (llrintf): Likewise.
15308 (llrint): Likewise.
15309 (fmaxf): Likewise.
15310 (fmax): Likewise.
15311 (fminf): Likewise.
15312 (fmin): Likewise.
15313 (rint): Likewise.
15314 (rintf): Likewise.
15315 (ceil): Likewise.
15316 (ceilf): Likewise.
15317 (floor): Likewise.
15318 (floorf): Likewise.
15319 (nearbyint): Likewise.
15320 (nearbyintf): Likewise.
15321
d7b4fb26
TS
153222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15323
15324 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15325 non-default versions.
15326
eb55f5c2
RM
153272012-06-11 Roland McGrath <roland@hack.frob.com>
15328
15329 [BZ #14218]
15330 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15331
366af02c
TS
153322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15333
99ff6e5c
TS
15334 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15335 (FE_UPWARD, FE_DOWNWARD): Don't define.
15336 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15337 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15338
366af02c
TS
15339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15340 reading it.
15341 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15342 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15343
793ea851
KK
153442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15345
15346 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15348 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15349 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15350
a728a38f
L
153512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15352
15353 [BZ #14117]
c08010c7
L
15354 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15355 * sysdeps/i386/fpu/Implies: New file.
15356 * sysdeps/x86_64/fpu/Implies: Likewise.
15357 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15358 * sysdeps/x86/fpu/bits/fenv.h: This.
15359
a728a38f
L
15360 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15361 __SSE_MATH__.
15362
6e230d11
SP
153632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15364
15365 [BZ #14134]
15366 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15367 character 0xffff that matches the last element of the
15368 conversion table.
15369
1b671feb
AZ
153702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15371
15372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15373 fmodl commit.
15374
6043738b
AZ
153752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15376
15377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15378 values higher than 25.6283.
15379
34ae0b32
AZ
153802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15381
15382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15383 subnormal exponent extraction and add some __builtin_expect.
15384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15385 Fix for subnormal mantissa calculation.
15386
1214ec8f
MF
153872012-06-04 Mike Frysinger <vapier@gentoo.org>
15388
15389 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15390 cpu2 is -1 and errno is not ENOSYS.
15391
f3d1f93c
L
153922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15393
15394 [BZ #14117]
0e4a3cd7
L
15395 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15396 * sysdeps/x86/bits/string.h: This.
15397 * sysdeps/x86_64/bits/string.h: Removed.
15398
6704c645
L
15399 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15400 if not compiling for x86-64, but compiling for >= i486.
15401
48495318
L
15402 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15403 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15404
14adcbfc
L
15405 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15406 New macro from Linux kernel 3.4.0.
15407 (FP_XSTATE_MAGIC2): Likewise.
15408 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15409 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15410 (struct _fpx_sw_bytes): New struct.
15411 (struct _xsave_hdr): Likewise.
15412 (struct _ymmh_state): Likewise.
15413 (struct _xstate): Likewise.
15414
68e408ab
L
15415 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15416 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15417 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15418 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15419 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15420 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15421
f3d1f93c
L
15422 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15423 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15424 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15425 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15426 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15427 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15428
d9dc34cd
TMQMF
154292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15430
15431 [BZ #13743]
15432 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15433 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15434 (sysdep_headers): Include sys/platform/ppc.h.
15435 * sysdeps/powerpc/test-gettimebase.c: Test for
15436 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15437 * manual/Makefile (appendices): Include platform.texi.
15438 * manual/contrib.texi (Contributors): Update @node pointers.
15439 * manual/maint.texi (Maintenance): Likewise.
15440 (Platform): New node.
15441 * manual/platform.texi: New file. Document the new features.
15442
4af3879c
SP
154432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15444 Jakub Jelinek <jakub@redhat.com>
15445
15446 [BZ #14188]
15447 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15448 where __builtin_expect is unavailable.
15449
2fd6ff13
DM
154502012-06-03 David S. Miller <davem@davemloft.net>
15451
15452 * stdlib/longlong.h: Updated from GCC.
15453
173f7220
AS
154542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15455
15456 [BZ #14042]
15457 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15458 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15459 __mcount_internal.
15460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15461 (GLIBC_2.16): Likewise.
15462
f34a1c6f
L
154632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15464
15465 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15466
88a4576f
JM
154672012-06-01 Joseph Myers <joseph@codesourcery.com>
15468
ea32bcdd
JM
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15470 (default-abi): New variable.
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15473 variable.
15474 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15475 Likewise.
15476 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15477 Likewise.
15478 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15479 Likewise.
15480
88a4576f
JM
15481 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15482 definition. Document in comment.
15483
402fe938
DM
154842012-06-01 David S. Miller <davem@davemloft.net>
15485
15486 * stdlib/longlong.h: Updated from GCC.
15487
3553723f
L
154882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15489
15490 [BZ #14117]
3bd872c4
L
15491 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15492 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15493 sys/debugreg.h sys/io.h here.
15494 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15495 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15496 sys/io.h.
15497 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15498 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15499 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15500 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15501 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15502 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15503
3553723f
L
15504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15505 Define only if __x86_64__ is defined.
15506
4842e4fe
JM
155072012-06-01 Joseph Myers <joseph@codesourcery.com>
15508
c5bfe3d5
JM
15509 [BZ #14048]
15510 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15511 Use int64_t for variable i.
15512 * math/libm-test.inc (fmod_test): Add more tests.
15513
4842e4fe
JM
15514 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15515 z computation is not scheduled after fetestexcept.
15516 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15517 Use math_force_eval instead of asm to ensure calculation scheduled
15518 before exception test.
15519 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15520 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15521
efb73488
AJ
155222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15523
15524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15525 computation is not scheduled after fetestexcept.
15526
29bcce7c
L
155272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 [BZ #14117]
15530 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15531 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15532
73a68f94
AZ
155332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15534
15535 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15536 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15537
67b6df78
L
155382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15539
edf2933a 15540 [BZ #14117]
ebc64a18
L
15541 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15542 <bits/wordsize.h>.
15543 (__WCHAR_MIN): Support __WORDSIZE == 64.
15544 (__WCHAR_MAX): Likewise.
15545
edf2933a
L
15546 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15547 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15548
57c6cf40
L
15549 [BZ #14183]
15550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15551 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15552
67b6df78 15553 [BZ #14117]
8eb6281e
L
15554 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15555 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15556
aac639f4
L
15557 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15558 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15559
67b6df78
L
15560 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15561 Defined to 1 if __x86_64__ isn't defined.
15562 (_STAT_VER_LINUX_OLD): New.
15563 (st_atime): Remove duplicate.
15564 (st_mtime): Likewise.
15565 (st_ctime): Likewise.
15566
1c2cfe81
DM
155672012-05-31 David S. Miller <davem@davemloft.net>
15568
15569 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15570 entries.
15571
5be8418c
AS
155722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15573
e7725326
AS
15574 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15575 gen-libm-test.pl.
15576
5be8418c
AS
15577 [BZ #14132]
15578 * elf/dl-reloc.c: Include <_itoa.h>.
15579 (_dl_reloc_bad_type): Remove use of INTUSE.
15580 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15581 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15582 * stdio-common/psiginfo.c (psiginfo): Likewise.
15583 * stdio-common/psignal.c (psignal): Likewise.
15584 * string/strsignal.c (strsignal): Likewise.
15585 * include/signal.h (_sys_siglist): Declare hidden proto.
15586 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15587 INTVARDEF with libc_hidden_data_def.
15588 * stdio-common/itoa-udigits.c: Likewise.
15589 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15590 (_itoa_lower_digits_internal): Remove declaration.
15591 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15592 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15593 (_sys_sigabbrev_internal): Remove aliases.
15594 (_sys_siglist): Define hidden alias.
15595
507352f1
MT
155962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15597
15598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15599 bits/sysctl.h.
15600
42bbb1c3
L
156012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15602
15603 [BZ #14117]
6bd784b6
L
15604 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15605 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15606
8bca20f0
L
15607 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15608 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15609 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15610 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15612 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15613
f9e890a9
L
15614 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15615 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15616 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15617
471101a1
L
15618 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15619 with __addr.
15620 (insw): Likewise.
15621 (insl): Likewise.
15622 (outsb): Likewise.
15623 (outsw): Likewise.
15624 (outsl): Likewise.
15625
6451c862
L
15626 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15627 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15628 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15629
a254b8c9
L
15630 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15631 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15632 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15633 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15634 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15635 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15636
b8dfdd92
L
15637 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15638 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15639
578cd270
L
15640 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15641 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15642
de662f5f
L
15643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15645 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15646
25653439
L
15647 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15648 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15649 to ...
15650 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15651
6bad24a0
L
15652 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15653 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15654 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15655
42bbb1c3
L
15656 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15657 for x86-64.
15658 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15659
2d10d547
JM
156602012-05-31 Joseph Myers <joseph@codesourcery.com>
15661
15662 * math/math.h (M_El): Use two more decimal places.
15663 (M_LOG2El): Likewise.
15664 (M_LOG10El): Likewise.
15665 (M_LN2l): Likewise.
15666 (M_LN10l): Likewise.
15667 (M_PIl): Likewise.
15668 (M_PI_2l): Likewise.
15669 (M_PI_4l): Likewise.
15670 (M_1_PIl): Likewise.
15671 (M_2_PIl): Likewise.
15672 (M_2_SQRTPIl): Likewise.
15673 (M_SQRT2l): Likewise.
15674 (M_SQRT1_2l): Likewise.
15675
f230c29b
DM
156762012-05-31 David S. Miller <davem@davemloft.net>
15677
15678 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15679 values between float registers.
15680 * sysdeps/sparc/sparc64/memset.S: Likewise.
15681 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15682
fed806c3
MF
156832012-05-31 Mike Frysinger <vapier@gentoo.org>
15684
15685 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15686 -D_FORTIFY_SOURCE=1.
15687 (CPPFLAGS-tst-longjmp_chk.c): Define.
15688 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15689 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15690 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15691 CFLAGS-tst-wchar-h.c.
15692
30917259
MP
156932012-05-31 Marek Polacek <polacek@redhat.com>
15694
15695 [BZ #14132]
15696 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15697 __endmntent_internal): Remove declaration.
15698 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15699 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15700 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15701
1c58d5dc
DM
157022012-05-30 David S. Miller <davem@davemloft.net>
15703
15704 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15705 (___Q_simulate_exceptions): Use real FP ops rather than writing
15706 into the %fsr.
15707 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15708 Likewise.
15709
7dc00e0d
L
157102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15711
15712 [BZ #14117]
0bd53985
L
15713 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15714 * sysdeps/x86/bits/xtitypes.h: This.
15715
3a257e66
L
15716 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15717 * sysdeps/x86/bits/wordsize.h: This.
15718
62f62904
L
15719 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15720 * sysdeps/x86/bits/huge_vall.h: This.
15721
404fe9d9
L
15722 * sysdeps/i386/bits/select.h: Removed.
15723 * sysdeps/x86_64/bits/select.h: Renamed to ...
15724 * sysdeps/x86/bits/select.h: This.
15725
d48d0446
L
15726 * sysdeps/i386/bits/setjmp.h: Removed.
15727 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15728 * sysdeps/x86/bits/setjmp.h: This.
15729
7dc00e0d
L
15730 * sysdeps/i386/bits/mathdef.h: Removed.
15731 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15732 * sysdeps/x86/bits/mathdef.h: This.
15733
03277f8f
AS
157342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15735
15736 [BZ #14132]
15737 * include/sys/socket.h (__connect_internal)
15738 (__libc_sa_len_internal): Remove declaration.
15739 (__connect, __libc_sa_len): Declare hidden_proto.
15740 (SA_LEN): Remove use of INTUSE.
15741 * socket/connect.c: Add libc_hidden_def.
15742 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15743 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15744 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15745 alias.
15746 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15747 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15748 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15749 of adding _internal alias.
15750
13764867
L
157512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15752
15753 [BZ #14117]
6bd97696
L
15754 * sysdeps/i386/bits/link.h: Removed.
15755 * sysdeps/i386/bits/linkmap.h: Likewise.
15756 * sysdeps/x86_64/bits/link.h: Renamed to ...
15757 * sysdeps/x86/bits/link.h: This.
15758 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15759 * sysdeps/x86/bits/linkmap.h: This.
15760
f726f0bb
L
15761 * sysdeps/i386/bits/endian.h: Removed.
15762 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15763 * sysdeps/x86/bits/endian.h: This.
15764
13764867
L
15765 * sysdeps/i386/bits/byteswap.h: Removed.
15766 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15767 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15768 * sysdeps/x86/bits/byteswap.h: This.
15769 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15770 * sysdeps/x86/bits/byteswap-16.h: This.
15771 * sysdeps/i386/Implies: Add x86.
15772 * sysdeps/x86_64/Implies: Likewise.
15773
ae251b0b
DM
157742012-05-30 David S. Miller <davem@davemloft.net>
15775
15776 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15777 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15778 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15779 (FP_TRAPPING_EXCEPTIONS): Define.
15780 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15781 (FP_TRAPPING_EXCEPTIONS): Define.
15782 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15783 subnormals only when inexact has been signalled or underflow
15784 exceptions are enabled.
15785 (_FP_PACK_CANONICAL): Likewise.
15786
d5c90867
L
157872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15788
15789 [BZ #14183]
15790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15791 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15792
63f1549e
RH
157932012-05-30 Richard Henderson <rth@twiddle.net>
15794
8d8f2279
RH
15795 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15796 with #ifndef NOT_IN_libc.
15797
63f1549e
RH
15798 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15799 marked to avoid plt entry.
15800
0ab0291b
L
158012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15802
15803 [BZ #14112]
15804 * Makeconfig (default-abi): New macro.
15805 (abi-includes): Likewise.
15806 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15807 $(abi-$(default-abi)-lib-soname) for soname if defined.
15808 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15809 abi-variants.
15810 * Makefile (installed-stubs): Likewise.
15811 * include/stubs-biarch.h: Removed.
15812 * scripts/lib-names.awk: Only handle one library at a time.
15813 * scripts/soversions.awk: Remove WORDSIZE support.
15814 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15815 entries.
15816 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15817 Removed.
15818 (syscall-list-default-condition): Likewise.
15819 (syscall-list-default-condition): Likewise.
15820 (syscall-list-includes): Likewise.
15821 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15822 syscall-list-* with abi-*. Handle undefined abi-variants.
15823 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15824 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15825 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15826 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15827 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15828 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15829 Removed.
15830 (syscall-list-32-options): Likewise.
15831 (syscall-list-32-condition): Likewise.
15832 (syscall-list-64-options): Likewise.
15833 (syscall-list-64-condition): Likewise.
15834 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15835 macro.
15836 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15837 Renamed to ...
15838 (abi-*): This.
15839 (abi-64-ld-soname): New macro.
15840 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15841 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15842 Renamed to ...
15843 (abi-*): This.
15844 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15845 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15846
4da0431d
JM
158472012-05-30 Joseph Myers <joseph@codesourcery.com>
15848
3a85279c
JM
15849 * sysdeps/unix/sysv/linux/kernel-features.h
15850 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15851 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15852 include <kernel-features.h>.
15853 [!__NR_ftruncate64]: Remove conditional code.
15854 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15855 [__NR_ftruncate64]: Make code unconditional.
15856 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15857 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15858 include <kernel-features.h>.
15859 [!__NR_ftruncate64]: Remove conditional code.
15860 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15861 [__NR_ftruncate64]: Make code unconditional.
15862 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15864 include <kernel-features.h>.
15865 [!__NR_ftruncate64]: Remove conditional code.
15866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15867 [__NR_ftruncate64]: Make code unconditional.
15868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15870 include <kernel-features.h>.
15871 [!__NR_ftruncate64]: Remove conditional code.
15872 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15873 [__NR_ftruncate64]: Make code unconditional.
15874 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15875
4da0431d
JM
15876 * configure.in (libc_cv_fpie): Weaken to a compile test using
15877 LIBC_TRY_CC_OPTION.
15878 * configure: Regenerated.
15879
11ef492c
AK
158802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15881
15882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15886 Refreshed.
15887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15893 Refreshed.
15894
d66ef399
DM
158952012-05-27 David S. Miller <davem@davemloft.net>
15896
15897 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15898 (___Q_zero): New.
15899 (__Q_simulate_exceptions): Return void. Change to simulate
15900 exceptions by writing into the %fsr.
15901 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15902 (__Qp_handle_exceptions): Likewise.
15903 (numbers): Delete.
15904 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15905 __Qp_handle_exceptions.
15906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15907 __Qp_handle_exceptions.
15908 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15909 as unused and give dummy FP_RND_NEAREST initializer.
15910 (FP_INHIBIT_RESULTS): Define.
15911 (___Q_simulate_exceptions): Update declaration.
15912 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15913 formatting.
15914 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15915 as unused and give dummy FP_RND_NEAREST initializer.
15916 (__Qp_handle_exceptions): Update declaration.
15917 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15918 formatting.
15919
04fb54b5
TS
159202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15921
15922 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15923 the temporary FPU control word.
15924 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15925 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15926 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15927 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15928 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15929 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15930 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15931 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15932 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15933 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15934 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15935
3f99608f
KK
159362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15937
15938 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15939 fields.
15940
65a4de4e
CLT
159412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15942
15943 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15944 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15945 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15946 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15947 Likewise.
15948 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15949 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15950 Likewise.
15951
15749d40
UD
159522012-05-27 Ulrich Drepper <drepper@gmail.com>
15953
15954 * po/h.po: Update from translation team.
15955
25dbcb27
AS
159562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15957
3d3f8e55
AS
15958 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15959
25dbcb27
AS
15960 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15961 handling of denormals.
15962 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15963 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15964 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15965 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15969 Likewise.
15970
7ad47a80 159712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15972
15973 [BZ #14152]
15974 * math/libm-test.inc (fma_test): Don't always expect underflow
15975 exception.
15976
9c6ea9fa
SP
159772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15978
15979 [BZ #12416]
15980 * elf/tst-execstack.c: Include stackinfo.h.
15981 (do_test): Adjust test case to ensure that pthread_getattr_np
15982 behaviour remains the same after marking stack executable.
15983
a8239222
JM
159842012-05-25 Joseph Myers <joseph@codesourcery.com>
15985
15986 * sysdeps/unix/sysv/linux/kernel-features.h
15987 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15988 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15989 kernel-features.h.
15990 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15991 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15992 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15993 kernel-features.h.
15994 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15995 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15996
918b5606
L
159972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15998
15999 * configure.in: Define the default includes to being none.
16000 * configure: Regenerated.
16001
3a097cc7
RM
160022012-05-25 Roland McGrath <roland@hack.frob.com>
16003
8422c9a5
RM
16004 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16005 * sysdeps/x86_64/setjmp.S: Likewise.
16006 * sysdeps/i386/bsd-setjmp.S: Likewise.
16007 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16008 * sysdeps/i386/setjmp.S: Likewise.
16009 * sysdeps/i386/__longjmp.S: Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16011 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16012
3a097cc7
RM
16013 * include/stap-probe.h: New file.
16014 * configure.in: Handle --enable-systemtap.
16015 * configure: Regenerated.
16016 * config.h.in (USE_STAP_PROBE): New #undef.
16017 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16018 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16019 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16020
21708942
JM
160212012-05-25 Joseph Myers <joseph@codesourcery.com>
16022
16023 [BZ #13717]
16024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16025 to 2.4.0 where earlier.
16026 * sysdeps/unix/sysv/linux/configure: Regenerated.
16027 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16028 <kernel-features.h>.
16029 [__ASSUME_32BITUIDS]: Make code unconditional.
16030 [!__ASSUME_32BITUIDS]: Remove conditional code.
16031 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16032 <kernel-features.h>.
16033 [__ASSUME_32BITUIDS]: Make code unconditional.
16034 [!__ASSUME_32BITUIDS]: Remove conditional code.
16035 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16036 [__ASSUME_32BITUIDS]: Make code unconditional.
16037 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16038 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
16043 <kernel-features.h>.
16044 [__ASSUME_32BITUIDS]: Make code unconditional.
16045 [!__ASSUME_32BITUIDS]: Remove conditional code.
16046 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16047 <kernel-features.h>.
16048 [__ASSUME_32BITUIDS]: Make code unconditional.
16049 [!__ASSUME_32BITUIDS]: Remove conditional code.
16050 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16051 <kernel-features.h>.
16052 [__ASSUME_32BITUIDS]: Make code unconditional.
16053 [!__ASSUME_32BITUIDS]: Remove conditional code.
16054 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16055 <kernel-features.h>.
16056 [__ASSUME_32BITUIDS]: Make code unconditional.
16057 [!__ASSUME_32BITUIDS]: Remove conditional code.
16058 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16059 <kernel-features.h>.
16060 [__ASSUME_32BITUIDS]: Make code unconditional.
16061 [!__ASSUME_32BITUIDS]: Remove conditional code.
16062 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16063 <kernel-features.h>.
16064 [__ASSUME_32BITUIDS]: Make code unconditional.
16065 [!__ASSUME_32BITUIDS]: Remove conditional code.
16066 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16067 <kernel-features.h>.
16068 [__ASSUME_32BITUIDS]: Make code unconditional.
16069 [!__ASSUME_32BITUIDS]: Remove conditional code.
16070 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16071 <kernel-features.h>.
16072 [__ASSUME_32BITUIDS]: Make code unconditional.
16073 [!__ASSUME_32BITUIDS]: Remove conditional code.
16074 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16075 <kernel-features.h>.
16076 [__ASSUME_32BITUIDS]: Make code unconditional.
16077 [!__ASSUME_32BITUIDS]: Remove conditional code.
16078 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16079 <kernel-features.h>.
16080 [__NR_setresgid] (__setresgid): Do not declare.
16081 [__ASSUME_32BITUIDS]: Make code unconditional.
16082 [!__ASSUME_32BITUIDS]: Remove conditional code.
16083 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16084 <kernel-features.h>.
16085 [__NR_setresuid] (__setresuid): Do not declare.
16086 [__ASSUME_32BITUIDS]: Make code unconditional.
16087 [!__ASSUME_32BITUIDS]: Remove conditional code.
16088 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16089 <kernel-features.h>.
16090 [__ASSUME_32BITUIDS]: Make code unconditional.
16091 [!__ASSUME_32BITUIDS]: Remove conditional code.
16092 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16093 <kernel-features.h>.
16094 [__ASSUME_32BITUIDS]: Make code unconditional.
16095 [!__ASSUME_32BITUIDS]: Remove conditional code.
16096 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16097 <kernel-features.h>.
16098 [__ASSUME_32BITUIDS]: Make code unconditional.
16099 [!__ASSUME_32BITUIDS]: Remove conditional code.
16100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16101 <kernel-features.h>.
16102 [__ASSUME_32BITUIDS]: Make code unconditional.
16103 [!__ASSUME_32BITUIDS]: Remove conditional code.
16104 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16105 <kernel-features.h>.
16106 [__ASSUME_32BITUIDS]: Make code unconditional.
16107 [!__ASSUME_32BITUIDS]: Remove conditional code.
16108 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16109 <kernel-features.h>.
16110 [__ASSUME_32BITUIDS]: Make code unconditional.
16111 [!__ASSUME_32BITUIDS]: Remove conditional code.
16112 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16113 <kernel-features.h>.
16114 [__ASSUME_32BITUIDS]: Make code unconditional.
16115 [!__ASSUME_32BITUIDS]: Remove conditional code.
16116 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16117 <kernel-features.h>.
16118 [__ASSUME_32BITUIDS]: Make code unconditional.
16119 [!__ASSUME_32BITUIDS]: Remove conditional code.
16120 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16121 <kernel-features.h>.
16122 [__ASSUME_32BITUIDS]: Make code unconditional.
16123 [!__ASSUME_32BITUIDS]: Remove conditional code.
16124 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16125 <kernel-features.h>.
16126 [__ASSUME_32BITUIDS]: Make code unconditional.
16127 [!__ASSUME_32BITUIDS]: Remove conditional code.
16128 * sysdeps/unix/sysv/linux/kernel-features.h
16129 (__ASSUME_SETRESUID_SYSCALL): Remove.
16130 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16131 (__ASSUME_32BITUIDS): Likewise.
16132 (__ASSUME_LDT_WORKS): Likewise.
16133 (__ASSUME_O_DIRECTORY): Likewise.
16134 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16135 architecture but not kernel version.
16136 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16137 (__ASSUME_MMAP2_SYSCALL): Likewise.
16138 (__ASSUME_STAT64_SYSCALL): Likewise.
16139 (__ASSUME_IPC64): Likewise.
16140 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16141 <kernel-features.h>.
16142 [__ASSUME_32BITUIDS]: Make code unconditional.
16143 [!__ASSUME_32BITUIDS]: Remove conditional code.
16144 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16145 <kernel-features.h>.
16146 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16147 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16148 132096]: Remove conditional code.
16149 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16150 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16151 <kernel-features.h>.
16152 [__ASSUME_32BITUIDS]: Make code unconditional.
16153 [!__ASSUME_32BITUIDS]: Remove conditional code.
16154 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16155 <kernel-features.h>.
16156 [__ASSUME_32BITUIDS]: Make code unconditional.
16157 [!__ASSUME_32BITUIDS]: Remove conditional code.
16158 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16159 <kernel-features.h>.
16160 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16161 unconditional.
16162 (__setresgid): Do not declare.
16163 [__ASSUME_32BITUIDS]: Make code unconditional.
16164 [!__ASSUME_32BITUIDS]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16166 <kernel-features.h>.
16167 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16168 unconditional.
16169 (__setresuid): Do not declare.
16170 [__ASSUME_32BITUIDS]: Make code unconditional.
16171 [!__ASSUME_32BITUIDS]: Remove conditional code.
16172 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16173 <kernel-features.h>.
16174 [__ASSUME_32BITUIDS]: Make code unconditional.
16175 [!__ASSUME_32BITUIDS]: Remove conditional code.
16176 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16177 <kernel-features.h>.
16178 [__ASSUME_32BITUIDS]: Make code unconditional.
16179 [!__ASSUME_32BITUIDS]: Remove conditional code.
16180
a386f1cc
RH
161812012-05-25 Richard Henderson <rth@twiddle.net>
16182
16183 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16184 dl_hwcap to ifunc resolver.
16185 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16186 elf_ifunc_invoke.
16187 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16188 dl_hwcap to ifunc resolver.
16189 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16190
b6550497
JM
161912012-05-24 Joseph Myers <joseph@codesourcery.com>
16192
16193 [BZ #14153]
16194 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16195 for |x| <= 2**-26, not 2**-57.
16196 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16197 exception.
16198
b0bc23a1
JL
161992012-05-24 Jeff Law <law@redhat.com>
16200
16201 * stdio-common/Makefile (tests): Add bug25.
16202 * stdio-common/bug25.c: New test.
16203
347c92e9
L
162042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16205
16206 [BZ #13576]
16207 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16208 multiple of MALLOC_ALIGNMENT in size.
16209 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16210
6bcc8b3f
JM
162112012-05-24 Joseph Myers <joseph@codesourcery.com>
16212
16213 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16214 Require >= 256.
16215 (FILENAME_MAX): Use macro-int-constant.
16216 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16217 (_IOFBF): Use macro-int-constant.
16218 (_IOLBF): Likewise.
16219 (_IONBF): Likewise.
16220 (SEEK_CUR): Likewise.
16221 (SEEK_END): Likewise.
16222 (SEEK_SET): Likewise.
16223 (TMP_MAX): Likewise.
16224 (EOF): Use macro-int-constant. Require < 0.
16225 (NULL): Use macro-constant. Require == 0.
16226 (stdin): Require type to be FILE *.
16227 (stdout): Likewise.
16228 (stderr): Likewise.
16229 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16230 macro-int-constant.
16231 (EXIT_SUCCESS): Likewise.
16232 (NULL): Use macro-constant. Require == 0.
16233 (RAND_MAX): Use macro-int-constant.
16234 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16235 [C99-based standards] (strtof): Require function.
16236 [C99-based standards] (strtold): Likewise.
16237 [C99-based standards] (strtoll): Likewise.
16238 [C99-based standards] (strtoull): Likewise.
16239 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16240 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16241 [ISO || ISO99 || ISO11] (math.h): Likewise.
16242 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16243 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16245
d18ea0c5
AS
162462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16247
16248 [BZ #14132]
56d25bb8
AS
16249 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16250 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16251 * intl/dgettext.c (DCGETTEXT): Likewise.
16252 * intl/gettext.c (DCGETTEXT): Likewise.
16253 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16254 * posix/regex_internal.h (gettext): Likewise.
16255 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16256 Remove declaration.
16257 * include/argz.h (__argz_count_internal)
16258 (__argz_stringify_internal): Remove declaration.
16259 (__argz_count, __argz_stringify): Declare hidden proto.
16260 * intl/dcgettext.c: Remove use of INTDEF.
16261 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16262 * string/argz-stringify.c: Likewise.
16263 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16264 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16265 Declare hidden proto.
d18ea0c5
AS
16266 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16267 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16268 Declare hidden proto.
16269 * include/stdio.h (__asprintf_internal): Don't declare.
16270 (__asprintf): Don't define as macro. Declare hidden proto.
16271 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16272 (__fsetlocking): Declare hidden proto.
16273 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16274 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16275 hidden proto.
16276 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16277 (_IO_setlinebuf): Remove use of INTUSE.
16278 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16279 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16280 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16281 Remove declaration.
16282 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16283 (_IO_do_flush): Remove use of INTUSE.
16284 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16285 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16286 (_IO_adjust_column, _IO_least_wmarker)
16287 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16288 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16289 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16290 (_IO_default_doallocate, _IO_wdefault_doallocate)
16291 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16292 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16293 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16294 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16295 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16296 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16297 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16298 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16299 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16300 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16301 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16302 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16303 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16304 proto.
16305 (_IO_flush_all_internal, _IO_adjust_column_internal)
16306 (_IO_default_uflow_internal, _IO_default_finish_internal)
16307 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16308 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16309 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16310 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16311 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16312 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16313 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16314 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16315 (_IO_file_close_internal, _IO_file_close_it_internal)
16316 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16317 (_IO_file_init_internal, _IO_file_attach_internal)
16318 (_IO_file_fopen_internal, _IO_file_read_internal)
16319 (_IO_file_sync_internal, _IO_file_seek_internal)
16320 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16321 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16322 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16323 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16324 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16325 (_IO_list_all_internal, _IO_link_in_internal)
16326 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16327 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16328 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16329 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16330 (_IO_do_write_internal, _IO_padn_internal)
16331 (_IO_getline_info_internal, _IO_getline_internal)
16332 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16333 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16334 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16335 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16336 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16337 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16338 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16339 with libc_hidden_ver, remove use of INTUSE.
16340 * libio/genops.c: Likewise.
16341 * libio/freopen.c: Likewise.
16342 * libio/freopen64.c: Likewise.
16343 * libio/iofclose.c: Likewise.
16344 * libio/iofdopen.c: Likewise.
16345 * libio/iofflush.c: Likewise.
16346 * libio/iofflush_u.c: Likewise.
16347 * libio/iofgets.c: Likewise.
16348 * libio/iofgets_u.c: Likewise.
16349 * libio/iofopen.c: Likewise.
16350 * libio/iofopncook.c: Likewise.
16351 * libio/iofread.c: Likewise.
16352 * libio/iofread_u.c: Likewise.
16353 * libio/ioftell.c: Likewise.
16354 * libio/iofwrite.c: Likewise.
16355 * libio/iogetline.c: Likewise.
16356 * libio/iogets.c: Likewise.
16357 * libio/iogetwline.c: Likewise.
16358 * libio/iopadn.c: Likewise.
16359 * libio/iopopen.c: Likewise.
16360 * libio/ioseekoff.c: Likewise.
16361 * libio/ioseekpos.c: Likewise.
16362 * libio/iosetbuffer.c: Likewise.
16363 * libio/iosetvbuf.c: Likewise.
16364 * libio/ioungetc.c: Likewise.
16365 * libio/ioungetwc.c: Likewise.
16366 * libio/iovdprintf.c: Likewise.
16367 * libio/iovsprintf.c: Likewise.
16368 * libio/iovsscanf.c: Likewise.
16369 * libio/memstream.c: Likewise.
16370 * libio/obprintf.c: Likewise.
16371 * libio/oldfileops.c: Likewise.
16372 * libio/oldiofclose.c: Likewise.
16373 * libio/oldiofdopen.c: Likewise.
16374 * libio/oldiofopen.c: Likewise.
16375 * libio/oldiopopen.c: Likewise.
16376 * libio/oldstdfiles.c: Likewise.
16377 * libio/putc.c: Likewise.
16378 * libio/setbuf.c: Likewise.
16379 * libio/setlinebuf.c: Likewise.
16380 * libio/stdfiles.c: Likewise.
16381 * libio/strops.c: Likewise.
16382 * libio/vasprintf.c: Likewise.
16383 * libio/vscanf.c: Likewise.
16384 * libio/vsnprintf.c: Likewise.
16385 * libio/vswprintf.c: Likewise.
16386 * libio/wfiledoalloc.c: Likewise.
16387 * libio/wfileops.c: Likewise.
16388 * libio/wgenops.c: Likewise.
16389 * libio/wmemstream.c: Likewise.
16390 * libio/wstrops.c: Likewise.
16391 * libio/__fpurge.c: Likewise.
16392 * libio/__fsetlocking.c: Likewise.
16393 * assert/assert.c: Likewise.
16394 * debug/fgets_chk.c: Likewise.
16395 * debug/fgets_u_chk.c: Likewise.
16396 * debug/fread_chk.c: Likewise.
16397 * debug/fread_u_chk.c: Likewise.
16398 * debug/gets_chk.c: Likewise.
16399 * debug/obprintf_chk.c: Likewise.
16400 * debug/vasprintf_chk.c: Likewise.
16401 * debug/vdprintf_chk.c: Likewise.
16402 * debug/vsnprintf_chk.c: Likewise.
16403 * debug/vsprintf_chk.c: Likewise.
16404 * malloc/mtrace.c: Likewise.
16405 * misc/error.c: Likewise.
16406 * misc/syslog.c: Likewise.
16407 * stdio-common/asprintf.c: Likewise.
16408 * stdio-common/fxprintf.c: Likewise.
16409 * stdio-common/getw.c: Likewise.
16410 * stdio-common/isoc99_fscanf.c: Likewise.
16411 * stdio-common/isoc99_scanf.c: Likewise.
16412 * stdio-common/isoc99_vfscanf.c: Likewise.
16413 * stdio-common/isoc99_vscanf.c: Likewise.
16414 * stdio-common/isoc99_vsscanf.c: Likewise.
16415 * stdio-common/printf-prs.c: Likewise.
16416 * stdio-common/printf_fp.c: Likewise.
16417 * stdio-common/printf_fphex.c: Likewise.
16418 * stdio-common/printf_size.c: Likewise.
16419 * stdio-common/putw.c: Likewise.
16420 * stdio-common/scanf.c: Likewise.
16421 * stdio-common/sprintf.c: Likewise.
16422 * stdio-common/tmpfile.c: Likewise.
16423 * stdio-common/vfprintf.c: Likewise.
16424 * stdio-common/vfscanf.c: Likewise.
16425 * stdlib/strfmon_l.c: Likewise.
16426 * sunrpc/openchild.c: Likewise.
16427 * sunrpc/xdr_stdio.c: Likewise.
16428 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16429 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16430
d6c33fda
RM
164312012-05-24 Roland McGrath <roland@hack.frob.com>
16432
c1487492
RM
16433 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16434
16435 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16436 in the third column, to generate for the shared library an IFUNC
16437 that uses _dl_vdso_vsym.
16438 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16439 * Makeconfig (object-suffixes-noshared): New variable.
16440
16441 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16442 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16443 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16444 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16445
d6c33fda
RM
16446 [BZ #14132]
16447 * include/sys/time.h (__gettimeofday): Remove macro.
16448 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16449 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16450 Remove INTDEF.
16451 (__gettimeofday): Add libc_hidden_def.
16452 (gettimeofday): Add libc_hidden_weak.
16453 * sysdeps/mach/gettimeofday.c: Likewise.
16454 * sysdeps/posix/gettimeofday.c: Likewise.
16455 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16456 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16457 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16458 (__gettimeofday_internal): Remove strong_alias.
16459 (__gettimeofday): Add libc_hidden_def.
16460 (gettimeofday): Add libc_hidden_weak.
16461 * sysdeps/unix/syscalls.list (gettimeofday):
16462 Remove __gettimeofday_internal alias.
16463
b5a2bbe6
L
164642012-05-24 Daniel Jacobowitz <drow@false.org>
16465 H.J. Lu <hongjiu.lu@intel.com>
16466
16467 [BZ #12495]
16468 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16469 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16470 (largebin_index_32_big): New.
16471 (largebin_index): Use it for 16-byte alignment.
16472 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16473 correction with front_misalign.
16474
cfba4fda
L
164752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16476
7f907421
L
16477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16479 Likewise.
16480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16481 Likewise.
16482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16483 Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16485 Likewise.
16486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16487 Likewise.
16488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16489 Likewise.
16490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16491 Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16493 Likewise.
16494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16495 Likewise.
16496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16497 Likewise.
16498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16499 Likewise.
16500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16501 Likewise.
16502
cfba4fda
L
16503 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16504 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16505
80bad0cc
JM
165062012-05-24 Joseph Myers <joseph@codesourcery.com>
16507
7a25eb06
JM
16508 [BZ #10846]
16509 [BZ #14036]
16510 * math/libm-test.inc (exp_test): Add test from bug 14036.
16511 (pow_test): Add test from bug 10846.
16512
795405f9
JM
16513 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16514 and other flags.
16515 (special_function): Do not include flags in test name.
16516 (parse_args): Likewise.
16517 * sysdeps/i386/fpu/libm-test-ulps: Update.
16518 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16519 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16520 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16522
80bad0cc
JM
16523 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16524 exceptions.
16525 * math/libm-test.inc ("Philosophy"): Update comment about
16526 exception testing.
16527 (UNDERFLOW_EXCEPTION): New macro.
16528 (UNDERFLOW_EXCEPTION_OK): Likewise.
16529 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16530 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16531 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16532 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16533 (INVALID_EXCEPTION_OK): Update value.
16534 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16535 (OVERFLOW_EXCEPTION_OK): Likewise.
16536 (IGNORE_ZERO_INF_SIGN): Likewise.
16537 (test_exceptions): Handle underflow exceptions.
16538 (acos_test): Update for underflow exception expectations.
16539 (cexp_test): Likewise.
16540 (clog_test): Likewise.
16541 (clog10_test): Likewise.
16542 (csqrt_test): Likewise.
16543 (ctan_test): Likewise.
16544 (ctanh_test): Likewise.
16545 (exp_test): Likewise.
16546 (exp10_test): Likewise.
16547 (exp2_test): Likewise.
16548 (expm1_test): Likewise.
16549 (fma_test): Likewise.
16550 (j0_test): Likewise.
16551 (jn_test): Likewise.
16552 (nexttoward_test): Likewise.
16553 (pow_test): Likewise.
16554 (scalbn_test): Likewise.
16555 (scalbln_test): Likewise.
16556 (tan_test): Likewise.
16557 (y1_test): Likewise.
16558 * sysdeps/i386/fpu/libm-test-ulps: Update.
16559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16560
9e0e3d0b
DM
165612012-05-23 David S. Miller <davem@davemloft.net>
16562
16563 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16564 (__libc_sigaction): Remove unused local variables.
16565
ccd0a08f
L
165662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16567
16568 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16569
62bdf9a6
PE
165702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16571
f8591f80
PE
16572 mktime: avoid signed integer overflow
16573 * time/mktime.c (__mktime_internal): Do not mishandle the case
16574 where diff == INT_MIN.
16575
94c7d826
PE
16576 mktime: simplify computation of average
16577 * time/mktime.c (ranged_convert): Use new time_t_avg function
16578 instead of rolling our own (probably-slower) code.
16579
ce73d683
PE
16580 mktime: do not assume signed right shift propagates sign bit
16581 * time/mktime.c (isdst_differ): New static function.
16582 (__mktime_internal): No need to normalize tm_isdst now.
16583 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16584 tm_isdst values.
16585
72a22e59
PE
16586 mktime: merge another wrapv change from gnulib
16587 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16588 from some compilers.
16589
68605433
PE
16590 mktime: remove incorrect attempt at unusual arithmetics
16591 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16592 The code didn't really work on such machines anyway.
16593 (TYPE_MINIMUM): Assume two's complement.
16594 (twos_complement_arithmetic): Verify that long_int and time_t
16595 are two's complement (or unsigned, in the latter case).
16596
03cf7fe3
PE
16597 mktime: check signed shifts on long_int and time_t, too
16598 * time/mktime.c (SHR): Check that shifts work as desired
16599 on the types long_int and time_t too, as SHR is used on
16600 such types.
16601
f04dfbc2
PE
16602 mktime: do not assume 'long' is wide enough
16603 * time/mktime.c (verify): Move decl up.
16604 (long_int): New type.
16605 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16606 to remove assumption in the code that 'long' is wide enough to
16607 store year values. This assumption is not true on x32 and on
16608 some non-glibc platforms.
16609
62bdf9a6
PE
16610 mktime: merge wrapv change from gnulib
16611 * time/mktime.c (WRAPV): New macro.
16612 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16613 (guess_time_tm, __mktime_internal): Do not assume that signed
16614 integer overflow wraps around; modern compilers generate code
16615 where this assumption is no longer valid.
16616
5e292e4f
L
166172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16618
16619 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16620 Replace "jmp L(pseudo_end)" with "ret".
16621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16622 Likewise.
16623
8caf8c87
AJ
166242012-05-23 Andreas Jaeger <aj@suse.de>
16625
16626 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16627 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16628
1a09dc56
AJ
166292012-05-23 Andreas Jaeger <aj@suse.de>
16630 Maximilian Attems <max@stro.at>
16631
16632 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16633 New macros.
16634
1c87aba0
L
166352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16636
16637 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16638 code so that pseudo_end is just ret and the stack pointer is
16639 correct also for static library in error case.
16640
40e45bd5
JM
166412012-05-23 Joseph Myers <joseph@codesourcery.com>
16642
c2670533
JM
16643 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16644 move to syscalls.list.
16645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16649
40e45bd5
JM
16650 * manual/install.texi (Running make install): Do not mention Linux
16651 kernel version for which pt_chown is not needed.
16652 (Linux): Do not mention problems with nscd with 2.0 kernels.
16653 * INSTALL: Regenerated.
16654
be08eda5
AJ
166552012-05-23 Andreas Jaeger <aj@suse.de>
16656
16657 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16658 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16659 macro.
16660 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16661 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16662 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16663 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16664 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16665 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16668 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16670 * sysdeps/unix/sysv/linux/bits/in.h
16671 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16672
a6a056bb
RM
166732012-05-22 Roland McGrath <roland@hack.frob.com>
16674
16675 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16676 (PREPARE_VERSION): Just use assert instead, it will be elided
16677 under [NDEBUG] anyway.
16678
c9009328
L
166792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16680
16681 * sysdeps/unix/sysv/linux/Makefile: Include
16682 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16683 (sysdep_routines): Remove sysctl.
c9009328
L
16684 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16685 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16686 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16687 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16688 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16689
73338355
AJ
166902012-05-22 Andreas Jaeger <aj@suse.de>
16691
16692 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16693 that pseudo_end is just ret and the stack pointer is correct also
16694 for static library in error case.
16695
d44638b0
PP
166962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16697
16698 [BZ #14122]
16699 * nss/nsswitch.c (defconfig_entries): New variable.
16700 (__nss_database_lookup): Don't leak defconfig entries.
16701 (nss_parse_service_list): Don't leak on error paths.
16702 (free_database_entries): New function.
16703 (free_defconfig): New function.
16704 (free_mem): Move common code to free_database_entries.
16705
31a39bd8
L
167062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16707
da0331a8
L
16708 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16709 Add arch_prctl.
16710 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16711
31a39bd8
L
16712 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16713 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16715 New macro.
16716 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16717 (INTERNAL_SYSCALL_TYPES): Likewise.
16718 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16719 (LOAD_REGS_TYPES_[1-6]): Likewise.
16720 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16721 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16722
45470df3
AZ
167232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16724
16725 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16726 copysignl for GLIBC_2_0.
16727 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16728 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16730 logbl for GLIBC_2_0.
16731 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16732 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16733
98a61bcb
L
167342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16735
a4f6e481
L
16736 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16737 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16738
f63d5db6
L
16739 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16740 Use "neg %eax".
16741
98a61bcb
L
16742 * time/mktime.c: Update copyright years.
16743
95770f14
PE
167442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16745
6226efbd
PE
16746 mktime: merge comment-quoting-style change from gnulib
16747 * time/mktime.c: Quote 'like this' in comments.
16748 The GNU coding standards suggest that we no longer quote `like this',
16749 as "`" and "'" are typically rendered asymmetrically nowadays.
16750 The typical gnulib style is to quote 'like this' when quoting
16751 code, and "like this" when quoting English.
16752
b99e4f78
PE
16753 * time/mktime.c (compile-command): Add "-I.".
16754
643e01e6
PE
16755 mktime: merge mktime-internal.h change from gnulib
16756 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16757
2554247d
PE
16758 mktime: merge time_r change from gnulib
16759 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16760
826dd0ab
PE
16761 mktime: merge DEBUG change from gnulib
16762 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16763 case system <time.h> has a #define.
16764
bd83aabe
PE
16765 mktime: merge <sys/types.h> change from gnulib
16766 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16767 since <time.t> is now guaranteed to define time_t.
16768
95770f14
PE
16769 mktime: merge HAVE_CONFIG_H change from gnulib
16770 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16771
5e1a27a9
L
167722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16773
0e44a77e
L
16774 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16775 Use "neg %eax".
16776
5e1a27a9
L
16777 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16778 __rlim_t cast.
16779 (struct rusage): Use anonymous union to pad each field to
16780 __syscall_slong_t.
16781
46259bec
DM
167822012-05-21 David S. Miller <davem@davemloft.net>
16783
16784 * Makefules (o-iterator): Remove .s cases.
16785 (compile-command.s): Delete.
16786 (COMPILE.s): Delete.
16787 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16788
59f0c22e
JM
167892012-05-21 Joseph Myers <joseph@codesourcery.com>
16790
16791 * configure.in (libc_cv_predef_stack_protector): Only consider
16792 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16793 * configure: Regenerated.
16794
20c07380
L
167952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16796
bbb3154b
L
16797 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16798 New macro. Use R*LP on int and pointer.
16799 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16800 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16802 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16803
20c07380
L
16804 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16805 [__WORDSIZE_TIME64_COMPAT32] instead of
16806 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16807 (struct utmp): Likewise.
16808 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16809 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16810 Renamed to ...
16811 (__WORDSIZE_TIME64_COMPAT32): This.
16812 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16813 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16814 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16815 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16816 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16817 (__WORDSIZE_TIME64_COMPAT32): New macro.
16818
d8d1017e
AJ
168192012-05-21 Andreas Jaeger <aj@suse.de>
16820
16821 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16822 only if [SHARED]. Add prototype for __wcschr_ia32.
16823
6c7fb145
RM
168242012-05-21 Roland McGrath <roland@hack.frob.com>
16825
16826 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16827 of %rbp unmolested in the jmp_buf while mangling the low bits.
16828 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16829 unmolested high bits of %rbp while demangling the low bits.
16830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16831
66274218
AJ
168322012-05-21 Andreas Jaeger <aj@suse.de>
16833
07c58f8f
AJ
16834 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16835 * sunrpc/svc_simple.c: Use it for registerrpc.
16836 * sunrpc/xcrypt.c: Use it for passwd2des.
16837
66274218
AJ
16838 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16839
61f65140
L
168402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16841
16842 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16843 Don't define if [__SYSCALL_WORDSIZE != 32].
16844 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16845 New macro.
16846
5fefb436
AJ
168472012-05-21 Bruno Haible <bruno@clisp.org>
16848 Andreas Jaeger <aj@suse.de>
16849
16850 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16851 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16852 inptr and inend for must_buffer_ch.
16853 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16854 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16855 * stdio-common/Makefile (tests): Remove bug15.
16856 (bug15-ENV): Remove macro.
16857 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16858 anymore.
16859
d8e272ab
AJ
168602012-05-19 Andreas Jaeger <aj@suse.de>
16861 Roland McGrath <roland@hack.frob.com>
16862
16863 * manual/contrib.texi: Completely rewritten. It contains now an
16864 alphabetical list of contributors and their contributions.
16865
4a56a162
RH
168662012-05-21 Richard Henderson <rth@twiddle.net>
16867
16868 * misc/getauxval.c (__getauxval): Use unsigned long int.
16869 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16870 (getauxval): Use unsigned long int.
16871
d024d23c
L
168722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16873
16874 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16875
cbc00a03
RM
168762012-05-21 Roland McGrath <roland@hack.frob.com>
16877
16878 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16879 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16880 __alignof__ (long double).
16881
478143fa
AZ
168822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16883
16884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16885
c7683a6d
RH
168862012-05-20 Richard Henderson <rth@twiddle.net>
16887
16888 * misc/getauxval.c: New file.
16889 * misc/sys/auxv.h: New file.
16890 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16891 (routines): Add getauxval.
16892 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16893 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16894 * elf/dl-sysdep.c (_dl_auxv): Remove.
16895 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16896 * elf/dl-support.c (_dl_auxv): New variable.
16897 (_dl_aux_init): Initialize it.
16898 * manual/startup.texi (Auxiliary Vector): New node.
16899 * sysdeps/generic/bits/hwcap.h: New file.
16900 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16901 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16902 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16903 * sysdeps/sparc/sysdep.h: ... here. Include it.
16904 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16905 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16907 Update.
c7683a6d
RH
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16916
a6f1845d
AZ
169172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16918
16919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16920
cbcbe830
DM
169212012-05-19 David S. Miller <davem@davemloft.net>
16922
16923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16924
e0b16cc2
JM
169252012-05-19 Joseph Myers <joseph@codesourcery.com>
16926
16927 [BZ #14123]
16928 * math/s_ccosh.c: Include <float.h>
16929 (__ccosh): Avoid internal overflow calculating sinh and cosh
16930 values before multiplying by sin and cos values.
16931 * math/s_ccoshf.c: Likewise.
16932 * math/s_ccoshl.c: Likewise.
16933 * math/s_csin.c: Likewise.
16934 * math/s_csinf.c: Likewise.
16935 * math/s_csinl.c: Likewise.
16936 * math/s_csinh.c: Likewise.
16937 * math/s_csinhf.c: Likewise.
16938 * math/s_csinhl.c: Likewise.
16939 * math/libm-test.inc (ccos_test): Add more tests.
16940 (ccosh_test): Likewise.
16941 (csin_test): Likewise.
16942 (csinh_test): Likewise.
16943 * sysdeps/i386/fpu/libm-test-ulps: Update.
16944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16945
6ad13e08
L
169462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16947
f66f0ce8
L
16948 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16949 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16950
6ad13e08
L
16951 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16952
b1d072a7
JM
169532012-05-19 Joseph Myers <joseph@codesourcery.com>
16954
16955 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16956 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16957 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16958 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16959 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16960 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16961 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16962 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16963 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16964 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16965 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16966 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16967 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16968 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16969 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16970 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16971 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16972 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16973 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16974 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16975 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16976 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16977 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16978 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16979 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16980 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16981 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16982 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16983 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16984 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16985 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16986
9eae47cb
AJ
169872012-05-18 Andreas Jaeger <aj@suse.de>
16988
16989 * csu/.gitignore: Delete.
16990
bb07f69f
L
169912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16992
16993 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16994 (timex): Use __syscall_slong_t.
16995
e6bdb741
AJ
169962012-05-18 Andreas Jaeger <aj@suse.de>
16997 Carlos O'Donell <carlos_odonell@mentor.com>
16998
16999 * manual/install.texi (Configuring and compiling): Update
17000 description about files modified in the source directory.
d6c33fda 17001 * INSTALL: Regenerated.
e6bdb741 17002
1b74487e
L
170032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17004
17005 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17006 value. Use "or" to set return value to -1.
17007 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17008 negate return value.
17009
a88b64b9
TMQMF
170102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17011
17012 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17013 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17014 failure if the compiler has Graphite support disabled.
17015 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17016 Likewise.
17017 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17018 CFLAGS-memmove.c): Likewise.
17019 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17020 Likewise.
17021
3707636e
L
170222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17023
610b8622
L
17024 * sysdeps/x86_64/x32/_itoa.h: New file.
17025
7cd195df
L
17026 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17027 getdents system call only if kernel and user dirents have the
17028 same d_ino and d_off.
17029
94b07d20
L
17030 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17031 LLONG_MAX != LONG_MAX.
17032 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17033 (_fitoa_word): Likewise.
17034
18298070
L
17035 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17036 years.
17037 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17038 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17039 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17040
553c7ea4
L
17041 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17042 include <bits/wordsize.h>. Check __x86_64__ instead of
17043 __WORDSIZE.
17044 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17045 if __x86_64__ is defined. Use anonymous union on fpstate.
17046
3707636e
L
17047 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17048 anonymous union.
17049
b53ef01a
AS
170502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17051
37fb1dc0
AS
17052 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17053 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17054 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17055 Refer to _rtld_local_ro instead of _rtld_global_ro.
17056 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17057 Likewise.
17058 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17059 Likewise.
17060 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17061 Likewise.
17062 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17063 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17064 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17065
b53ef01a
AS
17066 * sysdeps/powerpc/powerpc32/dl-machine.c
17067 (__elf_machine_runtime_setup) [PROF]: Don't reference
17068 _dl_prof_resolve.
17069
7a185db2
AJ
170702012-05-18 Andreas Jaeger <aj@suse.de>
17071
17072 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17073 function only available for GCCs before 3.4 since GCC 3.4
17074 introduced a builtin.
17075 (lrint): Likewise.
17076 (llrintf): Likewise.
17077 (llrint): Likewise.
17078 (fmaxf): Likewise.
17079 (fmax): Likewise.
17080 (fminf): Likewise.
17081 (fmin): Likewise.
17082 (rint): Likewise.
17083 (rintf): Likewise.
17084 (nearbyint): Likewise.
17085 (nearbyintf): Likewise.
17086 (ceil): Likewise.
17087 (ceilf): Likewise.
17088 (floor): Likewise.
17089 (floorf): Likewise.
17090
3e5aef87
L
170912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17092
428bd707
L
17093 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17094 on both fields and cast pointer to __syscall_ulong_t.
17095
3e5aef87
L
17096 * bits/types.h (__fsword_t): New type.
17097 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17098 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17100 (__FSWORD_T_TYPE): Likewise.
17101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17102 (__FSWORD_T_TYPE): Likewise.
17103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17104 (__FSWORD_T_TYPE): Likewise.
17105 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17106 (__FSWORD_T_TYPE): Likewise.
17107 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17108 __SWORD_TYPE with __fsword_t.
17109 (statfs64): Likewise.
17110
1ba7c3dc
DM
171112012-05-17 David S. Miller <davem@davemloft.net>
17112
17113 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17114
59910343
AJ
171152012-05-17 Andreas Jaeger <aj@suse.de>
17116
17117 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17118 warning.
17119
2e4c1e9e
L
171202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17121
17122 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17123
de7f5ce7
AJ
171242012-05-17 Andreas Jaeger <aj@suse.de>
17125
17126 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17127 when it is used.
17128
286abc3d
CM
171292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17130
17131 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17132
477cc68e
L
171332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17134
17135 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17136 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17137
1a0994f5
CD
171382012-05-17 Andreas Jaeger <aj@suse.de>
17139 Carlos O'Donell <carlos_odonell@mentor.com>
17140
17141 [BZ #14059]
17142 * sysdeps/x86_64/multiarch/init-arch.h
17143 (bit_YMM_Usable): Rename to...
17144 (bit_AVX_Usable): ... this.
17145 (bit_FMA4_Usable): New macro.
17146 (bit_XMM_state): New macro.
17147 (bit_YMM_state): New macro.
17148 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17149 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17150 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17151 (CPUID_OSXSAVE): New macro.
17152 (CPUID_AVX): New macro.
17153 (CPUID_FMA4): New macro.
17154 (index_YMM_Usable): Rename to...
17155 (index_AVX_Usable): ... this.
17156 (HAS_AVX): Use HAS_ARCH_FEATURE.
17157 (HAS_FMA4): Likewise.
17158 (HAS_YMM_USABLE): Remove.
17159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17160 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17161 are present.
17162 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17163 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17164 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17165 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17166 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17167
0af797de
CM
171682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17169
17170 * math/libm-test.c: Support platforms without multiple rounding modes.
17171 * math/bug-nextafter.c: Support platforms without FP exceptions.
17172 * math/bug-nexttoward.c: Likewise.
17173 * math/test-fenv.c: Likewise.
17174 * math/test-misc.c: Likewise.
17175 * stdlib/bug-getcontext.c: Likewise.
17176
e39745ff
AJ
171772012-05-17 Andreas Jaeger <aj@suse.de>
17178
17179 * manual/examples/search.c (critter_cmp): Change signature to
17180 avoid warnings.
17181 * manual/string.texi (Collation Functions): Likewise.
17182
48970aba
L
171832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17184
17185 * bits/types.h: Fold copyright years.
17186 * bits/typesizes.h: Likewise.
17187 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17191 * time/time.h: Likewise.
17192
bedee953
PP
171932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17194
17195 [BZ #208]
17196 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17197 in instead of returning them. Return void.
17198 (__libc_mallinfo): Accumulate over all arenas.
17199 (__malloc_stats): Adjust for change in int_mallinfo interface.
17200
61653dfb
RM
172012012-05-16 Roland McGrath <roland@hack.frob.com>
17202
30b99d79
RM
17203 [BZ #10375]
17204 * configure.in (NM): Add AC_CHECK_TOOL for it.
17205 (libc_extra_cflags): New substituted variable.
17206 Check for -fstack-protector being used implicitly.
17207 * configure: Regenerated.
17208 * config.make.in (config-extra-cflags): New variable,
17209 gets @libc_extra_cflags@.
17210 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17211
61653dfb
RM
17212 [BZ #10375]
17213 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17214 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17215 * configure: Regenerated.
17216 * config.make.in (CPPUNDEFS): New substituted variable.
17217 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17218 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17219 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17220
661768bb
L
172212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17222
17223 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17224 (mq_attr): Use __syscall_slong_t.
17225
d4261567
L
172262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17229 Check __x86_64__ instead of __WORDSIZE.
17230 (_STAT_VER_LINUX): Likewise.
17231 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17232 __syscall_ulong_t and __syscall_slong_t.
17233 (stat64): Likewise.
17234
cf3ff365
L
172352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17236
17237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17238
76cf3e4d
L
172392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17240
17241 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17242
a637753a
L
172432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17244
17245 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17246 __syscall_ulong_t.
17247
d5e05119
L
17248 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17249 include <bits/wordsize.h>. Check __x86_64__ instead of
17250 __WORDSIZE.
17251 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17252 defined.
17253 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17254
f62ee380
L
17255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17256 include <bits/wordsize.h>. Check __x86_64__ instead of
17257 __WORDSIZE.
17258 (user_regs_struct): Use "__extension__ unsigned long long"
17259 instead of "unsigned long" if __x86_64__ is defined.
17260 (user): Likewise. Pad after pointer field if __ILP32__ is
17261 defined.
17262
4e124ced
JM
172632012-05-16 Joseph Myers <joseph@codesourcery.com>
17264
6a3951a0
JM
17265 * configure.in (makeinfo): Require version 4.5 or later. Allow
17266 versions 5 to 9.
17267 * configure: Regenerated.
17268 * manual/install.texi (texinfo): Increase version requirement to
17269 4.5 or later.
17270 * INSTALL: Regenerated.
17271
4e124ced
JM
17272 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17273
953ca31a
L
172742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17275
17276 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17277
617aca05
L
17278 * sysdeps/x86_64/x32/ffs.c: New file.
17279
5762f7ae
L
17280 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17281 __syscall_ulong_t.
17282 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17283 defined. Use __syscall_ulong_t.
17284 (shminfo): Use __syscall_ulong_t.
17285 (shm_info): Likewise.
17286
a26b6856
L
17287 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17288 __syscall_ulong_t.
17289
cb2b9ef7
L
17290 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17291 <bits/wordsize.h>.
17292 (msgqnum_t): Use __syscall_ulong_t.
17293 (msglen_t): Likewise.
17294 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17295 __syscall_ulong_t.
17296
34683bb0
L
17297 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17298 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17299
84a68786
L
17300 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17301
48baa5f1
L
17302 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17303 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17304
180be88b
L
17305 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17306 __syscall_slong_t.
17307
5e90c8ad
L
17308 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17309 include <bits/wordsize.h>. Check __x86_64__ instead of
17310 __WORDSIZE.
17311
23dfb58b
L
17312 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17313 "unsigned long long int" if __x86_64__ is defined.
17314 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17315
ce5d54b0
L
17316 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17317 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17318 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17319
13dc9eac
L
17320 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17321 <stdint.h>.
17322 (GET_PC): Cast to uintptr_t first.
17323 (GET_FRAME): Likewise.
17324 (GET_STACK): Likewise.
17325
a7895d15
L
17326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17329 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17331 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17332 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17333 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17334 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17335 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17336 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17338 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17340 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17342 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17352 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17354 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17355
656416c9
AS
173562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17357
5bd66283
AS
17358 * Makerules (+depfiles): Also collect depfiles from .oS in
17359 $(extra-objs).
17360 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17361 .oS, $(libnldbl-routines)).
17362
656416c9
AS
17363 * Makerules (native-compile-mkdep-flags): Define.
17364 * sunrpc/Makefile (extra-objs): Add $(addprefix
17365 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17366 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17367 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17368 calling $(make-target-directory).
17369
a46f2169
L
173702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17371
17372 * bits/types.h (__snseconds_t): Removed.
17373 * time/time.h (struct timespec): Replace __snseconds_t with
17374 __syscall_slong_t.
17375 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17376 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17377 Likewise.
17378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17379 (__SNSECONDS_T_TYPE): Likewise.
17380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17381 (__SNSECONDS_T_TYPE): Likewise.
17382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17383 (__SNSECONDS_T_TYPE): Likewise.
17384
6af6528b
L
173852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17386
17387 * sysdeps/mach/hurd/bits/typesizes.h
17388 (__SYSCALL_SLONG_TYPE): New macro.
17389 (__SYSCALL_ULONG_TYPE): Likewise.
17390
de986b56
L
173912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17392
17393 * bits/types.h (__syscall_slong_t): New type.
17394 (__syscall_ulong_t): Likewise.
17395
17396 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17397 (__SYSCALL_ULONG_TYPE): Likewise.
17398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17399 (__SYSCALL_SLONG_TYPE): Likewise.
17400 (__SYSCALL_ULONG_TYPE): Likewise.
17401 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17402 (__SYSCALL_SLONG_TYPE): Likewise.
17403 (__SYSCALL_ULONG_TYPE): Likewise.
17404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17405 (__SYSCALL_SLONG_TYPE): Likewise.
17406 (__SYSCALL_ULONG_TYPE): Likewise.
17407
85736dc7
L
174082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17409
17410 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17411 Add sigaltstack-offsets.sym.
17412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17413 <sigaltstack-offsets.h>.
17414 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17415 longjmp_msg pointer.
17416 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17417 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17418 signal stack.
17419 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17420
cc03b296
JM
174212012-05-15 Joseph Myers <joseph@codesourcery.com>
17422
a9538892
JM
17423 * elf/stackguard-macros.h: Remove file.
17424 * sysdeps/generic/stackguard-macros.h: New file.
17425 * sysdeps/i386/stackguard-macros.h: Likewise.
17426 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17427 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17428 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17429 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17430 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17431 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17432 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17433 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17434 <elf/stackguard-macros.h>.
17435
cc03b296
JM
17436 [BZ #14109]
17437 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17438 __aligned__ in attribute.
17439 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17440 (gregset_t): Likewise.
17441
93171016
L
174422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17443
17444 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17445 * sysdeps/x86_64/64/Implies-after: Here. New file.
17446 * sysdeps/x86_64/x32/Implies-after: New file.
17447
d86813a0
L
174482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17451 and access return value for _dl_profile_fixup. Use R10_LP to
17452 load frame size.
17453
2953ec75
L
174542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17455
17456 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17457
3b550e9e
L
174582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17459
17460 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17461 * sysdeps/x86_64/x32/sysdep.h: New file.
17462
eda41706
L
174632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17464
17465 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17466 * sysdeps/x86_64/setjmp.S: Likewise.
17467
9ea01d93
AZ
174682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17469
17470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17471 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17472 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17473 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17474 remove unused global constant.
17475
02a91938
CM
174762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17477
17478 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17479 include of <not-cancel.h>.
17480
6540185f
RM
174812012-05-15 Roland McGrath <roland@hack.frob.com>
17482
17483 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17484
509072a0
AJ
174852012-05-15 Jeff Law <law@redhat.com>
17486 Andreas Jaeger <aj@suse.de>
17487
17488 [BZ #13594]
17489 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17490 out from...
17491 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17492 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17493 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17494 code changing __hst_map_handle.map.
17495
ba75122d
RM
174962012-05-15 Roland McGrath <roland@hack.frob.com>
17497
17498 * configure.in (sysnames): Look for Implies-before and Implies-after
17499 files.
17500 * configure: Regenerated.
17501
890d8bd8
L
175022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17503
17504 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17505 8-byte data alignment with LP_SIZE alignment.
17506
f6ee6623
L
175072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17508
17509 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17510 into R10_LP.
17511
ea2626f6
L
175122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17513
17514 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17515
085f715e
L
175162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17517
17518 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17519 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17520 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17521 Likewise.
17522 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17523
be8498fc
L
175242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17525
17526 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17527 (stackinfo_sub_sp): Likewise.
17528
70bc83b9
L
175292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17530
17531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17532 RAX_LP.
17533
9bc0b730
L
175342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17535
17536 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17537 into R*_LP.
17538
6d2850e7
L
175392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17540
17541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17542 sizes into R*_LP.
17543
3cb84561
L
175442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17545
17546 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17547
54e2ed81
L
175482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17549
17550 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17551 into R11_LP and load __x86_64_shared_cache_size_half into
17552 R8_LP.
17553
8a17f349
L
175542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17555
17556 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17557 R8_LP.
17558
777b1eea
AZ
175592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17560
17561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17562 logb for POWER7.
17563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17564 logbf for POWER7.
17565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17566 logbl for POWER7.
17567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17568 powerpc32/power7/fpu/s_logb.c via #include.
17569 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17570 powerpc32/power7/fpu/s_logbf.c via #include.
17571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17572 powerpc32/power7/fpu/s_logbl.c via #include.
17573
d20d4ac2
JM
175742012-05-15 Joseph Myers <joseph@codesourcery.com>
17575
17576 * README.libm: Remove file.
17577
6cdef1ab
L
175782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17581 count for x32. Use R*_LP and omit operand-size suffix.
17582
0b254d8f
L
175832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17584
17585 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17586 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17587 * sysdeps/x86_64/x32/shlib-versions: New file.
17588
ceb809dc
RM
175892012-05-14 Roland McGrath <roland@hack.frob.com>
17590
17591 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17592 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17593 Use _dl_fatal_printf instead.
17594
37f1abd4
JM
175952012-05-14 Joseph Myers <joseph@codesourcery.com>
17596
17597 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17598 set if not set by the user. Do not allow for being unset.
17599 * sysdeps/unix/sysv/linux/configure: Regenerated.
17600
11de3a33
L
176012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17602
17603 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17604 the `q' suffix from lea and replace .quad with ASM_ADDR.
17605
e02f153a
L
176062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17607
17608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17609 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17610 instead of $17.
17611 (PTR_DEMANGLE): Likewise.
17612
520ae0fd
L
176132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17616 (LP_OP): Likewise.
17617 (ASM_ADDR): Likewise.
17618 (RAX_LP): Likewise.
17619 (RBP_LP): Likewise.
17620 (RBX_LP): Likewise.
17621 (RCX_LP): Likewise.
17622 (RDI_LP): Likewise.
17623 (RSI_LP): Likewise.
17624 (RSP_LP): Likewise.
17625 (R8_LP): Likewise.
17626 (R9_LP): Likewise.
17627 (R10_LP): Likewise.
17628 (R10_LP): Likewise.
17629 (R11_LP): Likewise.
17630 (R12_LP): Likewise.
17631 (R13_LP): Likewise.
17632 (R14_LP): Likewise.
17633 (R15_LP): Likewise.
17634
b985be81
L
176352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17636
17637 * sysdeps/x86_64/x32/dl-machine.h: New file.
17638
6a4888ff
AJ
176392012-05-14 Andreas Jaeger <aj@suse.de>
17640
17641 * manual/Makefile (subdir): Remove export of subdir.
17642 (all): Remove target.
17643 (.PHONY): Remove all from list.
17644 (mkinstalldirs): Remove.
17645 (.PHONY): Remove installdirs from list.
17646 ($(inst_infodir)/libc.info): Use make-target-directory.
17647 (installdirs): Remove.
17648 (subdir_%): Remove.
17649 (glibc-targets): Remove.
17650 (lib): Remove.
17651 (stubs): Remove.
17652 ($(objpfx)stubs ../po/manual.pot): Remove.
17653 ($(objpfx)stamp%): Remove.
17654 (make-target-directory): Remove.
17655 (subdir_install): Remove.
17656 (routines): Remove.
17657 (aux): Remove.
17658 (sources): Remove.
17659 (objects): Remove.
17660 (headers): Remove.
17661
17662 [BZ #13750]
17663 * manual/.gitignore: Remove, it's not needed anymore.
17664 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17665 all files in it.
17666 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17667 directory.
17668 (texis): Renamed to $(objpfx)texis.
17669 (texis-path): New, contains path to generated files.
17670 (chapters.%): Use texis-path for complete path, add extra argument
17671 libc-texinfo.sh.
17672 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17673 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17674 (summary,texi, stamp-summary): Use complete path of
17675 files. Generate files in build dir.
17676 (dir-add.texi): Build in build dir.
17677 (libm-err.texi,stamp-libm-err): Likewise.
17678 (version.texi, stamp-version): Likewise.
17679 (.%c.texi): Likewise.
17680 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17681 (mostlyclean): Remove target.
17682 (realclean): Remove target.
17683 (generated): Add new variable with contents from mostlyclean and
17684 realclean, remove entries duplicated in common-mostlyclean, add
17685 stamp-libm-err and stamp-version.
17686 (generated-dirs): Add libc directory.
17687 ($(inst_infodir)/libc.info): Install files from build dir.
17688
17689 * manual/install.texi (Configuring and compiling): Adjust since
17690 the info files are not part of the tar ball anymore.
17691
7ac77294
AJ
176922012-05-14 Andreas Jaeger <aj@suse.de>
17693
17694 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17695 variable.
17696
ffb7875d
JM
176972012-05-14 Joseph Myers <joseph@codesourcery.com>
17698
17699 [BZ #13717]
17700 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17701 to 2.2.0 where earlier.
17702 * sysdeps/unix/sysv/linux/configure: Regenerated.
17703 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17704 Remove conditional code.
17705 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17706 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17707 Remove conditional code.
17708 [!__NR_lchown]: Likewise.
17709 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17710 [__NR_lchown]: Likewise.
17711 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17712 comment referencing __ASSUME_LCHOWN_SYSCALL.
17713 * sysdeps/unix/sysv/linux/i386/sigaction.c
17714 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17715 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17716 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17717 Remove conditional code.
17718 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17719 (__protocol_available): Remove #if 0 code.
17720 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17721 conditional code.
17722 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17723 * sysdeps/unix/sysv/linux/kernel-features.h
17724 (__ASSUME_GETCWD_SYSCALL): Don't define.
17725 (__ASSUME_REALTIME_SIGNALS): Likewise.
17726 (__ASSUME_PREAD_SYSCALL): Likewise.
17727 (__ASSUME_PWRITE_SYSCALL): Likewise.
17728 (__ASSUME_POLL_SYSCALL): Likewise.
17729 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17730 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17731 non-SPARC.
17732 (__ASSUME_SIOCGIFNAME): Don't define.
17733 (__ASSUME_MSG_NOSIGNAL): Likewise.
17734 (__ASSUME_SENDFILE): Define unconditionally.
17735 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17736 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17737 conditional code.
17738 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17739 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17740 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17741 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17742 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17743 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17744 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17746 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17747 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17749 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17752 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17753 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17755 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17758 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17761 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17767 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17769 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17770 Remove conditional code.
17771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17772 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17773 Remove conditional code.
17774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17775 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17776 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17777 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17778 Remove conditional code.
17779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17780 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17781 Remove conditional code.
17782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17783 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17784 Remove conditional code.
17785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17786 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17787 Remove conditional code.
17788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17789 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17790 Remove conditional code.
17791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17792 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17795 * sysdeps/unix/sysv/linux/sigaction.c
17796 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17797 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17798 * sysdeps/unix/sysv/linux/sigpending.c
17799 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17800 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17801 * sysdeps/unix/sysv/linux/sigprocmask.c
17802 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17803 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17804 * sysdeps/unix/sysv/linux/sigsuspend.c
17805 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17806 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17807 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17808 (__libc_missing_rt_sigs): Remove.
17809 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17810 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17811 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17812 Remove conditional code.
17813 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17814 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17815 return 1.
17816 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17817 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17818 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17819 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17820
1bfb7291
AJ
178212012-05-14 Andreas Jaeger <aj@suse.de>
17822
caae5a81
AJ
17823 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17824 it's not used in glibc.
17825 (__coshm1): Likewise.
17826 (__acosh1p): Likewise.
17827 (__sgn): Likewise.
17828
1bfb7291
AJ
17829 * manual/string.texi (Copying and Concatenation): Add missing
17830 variable in concat example.
17831 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17832
c044d724
L
178332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17834
144c5467 17835 [BZ #14103]
c044d724
L
17836 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17837 __builtin_clzl with __builtin_clzll.
17838
2523c62b
L
178392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 [BZ #14104]
17842 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17843 libc_freeres_ptr.
17844
d7bb4c42
LD
178452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17846
17847 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17848 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17849 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17850 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17851
9dc4e1fb
MF
178522012-05-14 Mike Frysinger <vapier@gentoo.org>
17853
17854 * NEWS: Update ia64 info.
17855
c7df0112
AS
178562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17857
17858 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17859 used as bcopy.
17860
dc70356c
TS
178612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17862
17863 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17864 * sysdeps/unix/syscalls.list (dup3): Likewise.
17865 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17866 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17867
9fb1a21f
L
178682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17869
17870 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17871 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17872
4822a2a5
L
178732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17876 thread pointer.
17877 (TLS_IE): Use mov/add instead of movq/addq to load thread
17878 pointer.
17879 (TLS_GD_PREFIX): New.
17880 (TLS_GD): Use it.
17881
842b81d6
DM
178822012-05-11 David S. Miller <davem@davemloft.net>
17883
17884 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17885 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17886 (_FPU_SETCW): Likewise.
17887
1cf463cd
L
178882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17891 is 32-byte aligned.
17892
60cc4a18
AS
178932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17894
17895 [BZ #11837]
17896 * iconvdata/gb18030.c: Update tables.
17897 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17898 characters specially.
17899 (BODY for TO_LOOP): Add encoding of missing ranges.
17900
febb44a4
TS
179012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17902
17903 [BZ #13673]
17904 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17905 * sysdeps/mach/hurd/dup3.c: Likewise.
17906 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17907 * sysdeps/powerpc/memmove.c:: Likewise.
17908
0a10fb9e
L
179092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17910
17911 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17912 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17913
df8a552f
L
179142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17915
17916 * elf/elf.h (R_X86_64_RELATIVE64): New.
17917 (R_X86_64_NUM): Updated.
17918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17919 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17920 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17921 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17922 tst-quad1pie tst-quad2pie
17923 (modules-names): Add tst-quadmod1 tst-quadmod2.
17924 ($(objpfx)tst-quad1): New dependency.
17925 ($(objpfx)tst-quad2): Likewise.
17926 ($(objpfx)tst-quad1pie): Likewise.
17927 ($(objpfx)tst-quad2pie): Likewise.
17928 * sysdeps/x86_64/tst-quad1.c: New file.
17929 * sysdeps/x86_64/tst-quad1pie.c: New file.
17930 * sysdeps/x86_64/tst-quad2.c: Likewise.
17931 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17932 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17933 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17934 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17935 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17936
f34d6f84
ST
179372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17938
f42d41d1
ST
17939 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17940 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17941 * streams/stropts.h (t_scalar_t): Define type.
17942
3c3571fc
ST
17943 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17944 (_PATH_PRESERVE): Set to "/var/lib".
17945 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17946
61f06bd3
ST
17947 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17948 instead of int.
17949
918d4d71
ST
17950 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17951 if __dir_mkfile succeeded.
17952
f34d6f84
ST
17953 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17954 checking for _hurd_dtablesize. Unlock it right after having
17955 finished _hurd_dtable allocation.
17956
10589b4a
TS
179572012-05-10 Thomas Schwinge <thomas@schwinge.name>
17958
674cdbc7
TS
17959 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17960 * sysdeps/mach/hurd/configure: Regenerated.
17961 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17962 special-casing to...
17963 * sysdeps/gnu/configure.in: ... this new file.
17964 * sysdeps/unix/sysv/linux/configure: Regenerated.
17965 * sysdeps/gnu/configure: New generated file.
17966
8e41b99f
TS
17967 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17968 for Linux: use nsec instead of usec, as well as:
17969 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17970 members of type struct timespec.
17971 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17972 New macros.
17973 (struct stat64): Likewise.
17974 (_STATBUF_ST_NSEC): New macro.
17975 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17976
10589b4a
TS
17977 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17978 __strtoul_internal rather than strtoul.
17979
63643c85
PT
179802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17981
17982 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17983 and reject them.
17984
3faebe6a
ST
179852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17986
17987 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17988 which preserves existing values.
17989 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17990
c6474b07
PT
179912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17992
17993 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17994 TIMEOUT values. Return EINVAL for NFDS values either negative or
17995 greater than FD_SETSIZE.
17996
1043890b
ST
179972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17998
17999 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18000 allocated, call __vm_protect to finish enabling the existing space, and
18001 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18002 allocate the remainder.
18003
37ed8b9b
PT
180042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18005
18006 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18007 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18008
db653660
ST
180092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18010
37ed8b9b
PT
18011 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18012 sysdeps/mach/hurd/readlink.c.
b29d4053 18013
db653660
ST
18014 * posix/tst-sysconf.c (posix_options): Only use
18015 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18016 _POSIX_SYNCHRONIZED_IO when they are defined
18017 * sysdeps/mach/hurd/bits/posix_opt.h:
18018 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18019 (_XOPEN_REALTIME): Undefine macro.
18020 (_XOPEN_REALTIME_THREADS): Undefine macro.
18021 (_XOPEN_SHM): Undefine macro.
18022 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18023 macro to -1.
18024 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18025 macro to -1.
18026 (_POSIX_ASYNC_IO): Undefine macro.
18027 (_POSIX_PRIORITIZED_IO): Undefine macro.
18028 (_POSIX_SPIN_LOCKS): Define macro to -1.
18029
ee16e894
ST
18030 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18031 SA_NODEFER, SA_RESETHAND.
18032 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18033 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18034 F_DUPFD_CLOEXEC.
18035
6103ae3b
TS
180362012-05-10 Thomas Schwinge <thomas@schwinge.name>
18037
18038 * elf/Makefile (pldd-modules): Define unconditionally.
18039
80b4e5f3
TS
180402012-05-10 Thomas Schwinge <thomas@schwinge.name>
18041
18042 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18043
edadcbd6
ST
180442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18045
18046 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18047 Return ENOENT when name is empty.
18048 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18049
80694780
TS
180502012-05-10 Thomas Schwinge <thomas@schwinge.name>
18051
1792c087
TS
18052 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18053
80694780
TS
18054 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18055
6b645f0d
ST
180562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18057
80694780
TS
18058 Fix mlock in all cases except non-readable pages.
18059 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18060 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18061
6b645f0d
ST
18062 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18063 (__mkdir): When path is `/', just fail with EEXIST.
18064 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18065
e468f8a3
TS
180662012-05-10 Thomas Schwinge <thomas@schwinge.name>
18067
18068 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18069 <sys/uio.h> (for writev).
18070 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18071 and <sys/param.h> (for MIN).
18072
a4186cff
PT
180732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18074
18075 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18076 REQUESTED_TIME. Properly set the remaining time and return EINTR
18077 if interrupted.
18078
510bbf14
TS
180792012-05-10 Thomas Schwinge <thomas@schwinge.name>
18080
18081 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18082 Depend on against $(link-rpcuserlibs).
18083
5d5722e8
ST
180842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18085
a4186cff
PT
18086 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18087 (__libc_stack_end): Do not use attribute_relro.
18088 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18089 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18090 to libthread-provided value.
a4186cff
PT
18091 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18092 attribute_relro.
5d5722e8 18093
37233df9
TS
180942012-05-10 Thomas Schwinge <thomas@schwinge.name>
18095
be971a2b
TS
18096 [BZ #3748]
18097 * bits/libc-lock.h (__libc_once_get): New macro.
18098 * sysdeps/mach/bits/libc-lock.h: Likewise.
18099 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18100 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18101 instead of using implementation details.
18102
37233df9
TS
18103 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18104 * libio/freopen.c: Likewise.
18105 * libio/freopen64.c: Likewise.
18106 * misc/syslog.c: Likewise.
18107 * nscd/connections.c: Likewise.
18108 * nscd/netgroupcache.c: Likewise.
18109 * sysdeps/posix/getcwd.c: Likewise.
18110
38de94a5
RM
181112012-05-10 Roland McGrath <roland@hack.frob.com>
18112
18113 * math/w_ilogbf.c: Add #include <limits.h>.
18114
67530489
ST
181152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18116
a4186cff 18117 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18118 path instead of returning without unlocking.
18119
67530489
ST
18120 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18121 immediate-write ioctls.
18122 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18123
5aa3a74a
TS
181242012-05-10 Thomas Schwinge <thomas@schwinge.name>
18125
18bad2ae
TS
18126 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18127 __builtin_frame_address instead of making assumptions about the
18128 location of the return address relative to DATA. Force early load of
18129 the return address.
18130 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18131 __builtin_frame_address.
18132
5aa3a74a
TS
18133 dup3 for GNU Hurd.
18134 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18135 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18136 implement dup3 and do some further code clean-ups.
18137 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18138 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18139
ecd0de9a
ST
181402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18141
cd9fa985
ST
18142 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18143
a4186cff
PT
18144 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18145 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18146 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18147 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18148 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18149 d->port.lock.
802ca5a5 18150
a4186cff
PT
18151 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18152 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18153 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18154
bcf55240
TS
181552012-05-10 Thomas Schwinge <thomas@schwinge.name>
18156
6960eb42
TS
18157 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18158 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18159 definitions.
18160
eb43375f
TS
18161 accept4 for GNU Hurd.
18162 * include/sys/socket.h (__libc_accept4): New prototype.
18163 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18164 to implement __libc_accept4.
18165 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18166 __libc_accept4.
18167 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18168
bcf55240
TS
18169 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18170 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18171 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18172 signal-defines.sym.
18173
6178c55b
ST
181742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18175
a4186cff 18176 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18177
6f080c2f
TS
181782012-05-10 Thomas Schwinge <thomas@schwinge.name>
18179
18180 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18181 assertion on O_CLOEXEC flag.
18182 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18183 * hurd/intern-fd.c: Likewise.
18184 * hurd/port2fd.c: Likewise.
18185
bcfe3a54
ST
181862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18187
18188 [BZ #3906]
18189 * bits/in.h (IPV6_PKTINFO): Define new macro.
18190 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18191
89c9aa49
AZ
181922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18193
18194 [BZ #13954]
18195 [BZ #13955]
18196 [BZ #13956]
18197 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18199 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18200 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18202 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18203 * math/libm-test.inc (logb_test) : Additional logb tests.
18204
021db4be
AJ
182052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18206 Andreas Jaeger <aj@suse.de>
18207
18208 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18209 * configure: Regenerated.
18210 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18211 * config.make.in (link-obsolete-rpc): New substituted variable.
18212 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18213 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18214 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18215 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18216 so that libc.a contains the symbols.
18217 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18218 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18219 * sunrpc/auth_none.c: Likewise.
18220 * sunrpc/auth_unix.c: Likewise.
18221 * sunrpc/authdes_prot.c: Likewise.
18222 * sunrpc/authuxprot.c: Likewise.
18223 * sunrpc/clnt_gen.c: Likewise.
18224 * sunrpc/clnt_perr.c: Likewise.
18225 * sunrpc/clnt_raw.c: Likewise.
18226 * sunrpc/clnt_simp.c: Likewise.
18227 * sunrpc/clnt_tcp.c: Likewise.
18228 * sunrpc/clnt_udp.c: Likewise.
18229 * sunrpc/clnt_unix.c: Likewise.
18230 * sunrpc/des_crypt.c: Likewise.
18231 * sunrpc/des_soft.c: Likewise.
18232 * sunrpc/get_myaddr.c: Likewise.
18233 * sunrpc/key_call.c: Likewise.
18234 * sunrpc/key_prot.c: Likewise.
18235 * sunrpc/netname.c: Likewise.
18236 * sunrpc/pm_getmaps.c: Likewise.
18237 * sunrpc/pm_getport.c: Likewise.
18238 * sunrpc/pmap_clnt.c: Likewise.
18239 * sunrpc/pmap_prot.c: Likewise.
18240 * sunrpc/pmap_prot2.c: Likewise.
18241 * sunrpc/pmap_rmt.c: Likewise.
18242 * sunrpc/publickey.c: Likewise.
18243 * sunrpc/rpc_cmsg.c: Likewise.
18244 * sunrpc/rpc_common.c: Likewise.
18245 * sunrpc/rpc_dtable.c: Likewise.
18246 * sunrpc/rpc_prot.c: Likewise.
18247 * sunrpc/rpc_thread.c: Likewise.
18248 * sunrpc/rtime.c: Likewise.
18249 * sunrpc/svc.c: Likewise.
18250 * sunrpc/svc_auth.c: Likewise.
18251 * sunrpc/svc_raw.c: Likewise.
18252 * sunrpc/svc_run.c: Likewise.
18253 * sunrpc/svc_tcp.c: Likewise.
18254 * sunrpc/svc_udp.c: Likewise.
18255 * sunrpc/svc_unix.c: Likewise.
18256 * sunrpc/svcauth_des.c: Likewise.
18257 * sunrpc/xcrypt.c: Likewise.
18258 * sunrpc/xdr.c: Likewise.
18259 * sunrpc/xdr_array.c: Likewise.
18260 * sunrpc/xdr_float.c: Likewise.
18261 * sunrpc/xdr_intXX_t.c: Likewise.
18262 * sunrpc/xdr_mem.c: Likewise.
18263 * sunrpc/xdr_rec.c: Likewise.
18264 * sunrpc/xdr_ref.c: Likewise.
18265 * sunrpc/xdr_sizeof.c: Likewise.
18266 * sunrpc/xdr_stdio.c: Likewise.
18267
b5c086a2
RM
182682012-05-10 Roland McGrath <roland@hack.frob.com>
18269
18270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18271 change. Update copyright years.
18272
6d74dd09
JM
182732012-05-10 Joseph Myers <joseph@codesourcery.com>
18274
18275 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18276
28e72501
MK
182772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18278 Joseph Myers <joseph@codesourcery.com>
18279 Paul Pluzhnikov <ppluzhnikov@google.com>
18280
18281 [BZ #14012]
18282 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18283 requiring rpcgen.
18284 [cross-compiling] (extra-libs): Likewise.
18285 [cross-compiling] (extra-libs-others): Likewise.
18286 [cross-compiling] (librpcsvc-routines): Likewise.
18287 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18288 [cross-compiling] (omit-deps): Likewise.
18289 (sunrpc-CPPFLAGS): New variable.
18290 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18291 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18292 (cross-rpcgen-objs): New variable.
18293 (extra-objs): Append $(cross-rpcgen-objs).
18294 ($(cross-rpcgen-objs)): New rule.
18295 ($(objpfx)cross-rpcgen): Likewise.
18296 (rpcgen-cmd): Define to use $(built-program-file). Expand
18297 comment.
18298 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18299 ($(objpfx)x%.stmp): Likewise.
18300 * sunrpc/proto.h [IS_IN_build] (_): Define.
18301 [IS_IN_build] (_libc_intl_domainname): Likewise.
18302
c8c59454
L
183032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18304
18305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18306 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18307 and R_X86_64_TPOFF64.
18308
6f27cd16
JM
183092012-05-10 Joseph Myers <joseph@codesourcery.com>
18310
18311 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18312 sysdeps/unix/sysv/syscalls.list.
18313 (stime): Likewise.
18314 (utime): Likewise.
18315 * sysdeps/unix/sysv/syscalls.list: Remove file.
18316
02467e1c
PE
183172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18318
18319 [BZ #3440]
18320 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18321 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18322 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18323 (__LC_IDENTIFICATION): Make these macros useful in #if
18324 expressions, as required by C99.
18325
da392631
AS
183262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18327
18328 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18329 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18330 after this.
18331
8115f29b
L
183322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18333
18334 * stdlib/longlong.h: Updated from GCC.
18335
bdd74070
AJ
183362012-05-09 Andreas Jaeger <aj@suse.de>
18337
edfe0dbe
AJ
18338 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18339 default is first entry.
18340 (run_mode): Set type.
18341 (main): Remove informal message about syslog.
18342 (options): Fix typo.
18343
bcfe3a54
ST
18344 [BZ #14053]
18345 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18346 to asm.
bcfe3a54
ST
18347 (lrint): Likewise.
18348 (llrintf): Likewise.
18349 (llrint): Likewise.
18350 (rint): Likewise.
18351 (rintf): Likewise.
18352 (nearbyint): Likewise.
18353 (nearbyintf): Likewise.
bdd74070 18354
91d8d69e
AJ
183552012-05-09 Andreas Jaeger <aj@suse.de>
18356 Pedro Alves <palves@redhat.com>
18357
18358 * nscd/nscd.c (run_mode): Use enum.
18359 (main): Cleanup coding style issue.
18360
bb90b80b
AJ
183612012-05-09 Alexandre Oliva <aoliva@redhat.com>
18362 Andreas Jaeger <aj@suse.de>
18363
bcfe3a54
ST
18364 * nscd/nscd.c (go_background): Replaced with...
18365 (run_mode): ... this.
bb90b80b 18366 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18367 (options): Add -F --foreground.
18368 (main): Implement it.
18369 (parse_opt): Parse it.
bb90b80b 18370
1a4b75a1
AJ
183712012-05-09 Andreas Jaeger <aj@suse.de>
18372
18373 [BZ #14083]
18374 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18375 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18376 -Wconversion warning.
18377 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18378 Likewise.
18379
b1cc2472
JM
183802012-05-09 Joseph Myers <joseph@codesourcery.com>
18381
18382 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18383 == 0.
18384 (LC_ALL): Use macro-int-constant.
18385 (LC_COLLATE): Likewise.
18386 (LC_CTYPE): Likewise.
18387 (LC_MESSAGES): Likewise.
18388 (LC_MONETARY): Likewise.
18389 (LC_NUMERIC): Likewise.
18390 (LC_TIME): Likewise.
18391 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18392 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18393 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18394 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18395 Specify type.
18396 [C99-based standards] (float_t): Expect type.
18397 [C99-based standards] (double_t): Expect type.
18398 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18399 type.
18400 [C99-based standards] (HUGE_VALL): Likewise.
18401 [C99-based standards] (INFINITY): Likewise.
18402 [C99-based standards] (NAN): Likewise.
18403 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18404 [C99-based standards] (FP_NAN): Likewise.
18405 [C99-based standards] (FP_NORMAL): Likewise.
18406 [C99-based standards] (FP_SUBNORMAL): Likewise.
18407 [C99-based standards] (FP_ZERO): Likewise.
18408 [C99-based standards] (FP_FAST_FMA): Use
18409 optional-macro-int-constant. Specify type. Require == 1.
18410 [C99-based standards] (FP_FAST_FMAF): Likewise.
18411 [C99-based standards] (FP_FAST_FMAL): Likewise.
18412 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18413 [C99-based standards] (FP_ILOGBNAN): Likewise.
18414 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18415 Specify type.
18416 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18417 [C99-based standards] (math_errhandling): Specify type.
18418 [ISO99 || ISO11] (signgam): Do not allow.
18419 [non-C99-based standards] (copysignf): Do not allow.
18420 [non-C99-based standards] (exp2f): Likewise.
18421 [non-C99-based standards] (log2f): Likewise.
18422 [non-C99-based standards] (modff): Allow.
18423 [non-C99-based standards] (erff): Do not allow.
18424 [non-C99-based standards] (erfcf): Likewise.
18425 [non-C99-based standards] (gammaf): Likewise.
18426 [non-C99-based standards] (hypotf): Likewise.
18427 [non-C99-based standards] (j0f): Likewise.
18428 [non-C99-based standards] (j1f): Likewise.
18429 [non-C99-based standards] (jnf): Likewise.
18430 [non-C99-based standards] (lgammaf): Likewise.
18431 [non-C99-based standards] (tgammaf): Likewise.
18432 [non-C99-based standards] (y0f): Likewise.
18433 [non-C99-based standards] (y1f): Likewise.
18434 [non-C99-based standards] (ynf): Likewise.
18435 [non-C99-based standards] (isnanf): Likewise.
18436 [non-C99-based standards] (acoshf): Likewise.
18437 [non-C99-based standards] (asinhf): Likewise.
18438 [non-C99-based standards] (atanhf): Likewise.
18439 [non-C99-based standards] (cbrtf): Likewise.
18440 [non-C99-based standards] (expm1f): Likewise.
18441 [non-C99-based standards] (ilogbf): Likewise.
18442 [non-C99-based standards] (log1pf): Likewise.
18443 [non-C99-based standards] (logbf): Likewise.
18444 [non-C99-based standards] (nextafterf): Likewise.
18445 [non-C99-based standards] (remainderf): Likewise.
18446 [non-C99-based standards] (rintf): Likewise.
18447 [non-C99-based standards] (scalbf): Likewise.
18448 [non-C99-based standards] (copysignl): Likewise.
18449 [non-C99-based standards] (exp2l): Likewise.
18450 [non-C99-based standards] (log2l): Likewise.
18451 [non-C99-based standards] (modfl): Allow.
18452 [non-C99-based standards] (erfl): Do not allow.
18453 [non-C99-based standards] (erfcl): Likewise.
18454 [non-C99-based standards] (gammal): Likewise.
18455 [non-C99-based standards] (hypotl): Likewise.
18456 [non-C99-based standards] (j0l): Likewise.
18457 [non-C99-based standards] (j1l): Likewise.
18458 [non-C99-based standards] (jnl): Likewise.
18459 [non-C99-based standards] (lgammal): Likewise.
18460 [non-C99-based standards] (tgammal): Likewise.
18461 [non-C99-based standards] (y0l): Likewise.
18462 [non-C99-based standards] (y1l): Likewise.
18463 [non-C99-based standards] (ynl): Likewise.
18464 [non-C99-based standards] (isnanl): Likewise.
18465 [non-C99-based standards] (acoshl): Likewise.
18466 [non-C99-based standards] (asinhl): Likewise.
18467 [non-C99-based standards] (atanhl): Likewise.
18468 [non-C99-based standards] (cbrtl): Likewise.
18469 [non-C99-based standards] (expm1l): Likewise.
18470 [non-C99-based standards] (ilogbl): Likewise.
18471 [non-C99-based standards] (log1pl): Likewise.
18472 [non-C99-based standards] (logbl): Likewise.
18473 [non-C99-based standards] (nextafterl): Likewise.
18474 [non-C99-based standards] (remainderl): Likewise.
18475 [non-C99-based standards] (rintl): Likewise.
18476 [non-C99-based standards] (scalbl): Likewise.
18477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18478 [non-C99-based standards] (FP_*): Do not allow.
18479 [C99-based standards] (FP_*): Change to
18480 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18481 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18482 allow.
18483 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18484 (SIG_ERR): Likewise.
18485 [X/Open-based standards] (SIG_HOLD): Likewise.
18486 (SIG_IGN): Likewise.
18487 (SIGABRT): Use macro-int-constant. Specify type. Require
18488 positive value.
18489 (SIGFPE): Likewise.
18490 (SIGILL): Likewise.
18491 (SIGINT): Likewise.
18492 (SIGSEGV): Likewise.
18493 (SIGTER): Likewise.
18494 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18495 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18496 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18497 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18498 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18499 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18500 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18501 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18502 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18503 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18504 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18505 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18506 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18507 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18508 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18509 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18510 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18511 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18512 [X/Open-based standards] (SIGTRAP): Likewise.
18513 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18514 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18515 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18516 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18517 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18518 allow.
18519
b9f1922d
IW
185202012-05-08 Ian Wienand <ianw@vmware.com>
18521
18522 [BZ #14080]
18523 * time/tzset.c (__tzset_parse_tz): Update default rules for
18524 daylight time changes in the Energy Policy Act of 2005.
18525
1db86e88
AJ
185262012-05-09 Andreas Jaeger <aj@suse.de>
18527
18528 [BZ #13983]
18529 * elf/ldconfig.c (parse_conf): Change string to make clear that
18530 ldconfig only issued a warning if ld.so.conf does not exist.
18531
dee4a4e3
DM
185322012-05-08 David S. Miller <davem@davemloft.net>
18533
ee0db190
DM
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18535 movxtod instead of popping the value on the stack.
18536
dee4a4e3
DM
18537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18538
6a43ec98
CD
185392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18540
18541 * config.h.in: Add HAVE_ARM_PCS_VFP.
18542
05c2c961
RMG
185432012-05-08 Roland Mc Grath <roland@hack.frob.com>
18544
bcfe3a54
ST
18545 [BZ #13979]
18546 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18547 checking but the checks are disabled for any reason.
05c2c961 18548
4b30f61a
L
185492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18550
18551 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18552 and ELF64_R_TYPE with ELFW(R_TYPE).
18553
eee2bc67
JM
185542012-05-08 Joseph Myers <joseph@codesourcery.com>
18555
7ea5391a
JM
18556 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18557 (ulimit): Likewise.
18558
eee2bc67
JM
18559 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18560 (settimeofday): Likewise.
18561
abb66a67
MF
185622012-05-08 Mike Frysinger <vapier@gentoo.org>
18563
18564 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18565 a struct th_u2 inside the union, and move tu_block/tu_code into
18566 a new th_u3 union of tu_block/tu_code inside of that. Move
18567 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18568 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18569 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18570 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18571 (th_stuff): Change to th_u1.tu_stuff.
18572 (th_data): Define.
18573 (th_msg): Change to th_u1.th_u2.tu_data.
18574
7f18b530
DM
185752012-05-07 David S. Miller <davem@davemloft.net>
18576
05760585
DM
18577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18578
7f18b530
DM
18579 [BZ #14074]
18580 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18581 (SETUP_PIC_REG): Use it.
18582 (SETUP_PIC_REG_LEAF): Use it.
18583
495fd99f
JM
185842012-05-07 Joseph Myers <joseph@codesourcery.com>
18585
18586 [BZ #13885]
18587 [BZ #13923]
18588 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18589 USE_AS_EXPM1L.
18590 (EXPL_FINITE): Likewise.
18591 (FLDLOG): Likewise.
18592 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18593 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18594 e_expl.S.
18595 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18601 e_expl.S.
18602 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18603 test of -max_value argument for long double.
18604 * sysdeps/i386/fpu/libm-test-ulps: Update.
18605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606
6693d694
DM
186072012-05-06 David S. Miller <davem@davemloft.net>
18608
18609 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18610 quad soft-float symbols whose references which are compiler
18611 generated.
18612 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18613
6c23e11c
JM
186142012-05-06 Joseph Myers <joseph@codesourcery.com>
18615
d8b82cad
JM
18616 [BZ #13884]
18617 [BZ #13914]
18618 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18619 USE_AS_EXP10L.
18620 (EXPL_FINITE): Likewise.
18621 (FLDLOG): Likewise.
18622 (c0): Likewise.
18623 (c1): Likewise.
18624 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18625 Adjust comments for base varying.
18626 (__expl_finite): Change alias to EXPL_FINITE.
18627 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18628 e_expl.S.
18629 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18630 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18631 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18632 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18633 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18634 USE_AS_EXP10L.
18635 (EXPL_FINITE): Likewise.
18636 (FLDLOG): Likewise.
18637 (c0): Likewise.
18638 (c1): Likewise.
18639 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18640 Adjust comments for base varying.
18641 (__expl_finite): Change alias to EXPL_FINITE.
18642 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18643 tests for bugs.
18644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18645
6c23e11c
JM
18646 [BZ #14064]
18647 * math/libm-test.inc (check_float_internal): Correct ulp
18648 calculation for subnormal expected results.
18649
29ba805c
AJ
186502012-05-06 Andreas Jaeger <aj@suse.de>
18651
18652 * Makeconfig (+math-flags): New, set to -frounding-math.
18653 (+cflags): Add +math-flags so that all of glibc gets compiled with
18654 it.
18655
18656 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18657
7b17aeda
JM
186582012-05-05 Joseph Myers <joseph@codesourcery.com>
18659
5779f134
JM
18660 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18661 Disable one test.
18662
41498f4d
JM
18663 [BZ #13787]
18664 [BZ #13922]
18665 [BZ #14036]
18666 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18667 (__ieee754_expl): Allow for and saturate large arguments.
18668 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18669 (u_threshold): Likewise.
18670 (__exp): Call __ieee754_exp before checking for overflow and
18671 underflow.
18672 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18673 (u_threshold): Likewise.
18674 (__expf): Call __ieee754_expf before checking for overflow and
18675 underflow.
18676 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18677 (u_threshold): Likewise.
18678 (__expl): Call __ieee754_expl before checking for overflow and
18679 underflow.
18680 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18681 (__ieee754_expl): Allow for and saturate large arguments.
18682 * math/libm-test.inc (exp_test): Add another test. Do not allow
18683 missing overflow exception on overflow.
18684 (expm1_test): Do not allow missing overflow exception on overflow.
18685
6698b8bf
JM
18686 * sysdeps/i386/fpu/e_expl.c: Move to ...
18687 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18688 rather than using inline asm.
18689 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18690 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18691 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18692
7b17aeda
JM
18693 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18694 (nice): Likewise.
18695 (poll): Likewise.
18696 (signal): Likewise.
18697 (time): Likewise.
18698 (times): Likewise.
18699
f7c85819
JM
187002012-05-04 Joseph Myers <joseph@codesourcery.com>
18701
18702 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18703 sysdeps/unix/common/syscalls.list.
18704 (fchmod): Likewise.
18705 (fchown): Likewise.
18706 (ftruncate): Likewise.
18707 (getrusage): Likewise.
18708 (gettimeofday): Likewise.
18709 (setpgid): Likewise.
18710 (setregid): Likewise.
18711 (setreuid): Likewise.
18712 (sigaction): Likewise.
18713 (truncate): Likewise.
18714 (vhangup): Likewise.
18715 * sysdeps/unix/common/syscalls.list: Remove file.
18716 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18717 * sysdeps/unix/sysv/linux/Implies: Likewise.
18718
336270d0
L
187192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18720
18721 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18723 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18724 Moved to ...
18725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18726 Here.
18727 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18728 to ...
18729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18730 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18731 to ...
18732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18733 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18734 to ...
18735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18736 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18737 to ...
18738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18739 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18740 to ...
18741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18742 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18743 to ...
18744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18745 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18746 to ...
18747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18748 Here.
18749 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18750 to ...
18751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18752 Here.
18753 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18754 to ...
18755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18756 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18757 Moved to ...
18758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18759 Here.
18760 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18761 to ...
18762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18763
d128e450
JM
187642012-05-04 Joseph Myers <joseph@codesourcery.com>
18765
fa8ee516
JM
18766 * sysdeps/unix/common/bits/dirent.h: Remove file.
18767 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18768
d128e450
JM
18769 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18770 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18771 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18772 * sysdeps/unix/bsd/isatty.c: Likewise.
18773 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18774 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18775 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18776
ff8faaf0 187772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18778
62881be4 18779 [BZ #13563]
31dc8730
AZ
18780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18781 long double comparison inaccuracies.
18782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18784
6fef930c
AS
187852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18786
18787 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18788 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18789
8f203e6c
JM
187902012-05-04 Joseph Myers <joseph@codesourcery.com>
18791
18792 [BZ #14049]
18793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18794 nonzero digits before rounding a hex value.
18795 * stdlib/tst-strtod.c (tests): Add another test.
18796
5197d9c2
AK
187972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18798
18799 * sysdeps/s390/fpu/libm-test-ulps: Update.
18800
f0c1dedf
AJ
188012012-05-03 Andreas Jaeger <aj@suse.de>
18802
18803 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18804 does not get optimized out.
18805 (malloc_opt_barrier): New.
18806
a65ef2ae 188072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18808 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18809
2b942cb7 18810 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18811 intermediate file deletion.
2b942cb7 18812 (generated): Add .symlist files.
a65ef2ae 18813
54b71e02
JM
188142012-05-03 Joseph Myers <joseph@codesourcery.com>
18815
18816 [BZ #13775]
18817 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18818 Redirect under this condition.
18819 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18820 [__USE_GNU] (__dprintf_chk): Not under this condition.
18821 [__USE_GNU] (__vdprintf_chk): Likewise.
18822 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18823 under this condition.
18824 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18825 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18826 [__USE_XOPEN2K8] (vdprintf): Likewise.
18827 [__USE_GNU] (__dprintf_chk): Not under this condition.
18828 [__USE_GNU] (__vdprintf_chk): Likewise.
18829 [__USE_GNU] (dprintf): Likewise.
18830 [__USE_GNU] (vdprintf): Likewise.
18831
d3dfcc41
RM
188322012-05-03 Roland McGrath <roland@hack.frob.com>
18833
18834 * elf/Makefile (common-generated): Set this instead of generated for
18835 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18836 $(all-built-dso)-derived lists.
18837
7ac30cc5
AJ
188382012-05-03 Andreas Jaeger <aj@suse.de>
18839
0c51e550
AJ
18840 * sysdeps/i386/fpu/libm-test-ulps: Update.
18841
7ac30cc5
AJ
18842 * FAQ: Removed.
18843 * FAQ.in: Likewise.
18844 * scripts/gen-FAQ.pl: Likewise.
18845 * manual/install.texi (Installation): Point to online location of
18846 FAQ.
18847 * Makefile (files-for-dist): Remove FAQ.
18848 (FAQ): Remove.
18849
d4c2917f
AM
188502012-05-02 Allan McRae <allan@archlinux.org>
18851
18852 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18853 (LDFLAGS-reldepmod5.so): Likewise.
18854 (LDFLAGS-reldep6mod1.so): Likewise.
18855 (LDFLAGS-reldep6mod4.so): Likewise.
18856 (LDFLAGS-reldep8mod3.so): Likewise.
18857 (LDFLAGS-unload4mod1.so): Likewise.
18858 (LDFLAGS-unload4mod2.so): Likewise.
18859 (LDFLAGS-tst-initorder): Likewise.
18860 (LDFLAGS-tst-initordera2.so): Likewise.
18861 (LDFLAGS-tst-initordera3.so): Likewise.
18862 (LDFLAGS-tst-initordera4.so): Likewise.
18863 (LDFLAGS-tst-initorderb2.so): Likewise.
18864 (LDFLAGS-noload): Likewise.
18865 (LDFLAGS-next): Likewise.
18866 (LDFLAGS-order2mod1.so): Likewise.
18867 (LDFLAGS-order2mod2.so): Likewise.
18868 (LDFLAGS-tst-initorder2): Likewise.
18869 (LDFLAGS-tst-initorder2a.so): Likewise.
18870 (LDFLAGS-tst-initorder2b.so): Likewise.
18871 (LDFLAGS-tst-initorder2c.so): Likewise.
18872 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18873
d77f993f
DM
188742012-05-02 David S. Miller <davem@davemloft.net>
18875
18876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18877
171a70b4
PP
188782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18879
18880 [BZ #14055]
18881 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18882
0be196ad
AJ
188832012-05-02 Andreas Jaeger <aj@suse.de>
18884
18885 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18886 since we manipulate rounding mode.
18887 (CPPFLAGS-test-idouble.c): Likewise.
18888 (CPPFLAGS-test-ifloat.c): Likewise.
18889 (CFLAGS-test-ldouble.c): Likewise.
18890 (CFLAGS-test-double.c): Likewise.
18891 (CFLAGS-test-float.c): Likewise.
18892 (CFLAGS-test-misc.c): Likewise.
18893 (CFLAGS-test-test-fenv.c): Likewise.
18894
4f9d04aa
AZ
188952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18896
2b942cb7
RM
18897 [BZ #2550]
18898 [BZ #2570]
18899 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18900 comparisons to determine direction to adjust input.
4f9d04aa 18901
82a79e7d
RM
189022012-05-01 Roland McGrath <roland@hack.frob.com>
18903
f5a01ca9
RM
18904 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18905 output to the target.
18906
90fe4186
RM
18907 * scripts/localplt.awk: New file.
18908 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18909 (check-localplt-CFLAGS): Variable removed.
18910 ($(all-built-dso:=.jmprel)): New static pattern rule.
18911 (generated): Add those targets.
18912 (localplt-built-dso): New variable.
18913 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18914
18915 * elf/check-localplt.c: File removed.
18916
82397ed6
RM
18917 * scripts/check-execstack.awk: New file.
18918 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18919 (check-execstack-CFLAGS): Variable removed.
18920 ($(objpfx)check-execstack.h): Target removed.
18921 ($(objpfx)execstack-default): New target.
18922 (generated): Add that instead of check-execstack.h.
18923 ($(all-built-dso:=.phdr)): New static pattern rule.
18924 (generated): Add those targets.
18925 * elf/check-execstack.c: File removed.
18926
82a79e7d
RM
18927 * scripts/check-textrel.awk: New file.
18928 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18929 (check-textrel-CFLAGS): Variable removed.
18930 (all-built-dso): Use := to define.o
18931 ($(all-built-dso:=.dyn)): New static pattern rule.
18932 (generated): Add those targets.
18933 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18934 * config.make.in (READELF): New substituted variable.
18935 * elf/check-textrel.c: File removed.
18936
62fde54f 189372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18938
615605c9
JM
18939 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18940 allow.
18941 * conform/data/ctype.h-data [C99-based standards] (isblank):
18942 Expect function.
18943 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18944 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18946 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18947 Specify type. Require positive value.
18948 (EILSEQ): Likewise.
18949 (ERANGE): Likewise.
18950 [ISO || POSIX] (EILSEQ): Do not expect.
18951 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18952 Specify type. Require positive value.
18953 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18954 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18955 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18956 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18957 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18958 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18959 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18960 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18961 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18962 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18963 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18964 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18965 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18966 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18967 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18968 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18969 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18970 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18971 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18972 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18973 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18974 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18975 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18976 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18977 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18978 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18979 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18980 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18981 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18982 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18983 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18984 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18985 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18986 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18987 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18988 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18989 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18990 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18991 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18992 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18993 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18994 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18995 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18996 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18997 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18998 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18999 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19000 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19001 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19002 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19003 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19004 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19005 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19006 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19007 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19008 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19009 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19010 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19011 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19024 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19027 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19028 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19029 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19030 Require >= 2.
19031 (FLT_ROUNDS): Expect as macro, not constant.
19032 (FLT_MANT_DIG): Use macro-int-constant.
19033 (DBL_MANT_DIG): Likewise.
19034 (LDBL_MANT_DIG): Likewise.
19035 (FLT_DIG): Likewise.
19036 (DBL_DIG): Likewise.
19037 (LDBL_DIG): Likewise.
19038 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19039 (DBL_MIN_EXP): Likewise.
19040 (LDBL_MIN_EXP): Likewise.
19041 (FLT_MAX_EXP): Use macro-int-constant.
19042 (DBL_MAX_EXP): Likewise.
19043 (LDBL_MAX_EXP): Likewise.
19044 (FLT_MAX_10_EXP): Likewise.
19045 (DBL_MAX_10_EXP): Likewise.
19046 (LDBL_MAX_10_EXP): Likewise.
19047 (FLT_MAX): Use macro-constant.
19048 (DBL_MAX): Likewise.
19049 (LDBL_MAX): Likewise.
19050 (FLT_EPSILON): Use macro-constant. Give upper bound.
19051 (DBL_EPSILON): Likewise.
19052 (LDBL_EPSILON): Likewise.
19053 (FLT_MIN): Likewise.
19054 (DBL_MIN): Likewise.
19055 (LDBL_MIN): Likewise.
19056 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19057 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19058 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19059 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19060 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19061 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19062 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19063 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19064 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19065 [ISO11] (FLT_TRUE_MIN): Likewise.
19066 [ISO11] (LDBL_TRUE_MIN): Likewise.
19067 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19068 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19069 (SCHAR_MIN): Use macro-int-constant. Specify type.
19070 (SCHAR_MAX): Likewise.
19071 (UCHAR_MAX): Likewise.
19072 (CHAR_MIN): Likewise.
19073 (CHAR_MAX): Likewise.
19074 (MB_LEN_MAX): Use macro-int-constant.
19075 (SHRT_MIN): Use macro-int-constant. Specify type.
19076 (SHRT_MAX): Likewise.
19077 (USHRT_MAX): Likewise.
19078 (INT_MAX): Likewise.
19079 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19080 bound negative.
19081 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19082 bound with "U".
19083 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19084 bound with "L".
19085 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19086 bound negative. Suffix upper bound with "L".
19087 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19088 bound with "UL".
19089 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19090 Specify type.
19091 [C99-based standards] (LLONG_MAX): Likewise.
19092 [C99-based standards] (ULLONG_MAX): Likewise.
19093 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19094 == 0.
19095 [ISO11] (max_align_t): Require type.
19096 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19097
c9140a62
JM
19098 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19099 from $CFLAGS, without defining away __attribute__ calls.
19100 (checknamespace): Use $CFLAGS_namespace.
19101
9af0bf29
JM
19102 * conform/conformtest.pl (@keywords): Only include C99 keywords
19103 for standards based on C99 or C11.
19104
343222a2
JM
19105 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19106 Disable tests.
19107 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19108 UNIX98]: Likewise.
19109
661f8cf0
JM
19110 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19111 usability of symbols in #if.
19112
ee74b9cb
JM
19113 * conform/conformtest.pl: If macro or constant types start
19114 "promoted:", expect the symbol to be of the following type
19115 promoted by the integer promotions.
62fde54f 19116
aafc49b3
JM
19117 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19118 in one place. Also handle "macro-constant".
19119
fefdf574
JM
19120 * conform/conformtest.pl: Only accept expected macro values with
19121 "==". Parse all "macro" lines in one place.
19122 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19123
f2d922fe
JM
19124 * conform/conformtest.pl: Handle braced types on "constant" lines
19125 instead of handling "typed-constant".
19126 * conform/data/signal.h-data: Use "constant" instead of
19127 "typed-constant".
19128
d22956c9
JM
19129 * conform/conformtest.pl: Handle "optional-" at start of lines in
19130 one place rather than duplicating several cases. Handle each
19131 format of "macro" line with initial "optional-".
19132
028e2e38
JM
19133 * conform/conformtest.pl: Only accept expected constant or
19134 optional-constant values with "==". Parse all "constant" lines in
19135 one place. Parse all "optional-constant" lines in one place.
19136 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19137 * conform/data/fmtmsg.h-data: Likewise.
19138 * conform/data/netinet/in.h-data: Likewise.
19139 * conform/data/tar.h-data: Likewise.
19140 * conform/data/limits.h-data: Use "==" form on "constant" and
19141 "optional-constant" lines.
19142
1b8f2850
JM
19143 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19144 Use -std=c99 for XOPEN2K.
19145 (@knownproblems): Remove.
19146 (newtoken): Don't check %isknown.
19147
a05a144b
JM
19148 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19149 Do not expect macro.
19150 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19162 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19163 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19180 [XPG3] (acosh): Likewise.
19181 [XPG3] (asinh): Likewise.
19182 [XPG3] (atanh): Likewise.
19183 [XPG3] (cbrt): Likewise.
19184 [XPG3] (expm1): Likewise.
19185 [XPG3] (ilogb): Likewise.
19186 [XPG3] (log1p): Likewise.
19187 [XPG3] (logb): Likewise.
19188 [XPG3] (nextafter): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19191 [XPG3] (remainder): Likewise.
19192 [XPG3] (rint): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19200 [UNIX98 || XOPEN2K] (scalb): Expect.
19201 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19202 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19271 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19272 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19273 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19274 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19275 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19276 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19277 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19278 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19279 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19280 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19281 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19282 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19283 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19284 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19285 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19286 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19287 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19288 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19289 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19290 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19291 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19292 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19293 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19294 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19295 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19296 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19297 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19298 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19299 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19300 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19301 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19302 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19303 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19304 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19305 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19306 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19307 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19308 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19309 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19310 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19311 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19312 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19313 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19314 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19315 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19316 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19317 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19318 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19319 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19320 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19321 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19322 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19323 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19324 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19325 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19326 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19327 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19328 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19329 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19330 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19331 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19332 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19333 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19334 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19335 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19336 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19337 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19338
73c5ebe3
JM
19339 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19340 _XOPEN_SOURCE_EXTENDED for XPG4.
19341
39c33b6c
JM
19342 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19343
62fde54f
JM
19344 * Makeconfig (localtime): Remove variable.
19345 (inst_localtime-file): Likewise.
19346
0741d64c
AS
193472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19348
19349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19350 Update.
19351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19352 Update.
19353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19354 Update.
19355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19356 Update.
19357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19358 Update.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19360 Update.
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19362 Update.
19363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19364 Update.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19366 Update.
19367
7cb029ee
JM
193682012-05-01 Joseph Myers <joseph@codesourcery.com>
19369
19370 [BZ #2550]
19371 [BZ #2570]
19372 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19373 comparisons to determine direction to adjust input.
19374 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19375 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19376 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19377 Likewise.
19378 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19379 Likewise.
19380 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19381 Likewise.
19382 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19383 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19384 Likewise.
19385 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19386 Likewise.
19387 * math/libm-test.inc (nexttoward_test): Add more tests.
19388
412bd966
AS
193892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19390
19391 [BZ #14040]
19392 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19393 in version GLIBC_2.1, not GLIBC_2.0.
19394 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19395 Likewise.
19396
9568c0c2
JM
193972012-04-30 Joseph Myers <joseph@codesourcery.com>
19398
adfbc8ac
JM
19399 [BZ #13942]
19400 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19401 (1 - x) * (1 + x).
19402 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19403 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19404 * math/libm-test.inc (acos_test): Add more tests.
19405 (asin_test): Likewise.
19406 * sysdeps/i386/fpu/libm-test-ulps: Update.
19407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19408
5ba3cc69
JM
19409 [BZ #14034]
19410 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19411 of square root.
19412 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19413 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19414 * math/libm-test.inc (acos_test_tonearest): New function.
19415 (acos_test_towardzero): Likewise.
19416 (acos_test_downward): Likewise.
19417 (acos_test_upward): Likewise.
19418 (asin_test_tonearest): Likewise.
19419 (asin_test_towardzero): Likewise.
19420 (asin_test_downward): Likewise.
19421 (asin_test_upward): Likewise.
19422 (main): Call the new functions.
19423 * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19425
9568c0c2
JM
19426 [BZ #13884]
19427 [BZ #13924]
19428 * math/e_exp10.c: Include <float.h>.
19429 (__ieee754_exp10): Handle underflow here rather than multiplying
19430 large negative argument by M_LN10.
19431 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19432 of __ieee754_expf.
19433 * math/e_exp10l.c: Include <float.h>.
19434 (__ieee754_exp10l): Handle underflow here rather than multiplying
19435 large negative argument by M_LN10l.
19436 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19437 spurious overflow exception on underflow.
19438
5ac3ea17
MP
194392012-04-29 Marek Polacek <polacek@redhat.com>
19440
19441 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19442 (__fortify_function): New macro.
19443 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19444 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19445 __extern_always_inline.
19446 * libio/bits/stdio2.h: Likewise.
19447 * libio/bits/stdio.h: Likewise.
19448 * string/string.h: Likewise.
19449 * string/bits/string3.h: Likewise.
19450 * include/stdio.h: Likewise.
19451 * stdlib/bits/stdlib.h: Likewise.
19452 * stdlib/stdlib.h: Likewise.
19453 * rt/bits/mqueue2.h: Likewise.
19454 * rt/mqueue.h: Likewise.
19455 * posix/bits/unistd.h: Likewise.
19456 * posix/unistd.h: Likewise.
19457 * io/bits/poll2.h: Likewise.
19458 * io/bits/fcntl2.h: Likewise.
19459 * io/fcntl.h: Likewise.
19460 * io/sys/poll.h: Likewise.
19461 * misc/bits/syslog.h: Likewise.
19462 * misc/bits/syslog-ldbl.h: Likewise.
19463 * misc/sys/syslog.h: Likewise.
19464 * socket/bits/socket2.h: Likewise.
19465 * socket/sys/socket.h: Likewise.
19466 * debug/tst-chk1.c: Likewise.
19467 * wcsmbs/bits/wchar2.h: Likewise.
19468 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19469 * wcsmbs/wchar.h: Likewise.
19470
ecf0ebfb
AJ
194712012-04-29 Andreas Jaeger <aj@suse.de>
19472
19473 * Makerules (tests): Remove enable-check-abi protection.
19474 (check-abi-warn): Remove.
19475 (check-abi-%): Remove check-abi-warn usage.
19476
19477 * configure.in: Remove check-abi configure option.
19478 * configure: Regenerated.
19479 * config.make.in (enable-check-abi): Remove.
19480
6d5c57fa
AS
194812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19482
24c5d07e 19483 [BZ #14033]
ded5180a
AS
19484 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19485 double functions to double *_finite functions.
19486
7e0d315d
AS
19487 [BZ #13941]
19488 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19489 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19490 LDBL_MIN_EXP.
19491 * stdio-common/Makefile (tests): Add tst-sprintf3.
19492 * stdio-common/tst-sprintf3.c: New file.
19493
6d5c57fa
AS
19494 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19495 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19496
0749ff8b
JM
194972012-04-28 Joseph Myers <joseph@codesourcery.com>
19498
19499 * conform/conformtest.pl: Remove duplicate typed-constant
19500 handling.
19501
8dbd5d7b
DM
195022012-04-28 David S. Miller <davem@davemloft.net>
19503
19504 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19505 (check-abi-%): Remove AWK script prerequisite and explicit
19506 abilist directory.
19507 (check-abi): Rewrite to just diff the symlist with the abilist.
19508 (config-tls, config-abi-config): Delete, no longer used.
19509 (update-abi-%): Remove AWK script and explicit abilist directory.
19510 (update-abi): Rewrite to simply compare and conditionally copy the
19511 symlist and the sysdep abilist file. Remove update-abi-config
19512 checks.
19513 * abilist/ld.abilist: Remove.
19514 * abilist/libBrokenLocale.abilist: Remove.
19515 * abilist/libanl.abilist: Remove.
19516 * abilist/libcrypt.abilist: Remove.
19517 * abilist/libdl.abilist: Remove.
19518 * abilist/librt.abilist: Remove.
19519 * abilist/libthread_db.abilist: Remove.
19520 * abilist/libutil.abilist: Remove.
19521 * scripts/extract-abilist.awk: Remove.
19522 * scripts/merge-abilist.awk: Remove.
19523 * sysdeps/generic/libcidn.abilist: New file.
19524 * sysdeps/generic/libnss_compat.abilist: New file.
19525 * sysdeps/generic/libnss_db.abilist: New file.
19526 * sysdeps/generic/libnss_dns.abilist: New file.
19527 * sysdeps/generic/libnss_files.abilist: New file.
19528 * sysdeps/generic/libnss_hesiod.abilist: New file.
19529 * sysdeps/generic/libnss_nis.abilist: New file.
19530 * sysdeps/generic/libnss_nisplus.abilist: New file.
19531 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19532 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19533 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19534 file.
19535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19536 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19537 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19538 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19539 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19540 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19541 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19542 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19543 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19544 file.
19545 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19546 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19547 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19548 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19549 file.
19550 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19551 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19552 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19553 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19554 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19555 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19556 file.
19557 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19558 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19559 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19560 file.
19561 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19563 New file.
19564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19565 New file.
19566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19567 New file.
19568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19569 New file.
19570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19571 New file.
19572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19573 New file.
19574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19575 New file.
19576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19577 New file.
19578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19579 New file.
19580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19581 New file.
19582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19583 New file.
19584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19585 New file.
19586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19587 New file.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19589 file.
19590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19591 New file.
19592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19593 New file.
19594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19595 file.
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19597 New file.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19599 New file.
19600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19601 file.
19602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19603 New file.
19604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19605 New file.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19607 New file.
19608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19609 New file.
19610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19611 New file.
19612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19613 New file.
19614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19616 file.
19617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19618 New file.
19619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19620 file.
19621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19622 file.
19623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19624 file.
19625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19626 file.
19627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19628 file.
19629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19630 New file.
19631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19632 file.
19633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19634 file.
19635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19636 New file.
19637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19638 file.
19639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19641 file.
19642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19643 New file.
19644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19645 file.
19646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19647 file.
19648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19649 file.
19650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19651 file.
19652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19653 file.
19654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19655 New file.
19656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19657 file.
19658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19659 file.
19660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19661 New file.
19662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19663 file.
19664 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19665 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19666 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19667 file.
19668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19669 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19670 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19671 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19672 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19673 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19674 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19675 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19676 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19677 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19680 file.
19681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19682 New file.
19683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19684 file.
19685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19686 file.
19687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19688 file.
19689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19690 file.
19691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19692 file.
19693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19694 New file.
19695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19696 New file.
19697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19698 file.
19699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19700 New file.
19701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19702 file.
19703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19705 file.
19706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19707 New file.
19708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19709 file.
19710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19711 file.
19712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19713 file.
19714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19715 file.
19716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19717 file.
19718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19719 New file.
19720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19721 New file.
19722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19723 file.
19724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19725 New file.
19726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19727 file.
19728
41d73a1b
JM
197292012-04-28 Joseph Myers <joseph@codesourcery.com>
19730
19731 * conform/conformtest.pl: Fix typo in handling typed-constant from
19732 allow-header.
19733
28aeeda4
JM
197342012-04-27 Joseph Myers <joseph@codesourcery.com>
19735
adae8f5e
JM
19736 * README: Cut down references to pre-2.6 Linux kernels and
19737 Linuxthreads. Update lists of configurations in libc and ports
19738 and sort alphabetically. Say "or newer" with Linux kernel version
19739 requirements.
19740
28aeeda4
JM
19741 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19742
a462cb63
RA
197432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19744
19745 [BZ #887]
19746 * math/libm-test.inc (logb_test_downward): New test to expose
19747 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19748 rounding mode.
19749
6ad3493e
JM
197502012-04-27 Joseph Myers <joseph@codesourcery.com>
19751
19752 [BZ #14027]
19753 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19754 to be done.
19755 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19756 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19757
2ce4f015
JM
197582012-04-26 Joseph Myers <joseph@codesourcery.com>
19759
5aeb141a
JM
19760 * sysdeps/unix/i386/brk.S: Remove file.
19761 * sysdeps/unix/i386/dl-brk.S: Likewise.
19762 * sysdeps/unix/i386/pipe.S: Likewise.
19763 * sysdeps/unix/i386/sigreturn.S: Likewise.
19764 * sysdeps/unix/i386/syscall.S: Likewise.
19765 * sysdeps/unix/i386/vfork.S: Likewise.
19766 * sysdeps/unix/i386/wait.S: Likewise.
19767
7143acae
JM
19768 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19769 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19770
2ce4f015
JM
19771 * configure.in (arm*-none*): Do not allow without
19772 --enable-hacker-mode.
19773 (netbsd*): Remove case setting base_os.
19774 (386bsd*): Likewise.
19775 (freebsd*): Likewise.
19776 (bsdi*): Likewise.
19777 (osf*): Likewise.
19778 (sunos*): Likewise.
19779 (ultrix*): Likewise.
19780 (newsos*): Likewise.
19781 (dynix*): Likewise.
19782 (*bsd*): Likewise.
19783 (sysv*): Likewise.
19784 (isc*): Likewise.
19785 (esix*): Likewise.
19786 (sco*): Likewise.
19787 (minix*): Likewise.
19788 (irix4*): Likewise.
19789 (irix6*): Likewise.
19790 (solaris[2-9]*): Likewise.
19791 (none): Likewise.
19792 * configure: Regenerated.
19793
0ac229c8
AZ
197942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19795
19796 [BZ #11521]
19797 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19798 overflow or cancellation in calculating denominator.
19799 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19801 down expression to avoid unexpected rounding in newer GCCs.
19802 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19803
33f244f4
DM
198042012-04-26 David S. Miller <davem@davemloft.net>
19805
19806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19807 long-double compat symbols.
19808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19821
cfa1f3e8
DM
198222012-04-25 David S. Miller <davem@davemloft.net>
19823
19824 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19825 HWCAP_* values only after the memory barriers have been defined.
19826 (atomic_full_barrier): Define.
19827 (atomic_read_barrier): Define.
19828 (atomic_write_barrier): Define.
19829
6e236b92
SP
198302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19831
19832 * shlib-versions: Add libgcc_s version information.
19833 * sysdeps/generic/libgcc_s.h: Remove.
19834 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19835 libgcc_s.h.
19836 * sysdeps/gnu/unwind-resume.c: Likewise.
19837 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19838
aab39a09
DM
198392012-04-25 David S. Miller <davem@davemloft.net>
19840
19841 * sysdeps/unix/sparc/brk.S: Delete.
19842 * sysdeps/unix/sparc/dl-brk.S: Delete.
19843 * sysdeps/unix/sparc/pipe.S: Delete.
19844 * sysdeps/unix/sparc/sysdep.S: Delete.
19845 * sysdeps/unix/sparc/sysdep.h: Delete.
19846 * sysdeps/unix/sparc/vfork.S: Delete.
19847 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19848 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19850 ret_ERRVAL, r0, r1, MOVE): Define.
19851 (JUMPTARGET): Remove.
19852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19853 sysdeps/unix/sparc/sysdep.h
19854 (ENTRY, END): Remove.
19855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19856
a3cc4f48
JM
198572012-04-25 Joseph Myers <joseph@codesourcery.com>
19858
2ed8cda2
JM
19859 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19860 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19861 -DIS_IN_build.
19862
35d76d59
JM
19863 * timezone/README: Update upstream location and email address for
19864 tzcode and tzdata.
19865 * timezone/zdump.c: Update from tzcode 2012b.
19866 * timezone/zic.c: Likewise.
19867
a3cc4f48
JM
19868 * configure.in (libc_cv_as_needed): Remove test.
19869 * configure: Regenerated.
19870 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19871 conditional definition.
19872 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19873 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19874 * config.make.in (have-as-needed): Remove variable.
19875
ceab42c3
SP
198762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19877 Paul Pluzhnikov <ppluzhnikov@google.com>
19878
19879 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19880 strings correctly.
19881
3ce2865f
CLT
198822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19883
19884 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19885 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19886 * sysdeps/sh/strlen.S: Likewise.
19887
f37e0d68
JM
198882012-04-24 Joseph Myers <joseph@codesourcery.com>
19889
ae186e9a
JM
19890 * sysdeps/unix/fork.S: Remove file.
19891 * sysdeps/unix/i386/fork.S: Likewise.
19892 * sysdeps/unix/sparc/fork.S: Likewise.
19893
b96914af
JM
19894 * sysdeps/unix/system.c: Remove file.
19895 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19896
f37e0d68
JM
19897 * sysdeps/unix/getegid.S: Remove file.
19898 * sysdeps/unix/geteuid.S: Likewise.
19899
87ef29ca
RM
199002012-04-24 Roland McGrath <roland@hack.frob.com>
19901
83bcd236
RM
19902 * scripts/check-localplt.awk: New file.
19903 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19904 of diff.
19905 * scripts/data/localplt-generic.data: Add a comment.
19906
87ef29ca
RM
19907 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19908 NODE when __dir_mkfile failed.
19909 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19910 Reported by Ludovic Courtès <ludo@gnu.org>.
19911
e5a6e567
AJ
199122012-04-24 Andreas Jaeger <aj@suse.de>
19913
19914 * Makerules (common-clean): Also remove gen-as-const-headers
19915 files.
19916
c1820385
JM
199172012-04-24 Joseph Myers <joseph@codesourcery.com>
19918
19919 * Makerules (native-compile): Do not change working directory for
19920 build. Use $(OUTPUT_OPTION) in command.
19921 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19922
94e02fc4
AZ
199232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19924
19925 [BZ #13886]
19926 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19927 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19928 * math/libm-test.inc (floor_test): Add more tests.
19929 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19930
3a533ca3
JM
199312012-04-24 Joseph Myers <joseph@codesourcery.com>
19932
940ab4b3
JM
19933 * sysdeps/unix/getdents.c: Remove file.
19934 * sysdeps/unix/sysv/getdents.c: Likewise.
19935 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19936
90e037bd
JM
19937 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19938 sysdeps/unix/mman/syscalls.list.
19939 (mmap): Likewise.
19940 (mprotect): Likewise.
19941 (msync): Likewise.
19942 (munmap): Likewise.
19943 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19944 * sysdeps/unix/mman/syscalls.list: Remove.
19945 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19946
3a533ca3
JM
19947 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19948 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19949 * configure: Regenerated.
19950 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19951 $(libgcc_s_suffix).
19952 * config.make.in (libgcc_s_suffix): Remove variable.
19953
1ad743de
JM
199542012-04-23 Joseph Myers <joseph@codesourcery.com>
19955
4ad451e2
JM
19956 * sysdeps/unix/sysv/gethostname.c: Move to ...
19957 * sysdeps/posix/gethostname.c: ... here.
19958
5e37ce39
JM
19959 * sysdeps/unix/execve.S: Remove file.
19960
1ad743de
JM
19961 * sysdeps/unix/_exit.S: Remove file.
19962
4e681b5b
AJ
199632012-04-23 Andreas Jaeger <aj@suse.de>
19964
19965 [BZ #13739]
19966 * manual/Makefile: Remove make dist support, there's no
19967 need for a stand-alone documentation tar ball.
19968 (TEXI2DVI): Define always, it's not in Makeconfig.
19969 (dist): Removed.
19970 (tar-it): Removed.
19971 (edition): Removed.
19972 (glibc-doc-$(edition).tar): Removed
19973 (%.Z): Removed.
19974 (%.gz): Removed.
19975 (%.uu): Removed.
19976 (ETAGS): Remove, it's in Makeconfig.
19977 (move-if-change): Remove, it's in Makeconfig.
19978
38686a03 199792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19980
19981 [BZ #13970]
19982 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19983 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19984 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19985 (strtod_l, strtof_l, strtold_l): Remove __wur.
19986 It is not necessarily an error to ignore strtol's return value.
19987 One can reliably look at the stored endptr to decide whether
19988 the number had valid syntax.
19989
7c0616fa
AJ
199902012-04-21 Andreas Jaeger <aj@suse.de>
19991
803cb6b7 19992 [BZ #13739]
7c0616fa
AJ
19993 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19994
b0fe253f
JM
199952012-04-21 Joseph Myers <joseph@codesourcery.com>
19996
19997 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19998 * sysdeps/unix/sysv/Versions: Remove file.
19999
8280f22d
MT
200002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20001
20002 [BZ #13927]
20003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20004
75ce411f 200052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20006
20007 [BZ #7064]
20008 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20009 version from __vm86.
20010
097d59fa
JM
200112012-04-20 Joseph Myers <joseph@codesourcery.com>
20012
a90f3bcb
JM
20013 * sysdeps/unix/common/lxstat.c: Remove file.
20014 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20015
edc7ea78
JM
20016 * sysdeps/unix/sysv/Makefile: Remove file.
20017
cb78c221
JM
20018 * sysdeps/unix/sysv/direct.h: Remove file.
20019
efa6a45f
JM
20020 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20021 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20022 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20023 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20024 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20025 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20026 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20027
9c9f2d0c
JM
20028 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20029
4541c83b
JM
20030 * sysdeps/unix/xmknod.c: Remove file.
20031 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20032
f5d153a0
JM
20033 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20034
aa746595
JM
20035 * sysdeps/unix/sysv/i386/time.S: Remove file.
20036
cce5905e
JM
20037 * sysdeps/unix/fxstat.c: Remove file.
20038 * sysdeps/unix/xstat.c: Likewise.
20039 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20040
37fa3841
JM
20041 * sysdeps/unix/sysv/sigaction.c: Remove file.
20042
ff1962a3
JM
20043 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20044 (sysdep_headers): Remove variable.
20045 [termio.h not in sysdep_headers] (generated): Likewise.
20046 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20047 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20048 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20049 * sysdeps/unix/sysv/tcflow.c: Likewise.
20050 * sysdeps/unix/sysv/tcflush.c: Likewise.
20051 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20052 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20053 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20054 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20055 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20056
e7740d31
JM
20057 * sysdeps/unix/siglist.c: Remove file.
20058
ee06f18b
JM
20059 * sysdeps/unix/getppid.S: Remove file.
20060
097d59fa
JM
20061 * sysdeps/unix/mkdir.c: Remove file.
20062 * sysdeps/unix/rmdir.c: Likewise.
20063
ff3d51ec
AS
200642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20065
20066 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20067 ERR_MAX value.
20068 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20069 errlist-compat value.
20070
50f81fd7
DM
200712012-04-18 David S. Miller <davem@davemloft.net>
20072
20073 * sysdeps/generic/memcopy.h (reg_char): Delete.
20074 * debug/strcat_chk.c: Use char, not reg_char.
20075 * debug/strcpy_chk.c: Likewise.
20076 * debug/strncat_chk.c: Likewise.
20077 * debug/strncpy_chk.c: Likewise.
20078 * string/memchr.c: Likewise.
20079 * string/memrchr.c: Likewise.
20080 * string/rawmemchr.c: Likewise.
20081 * string/strcat.c: Likewise.
20082 * string/strchr.c: Likewise.
20083 * string/strchrnul.c: Likewise.
20084 * string/strcmp.c: Likewise.
20085 * string/strcpy.c: Likewise.
20086 * string/strncat.c: Likewise.
20087 * string/strncmp.c: Likewise.
20088 * string/strncpy.c: Likewise.
20089
8ff41c46
WS
200902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20091
20092 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20093 __builtin_memcopy is called when src and dest ranges are known to not
20094 overlap.
20095
6b652f46
WS
200962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20097
20098 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20099 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20100 fwd_align_merge macro call.
20101 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20102 bwd_align_merge macro call.
20103 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20104
b282631e
WS
201052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20106
20107 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20108 bwd_align_merge macros.
20109 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20110 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20111 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20112
95aa737c
DM
201132012-04-18 David S. Miller <davem@davemloft.net>
20114
20115 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20116
7a99a614
AJ
201172012-04-18 Andreas Jaeger <aj@suse.de>
20118
20119 [BZ# 6794]
20120 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20121 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20122 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20123
20124 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20125 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20126 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20127
20128 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20129 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20130 Adjust for changed ldbl-128 files.
20131
20132 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20133 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20134 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20135
e5270c23
DM
201362012-04-17 David S. Miller <davem@davemloft.net>
20137
20138 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20139
fb5e92c9
AS
201402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20141
20142 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20143 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20144 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20145 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20146 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20147 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20148
76da7265
AZ
201492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20150
20151 [BZ #6794]
20152 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20153 * math/libm-test.inc: Add ilogb errno and exception tests.
20154 * math/w_ilogb.c: New file: ilogb wrapper.
20155 * math/w_ilogbf.c: New file: ilogbf wrapper.
20156 * math/w_ilogbl.c: New file: ilogbl wrapper.
20157 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20158 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20159 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20160 exception being thrown with 0.0 as argument.
20161 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20162 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20163 exception being thrown with 0.0 as argument.
20164 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20165 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20166 exception being thrown with 0.0 as argument.
20167 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20168 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20169 exception being thrown with 0.0 as argument.
20170 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20171 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20172 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20173 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20174 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20176 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20177 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20178 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20179
0396e69d
PB
201802012-04-17 Petr Baudis <pasky@ucw.cz>
20181
20182 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20183 with altivec.
20184
750b5926
MP
201852012-04-16 Marek Polacek <polacek@redhat.com>
20186
20187 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20188
751728a1
MP
201892012-04-16 Marek Polacek <polacek@redhat.com>
20190
20191 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20192 operands of fdivp instruction.
20193
34a27407
L
201942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20195
20196 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20197 * elf/tst-auditmod3b.c: Likewise.
20198 * elf/tst-auditmod4b.c: Likewise.
20199 * elf/tst-auditmod5b.c: Likewise.
20200 * elf/tst-auditmod6b.c: Likewise.
20201 * elf/tst-auditmod6c.c: Likewise.
20202 * elf/tst-auditmod7b.c: Likewise.
20203 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20204 * sysdeps/x86_64/preconfigure.in: Likewise.
20205 * sysdeps/x86_64/preconfigure: Regenerated.
20206
7e73e17d
L
202072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20208
20209 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20210 __ILP32__.
20211
c7a6ab72
AB
202122012-04-13 Antoine Balestrat <merkil33@gmail.com>
20213
20214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20215 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20216
a9e8e0e0
CL
202172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20218
20219 [BZ #13973]
20220 * locale/iso-639.def: Fix gl language name. Spotted by
20221 Yaron Shahrabani.
20222
ec98af7d
RM
202232012-04-12 Roland McGrath <roland@hack.frob.com>
20224
20225 [BZ #2074]
20226 * libio/libio.h (__io_write_fn): Update comment.
20227
247c3ede
PB
202282012-04-12 Petr Baudis <pasky@ucw.cz>
20229
20230 [BZ #2074]
20231 * stdio.texi (Hook Functions): The user provided writer function
20232 is not allowed to return -1.
20233
55939d6d
DM
202342012-04-11 David S. Miller <davem@davemloft.net>
20235
20236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20237
90020f5a
MF
202382012-04-11 Mike Frysinger <vapier@gentoo.org>
20239
20240 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20241 Add a leading slash to rtkaio.
20242
288f9098
JM
202432012-04-11 Jim Meyering <meyering@redhat.com>
20244
90020f5a
MF
20245 [BZ #11959]
20246 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20247 It is not necessarily an error to ignore fwrite's return
20248 value. One can reliably use ferror to test for errors after
20249 the fact.
288f9098 20250
4be2b570
L
202512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20252
20253 * bits/types.h (__snseconds_t): New type.
20254 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20255
20256 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20258 (__SNSECONDS_T_TYPE): Likewise.
20259 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20260 (__SNSECONDS_T_TYPE): Likewise.
20261 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20262 (__SNSECONDS_T_TYPE): Likewise.
20263
288f9098 202642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20265
20266 [BZ #2636]
20267 * manual/time.texi (Processor Time): Return type of times is
20268 elapsed real time since an arbitrary point in the past.
20269 (CPU Time): Move CLK_TCK from here...
20270 (Processor Time): ...to here. Correct description.
20271 * manual/conf.texi (Constants for Sysconf): Correct description of
20272 _SC_CLK_TCK.
20273
d7dd4413
DM
202742012-04-10 David S. Miller <davem@davemloft.net>
20275
20276 [BZ #13967]
20277 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20278 where the is a gap between DT_REL(A) and DT_JMPREL.
20279
b46068fc
L
202802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20281
20282 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20283 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20284 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20285
73d65cc3
SP
202862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20287
20288 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20289 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20290 (dl_main): Handle --inhibit-cache.
20291 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20292 _dl_inhibit_cache.
20293 * elf/dl-load.c (_dl_map_object): Use it.
20294 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20295
bcc8d661
JM
202962012-04-09 Joseph Myers <joseph@codesourcery.com>
20297
8f9a2fae
JM
20298 [BZ #13872]
20299 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20300 (__ieee754_powl): Saturate large exponents rather than testing for
20301 overflow of y*log2(x).
20302 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20303 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20304 exceptions.
20305
bcc8d661
JM
20306 [BZ #11521]
20307 * math/s_ctan.c: Include <float.h>.
20308 (__ctan): Avoid internal overflow or cancellation in calculating
20309 denominator.
20310 * math/s_ctanf.c: Likewise.
20311 * math/s_ctanl.c: Likewise.
20312 * math/s_ctanh.c: Likewise.
20313 * math/s_ctanhf.c: Likewise.
20314 * math/s_ctanhl.c: Likewise.
20315 * math/libm-test.inc (ctan_test): Add more tests.
20316 (ctanh_test): Likewise.
20317 * sysdeps/i386/fpu/libm-test-ulps: Update.
20318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20319
823fbbb4
AJ
203202012-04-09 Andreas Jaeger <aj@suse.de>
20321
03879793
AJ
20322 [BZ #6894]
20323 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20324 is an optional BSD extension.
20325
823fbbb4
AJ
20326 [BZ #10254]
20327 * manual/stdio.texi (Opening Streams): Document additional fopen
20328 parameters.
20329
8de131cb
RM
203302012-04-09 Roland McGrath <roland@hack.frob.com>
20331
20332 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20333 %eax without telling the compiler.
20334
c0ed9d7d
CD
203352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20336
20337 [BZ # 13963]
20338 * manual/install.texi: Use sourceware.org.
20339
c483f6b4
JM
203402012-04-09 Joseph Myers <joseph@codesourcery.com>
20341
d7dd9453
JM
20342 [BZ #13873]
20343 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20344 (__ieee754_pow): Generate overflow and underflow using huge*huge
20345 and tiny*tiny rather than just returning constant infinity or zero
20346 for large exponents.
20347 * math/libm-test.inc (pow_test): Require overflow exceptions for
20348 applicable cases of large exponents.
20349
c483f6b4
JM
20350 [BZ #706]
20351 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20352 (__ieee754_pow): Use iterative multiplication algorithm only for
20353 integer exponents with absolute value below 1024. Check for odd
20354 integer exponents when using algorithm for real exponents.
20355 * math/libm-test.inc (pow_test): Add more tests.
20356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20357
d2de7579
JM
203582012-04-08 Joseph Myers <joseph@codesourcery.com>
20359
20360 [BZ #13705]
20361 * math/libm-test.inc (exp_test): Do not allow overflow exception
20362 on underflow test.
20363
f77f1232
AJ
203642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20365
20366 [BZ #13705]
20367 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20368 instead of __kernel_standard_f.
20369
3884932b
MF
203702012-04-08 Mike Frysinger <vapier@gentoo.org>
20371
20372 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20373 * sysdeps/x86_64/memset_chk.S: Likewise.
20374
54472e9c
AJ
203752012-04-08 Andreas Jaeger <aj@suse.de>
20376
6ab0fbfc
AJ
20377 [BZ #10153]
20378 * manual/startup.texi (Environment Access): Describe return value
20379 for putenv and setenv.
20380
61efba8c
AJ
20381 [BZ #6895]
20382 * manual/filesys.texi (Directory Entries): Add description for
20383 DT_LNK.
20384
95c3f29a
AJ
20385 [BZ #6890]
20386 * manual/filesys.texi (Directory Entries): Clarify that it's file
20387 system not operating system in the description of DT_UNKNOWN.
20388
54472e9c
AJ
20389 [BZ #6578]
20390 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20391
624254b1
SC
203922012-04-08 Stephen Compall <s11@member.fsf.org>
20393
20394 [BZ #6649]
20395 * manual/llio.texi (Opening and Closing Files): Add cross
20396 reference to explain mode argument.
20397
1e4920e0
MF
203982012-04-07 Mike Frysinger <vapier@gentoo.org>
20399
20400 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20401 * sysdeps/x86_64/memset_chk.S: Likewise.
20402
5ed848f3
DM
204032012-04-07 David S. Miller <davem@davemloft.net>
20404
20405 * elf/elf.h (R_SPARC_WDISP10): Define.
20406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20407 R_SPARC_SIZE32.
20408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20409 R_SPARC_SIZE64 and R_SPARC_H34.
20410
96154cd8
CD
204112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20412
20413 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20414 conditions and remove no longer applicable assertion.
20415
9904dc47
L
204162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20417
20418 * bits/byteswap.h: Include <features.h>.
20419 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20420 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20421
f8887d0a
L
204222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20423
20424 * bits/byteswap.h (__bswap_16): Removed.
20425 Include <bits/byteswap-16.h> to get __bswap_16.
20426 * sysdeps/i386/bits/byteswap.h: Likewise.
20427 * sysdeps/s390/bits/byteswap.h: Likewise.
20428 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20429 * bits/byteswap-16.h: New file.
20430 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20431 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20432 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20433 * string/Makefile (headers): Add bits/byteswap-16.h.
20434
62470f60
PP
204352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20436
20437 [BZ #13895]
20438 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20439 extra indirection.
20440 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20441 * nss/tst-nss-static.c: New.
20442
4dad7bab
RM
204432012-04-06 Robert Millan <rmh@gnu.org>
20444
20445 [BZ #6486]
20446 * manual/llio.texi (File Position Primitive): lseek
20447 refers to WHENCE when it really means OFFSET.
20448
e9142a17
AJ
204492012-04-06 Andreas Jaeger <aj@suse.de>
20450
2c040eff
AJ
20451 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20452 strncmp declarations.
20453
e9142a17
AJ
20454 * abilist/libc.abilist: Add __poll and __ppoll.
20455
ff9f1c5f
DM
204562012-04-05 David S. Miller <davem@davemloft.net>
20457
dcd2ae90
DM
20458 * scripts/check-local-headers.sh: Accept a host triplet in the
20459 path matched by the exclude regexp.
20460
993eb054
DM
20461 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20462 definition.
20463 * sysdeps/powerpc/powerpc32/dl-machine.h
20464 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20465 * sysdeps/s390/s390-32/dl-machine.h
20466 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20467 * sysdeps/sparc/sparc32/dl-machine.h
20468 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20469 * sysdeps/sparc/sparc64/dl-machine.h
20470 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20471
ff9f1c5f
DM
20472 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20473 lazy binding.
48e2e132 20474 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20475 undefined symbol errors.
20476
48e2e132 20477 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20478 DT_NEEDED entries.
20479
e80d6f94
MM
204802012-04-05 Michael Matz <matz@suse.de>
20481
20482 [BZ #13592]
20483 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20484
349fa79f
AJ
204852012-04-05 Andreas Jaeger <aj@suse.de>
20486
20487 [BZ #13908]
20488 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20489 comment.
20490
f402708f
KK
204912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20492
20493 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20494 which ROUND is no valid rounding mode.
20495
2ecccfc9
KK
204962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20497
20498 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20499 read again.
20500 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20501
8a53f50f
KK
205022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20503
20504 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20505 an exception using FPU order intentionally.
20506
205072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20508
20509 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20510 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20511 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20512 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20513
d653abb7
SJ
205142012-04-05 Simon Josefsson <simon@josefsson.org>
20515
20516 [BZ #12340]
20517 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20518 EINVAL when BUFLEN is too smal.
20519
c3b1bf7d
TS
205202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20521
20522 [BZ #13553]
20523 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20524 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20525
b1aa60f3
AJ
205262012-04-03 Andreas Jaeger <aj@suse.de>
20527
c3b1bf7d 20528 [BZ #13938]
67f60a26
AJ
20529 * manual/setjmp.texi (System V contexts): Fix sentence.
20530
b1aa60f3
AJ
20531 [BZ #13926]
20532 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20533 New macro for this case.
20534 [!__GNUC__] (__bswap_64): New inline function for this case.
20535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20536 * bits/byteswap.h: Likewise.
20537 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20538 ull, guard with __GLIBC_HAVE_LONG_LONG.
20539
20540 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20541 __GLIBC_HAVE_LONG_LONG.
20542
20543 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20544 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20545
39c59c35
TMQMF
205462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20547
20548 [BZ #13691]
20549 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20550 inptr and inend, rather than using last_ch.
20551
135ffda8
DM
205522012-04-02 David S. Miller <davem@davemloft.net>
20553
20554 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20555 * stdio-common/printf-parse.h (read_int): Change return type to
20556 'int', return -1 on INT_MAX overflow.
20557 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20558 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20559 overflows INT_MAX. Check for overflow of in-format-string precision
20560 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20561 SIZE_MAX not INT_MAX for integer overflow test.
20562 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20563 skip the construct in the format string but do not record anything.
20564 * stdio-common/bug22.c: Adjust to test both width/prevision
20565 INT_MAX overflow as well as total length INT_MAX overflow. Check
20566 explicitly for proper errno values.
20567
228c019e
TS
205682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20569
302cadd3
TS
20570 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20571 CHAR_MAX.
20572 * string/test-strcmp.c [! WIDE]: Likewise.
20573 * time/tst-mktime2.c: Likewise for INT_MAX.
20574 * string/test-string.h: #include <sys/param.h> for MIN.
20575
228c019e
TS
20576 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20577 * sysdeps/i386/init-first.c (init): Likewise.
20578 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20579 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20580 * sysdeps/sh/init-first.c (init): Likewise.
20581
cfa633f5
UD
205822012-04-01 Ulrich Drepper <drepper@gmail.com>
20583
20584 * po/ru.po: Update from translation team.
d1635ef8 20585 * po/vi.po: Likewise.
cfa633f5 20586
6cd0a5ea
SP
205872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20588
20589 * resolv/nss_dns/dns-host.c: Merge copyright years.
20590
4b43400f
LD
205912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20592
20593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20594 Optimize memcpy with prefetch if
20595 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20596 src, dst pointers have unequal 16 byte alignments.
20597
48c41d04
SP
205982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20599
20600 [BZ #13928]
20601 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20602 from a CNAME entry and return the minimum ttl for the query.
20603 (gaih_getanswer_slice): Likewise.
20604
b8dc394d
JL
206052012-03-30 Jeff Law <law@redhat.com>
20606
20607 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20608 due to long keys.
20609 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20610 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20611
2f5a5ed0
JL
20612 * resolv/nss_dns/dns-host.c: Update copyright year.
20613
1d39e359
UD
206142012-03-30 Ulrich Drepper <drepper@gmail.com>
20615
c030f70c 20616 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20617 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20618
1d39e359
UD
20619 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20620 comments for sendmmsg.
20621
206222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20623
20624 [BZ #13691]
20625 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20626 with only 1 character between 0x0041 and 0x01b0.
20627 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20628 * wcsmbs/tst-mbsnrtowcs.c: New file.
20629
20fde227
DM
206302012-03-29 David S. Miller <davem@davemloft.net>
20631
20632 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20633 small copies by hand.
20634
984a4237
JL
206352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20636
20637 [BZ #13761]
20638 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20639 _nss_compat_initgroups_dyn): Fall back to malloc/free
20640 for large group memberships.
20641
18c9d62b
DM
206422012-03-28 David S. Miller <davem@davemloft.net>
20643
88d85d4f
DM
20644 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20645 that branches into memcpy.
20646 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20649 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20650 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20651 bits.
20652 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20653 implementation too.
20654 * sysdeps/sparc/mempcpy.S: New file.
20655
e5aa83e1
DM
20656 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20657 the IFUNC routine in the libc case.
20658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20659
88570753
DM
20660 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20661 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20662 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20663 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20664 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20665 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20666 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20667 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20668
249d7567
DM
20669 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20670 loop to 256 bytes instead of 64 bytes and fix test signedness.
20671
18c9d62b
DM
20672 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20673 * sysdeps/sparc/sparc32/Makefile: rather than here...
20674 * sysdeps/sparc/sparc64/Makefile: and here.
20675
05f3d1f6
UD
206762012-03-28 Ulrich Drepper <drepper@gmail.com>
20677
20678 * malloc/mallocbug.c: Avoid warnings about unused variables.
20679
86ae07a8
JL
206802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20681
20682 [BZ #13760]
20683 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20684 in the right place. Discard and retry query if response is
20685 larger than input buffer size.
20686
41bf21a1
JM
206872012-03-28 Joseph Myers <joseph@codesourcery.com>
20688
d6270972
JM
20689 [BZ #369]
20690 [BZ #2678]
20691 [BZ #3866]
20692 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20693 x for large integer exponent.
20694 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20695 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20696 sign of result as needed afterwards.
20697 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20698 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20699 result for underflowing pow the same as for overflow.
20700 (__kernel_standard_l): Handle powl overflow and underflow here
20701 rather than calling __kernel_standard.
20702 * math/libm-test.inc (pow_test): Add more tests.
20703
414fca03 20704 [BZ #3868]
41bf21a1
JM
20705 [BZ #13879]
20706 [BZ #13910]
20707 [BZ #13911]
20708 [BZ #13912]
20709 [BZ #13913]
20710 [BZ #13915]
20711 [BZ #13916]
20712 [BZ #13917]
20713 [BZ #13918]
20714 [BZ #13919]
20715 [BZ #13920]
20716 [BZ #13921]
20717 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20718 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20719 (__kernel_standard_l): New function.
20720 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20721 __kernel_standard.
20722 * math/w_acosl.c (__acosl): Likewise.
20723 * math/w_asinl.c (__asinl): Likewise.
20724 * math/w_atan2l.c (__atan2l): Likewise.
20725 * math/w_atanhl.c (__atanhl): Likewise.
20726 * math/w_coshl.c (__coshl): Likewise.
20727 * math/w_exp10l.c (__exp10l): Likewise.
20728 * math/w_exp2l.c (__exp2l): Likewise.
20729 * math/w_fmodl.c (__fmodl): Likewise.
20730 * math/w_hypotl.c (__hypotl): Likewise.
20731 * math/w_j0l.c (__j0l, __y0l): Likewise.
20732 * math/w_j1l.c (__j1l, __y1l): Likewise.
20733 * math/w_jnl.c (__jnl, __ynl): Likewise.
20734 * math/w_lgammal.c (__lgammal): Likewise.
20735 * math/w_log10l.c (__log10l): Likewise.
20736 * math/w_log2l.c (__log2l): Likewise.
20737 * math/w_logl.c (__logl): Likewise.
20738 * math/w_powl.c (__powl): Likewise.
20739 * math/w_remainderl.c (__remainderl): Likewise.
20740 * math/w_scalbl.c (sysv_scalbl): Likewise.
20741 * math/w_sinhl.c (__sinhl): Likewise.
20742 * math/w_sqrtl.c (__sqrtl): Likewise.
20743 * math/w_tgammal.c (__tgammal): Likewise.
20744 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20745 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20746 * math/libm-test.inc (acos_test): Add more tests.
20747 (acosh_test): Likewise.
20748 (asin_test): Likewise.
20749 (atanh_test): Likewise.
20750 (exp_test): Likewise.
20751 (exp10_test): Likewise.
20752 (exp2_test): Likewise.
20753 (expm1_test): Likewise.
20754 (lgamma_test): Likewise.
20755 (log_test): Likewise.
20756 (log10_test): Likewise.
20757 (log1p_test): Likewise.
20758 (log2_test): Likewise.
20759 (pow_test): Do not allow some spurious overflow exceptions.
20760 (sqrt_test): Add more tests.
20761 (tgamma_test): Likewise.
20762 (y0_test): Likewise.
20763 (y1_test): Likewise.
20764 (yn_test): Likewise.
20765
dd62fda6
AB
207662012-03-27 Anton Blanchard <anton@samba.org>
20767
20768 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20769 MAP_HUGETLB.
20770 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20771 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20773
1e3cdfda
AJ
207742012-03-27 David S. Miller <davem@davemloft.net>
20775
b855ab85
DM
20776 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20777
1e3cdfda
AJ
20778 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20779 have-as-vis3 check.
20780
207812012-03-27 Andreas Jaeger <aj@suse.de>
20782
20783 * sysdeps/x86_64/elf/configure.in: Moved to ...
20784 * sysdeps/x86_64/configure.in: ... here.
20785 * sysdeps/x86_64/elf/start.S: Moved to ...
20786 * sysdeps/x86_64/start.S: ... here.
20787 * sysdeps/x86_64/elf/configure: Delete.
20788
20789 * sysdeps/x86_64/configure.in: Merge contents from
20790 sysdeps/i386/configure.in (without i686 check).
20791
20792 * sysdeps/i386/elf/Versions: Merge into ...
20793 * sysdeps/i386/Versions: ... this.
20794 * sysdeps/i386/elf/Versions: Delete file.
20795 * sysdeps/i386/elf/start.S: Moved to ...
20796 * sysdeps/i386/start.S: ...here.
20797 * sysdeps/i386/elf/configure.in: Merge into...
20798 * sysdeps/i386/configure.in: ...here.
20799 * sysdeps/i386/elf/configure.in: Delete file.
20800 * sysdeps/i386/elf/configure: Delete file.
20801
20802 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20803 * debug/backtracesyms.c: ... here.
20804 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20805 * debug/backtracesymsfd.c: ... here.
20806 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20807 * sysdeps/generic/ifunc-sel.h: ... here.
20808
20809 * sysdeps/unix/i386/start.c: Delete file.
20810 * sysdeps/unix/sparc/start.c: Delete file.
20811 * sysdeps/unix/start.c: Delete file.
20812
20813 * sysdeps/sh/elf/configure.in: Moved to ...
20814 * sysdeps/sh/configure.in: ... here.
20815 * sysdeps/sh/elf/start.S: Moved to ...
20816 * sysdeps/sh/start.S: ... here.
20817 * sysdeps/sh/elf/configure: Delete file.
20818
20819 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20820 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20821 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20822 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20823 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20824 * sysdeps/powerpc/powerpc64/start.S: here.
20825 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20826 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20827 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20828 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20829 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20830
20831 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20832 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20833 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20834 * sysdeps/powerpc/powerpc32/start.S: ... here.
20835 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20836 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20837 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20838
20839 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20840 * sysdeps/powerpc/ifunc-sel.h: ... here.
20841 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20842 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20843
20844 * sysdeps/sparc/elf/configure.in: Moved to ...
20845 * sysdeps/sparc/configure.in: ... here.
20846 * sysdeps/sparc/elf/configure: Delete file.
20847 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20848 * sysdeps/sparc/sparc32/start.S: ... here.
20849 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20850 * sysdeps/sparc/sparc64/start.S: ... here.
20851 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20852 * sysdeps/sparc/sparc32/Makefile: ... this.
20853 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20854 * sysdeps/sparc/sparc64/Makefile: ... this.
20855
20856 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20857 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20858 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20859 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20860 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20861 * sysdeps/s390/s390-32/setjmp.S: ... here.
20862 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20863 * sysdeps/s390/s390-32/configure.in: ... here.
20864 * sysdeps/s390/s390-32/elf/configure: Delete file.
20865 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20866 * sysdeps/s390/s390-32/start.S: ... here.
20867
20868 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20869 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20870 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20871 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20872 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20873 * sysdeps/s390/s390-64/setjmp.S: ... here.
20874 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20875 * sysdeps/s390/s390-64/configure.in: ... here
20876 * sysdeps/s390/s390-64/elf/configure: Delete file.
20877 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20878 * sysdeps/s390/s390-64/start.S: ... here.
20879 * sysdeps/s390/s390-64/elf/configure: Delete.
20880
20881 * configure.in: Remove support for elf directories in sysdeps.
20882
20883 * configure: Regenerated.
20884 * sysdeps/i386/configure: Regenerated.
20885 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20886 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20887 * sysdeps/s390/s390-32/configure: Regenerated.
20888 * sysdeps/s390/s390-64/configure: Regenerated.
20889 * sysdeps/sh/configure: Regenerated.
20890 * sysdeps/sparc/configure: Regenerated.
20891 * sysdeps/x86_64/configure: Regenerated.
20892
a3f61311
AS
208932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20894
c876e002
AS
20895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20896
a3f61311
AS
20897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20898 denormal result into account.
20899
ac4c54f0
RM
209002012-03-25 Roland McGrath <roland@hack.frob.com>
20901
20902 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20903 Reported by Allan McRae <allan@archlinux.org>.
20904
6a9b9c02
JL
209052012-03-23 Jeff Law <law@redhat.com>
20906
20907 * nss/getnssent.c (__nss_getent): Fix typo.
20908
4c42a0c1
DM
209092012-03-23 David S. Miller <davem@davemloft.net>
20910
20911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20912
1532c7ac
L
209132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20914
20915 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20916 to pad to uint64_t for each field.
20917 (dl_tls_index): Replace unsigned long with uint64_t.
20918
3ff42526
PP
209192012-03-23 Daniel Jacobowitz <dmj@google.com>
20920 Paul Pluzhnikov <ppluzhnikov@google.com>
20921
20922 [BZ #6528]
20923 * grp/Makefile (otherlibs): Don't set it.
20924 * inet/Makefile (otherlibs): Likewise.
20925 * login/Makefile (otherlibs): Likewise.
20926 * nscd/Makefile (otherlibs): Likewise.
20927 * posix/Makefile (otherlibs): Likewise.
20928 * pwd/Makefile (otherlibs): Likewise.
20929 * rt/Makefile (otherlibs): Likewise.
20930 * sunrpc/Makefile (otherlibs): Likewise.
20931 * nss/Makefile (otherlibs): Likewise.
20932 Add libnss_files to routines and static-only-routines.
20933 ($(objpfx)getent): Remove rule.
20934 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20935 static-only-routines.
20936
7c69cd14
JM
209372012-03-22 Joseph Myers <joseph@codesourcery.com>
20938
20939 [BZ #13892]
20940 * math/s_cexp.c: Include <float.h>.
20941 (__cexp): Handle exp result overflowing not necessarily
20942 overflowing both real and imaginary parts of result.
20943 * math/s_cexpf.c: Likewise.
20944 * math/s_cexpl.c: Likewise.
20945 * math/libm-test.inc (cexp_test): Add more tests.
20946 * sysdeps/i386/fpu/libm-test-ulps: Update.
20947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20948
81b035fe
L
209492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20950
20951 * include/link.h (ELFW): New macro.
20952 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20953 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20954
1da7940c
L
209552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20956
20957 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20958 with uint64_t.
20959
b749dbb9
L
209602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20963 declaration.
20964 (struct La_x32_retval): Likewise.
20965
2ff87f3f
L
209662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20967
20968 * sysdeps/x86_64/preconfigure.in: New file.
20969 * sysdeps/x86_64/preconfigure: New generated file.
20970
c0df8e69
JM
209712012-03-22 Joseph Myers <joseph@codesourcery.com>
20972
48e44791
JM
20973 [BZ #13824]
20974 * math/e_exp2l.c: Include <float.h>.
20975 (__ieee754_exp2l): Handle overflow and underflow cases
20976 separately. Only pass fractional part of argument to
20977 __ieee754_expl.
20978 * math/libm-test.inc (exp2_test): Add more tests.
20979
c0df8e69
JM
20980 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20981 negating x to take absolute value.
20982 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20983 Likewise.
20984 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20985 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20986 Likewise.
20987 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20988 computing low part if x was negated.
20989 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20990
c8e43ba7
L
209912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20992
20993 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20994 la_x32_gnu_pltexit.
20995 (pltexit): Cast int_retval to ptrdiff_t.
20996 * elf/tst-auditmod3b.c: Likewise.
20997 * elf/tst-auditmod4b.c: Likewise.
20998 * elf/tst-auditmod5b.c: Likewise.
20999 * elf/tst-auditmod6b.c: Likewise.
21000 * elf/tst-auditmod6c.c: Likewise.
21001 * elf/tst-auditmod7b.c: Likewise.
21002
21003 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21004 and x32_gnu_pltexit.
21005
21006 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21007 __ELF_NATIVE_CLASS.
21008 (La_x32_regs): New macro.
21009 (La_x32_retval): Likewise.
21010 (la_x32_gnu_pltenter): New function prototype.
21011 (la_x32_gnu_pltexit): Likewise.
21012
7998fa78
AS
210132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21014
dcb33988
AS
21015 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21016 exponent.
21017
233fc563
AS
21018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21019
7998fa78
AS
21020 * configure.in (libc_cv_cc_nofma): Check for option to disable
21021 generation of FMA instructions.
21022 * configure: Regenerate.
21023 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21024 * sysdeps/ieee754/dbl-64/Makefile: New file.
21025 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21026 Remove brandred-fma4.
21027 (CFLAGS-brandred-fma4.c): Remove.
21028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21029 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21030 define.
21031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21032 define.
21033
8e95c99a
L
210342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21035
21036 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21037 LLONG_MAX != LONG_MAX.
21038 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21039 (_fitoa_word): Likewise.
21040 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21041 LLONG_MAX != LONG_MAX.
21042 * stdio-common/_itowa.h: Include <_itoa.h>.
21043 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21044 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21045 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21046 only if not defined.
21047 (_ITOA_WORD_TYPE): Likewise.
21048 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21049 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21050
6f4db457
DM
210512012-03-21 David S. Miller <davem@davemloft.net>
21052
21053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21054
7785fe5a
L
210552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21056
21057 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21058 of x86_64 when setting libc_cv_slibdir, libdir and
21059 libc_cv_localedir.
21060 * sysdeps/unix/sysv/linux/configure: Regenerated.
21061
4535cd55
JM
210622012-03-21 Joseph Myers <joseph@codesourcery.com>
21063
21064 * manual/lang.texi (Old Varargs): Remove section.
21065 (How Variadic): Update menu.
21066 (va_start): Do not mention varargs.h.
21067
17228132
TS
210682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21069 Joseph Myers <joseph@codesourcery.com>
21070
21071 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21072 link test.
21073 * configure: Regenerated.
21074
8149f976
TS
210752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21076
05f3d1f6
UD
21077 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21078 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21079 conformtest.pl
8149f976 21080
1a4ac776
JM
210812012-03-21 Joseph Myers <joseph@codesourcery.com>
21082
be22ce65
JM
21083 * NOTES: Remove.
21084 * Makefile (files-for-dist): Remove NOTES.
21085 (NOTES): Remove rule.
21086 * README: Don't refer to NOTES.
21087 * manual/creature.texi: Don't include macros.texi.
21088 * manual/intro.texi (creature.texi): Remove comment referring to
21089 NOTES.
21090
40b601fb
JM
21091 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21092 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21093 * configure: Regenerated.
21094 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21095 LIBC_TRY_CC_OPTION.
21096 (libc_cv_as_i686): Likewise.
21097 (libc_cv_cc_avx): Likewise.
21098 (libc_cv_cc_sse2avx): Likewise.
21099 (libc_cv_cc_fma4): Likewise.
21100 (libc_cv_cc_novzeroupper): Likewise.
21101 * sysdeps/i386/configure: Regenerated.
21102
1a4ac776
JM
21103 [BZ #13883]
21104 * sysdeps/i386/fpu/s_cexp.S: Remove.
21105 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21106 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21107 * math/libm-test.inc (cexp_test): Add more tests.
21108 * sysdeps/i386/fpu/libm-test-ulps: Update.
21109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21110
a458e7fe
AM
211112012-03-21 Allan McRae <allan@archlinux.org>
21112
21113 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21114
0cb7efc5
JM
211152012-03-21 Joseph Myers <joseph@codesourcery.com>
21116
21117 [BZ #13871]
21118 * math/w_exp2.c: Do not include <float.h>.
21119 (o_threshold, u_threshold): Remove.
21120 (__exp2): Calculate result before checking finiteness and calling
21121 __kernel_standard.
21122 * math/w_exp2f.c: Likewise.
21123 * math/w_exp2l.c: Likewise.
21124 * math/libm-test.inc (exp2_test): Require overflow exception for
21125 1e6 input.
2460d3aa
JM
21126
21127 [BZ #3866]
21128 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21129 range of signed 64-bit integers before using fistpll. Remove
21130 checks for whether integers fit in mantissa bits.
21131 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21132 the range of signed 32-bit integers before using fistpl. Remove
21133 checks for whether integers fit in mantissa bits.
21134 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21135 (__ieee754_powl): Test for y outside the range of signed 64-bit
21136 integers before using fistpll. Reduce 64-bit values to 63-bit
21137 ones as needed.
21138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21139 divide-by-zero is raised for zero to large negative powers.
21140 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21141 (__ieee754_powl): Test for y outside the range of signed 64-bit
21142 integers before using fistpll. Reduce 64-bit values to 63-bit
21143 ones as needed.
21144 * math/libm-test.inc (pow_test): Add more tests.
21145
eb96ffb0
L
211462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21149 <stdio-common/_itoa.h>.
21150 * debug/segfault.c: Likewise.
21151 * elf/dl-cache.c: Likewise.
21152 * elf/dl-minimal.c: Likewise.
21153 * elf/dl-misc.c: Likewise.
21154 * elf/dl-sysdep.c: Likewise.
21155 * elf/dl-version.c: Likewise.
21156 * elf/rtld.c: Likewise.
21157 * hurd/hurdsock.c: Likewise.
21158 * hurd/lookup-retry.c: Likewise.
21159 * malloc/malloc.c: Likewise.
21160 * malloc/mtrace.c: Likewise.
21161 * nscd/nscd_getgr_r.c: Likewise.
21162 * nscd/nscd_getpw_r.c: Likewise.
21163 * nscd/nscd_getserv_r.c: Likewise.
21164 * posix/getopt_init.c: Likewise.
21165 * posix/wordexp.c: Likewise.
21166 * stdio-common/_itoa.c: Likewise.
21167 * stdio-common/printf_fphex.c: Likewise.
21168 * stdio-common/vfprintf.c: Likewise.
21169 * string/_strerror.c: Likewise.
21170 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21171 * sysdeps/i386/i686/hp-timing.h: Likewise.
21172 * sysdeps/mach/_strerror.c: Likewise.
21173 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21174 * sysdeps/mach/hurd/sethostid.c: Likewise.
21175 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21176 * sysdeps/mach/xpg-strerror.c: Likewise.
21177 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21178 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21179 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21180 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21181 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21182 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21183 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21184 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21185 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21186 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21187 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21188 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21189 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21191 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21192 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21193 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21194 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21195 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21196 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21197 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21198
21199 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21200
21201 * stdio-common/_itoa.h: Moved to ...
21202 * sysdeps/generic/_itoa.h: Here.
21203
21204 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21205
21206 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21207 instead of "_itoa.h" and "_itowa.h".
21208 * stdio-common/vfprintf.: Likewise.
21209
d1af992d
L
212102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21213 <bits/wordsize.h>.
21214 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21215 (__signbit): Likwise.
21216 (llrintf): Likwise.
21217 (llrint): Likwise.
21218
114883e0
L
212192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21220
21221 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21222 __WORDSIZE != 64.
21223
c135cc1b
JM
212242012-03-20 Joseph Myers <joseph@codesourcery.com>
21225
21226 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21227 OVERFLOW_EXCEPTION_OK.
21228 * math/libm-test.inc ("Philosophy"): Update comment about
21229 exception testing.
21230 (OVERFLOW_EXCEPTION): Define.
21231 (OVERFLOW_EXCEPTION_OK): Likewise.
21232 (INVALID_EXCEPTION_OK): Renumber.
21233 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21234 (IGNORE_ZERO_INF_SIGN): Likewise.
21235 (test_exceptions): Handle FE_OVERFLOW.
21236 (exp10_test): Expect overflow exceptions.
21237 (exp2_test): Likewise.
21238 (expm1_test): Likewise.
21239 (nextafter_test): Likewise.
21240 (pow_test): Likewise.
21241 (scalbn_test): Likewise.
21242 (scalbln_test): Likewise.
21243
95443d88
L
212442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21245
21246 * sysdeps/x86_64/bits/atomic.h
21247 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21248 64bit integer.
21249 (atomic_exchange_acq): Likewise.
21250 (__arch_exchange_and_add_body): Likewise.
21251 (__arch_add_body): Likewise.
21252 (atomic_add_negative): Likewise.
21253 (atomic_add_zero): Likewise.
21254
490df6c4
L
212552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21256
c2722551 21257 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21258 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21259
5e52b189
L
212602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21261
21262 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21263 Check __x86_64__ instead of __WORDSIZE.
21264
a9879d4c
L
212652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21266
21267 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21268
5df98260
DM
212692012-03-19 David S. Miller <davem@davemloft.net>
21270
e1497744
DM
21271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21272
5df98260
DM
21273 * sysdeps/sparc/fpu/fenv_private.h: New file.
21274 * sysdeps/sparc/fpu/math_private.h: Use it.
21275 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21276 Remove.
21277 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21278 (libc_feholdexcept_setroundl): Remove.
21279 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21280 Remove.
21281 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21282 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21283
b4c35121
L
212842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21285
21286 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21287 int64_t instead of long int.
21288 (INSERT_WORDS64): Likwise.
21289
56965fd7
L
212902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21291
21292 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21293 _Unwind_GetCFA return to _Unwind_Ptr first.
21294
83d1aec8
JM
212952012-03-19 Joseph Myers <joseph@codesourcery.com>
21296
1897ad44
JM
21297 [BZ #13629]
21298 * math/s_clog.c: Include <float.h>.
21299 (__clog): Scale large or subnormal inputs.
21300 * math/s_clogf.c: Likewise.
21301 * math/s_clogl.c: Likewise.
21302 * math/s_clog10.c: Include <float.h>.
21303 (M_LOG10_2): Define.
21304 (__clog10): Scale large or subnormal inputs.
21305 * math/s_clog10f.c: Likewise.
21306 * math/s_clog10l.c: Likewise.
21307 * math/libm-test.inc (clog_test): Add more tests.
21308 (clog10_test): Likewise.
21309 * sysdeps/i386/fpu/libm-test-ulps: Update.
21310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21311
7726d6a9
JM
21312 [BZ #11451]
21313 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21314 x and y.
21315 * math/libm-test.inc (atan2_test): Add another test.
21316
83d1aec8
JM
21317 * Makerules (common-objdir-compile): Remove.
21318 * sysdeps/unix/Makefile (config-generated): Do not add
21319 $(unix-generated) to variable.
21320 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21321 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21322 Remove rule.
21323 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21324 Likewise.
21325 [generic bits/local_lim.h] (before-compile): Do not append to
21326 variable.
21327 [generic bits/local_lim.h] (common-generated): Likewise.
21328 [generic sys/param.h] (before-compile): Do not append to variable.
21329 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21330 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21331 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21332 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21333 include.
21334 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21335 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21336 [generic sys/param.h] ($(addprefix
21337 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21338 [generic sys/param.h] (common-generated): Do not append to
21339 variable.
21340 [generic sys/param.h] (sysdep_headers): Likewise.
21341 [generic bits/errno.h] (before-compile): Do not append to
21342 variable.
21343 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21344 rule.
21345 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21346 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21347 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21348 [generic bits/errno.h] (common-generated): Do not append to
21349 variable.
21350 [generic bits/ioctls.h] (before-compile): Do not append to
21351 variable.
21352 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21353 rule.
21354 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21355 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21356 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21357 rule.
21358 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21359 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21360 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21361 [generic bits/ioctls.h] (common-generated): Do not append to
21362 variable.
21363 [generic sys/syscall.h] (syscall.h): Remove variable.
21364 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21365 rule.
21366 [generic sys/syscall.h] (before-compile): Do not append to
21367 variable.
21368 [generic sys/syscall.h] (common-generated): Likewise.
21369 * sysdeps/unix/errnos-tmpl.c: Remove file.
21370 * sysdeps/unix/errnos.awk: Likewise.
21371 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21372 * sysdeps/unix/ioctls.awk: Likewise.
21373 * sysdeps/unix/mk-local_lim.c: Likewise.
21374 * sysdeps/unix/snarf-ioctls: Likewise.
21375
4851a949
RH
213762012-03-19 Richard Henderson <rth@twiddle.net>
21377
bd37f2ee
RH
21378 * sysdeps/i386/fpu/fenv_private.h: New file.
21379 * sysdeps/i386/fpu/math_private.h: Use it.
21380 (math_opt_barrier, math_force_eval): Remove.
21381 (libc_feholdexcept_setround_53bit): Remove.
21382 (libc_feupdateenv_53bit): Remove.
21383 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21384 (math_opt_barrier, math_force_eval): Remove.
21385 (libc_feholdexcept): Remove.
21386 (libc_feholdexcept_setround): Remove.
21387 (libc_fetestexcept, libc_fesetenv): Remove.
21388 (libc_feupdateenv_test): Remove.
21389 (libc_feupdateenv, libc_feholdsetround): Remove.
21390 (libc_feresetround): Remove.
21391
d0adc922
RH
21392 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21393 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21394
0fe0f1f8
RH
21395 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21396 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21397 (libc_feupdateenv_testl): New.
21398 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21399 (libc_feupdateenv_testf): New.
21400 (libc_feupdateenv): Use libc_feupdateenv_test.
21401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21403
eb92c487
RH
21404 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21405 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21406 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21407 (libc_feresetround_noex): New.
21408 (libc_feresetround_noexf): New.
21409 (libc_feresetround_noexl): New.
21410 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21411 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21412 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21413 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21414 SET_RESTORE_ROUND.
21415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21416 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21417 (__cos): Likewise.
21418 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21419 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21420 SET_RESTORE_ROUND_NOEX.
21421 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21422 SET_RESTORE_ROUND_NOEXF.
21423 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21424 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21425 (libc_feholdsetroundf): New.
21426 (libc_feresetround, libc_feresetroundf): New.
21427
7d2e8012
RH
21428 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21429 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21430 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21431
b4dabbb4
RH
21432 * sysdeps/generic/math_private.h: Include <fenv.h>.
21433 (default_libc_feholdexcept): New.
21434 (default_libc_feholdexcept_setround): New.
21435 (default_libc_fesetenv, default_libc_feupdateenv): New.
21436 (libc_feholdexcept): Only define if undefined.
21437 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21438 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21439 (libc_feholdexcept_setroundl): Likewise.
21440 (libc_feholdexcept_setround_53bit): Likewise.
21441 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21442 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21443 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21444 (libc_feupdateenv_53bit): Likewise.
21445 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21446 (libc_feholdexcept): Convert from macro to inline function.
21447 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21448 (libc_fesetenv, libc_feupdateenv): Likewise.
21449
4851a949
RH
21450 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21451 not previously defined.
21452 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21453 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21454 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21456 * sysdeps/ieee754/flt-32/math_private.h: New file.
21457 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21458 math_private.h below SET_FLOAT_WORD.
21459 (__isnan, __isinf_ns, __finite): Remove.
21460 (__isnanf, __isinf_nsf, __finitef): Remove.
21461
e79d442e
AS
214622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21463
21464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21465
90b80344
DM
214662012-03-17 David S. Miller <davem@davemloft.net>
21467
21468 [BZ #6471]
21469 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21470 for 2.16.
21471
edc21804
DM
214722012-03-16 David S. Miller <davem@davemloft.net>
21473
77e927af
DM
21474 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21475 warnings.
21476
374976dd
DM
21477 [BZ #6471]
21478 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21479 properly.
21480 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21481 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21482 sysdep_routines when subdir is sysvipc.
21483 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21484 __getshmlba helper.
21485
edc21804
DM
21486 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21487
473c3ef3
L
214882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21489
21490 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21491 [__LP64__].
21492
eb0f39b6
L
214932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21494
21495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21496 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21497 (__lround): Renamed to ...
21498 (__llround): This. Replace long int with long long int.
21499 Define lround functions as aliases of llround functions.
21500 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21501
6b6cd74b
L
215022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21503
21504 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21505 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21506 adresses to uintptr_t. Replace "long int" and "unsigned long
21507 int" with "greg_t" on va_arg.
21508
f1a77b01
L
215092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21510
21511 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21512 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21513
21514 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21515 Move e_machine check before EI_CLASS check. Handle x32
21516 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21517 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21518 SKIP_EM_IA_64 and include
21519 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21520
21521 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21522 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21523 (add_system_dir): New macro.
21524
21525 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21526 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21527
11b90b9f
JM
215282012-03-16 Joseph Myers <joseph@codesourcery.com>
21529
c36e1d23
JM
21530 [BZ #2551]
21531 [BZ #2552]
21532 [BZ #2553]
21533 [BZ #2554]
21534 [BZ #2562]
21535 [BZ #2563]
21536 [BZ #2565]
21537 [BZ #2566]
21538 [BZ #2576]
21539 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21540 (y0): Likewise.
21541 * math/w_j0f.c (j0f): Likewise.
21542 (y0f): Likewise.
21543 * math/w_j0l.c (__j0l): Likewise.
21544 (__y0l): Likewise.
21545 * math/w_j1.c (j1): Likewise.
21546 (y1): Likewise.
21547 * math/w_j1f.c (j1f): Likewise.
21548 (y1f): Likewise.
21549 * math/w_j1l.c (__j1l): Likewise.
21550 (__y1l): Likewise.
21551 * math/w_jn.c (jn): Likewise.
21552 (yn): Likewise.
21553 * math/w_jnf.c (jnf): Likewise.
21554 (ynf): Likewise.
21555 * math/w_jnl.c (__jnl): Likewise.
21556 (__ynl): Likewise.
21557 * math/libm-test.inc (j0_test): Add more tests.
21558 (j1_test): Likewise.
21559 (jn_test): Likewise. Add trailing semicolon to existing test.
21560 (y0_test): Likewise.
21561 (y1_test): Likewise.
21562 * sysdeps/i386/fpu/libm-test-ulps: Update.
21563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21564
11b90b9f
JM
21565 [BZ #13851]
21566 [BZ #13854]
21567 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21568 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21569 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21570 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21571 (__tanl): Set errno for infinite argument.
21572 * sysdeps/i386/fpu/mptan.c: Remove.
21573 * sysdeps/i386/fpu/s_tan.S: Likewise.
21574 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21575 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21576 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21577 * math/libm-test.inc (tan_test): Add more tests and enable more
21578 tests for double and long double.
21579 * sysdeps/i386/fpu/libm-test-ulps: Update.
21580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21581
6a1bd2a1
JK
215822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21583
21584 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21585 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21586
10a803e0
RM
215872012-03-16 Roland McGrath <roland@hack.frob.com>
21588
21589 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21590 * configure.in: Use it for both main tree and add-ons.
21591 * configure: Regenerated.
21592
f196c7f7
L
215932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21594
21595 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21596
8848d99d
JM
215972012-03-16 Joseph Myers <joseph@codesourcery.com>
21598
96cbe7f4
JM
21599 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21600 in comment.
21601
8848d99d
JM
21602 [BZ #13851]
21603 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21604 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21608 infinite argument.
21609 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21610 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21611 != 0 for prec == 2.
21612 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21613 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21614 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21615 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21616 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21617 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21618 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21619 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21620 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21621 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21622 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21623 * math/libm-test.inc (cos_test): Add more tests and enable more
21624 tests for long double.
21625 (sin_test): Likewise.
21626 (sincos_test): Likewise.
21627 * sysdeps/i386/fpu/libm-test-ulps: Update.
21628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21629
dd7f4703
DM
216302012-03-16 David S. Miller <davem@davemloft.net>
21631
21632 * sysdeps/sparc/fpu/math_private.h: New file.
21633
006f1daa
DM
216342012-03-15 David S. Miller <davem@davemloft.net>
21635
c0c83bc8
DM
21636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21637 file.
e6a62e18 21638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21640 file.
e6a62e18
DM
21641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21646 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21647 sysdep routines.
21648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21649
88cb87d9
DM
21650 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21651 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21652
006f1daa 21653 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21655 sparc-ifunc.h
006f1daa 21656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21658 Likewise.
21659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21660 Likewise.
006f1daa
DM
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21665 Likewise.
006f1daa
DM
21666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21671 Likewise.
21672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21673 Likewise.
006f1daa
DM
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21698
11e0098e
AS
216992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21700
21701 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21702 scaling.
21703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21704
e85b09d0
AJ
217052012-03-15 Andreas Jaeger <aj@suse.de>
21706
21707 [BZ #13852]
21708 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21709 ieee754/flt-32 implementation for sin, cos and sincos.
21710 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21711 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21712 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21713 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21714 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21715 ieee754/flt-32 implementation for tan.
21716
21717 * math/libm-test.inc (cos_test): Enable some large input tests for
21718 float as well
21719 (sin_test): Likewise.
21720 (sincos_test): Likewise.
21721 (tan_test): Add tests for large input.
21722
21723 * sysdeps/i386/fpu/libm-test-ulps: Update.
21724
81c64153
AJ
217252012-03-15 Andreas Jaeger <aj@suse.de>
21726
21727 [BZ #13658]
21728 * math/libm-test.inc (cos_test): Add more test cases.
21729 (sin_test): Likewise.
21730 (sincos_test): Likewise.
21731
7bbfa5c6
AJ
217322012-03-15 Andreas Jaeger <aj@suse.de>
21733
21734 [BZ #13837]
21735 * math/libm-test.inc (cos_test): Add a test case for large input
21736 value.
21737 (sin_test): Likewise.
21738 (sincos_test): Likewise.
21739
217402012-03-15 Andreas Jaeger <aj@suse.de>,
21741 Joseph Myers <joseph@codesourcery.com>
21742
21743 [BZ #13658]
0671f479 21744 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21745 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21746 * sysdeps/i386/fpu/branred.c: Likewise.
21747 * sysdeps/i386/fpu/dosincos.c: Likewise.
21748 * sysdeps/i386/fpu/mpa.c: Likewise.
21749 * sysdeps/i386/fpu/s_cos.S: Likewise.
21750 * sysdeps/i386/fpu/s_sin.S: Likewise.
21751 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21752 * sysdeps/i386/fpu/sincos32.c: Likewise.
21753
21754 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21755 Define.
21756 (libc_feupdateenv_53bit): Define.
21757 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21758 Define.
21759 (libc_feupdateenv_53bit): Define.
21760
21761 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21762 53 bit (without extend i386 double precision).
21763
21764 * math/libm-test.inc (sincos_test): Add tests for large input.
21765 (sin): Likewise.
21766 (cos): Likewise.
21767
21768 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21769
9cad04ea
AS
217702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21771
21772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21773
f7062b9a
DM
217742012-03-15 David S. Miller <davem@davemloft.net>
21775
21776 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21777 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21778 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21779 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21792 file.
f7062b9a 21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21795 file.
f7062b9a 21796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21798 file.
f7062b9a 21799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21801 file.
f7062b9a
DM
21802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21804 fmin/fmax sysdep routines.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21806
7bd951ff
DM
218072012-03-14 David S. Miller <davem@davemloft.net>
21808
559398ab
DM
21809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21838 routines.
21839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21840 file.
559398ab 21841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21843 file.
559398ab 21844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21846 file.
559398ab 21847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21849 file.
559398ab 21850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21852 file.
559398ab 21853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21855 file.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21857 file.
21858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21859 file.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21861 file.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21863 New file.
21864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21865 file.
21866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21867 file.
559398ab 21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21870 file.
559398ab 21871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21873 file.
559398ab 21874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21876 file.
559398ab 21877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21879 VIS3 routines.
559398ab
DM
21880
21881 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21882 New file.
21883
5a1c1e32
DM
21884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21885
eae47a36
DM
21886 * sysdeps/sparc/configure.in: New file.
21887 * sysdeps/sparc/configure: Generate.
21888 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21889 * configure: Regenerate.
21890 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21891 * config.make.in (have-as-vis3): New.
21892 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21893 available use -Av9d instead of -Av9a.
21894 * sysdeps/sparc/sparc64/Makefile: Likewise.
21895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21897 New file.
21898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21899 file.
21900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21901 New file.
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21903 file.
eae47a36
DM
21904 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21909
c0c83bc8
DM
21910 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21911 fzeros/fnegs to load 0x80000000 into a float register instead of
21912 using the stack.
7bd951ff
DM
21913 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21914
bd951ccb
JM
219152012-03-14 Joseph Myers <joseph@codesourcery.com>
21916
21917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21918 bits/syscall.h.
21919 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21920 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21921 ($(inst_includedir)/bits/syscall.h): Remove rule.
21922 ($(objpfx)bits/syscall.d): Include instead of
21923 $(objpfx)syscall-list.d.
21924 (generated): Change syscall-list.h and syscall-list.d to
21925 bits/syscall.h and bits/syscall.d.
21926
bb4e6db2
RM
219272012-03-14 Roland McGrath <roland@hack.frob.com>
21928
21929 [BZ #13846]
21930 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21931
aa4a2ae1
JM
219322012-03-14 Joseph Myers <joseph@codesourcery.com>
21933
e456826d
JM
21934 [BZ #13841]
21935 * math/s_csqrt.c: Include <float.h>.
21936 (__csqrt): Scale large or subnormal inputs.
21937 * math/s_csqrtf.c: Likewise.
21938 * math/s_csqrtl.c: Likewise.
21939 * math/libm-test.inc (csqrt_test): Add more tests.
21940 * sysdeps/i386/fpu/libm-test-ulps: Update.
21941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21942
aa4a2ae1
JM
21943 [BZ #13840]
21944 * math/libm-test.inc (hypot_test): Add more tests.
21945
7c10fd35
DM
219462012-03-13 David S. Miller <davem@davemloft.net>
21947
21948 [BZ #13840]
21949 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21950 double-precision for the calculation instead of scaling.
21951
f453b98b
JM
219522012-03-13 Joseph Myers <joseph@codesourcery.com>
21953
21954 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21955 manipulate bits before adding and subtracting TWO52[sx].
21956 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21957 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21958 Likewise.
21959 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21960
09a3453f
DM
219612012-03-13 David S. Miller <davem@davemloft.net>
21962
8e59da90
DM
21963 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21964 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21965 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21966 rtld-global-offsets.h
21967 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21968
2a8ab7f2
DM
21969 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21970 large parameters.
21971
10f62770
DM
21972 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21973
5f0bdb18
DM
21974 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21975 'err' in the ifdef scope in which it is actually used.
21976
09a3453f
DM
21977 * nss/nss_db/db-init.c: Include string.h
21978
b4b2eb5e
DM
219792012-03-12 David S. Miller <davem@davemloft.net>
21980
98bb2f1c
DM
21981 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21982 masking out of the most significant byte of random value used.
21983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21984 Fix coding style in previous change.
21985
b4b2eb5e
DM
21986 * sysdeps/unix/sysv/linux/kernel-features.h
21987 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21988 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21989 expression.
21990 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21991 later.
21992
6e226b09
DM
219932012-03-11 David S. Miller <davem@davemloft.net>
21994
a1bcbd40
DM
21995 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21996 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21997 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21998 for 'resultvar' otherwise things get truncated on 64-bit.
21999
cb9d6174
DM
22000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22001 Fix masking out of the most significant byte of random value used.
22002
6e226b09
DM
22003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22004
058c132d
AS
220052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22006
22007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22008
2d2cd515
DM
220092012-03-09 David S. Miller <davem@davemloft.net>
22010
22011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22012 variables with appropriate CPP guards.
22013 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22014 frame pointer, not the stack pointer. Correct layout comments. Fix test
22015 on resulting framesize and the management of the outregs buffer for pltexit.
22016 Preserve floating point return values across _dl_call_pltexit call.
22017 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22018 framesize and the management of the outregs buffer for pltexit.
22019 Preserve floating point return values across _dl_call_pltexit
22020 call.
22021 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22022 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22023 (print_exit): Fix format string for return register value.
22024
9a07f9d0
JM
220252012-03-10 Joseph Myers <joseph@codesourcery.com>
22026
22027 * sunrpc/Makefile (others): Add rpcgen.
22028 ($(objpfx)rpcgen): Remove special build rule and dependency on
22029 libc.
22030 * sunrpc/rpcgen.c: New file.
22031
547b5e30
PE
220322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22033
c524201a
PE
22034 [BZ #13673]
22035 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22036 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22037 * sysdeps/i386/crti.S: Likewise.
22038 * sysdeps/i386/crtn.S: Likewise.
22039 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22040 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22041 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22042 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22043 * sysdeps/sh/crti.S: Likewise.
22044 * sysdeps/sh/crtn.S: Likewise.
22045 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22046
7b6235f2
PE
22047 [BZ #13673]
22048 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22049 with URL.
22050 * locale/programs/locfile-kw.gperf: Likewise.
22051 * locale/programs/charmap-kw.h: Regenerated.
22052 * locale/programs/locfile-kw.h: Likewise.
22053
547b5e30
PE
22054 [BZ #13673]
22055 * intl/plural.y: Replace FSF snail mail address with URL.
22056 * intl/plural.c: Regenerated.
22057
5f0a5dae
RH
220582012-03-09 Richard Henderson <rth@twiddle.net>
22059
22060 * include/math_private.h: Remove file.
22061 * math/math_private.h: Move file ...
22062 * sysdeps/generic/math_private.h: ... here.
22063
b8c03620
RH
22064 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22065 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22066 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22067
4e234f5d 22068 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22069 and <math_private.h>.
22070 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22071 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22072 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22073 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22074 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22125 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22158 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22159 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22160 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22161 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22163 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22164 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22165 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22166 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22167 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22168 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22169 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22170 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22171 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22172 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22173 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22174 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22175 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22176 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22177 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22178 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22179 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22180 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22181 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22182 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22183 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22184 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22185 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22186 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22187 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22188 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22189 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22190 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22191 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22192 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22193 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22194 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22195 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22196 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22197 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22198 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22199 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22200 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22201 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22203 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22204 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22205 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22206 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22207 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22208 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22209 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22211 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22213 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22214 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22215 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22216 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22217 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22218 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22219 * sysdeps/ieee754/k_standard.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22311 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22313 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22315 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22318 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22324 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22325 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22326 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22327 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22328 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22329 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22332 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22333 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22334 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22336 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22337 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22338 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22339 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22341 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22342 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22344 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22345 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22346 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22347 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22348 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22349 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22350 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22351 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22352 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22353 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22354 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22355 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22356 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22357 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22358 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22362 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22363 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22364 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22365 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22367 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22368 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22369 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22370 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22371 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22372 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22373 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22374 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22375 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22376 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22377 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22379 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22380 * sysdeps/ieee754/s_lib_version.c: Likewise.
22381 * sysdeps/ieee754/s_matherr.c: Likewise.
22382 * sysdeps/ieee754/s_signgam.c: Likewise.
22383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22385 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22386 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22387 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22388 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22389 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22390 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22391 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22392 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22393 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22394 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22395 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22396 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22397 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22398 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22399 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22400 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22401 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22404
1991fa03
JM
224052012-03-09 Joseph Myers <joseph@codesourcery.com>
22406
22407 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22408 * sunrpc/rpc_main.c: Likewise.
22409 * sunrpc/rpc_svcout.c: Likewise.
22410
60d6f5a6
DM
224112012-03-09 David S. Miller <davem@davemloft.net>
22412
22413 * include/math_private.h: New file.
22414
4962050e
JM
224152012-03-09 Joseph Myers <joseph@codesourcery.com>
22416
02a6f887
JM
22417 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22418 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22419 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22420 from <bits/socket_type.h>.
22421 (enum __socket_type): Don't define here.
22422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22424 bits/socket_type.h.
22425
c6e013c1
JM
22426 [BZ #13566]
22427 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22428 checking __USE_GNU.
22429
4962050e
JM
22430 * Makerules ($(inst_includedir)/%.h): New rule.
22431 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22432 (install-others): Remove variable setting.
22433 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22434
38842f45
RH
224352012-03-08 Richard Henderson <rth@twiddle.net>
22436
67bb6da6
RH
22437 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22438 from macro to inline function; merge with the
22439 !__LIBC_INTERNAL_MATH_INLINES version.
22440 (__ieee754_sqrtf): Likewise.
22441
15194b4b
RH
22442 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22443 to inline function.
22444 (__rintf, __floor, __floorf): Likewise.
22445
64e21ede
RH
22446 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22447 macro to inline function.
22448 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22449
38842f45
RH
22450 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22451 not <math/math_private.h>.
22452
c64bf5fe
DM
224532012-03-08 David S. Miller <davem@davemloft.net>
22454
22455 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22456 copyright year.
22457 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22458
82d86f28
TS
224592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22460
22461 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22462 normalization.
22463 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22464 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22465
aea5d727
UD
224662012-03-08 Ulrich Drepper <drepper@gmail.com>
22467
22468 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22469 be defined individually, they must be defined as a block. Define
22470 S for printing a string instead of hidint the different by using a
22471 macro for adding the 'l'.
22472 * stdio-common/tst-fphex-wide.c: Adjust.
22473
70bca0a3
MP
224742012-03-07 Marek Polacek <polacek@redhat.com>
22475
22476 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22477
65b81130
MP
224782012-03-08 Marek Polacek <polacek@redhat.com>
22479
22480 [BZ #13806]
22481 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22482 * stdio-common/tst-fphex.c: Define a few macros to make the
22483 test reusable. Use them.
22484 * stdio-common/tst-fphex-wide.c: New file.
22485
07037eeb
JM
224862012-03-08 Joseph Myers <joseph@codesourcery.com>
22487
a7a93d50
JM
22488 [BZ #6911]
22489 * manual/macros.texi (gnusystems): New macro.
22490 (nongnusystems): Likewise.
22491 (gnulinuxhurdsystems): Likewise.
22492 (gnuhurdsystems): Likewise..
22493 (gnulinuxsystems): Likewise.
22494 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22495 variants of the GNU system, not "GNU system".
22496 * manual/conf.texi: Likewise.
22497 * manual/errno.texi: Likewise. Update example of errno macro
22498 expansion.
22499 * manual/filesys.texi: Likewise.
22500 (getumask): Document as specific to GNU/Hurd.
22501 * manual/install.texi: Likewise. Reword some references to
22502 GNU/Linux.
22503 * manual/intro.texi: Likewise.
22504 * manual/io.texi: Likewise.
22505 (File Name Portability): Detail which constraints are inapplicable
22506 to all GNU systems and which are only inapplicable to GNU/Hurd.
22507 * manual/job.texi: Likewise.
22508 * manual/llio.texi: Likewise.
22509 (O_NOCTTY): Document as present on GNU/Linux.
22510 * manual/maint.texi: Likewise.
22511 * manual/memory.texi: Likewise.
22512 * manual/pattern.texi: Likewise.
22513 * manual/pipe.texi: Likewise.
22514 * manual/process.texi: Likewise.
22515 * manual/resource.texi: Likewise.
22516 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22517 child on GNU/Hurd.
22518 * manual/setjmp.texi: Likewise.
22519 * manual/signal.texi: Likewise.
22520 * manual/startup.texi: Likewise.
22521 * manual/stdio.texi: Likewise.
22522 * manual/terminal.texi: Likewise.
22523 (ONLCR): Document as POSIX.
22524 (OXTABS): Document availability on GNU/Linux as XTABS.
22525 (ONOEOT): Document availability separately from other bits.
22526 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22527 * manual/time.texi: Likewise.
22528 * manual/users.texi: Likewise.
22529 * INSTALL: Regenerated.
22530 * sysdeps/gnu/errlist.c: Regenerated.
22531
07037eeb
JM
22532 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22533 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22534 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22535 puts.
22536 * configure: Regenerated.
22537
d1d3431a
JM
225382012-03-07 Joseph Myers <joseph@codesourcery.com>
22539
af6a1e37
JM
22540 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22541 default includes instead of AC_HEADER_CHECK.
22542 * sysdeps/i386/configure: Regenerated.
22543
d1d3431a
JM
22544 [BZ #10716]
22545 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22546 * math/s_cacoshf.c (__cacoshf): Likewise.
22547 * math/s_cacoshl.c (__cacoshl): Likewise.
22548 * math/s_casinh.c (__casinh): Set signs of result from argument.
22549 * math/s_casinhf.c (__casinhf): Likewise.
22550 * math/s_casinhl.c (__casinhl): Likewise.
22551 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22552 (casinh_test): Add more tests.
22553 * sysdeps/i386/fpu/libm-test-ulps: Update.
22554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22555
482ff4da
UD
225562012-03-07 Ulrich Drepper <drepper@gmail.com>
22557
872fda05
UD
22558 * po/zh_TW.po: Update from translation team.
22559
a4300c7a
UD
22560 * login/Makefile (distribute): Remove variable.
22561 * catgets/Makefile: Likewise.
22562 * mach/Makefile: Likewise.
22563 * malloc/Makefile: Likewise.
22564 * misc/Makefile: Likewise.
22565 * iconv/Makefile: Likewise.
22566 * nscd/Makefile: Likewise.
22567 * hurd/Makefile: Likewise.
22568 * manual/Makefile: Likewise.
22569 * locale/Makefile: Likewise.
22570 * intl/Makefile: Likewise.
22571 * conform/Makefile: Likewise.
22572 * nss/Makefile: Likewise.
22573 * time/Makefile: Likewise.
22574 * soft-fp/Makefile: Likewise.
22575 * dirent/Makefile: Likewise.
22576 * gmon/Makefile: Likewise.
22577 * po/Makefile: Likewise.
22578 * rt/Makefile: Likewise.
22579 * socket/Makefile: Likewise.
22580 * math/Makefile: Likewise.
22581 * signal/Makefile: Likewise.
22582 * debug/Makefile: Likewise.
22583 * elf/Makefile: Likewise.
22584 * timezone/Makefile: Likewise.
22585 * stdlib/Makefile: Likewise.
22586 * iconvdata/Makefile: Likewise.
22587 * sunrpc/Makefile: Likewise.
22588 * io/Makefile: Likewise.
22589 * argp/Makefile: Likewise.
22590 * inet/Makefile: Likewise.
22591 * hesiod/Makefile: Likewise.
22592 * grp/Makefile: Likewise.
22593 * csu/Makefile: Likewise.
22594 * wctype/Makefile: Likewise.
22595 * crypt/Makefile: Likewise.
22596 * libio/Makefile: Likewise.
22597 * string/Makefile: Likewise.
22598 * nis/Makefile: Likewise.
22599 * resolv/Makefile: Likewise.
22600 * stdio-common/Makefile: Likewise.
22601 * wcsmbs/Makefile: Likewise.
22602 * dlfcn/Makefile: Likewise.
22603 * posix/Makefile: Likewise.
22604
3b7c4e74 22605 [BZ #6959]
482ff4da
UD
22606 * timezone/Makefile: Don't install timezone files, just the programs
22607 and scripts.
22608
f72ed77d
UD
226092012-03-06 Ulrich Drepper <drepper@gmail.com>
22610
a000466f
UD
22611 * nss/databases.def: Add missing gshadow entry.
22612
f72ed77d
UD
22613 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22614
a53b7a4e
MP
226152012-03-06 Marek Polacek <polacek@redhat.com>
22616
22617 [BZ #13726]
22618 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22619 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22620 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22621 * stdio-common/tst-long-dbl-fphex.c: New file.
22622
e9258400
DM
226232012-03-06 David S. Miller <davem@davemloft.net>
22624
22625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22626 (set_obp_int): New function.
22627 (get_obp_int): New function.
22628 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22630 Avoid unused variable warnings on 'val' and use builtin_expect.
22631 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22632 __builtin_expect.
e9258400
DM
22633 (INLINE_CLONE_SYSCALL): Likewise.
22634
3bd2c723
DM
226352012-03-05 David S. Miller <davem@davemloft.net>
22636
22637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22638
bbb78d03
AS
226392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22640
884c5db4
AS
22641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22642
bbb78d03
AS
22643 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22644 only for |x| >= 40.
22645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22646
1c9f702a 226472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22648
22649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22650 Replace gettimeofday with __vdso_gettimeofday.
22651
7be16f82
RM
22652 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22653 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22654 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22655
22656 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22657 time with __vdso_time.
22658
ed58a00f
JM
226592012-03-05 Joseph Myers <joseph@codesourcery.com>
22660
22661 * manual/lang.texi (size_t): Note types to which size_t may be
22662 equivalent with the GNU C Library, but do not describe when
22663 differences between them are significant.
22664
30ee4ced
AJ
226652012-03-05 Andreas Jaeger <aj@suse.de>
22666
22667 * sysdeps/i386/fpu/libm-test-ulps: Update.
22668
b7cd39e8
JM
226692012-03-05 Joseph Myers <joseph@codesourcery.com>
22670
22671 [BZ #3976]
22672 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22673 (__ieee754_pow): Save and restore rounding mode and use
22674 round-to-nearest for main computations.
22675 * math/libm-test.inc (pow_test_tonearest): New function.
22676 (pow_test_towardzero): Likewise.
22677 (pow_test_downward): Likewise.
22678 (pow_test_upward): Likewise.
22679 (main): Call the new functions.
22680 * sysdeps/i386/fpu/libm-test-ulps: Update.
22681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22682
22683 [BZ #3976]
22684 * math/libm-test.inc (cosh_test_tonearest): New function.
22685 (cosh_test_towardzero): Likewise.
22686 (cosh_test_downward): Likewise.
22687 (cosh_test_upward): Likewise.
22688 (sinh_test_tonearest): Likewise.
22689 (sinh_test_towardzero): Likewise.
22690 (sinh_test_downward): Likewise.
22691 (sinh_test_upward): Likewise.
22692 (main): Call the new functions.
22693 * sysdeps/i386/fpu/libm-test-ulps: Update.
22694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695
6c6a98c9
TV
226962012-03-05 Tom de Vries <tom@codesourcery.com>
22697
22698 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22699 default stack guard is set in last bytes.
22700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22701
21bb2d2e 227022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22703
21bb2d2e 22704 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22705
21bb2d2e
AJ
22706 [BZ #13656]
22707 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22708 possibly allocate from heap instead of stack.
22709 * stdio-common/bug-vfprintf-nargs.c: New file.
22710 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22711
c6922934
AS
227122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22713
22714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22715
bc957d53
MP
227162012-03-03 Marek Polacek <polacek@redhat.com>
22717
22718 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22719 * math/math_private.h: Likewise.
22720 * stdlib/tst-strtod.c: Likewise.
22721 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22722 * sysdeps/x86_64/bits/atomic.h: Likewise.
22723
6358490d
DM
227242012-03-02 David S. Miller <davem@davemloft.net>
22725
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22730 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22731 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22732 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22733 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22734
01ae168d
RM
227352012-03-02 Roland McGrath <roland@hack.frob.com>
22736
d9a17c07
RM
22737 [BZ #13792]
22738 * manual/examples/README: New file, says the example source files
22739 can be used under GPL>=2.
22740 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22741 line containing just "*/".
22742 * manual/examples/add.c: Add copyright header (GPL>=2).
22743 * manual/examples/argp-ex1.c: Likewise.
22744 * manual/examples/argp-ex2.c: Likewise.
22745 * manual/examples/argp-ex3.c: Likewise.
22746 * manual/examples/argp-ex4.c: Likewise.
22747 * manual/examples/atexit.c: Likewise.
22748 * manual/examples/db.c: Likewise.
22749 * manual/examples/dir.c: Likewise.
22750 * manual/examples/dir2.c: Likewise.
22751 * manual/examples/execinfo.c: Likewise.
22752 * manual/examples/filecli.c: Likewise.
22753 * manual/examples/filesrv.c: Likewise.
22754 * manual/examples/fmtmsgexpl.c: Likewise.
22755 * manual/examples/genpass.c: Likewise.
22756 * manual/examples/inetcli.c: Likewise.
22757 * manual/examples/inetsrv.c: Likewise.
22758 * manual/examples/isockad.c: Likewise.
22759 * manual/examples/longopt.c: Likewise.
22760 * manual/examples/memopen.c: Likewise.
22761 * manual/examples/memstrm.c: Likewise.
22762 * manual/examples/mkfsock.c: Likewise.
22763 * manual/examples/mkisock.c: Likewise.
22764 * manual/examples/mygetpass.c: Likewise.
22765 * manual/examples/pipe.c: Likewise.
22766 * manual/examples/popen.c: Likewise.
22767 * manual/examples/rprintf.c: Likewise.
22768 * manual/examples/search.c: Likewise.
22769 * manual/examples/select.c: Likewise.
22770 * manual/examples/setjmp.c: Likewise.
22771 * manual/examples/sigh1.c: Likewise.
22772 * manual/examples/sigusr.c: Likewise.
22773 * manual/examples/stpcpy.c: Likewise.
22774 * manual/examples/strdupa.c: Likewise.
22775 * manual/examples/strftim.c: Likewise.
22776 * manual/examples/strncat.c: Likewise.
22777 * manual/examples/subopt.c: Likewise.
22778 * manual/examples/swapcontext.c: Likewise.
22779 * manual/examples/termios.c: Likewise.
22780 * manual/examples/testopt.c: Likewise.
22781 * manual/examples/testpass.c: Likewise.
22782 * manual/examples/timeval_subtract.c: Likewise.
22783
01ae168d
RM
22784 [BZ #13792]
22785 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22786 function to ...
22787 * manual/timeval_subtract.c.texi: ... here, new file.
22788
49efa33d
DM
227892012-03-02 David S. Miller <davem@davemloft.net>
22790
22791 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22792
28afd92d
JM
227932012-03-02 Joseph Myers <joseph@codesourcery.com>
22794
804360ed
JM
22795 [BZ #3976]
22796 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22797 (__sin): Save and restore rounding mode and use round-to-nearest
22798 for all computations.
22799 (__cos): Save and restore rounding mode and use round-to-nearest
22800 for all computations.
22801 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22802 <fenv.h>.
22803 (tan): Save and restore rounding mode and use round-to-nearest for
22804 all computations.
22805 * math/libm-test.inc (cos_test_tonearest): New function.
22806 (cos_test_towardzero): Likewise.
22807 (cos_test_downward): Likewise.
22808 (cos_test_upward): Likewise.
22809 (sin_test_tonearest): Likewise.
22810 (sin_test_towardzero): Likewise.
22811 (sin_test_downward): Likewise.
22812 (sin_test_upward): Likewise.
22813 (tan_test_tonearest): Likewise.
22814 (tan_test_towardzero): Likewise.
22815 (tan_test_downward): Likewise.
22816 (tan_test_upward): Likewise.
22817 (main): Call the new functions.
22818 * sysdeps/i386/fpu/libm-test-ulps: Update.
22819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22820
a6d06d7b
JM
22821 [BZ #10135]
22822 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22823 small n, then large n, before computing and testing k+n.
22824 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22825 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22826 Likewise.
22827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22828 Likewise.
22829 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22830 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22837 * math/libm-test.inc (scalbn_test): Add more tests.
22838 (scalbln_test): Likewise.
22839
07e12bb3
JM
22840 * manual/filesys.texi (mode_t): Describe constraints on size and
22841 signedness, not exact equivalence to a particular type.
22842 (ino_t): Likewise.
22843 (ino64_t): Likewise.
22844 (dev_t): Likewise.
22845 (nlink_t): Likewise.
22846 (blkcnt_t): Likewise.
22847 (blkcnt64_t): Likewise.
22848 * manual/llio.texi (off_t): Likewise.
22849
28afd92d
JM
22850 [BZ #3976]
22851 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22852 (__ieee754_exp): Save and restore rounding mode and use
22853 round-to-nearest for all computations.
22854 * math/libm-test.inc (exp_test_tonearest): New function.
22855 (exp_test_towardzero): Likewise.
22856 (exp_test_downward): Likewise.
22857 (exp_test_upward): Likewise.
22858 (main): Call the new functions.
22859 * sysdeps/i386/fpu/libm-test-ulps: Update.
22860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22861
b1eeb65d
CD
228622012-03-01 Chris Demetriou <cgd@google.com>
22863
22864 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22865 have predictable order.
22866
53362a4b
DM
228672012-03-01 David S. Miller <davem@davemloft.net>
22868
3c969083
DM
22869 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22870
759707de
DM
22871 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22872 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22873 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22874 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22875
dfdb8ff2
DM
22876 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22877 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22878 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22880 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22881 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22882 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22883 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22884 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22885
ead89f96
DM
22886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22887
7f66bd07
DM
22888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22889 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22891
53362a4b
DM
22892 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22893 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22894 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22895 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22896 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22900 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22901 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22902 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22903 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22906 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22908 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22909 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22910 * sysdeps/sparc/elf/configure: Regenerated.
22911
7b1902cb
JM
229122012-03-01 Joseph Myers <joseph@codesourcery.com>
22913
bec039bc
JM
22914 * configure.in (AS, LD): Require binutils 2.20 or later.
22915 * configure: Regenerated.
22916 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22917 as required minimum version.
22918 * INSTALL: Regenerated.
22919
7b1902cb
JM
22920 [BZ #2541]
22921 [BZ #4108]
22922 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22923 before squaring exponent.
22924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22925 bottom long double and 27 bits of top long double before squaring
22926 exponent.
22927 * math/libm-test.inc (erfc_test): Add more tests.
22928 * sysdeps/i386/fpu/libm-test-ulps: Update.
22929 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22931
f775c276
KT
229322012-03-01 Kai Tietz <ktietz@redhat.com>
22933
22934 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22935 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22936 containing bit-fields.
22937 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22938 * soft-fp/single.h (_FP_UNION_S): Likewise.
22939 * soft-fp/double.h (_FP_UNION_D): Likewise.
22940
5b8a4d4a
JM
229412012-02-29 Joseph Myers <joseph@codesourcery.com>
22942
0bab47b6
JM
22943 [BZ #13786]
22944 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22945 not include ../strcmp.S.
22946 [USE_AS_STRNCASECMP_L]: Likewise.
22947 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22948 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22949 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22950 (__strncasecmp_l_ia32): Define as alias to
22951 __strncasecmp_l_nonascii.
22952
0fcad3e2
JM
22953 [BZ #5794]
22954 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22955 * sysdeps/i386/fpu/libm-test-ulps: Update.
22956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22957
5b8a4d4a
JM
22958 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22960
8fdceb2e
JL
229612012-02-29 Jeff Law <law@redhat.com>
22962
22963 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22964 out of bounds read.
22965
1f393a11
MP
229662012-02-29 Marek Polacek <polacek@redhat.com>
22967
22968 [BZ #13706]
22969 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22970 * elf/Makefile: Add rules to run tst-unused-dep.out.
22971
8847f037
DM
229722012-02-28 David S. Miller <davem@davemloft.net>
22973
22974 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22975 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22978 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22979 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22980
169d7f11
JM
229812012-02-29 Joseph Myers <joseph@codesourcery.com>
22982
22983 * math/libm-test.inc (llround_test): Move one test from
22984 lround_test. Use TEST_f_L in moved test.
22985 (lround_test): Move misplaced test to llround_test. Add testcase
22986 from bug 2561.
22987
39adf059
UD
229882012-02-28 Ulrich Drepper <drepper@gmail.com>
22989
22990 * sysdeps/x86_64/fpu/e_expf.S: New file.
22991 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22992
71b5d1c5
SB
229932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22994
22995 [BZ #13637]
22996 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22997 of remain_len that may cause incomplete multi-byte character and
22998 false match.
22999 * posix/bug-regex33.c: New file.
23000 * posix/Makefile (tests): Add bug-regex33.
23001
1f77f049
JM
230022012-02-28 Joseph Myers <joseph@codesourcery.com>
23003
23004 * manual/macros.texi: New file.
23005 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23006 * manual/libc.texinfo: Include macros.texi.
23007 * manual/creatute.texi: Likewise.
23008 * manual/install.texi: Likewise.
23009 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23010 @glibcadj{} in references to the GNU C Library.
23011 * manual/charset.texi: Likewise.
23012 * manual/conf.texi: Likewise.
23013 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23014 when not using those macros.
23015 * manual/creature.texi: Likewise.
23016 * manual/crypt.texi: Likewise.
23017 * manual/errno.texi: Likewise.
23018 * manual/filesys.texi: Likewise.
23019 * manual/header.texi: Likewise.
23020 * manual/install.texi: Likewise.
23021 * manual/intro.texi: Likewise.
23022 * manual/io.texi: Likewise.
23023 * manual/job.texi: Likewise.
23024 * manual/lang.texi: Likewise.
23025 * manual/libc.texiinfo: Likewise.
23026 * manual/llio.texi: Likewise.
23027 * manual/locale.texi: Likewise.
23028 * manual/maint.texi: Likewise.
23029 * manual/math.texi: Likewise.
23030 * manual/memory.texi: Likewise.
23031 * manual/message.texi: Likewise.
23032 * manual/nss.texi: Likewise.
23033 * manual/pattern.texi: Likewise.
23034 * manual/process.texi: Likewise.
23035 * manual/resource.texi: Likewise.
23036 * manual/search.texi: Likewise.
23037 * manual/setjmp.texi: Likewise.
23038 * manual/signal.texi: Likewise.
23039 * manual/socket.texi: Likewise.
23040 * manual/startup.texi: Likewise.
23041 * manual/stdio.texi: Likewise.
23042 * manual/string.texi: Likewise.
23043 * manual/sysinfo.texi: Likewise.
23044 * manual/syslog.texi: Likewise.
23045 * manual/terminal.texi: Likewise.
23046 * manual/time.texi: Likewise.
23047 * manual/users.texi: Likewise.
23048 * INSTALL: Regenerated.
23049 * NOTES: Regenerated.
d40c5d54 23050 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23051
450bf206
AS
230522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23053
23054 * include/dirent.h: Include <dirstream.h> before
23055 <dirent/dirent.h>.
23056
741a235b
DM
230572012-02-28 David S. Miller <davem@davemloft.net>
23058
23059 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23060 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23063
d6b5aa58
DM
230642012-02-27 David S. Miller <davem@davemloft.net>
23065
1aff59a3
DM
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23070
d6b5aa58
DM
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23072 frame pointer instead of stack pointer relative arg slot.
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23076
433f48bf
CD
230772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23078
23079 [BZ #3992]
23080 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23081
d674b76d
DM
230822012-02-27 David S. Miller <davem@davemloft.net>
23083
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23090 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23092
0e7727f7
JM
230932012-02-27 Joseph Myers <joseph@codesourcery.com>
23094
23095 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23096 later. Allow versions 5-9.
43be4ca2 23097 * configure: Regenerated.
0e7727f7
JM
23098 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23099 required minimum version and 4.6 as recommended version. Do not
23100 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23101 * INSTALL: Regenerated.
0e7727f7 23102
a78bc654
DM
231032012-02-27 David S. Miller <davem@davemloft.net>
23104
428d5830
DM
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23113
a78bc654
DM
23114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23115 manipulate bits before adding and subtracting TWO112[sx].
23116 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23117
4579f81c
RM
231182012-02-27 Roland McGrath <roland@hack.frob.com>
23119
36c8acb4
RM
23120 [BZ #13775]
23121 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23122 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23123 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23124 being in POSIX, because they are in 1003.1-2008.
23125
84ad622b
RM
23126 * rt/tst-aio.c: Include <fcntl.h>.
23127 * rt/tst-aio7.c: Likewise.
23128 * rt/tst-aio64.c: Likewise.
23129
4579f81c
RM
23130 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23131
abd923db
JM
231322012-02-27 Joseph Myers <joseph@codesourcery.com>
23133
23134 * manual/install.texi (--with-headers): Describe headers as
23135 interface headers, not private headers.
23136 (Specific advice for GNU/Linux systems): Describe use of headers
23137 from "make headers_install", not private headers from older
23138 kernels.
43be4ca2 23139 * INSTALL: Regenerated.
abd923db
JM
23140 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23141 Change to 2.6.19.
23142 * sysdeps/unix/sysv/linux/configure: Regenerated.
23143
6664049b
JM
23144 * manual/llio.texi (fclean): Remove documentation.
23145
bb8b6697
JM
23146 * manual/Makefile (libc-texi-generated): New variable. Include
23147 version.texi.
23148 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23149 $(libc-texi-generated), not duplicated list of files.
23150 (version.texi, stamp-version): New rules.
23151 (realclean): Remove $(libc-texi-generated), not individual files
23152 from that list. Do not remove dir-add.texinfo.
23153 * manual/libc.texinfo: Comment out uses of edition numbers and
23154 references to printed manual. Remove last-updated dates.
23155 (EDITION): Comment out.
23156 (ISBN): Likewise.
23157 (VERSION, UPDATED): Remove.
23158 (version.texi): Include.
23159
12e5c3b9
AS
231602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23161
23162 * sysdeps/posix/spawni.c: Include <signal.h>.
23163 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23164 * sysdeps/pthread/aio_fsync.c: Likewise.
23165
4efeffc1 231662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23167
ba63ba08
UD
23168 * conform/Makefile (tests): Run only when not cross-compiling and
23169 when fast-check is not defined.
23170
d94a4670
UD
23171 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23172 * conform/data/limits.h-data: Fixes for POSIX2008.
23173 * conform/run-conformtest.sh: Run all tests.
23174 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23175 headers.
23176 * include/bits/dlfcn.h: Likewise.
23177 * include/langinfo.h: Likewise.
23178 * include/monetary.h: Likewise.
23179 * include/sys/poll.h: Likewise.
23180
23181 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23182 for __USE_GNU.
23183 * posix/spawn.h: Define __need_sigset_t.
23184 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23185 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23186 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23187 to get sigevent_t only.
23188 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23189 only for __USE_GNU.
23190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23191 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23192 process_vm_writev only for __USE_GNU.
23193 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23194
23195 * conform/Makefile: For now ignore errors from run-conformtest.
23196 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23197 POSIX to avoid namespace pollution. Don't prepend headers.
23198 * conform/data/aio.h-data: Fixes for POSIX testing.
23199 * conform/data/fcntl.h-data: Likewise.
23200 * conform/data/glob.h-data: Likewise.
23201 * conform/data/grp.h-data: Likewise.
23202 * conform/data/pthread.h-data: Likewise.
23203 * conform/data/pwd.h-data: Likewise.
23204 * conform/data/signal.h-data: Likewise.
23205 * conform/data/spawn.h-data: Likewise.
23206 * conform/data/stdio.h-data: Likewise.
23207 * conform/data/stdlib.h-data: Likewise.
23208 * conform/data/stropts.h-data: Likewise.
23209 * conform/data/sys/mman.h-data: Likewise.
23210 * conform/data/sys/stat.h-data: Likewise.
23211 * conform/data/sys/types.h-data: Likewise.
23212 * conform/data/sys/wait.h-data: Likewise.
23213 * conform/data/time.h-data: Likewise.
23214 * conform/data/unistd.h-data: Likewise.
23215 * conform/data/utime.h-data: Likewise.
23216
23217 * io/sys/stat.h: fchmod was always in POSIX.
23218 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23219 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23220 * rt/aio.h: Define __need_timespec before including <time.h>.
23221 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23222 struct. Add forward declaration of pthread_attr_t and use it in
23223 sigevent.
23224 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23226 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23227 always remove CLK_TCK definition.
23228
c20105c3
AS
232292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23230
23231 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23232
7a270350
UD
232332012-02-25 Ulrich Drepper <drepper@gmail.com>
23234
31341567
UD
23235 * conform/run-conformtest.sh: New file.
23236 * conform/Makefile: Run run-conformtest for tests.
23237 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23238 support.
23239
23240 * conform/data/uchar.h-data: New file.
23241 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23242 * conform/data/arpa/inet.h-data: Likewise.
23243 * conform/data/assert.h-data: Likewise.
23244 * conform/data/complex.h-data: Likewise.
23245 * conform/data/cpio.h-data: Likewise.
23246 * conform/data/ctype.h-data: Likewise.
23247 * conform/data/dirent.h-data: Likewise.
23248 * conform/data/dlfcn.h-data: Likewise.
23249 * conform/data/errno.h-data: Likewise.
23250 * conform/data/fcntl.h-data: Likewise.
23251 * conform/data/float.h-data: Likewise.
23252 * conform/data/fmtmsg.h-data: Likewise.
23253 * conform/data/fnmatch.h-data: Likewise.
23254 * conform/data/ftw.h-data: Likewise.
23255 * conform/data/glob.h-data: Likewise.
23256 * conform/data/grp.h-data: Likewise.
23257 * conform/data/iconv.h-data: Likewise.
23258 * conform/data/inttypes.h-data: Likewise.
23259 * conform/data/langinfo.h-data: Likewise.
23260 * conform/data/libgen.h-data: Likewise.
23261 * conform/data/limits.h-data: Likewise.
23262 * conform/data/locale.h-data: Likewise.
23263 * conform/data/math.h-data: Likewise.
23264 * conform/data/monetary.h-data: Likewise.
23265 * conform/data/mqueue.h-data: Likewise.
23266 * conform/data/ndbm.h-data: Likewise.
23267 * conform/data/net/if.h-data: Likewise.
23268 * conform/data/netdb.h-data: Likewise.
23269 * conform/data/netinet/in.h-data: Likewise.
23270 * conform/data/nl_types.h-data: Likewise.
23271 * conform/data/poll.h-data: Likewise.
23272 * conform/data/pthread.h-data: Likewise.
23273 * conform/data/pwd.h-data: Likewise.
23274 * conform/data/regex.h-data: Likewise.
23275 * conform/data/sched.h-data: Likewise.
23276 * conform/data/search.h-data: Likewise.
23277 * conform/data/semaphore.h-data: Likewise.
23278 * conform/data/setjmp.h-data: Likewise.
23279 * conform/data/signal.h-data: Likewise.
23280 * conform/data/spawn.h-data: Likewise.
23281 * conform/data/stdarg.h-data: Likewise.
23282 * conform/data/stdio.h-data: Likewise.
23283 * conform/data/stdlib.h-data: Likewise.
23284 * conform/data/string.h-data: Likewise.
23285 * conform/data/strings.h-data: Likewise.
23286 * conform/data/stropts.h-data: Likewise.
23287 * conform/data/sys/ipc.h-data: Likewise.
23288 * conform/data/sys/mman.h-data: Likewise.
23289 * conform/data/sys/msg.h-data: Likewise.
23290 * conform/data/sys/resource.h-data: Likewise.
23291 * conform/data/sys/select.h-data: Likewise.
23292 * conform/data/sys/sem.h-data: Likewise.
23293 * conform/data/sys/shm.h-data: Likewise.
23294 * conform/data/sys/socket.h-data: Likewise.
23295 * conform/data/sys/stat.h-data: Likewise.
23296 * conform/data/sys/statvfs.h-data: Likewise.
23297 * conform/data/sys/time.h-data: Likewise.
23298 * conform/data/sys/timeb.h-data: Likewise.
23299 * conform/data/sys/times.h-data: Likewise.
23300 * conform/data/sys/types.h-data: Likewise.
23301 * conform/data/sys/uio.h-data: Likewise.
23302 * conform/data/sys/un.h-data: Likewise.
23303 * conform/data/sys/utsname.h-data: Likewise.
23304 * conform/data/sys/wait.h-data: Likewise.
23305 * conform/data/syslog.h-data: Likewise.
23306 * conform/data/tar.h-data: Likewise.
23307 * conform/data/termios.h-data: Likewise.
23308 * conform/data/utime.h-data: Likewise.
23309 * conform/data/utmpx.h-data: Likewise.
23310 * conform/data/varargs.h-data: Likewise.
23311 * conform/data/wchar.h-data: Likewise.
23312 * conform/data/wctype.h-data: Likewise.
23313 * conform/data/wordexp.h-data: Likewise.
23314
23315 * include/stropts.h: New file.
23316 * include/uchar.h: New file.
23317 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23318 * include/assert.h: Likewise.
23319 * include/ctype.h: Likewise.
23320 * include/dirent.h: Likewise.
23321 * include/dlfcn.h: Likewise.
23322 * include/fcntl.h: Likewise.
23323 * include/fnmatch.h: Likewise.
23324 * include/glob.h: Likewise.
23325 * include/grp.h: Likewise.
23326 * include/libio.h: Likewise.
23327 * include/locale.h: Likewise.
23328 * include/math.h: Likewise.
23329 * include/net/if.h: Likewise.
23330 * include/netdb.h: Likewise.
23331 * include/netinet/in.h: Likewise.
23332 * include/pthread.h: Likewise.
23333 * include/pwd.h: Likewise.
23334 * include/regex.h: Likewise.
23335 * include/sched.h: Likewise.
23336 * include/search.h: Likewise.
23337 * include/setjmp.h: Likewise.
23338 * include/signal.h: Likewise.
23339 * include/stdio.h: Likewise.
23340 * include/stdlib.h: Likewise.
23341 * include/string.h: Likewise.
23342 * include/sys/cdefs.h: Likewise.
23343 * include/sys/mman.h: Likewise.
23344 * include/sys/msg.h: Likewise.
23345 * include/sys/resource.h: Likewise.
23346 * include/sys/select.h: Likewise.
23347 * include/sys/socket.h: Likewise.
23348 * include/sys/stat.h: Likewise.
23349 * include/sys/statvfs.h: Likewise.
23350 * include/sys/time.h: Likewise.
23351 * include/sys/times.h: Likewise.
23352 * include/sys/uio.h: Likewise.
23353 * include/sys/utsname.h: Likewise.
23354 * include/sys/wait.h: Likewise.
23355 * include/termios.h: Likewise.
23356 * include/time.h: Likewise.
23357 * include/ulimit.h: Likewise.
23358 * include/unistd.h: Likewise.
23359 * include/utime.h: Likewise.
23360 * include/wchar.h: Likewise.
23361 * include/wctype.h: Likewise.
23362 * include/wordexp.h: Likewise.
23363
23364 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23365
7a270350
UD
23366 * time/time.h: TIME_UTC must be a macro.
23367 Make timespec_get available for ISO C11 only as well.
23368
7724defc
UD
233692012-02-24 Ulrich Drepper <drepper@gmail.com>
23370
23371 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23372 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23373
6b1d1d46
JM
233742012-02-24 Joseph Myers <joseph@codesourcery.com>
23375
23376 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23377
0f8bbd69
JM
233782012-02-24 Joseph Myers <joseph@codesourcery.com>
23379
23380 * manual/texinfo.tex: Update to version 2012-01-19.16.
23381
66ab80bc
JM
233822012-02-24 Joseph Myers <joseph@codesourcery.com>
23383
23384 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23385
74981cc5
RM
233862012-02-24 Roland McGrath <roland@hack.frob.com>
23387
ee968201
RM
23388 [BZ #13738]
23389 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23390 * manual/fdl-1.3.texi: New file.
23391 * manual/fdl-1.1.texi: File removed.
23392
74981cc5
RM
23393 [BZ #13738]
23394 * manual/libc.texinfo (FDL_VERSION): New @set.
23395 Use it for mention of FDL in cover text.
23396 (Documentation License): Use it in @include file name.
23397
7bb764bc
JM
233982012-02-22 Joseph Myers <joseph@codesourcery.com>
23399 Roland McGrath <roland@hack.frob.com>
23400
23401 [BZ #5461]
23402 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23403 not LONG_LONG_MAX and LONG_LONG_MIN.
23404 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23405 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23406 name.
23407 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23408
6cbeae47
JM
234092012-02-22 Joseph Myers <joseph@codesourcery.com>
23410
23411 [BZ #2547]
23412 [BZ #11365]
23413 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23414 manipulate bits before adding and subtracting TWO23[sx].
23415 * math/libm-test.inc (nearbyint_test): Add more tests.
23416
fe45ce09
JM
234172012-02-22 Joseph Myers <joseph@codesourcery.com>
23418
23419 [BZ #2548]
23420 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23421 bits before adding and subtracting TWO23[sx].
23422 * math/libm-test.inc (rint_test): Add more tests.
23423 (rint_test_tonearest): Likewise.
23424 (rint_test_towardzero): Likewise.
23425 (rint_test_downward): Likewise.
23426 (rint_test_upward: Likewise.
23427
ff3b3d82
JM
234282012-02-22 Joseph Myers <joseph@codesourcery.com>
23429
23430 [BZ #10110]
23431 * include/stdc-predef.h: New file. Extracted from features.h.
23432 * include/features.h: Include stdc-predef.h.
23433 * Makefile (headers): Add stdc-predef.h.
23434 * CONFORMANCE (Compiler limitations): Update.
23435
ef0aab35
JM
234362012-02-22 Joseph Myers <joseph@codesourcery.com>
23437
23438 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23439
58639409
DM
234402012-02-21 David S. Miller <davem@davemloft.net>
23441
23442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23444
c0e70b25
DM
234452012-02-20 David S. Miller <davem@davemloft.net>
23446
23447 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23448 using a normal save/restore sequence, rather than allocating a
23449 dummy stack frame just to store a frame pointer and restore.
23450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23451
fb06851d
JM
234522012-02-21 Joseph Myers <joseph@codesourcery.com>
23453
23454 * manual/install.texi: Fix stray word in line-wrapped comment.
23455
7a8b71c3
DM
234562012-02-20 David S. Miller <davem@davemloft.net>
23457
d510c123
DM
23458 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23459 both binutils and gcc support GOTDATA.
23460
0722d7c2
DM
23461 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23462 "rd %pc" in the PIC register setup sequences.
23463
3d2b3019
DM
23464 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23465 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23466 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23467 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23468 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23473 (SYSCALL_ERROR_HANDLER): Likewise.
23474 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23477 (SYSCALL_ERROR_HANDLER): Likewise.
23478
c80098a9
DM
23479 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23480 (HAVE_GCC_GOTDATA): New.
23481 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23482 relocation support in both binutils and gcc.
23483 * sysdeps/sparc/elf/configure: Regenerate.
23484
3a2545a0
DM
23485 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23486 * sysdeps/sparc/sparc32/elf/configure: Delete.
23487 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23488 * sysdeps/sparc/sparc64/elf/configure: Delete.
23489 * sysdeps/sparc/elf/configure.in: New file.
23490 * sysdeps/sparc/elf/configure: Generate.
23491
7a8b71c3
DM
23492 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23493 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23494 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23495 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23496 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23497
f1e86fca
JM
234982012-02-21 Joseph Myers <joseph@codesourcery.com>
23499
23500 * manual/install.texi: Do not mention specific glibc version
23501 numbers.
23502 * manual/libc.texinfo (VERSION, UPDATED): Update.
23503 (@copying): Use @copyright{} and range of years.
23504
0e7dfaef
JM
235052012-02-21 Joseph Myers <joseph@codesourcery.com>
23506
23507 [BZ #13695]
23508 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23509 [crti.S not in sysdirs] (generated): Do not append.
23510 [crti.S not in sysdirs] (omit-deps): Likewise.
23511 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23512 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23513 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23514 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23515 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23516 Likewise.
23517 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23518 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23519 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23520 * csu/defs.awk: Remove file.
23521 * sysdeps/generic/initfini.c: Likewise.
23522 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23523 variable.
23524 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23525 Likewise.
23526
599af3ca
JM
235272012-02-20 Joseph Myers <joseph@codesourcery.com>
23528
23529 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23530 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23531 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23533 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23534 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23535 <bits/epoll.h>.
23536 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23537 (__EPOLL_PACKED): Define to empty if not defined by
23538 <bits/epoll.h>.
23539 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23541 bits/epoll.h.
23542
0e499750
JM
235432012-02-20 Joseph Myers <joseph@codesourcery.com>
23544
23545 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23546 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23547 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23549 <bits/timerfd.h>.
23550 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23552 bits/timerfd.h.
23553
5ad91f6e
JM
235542012-02-20 Joseph Myers <joseph@codesourcery.com>
23555
23556 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23557 in C locale.
23558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23559 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23560 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23562
06b99b02
AJ
235632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23564
23565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23566 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23567
7638c0fd
AS
235682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23569
23570 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23571 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23572 defined.
23573 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23574 Likewise.
23575 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23576 entry for 2.16.
23577
92221550
AJ
235782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23579
23580 * math/w_acos.c: Use non-signaling floating-point comparisons.
23581 * math/w_acosf.c: Likewise.
23582 * math/w_acosh.c: Likewise.
23583 * math/w_acoshf.c: Likewise.
23584 * math/w_acoshl.c: Likewise.
23585 * math/w_acosl.c: Likewise.
23586 * math/w_asin.c: Likewise.
23587 * math/w_asinf.c: Likewise.
23588 * math/w_asinl.c: Likewise.
23589 * math/w_atanh.c: Likewise.
23590 * math/w_atanhf.c: Likewise.
23591 * math/w_atanhl.c: Likewise.
23592 * math/w_exp2.c: Likewise.
23593 * math/w_exp2f.c: Likewise.
23594 * math/w_exp2l.c: Likewise.
23595 * math/w_j0.c: Likewise.
23596 * math/w_j0f.c: Likewise.
23597 * math/w_j0l.c: Likewise.
23598 * math/w_j1.c: Likewise.
23599 * math/w_j1f.c: Likewise.
23600 * math/w_j1l.c: Likewise.
23601 * math/w_jn.c: Likewise.
23602 * math/w_jnf.c: Likewise.
23603 * math/w_log.c: Likewise.
23604 * math/w_log10.c: Likewise.
23605 * math/w_log10f.c: Likewise.
23606 * math/w_log10l.c: Likewise.
23607 * math/w_log2.c: Likewise.
23608 * math/w_log2f.c: Likewise.
23609 * math/w_log2l.c: Likewise.
23610 * math/w_logf.c: Likewise.
23611 * math/w_logl.c: Likewise.
23612 * math/w_sqrt.c: Likewise.
23613 * math/w_sqrtf.c: Likewise.
23614 * math/w_sqrtl.c: Likewise.
23615 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23616 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23618 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23620
ebaf36eb
JM
236212012-02-19 Joseph Myers <joseph@codesourcery.com>
23622
23623 [BZ #9739]
23624 * manual/string.texi (strnlen): Use correct parameter name in
23625 equivalent expression.
23626
71c254a6
JM
236272012-02-19 Joseph Myers <joseph@codesourcery.com>
23628
23629 [BZ #11174]
23630 * manual/users.texi (seteuid): Consistently use neweuid for
23631 argument name.
23632
16d2c631
JM
236332012-02-19 Joseph Myers <joseph@codesourcery.com>
23634
23635 [BZ #13704]
23636 * manual/nss.texi (Services in the NSS configuration): Correct
23637 list of services in example configuration file.
23638
cd837b09
NB
236392012-02-19 Nick Bowler <nbowler@draconx.ca>
23640
23641 [BZ #11322]
23642 * manual/arith.texi: Remove statements about negative zero
23643 behaving identically to zero.
23644
02c4bbad
JM
236452012-02-18 Joseph Myers <joseph@codesourcery.com>
23646
23647 [BZ #5993]
23648 * manual/install.texi: Do not document upgrading from libc5.
23649
366842e7
JM
236502012-02-18 Joseph Myers <joseph@codesourcery.com>
23651
23652 [BZ #4596]
23653 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23654
dd54084d
DM
236552012-02-18 David S. Miller <davem@davemloft.net>
23656
23657 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23658 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23659 %o7 across the call.
23660 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23661 instead.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23663 SETUP_PIC_REG_LEAF.
23664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23665 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23666 * sysdeps/sparc/crtn.S: Likewise.
23667
2bcc53a3
UD
236682012-02-17 Ulrich Drepper <drepper@gmail.com>
23669
23670 * aout/Makefile: Remove.
23671
09c093b5
RK
236722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23673
23674 [BZ #13058]
23675 * manual/examples/argp-ex1.c (main): Format definition in GNU
23676 style.
23677 * manual/examples/argp-ex2.c (main): Likewise.
23678 * manual/examples/argp-ex3.c (main): Likewise.
23679 * manual/examples/argp-ex4.c (main): Likewise.
23680 * manual/examples/longopt.c (main): Use new-style prototype
23681 definition.
23682 * manual/examples/strncat.c (main): Specify return type and use
23683 (void) for arguments.
23684 * manual/examples/subopt.c (main): Use char **argv argument.
23685
2ee633a2
JM
236862012-02-17 Joseph Myers <joseph@codesourcery.com>
23687
23688 [BZ #5077]
23689 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23690 rounding modes.
23691
0520adde
FB
236922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23693
23694 [BZ #6907]
23695 * manual/string.texi (strchr): Change when strchrnul is
23696 recommended.
23697
3f4081cd
DGM
236982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23699
23700 [BZ #174]
23701 * manual/locale.texi (setlocale): Document LOCPATH.
23702
d1b10e78
JM
237032012-02-17 Joseph Myers <joseph@codesourcery.com>
23704
23705 [BZ #10210]
23706 * manual/process.texi (execle): Move @dots{} before last argument.
23707
79c6869c
PB
237082012-02-17 Paul Bolle <pebolle@tiscali.nl>
23709
23710 [BZ #12047]
23711 * manual/charset.texi (Generic Charset Conversion): Fix typo
23712 (LC_TYPE -> LC_CTYPE).
23713
cc6e48bc
NB
237142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23715
23716 [BZ #5805]
23717 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23718 (scalbnf): Likewise.
23719 (scalbnl): Likewise.
23720 (scalbln): Likewise.
23721 (scalblnf): Likewise.
23722 (scalblnl): Likewise.
23723 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23724 (vwarnx): Likewise.
23725 (verr): Likewise.
23726 (verrx): Likewise.
23727 * manual/filesys.texi (telldir): Use braces around return type.
23728 * manual/llio.texi (mmap): Add space after comma.
23729 (mmap64): Likewise.
23730 * manual/math.texi (jn): Use @var{} on parameter names.
23731 (jnf): Likewise.
23732 (jnl): Likewise.
23733 (yn): Likewise.
23734 (ynf): Likewise.
23735 (ynl): Likewise.
23736 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23737 line.
23738 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23739 "...".
23740 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23741 (sched_get_priority_max): Likewise.
23742 * manual/signal.texi (sigvec): Add space after comma.
23743 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23744 names.
23745 (if_indextoname): Likewise.
23746 (if_freenameindex): Likewise.
23747 (sendto): Use ',' instead of '.' in prototype.
23748 * manual/startup.texi (syscall): Use @dots{} instead of literal
23749 "...".
23750 * manual/stdio.texi (__fpending): Separate initial words of
23751 paragraph from @deftypefun line.
23752 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23753 "...".
23754 (vsyslog): Use @var{} on parameter names.
23755 * manual/terminal.texi (stty): Use @var{} on parameter names.
23756 * manual/users.texi (getutmp): Use @var{} on parameter names.
23757 (getutmpx): Likewise.
23758
5b23062f
JM
237592012-02-17 Joseph Myers <joseph@codesourcery.com>
23760
23761 [BZ #6884]
23762 * manual/stdio.texi (fopen): Fix typos in description of
23763 ",ccs=STRING".
23764
8dee4833
AJ
237652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23766
23767 [BZ #4026]
23768 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23769 get clock_id definition.
23770
9078ce93
TS
237712012-02-17 Thomas Schwinge <thomas@schwinge.name>
23772
23773 [BZ #4822]
23774 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23775 (madvise): Cast every argument to void on its own.
23776
3835c55f
JM
237772012-02-17 Joseph Myers <joseph@codesourcery.com>
23778
23779 [BZ #9902]
23780 * manual/startup.texi (Exit Status): Fix typo.
23781
35c47e37
JM
237822012-02-17 Joseph Myers <joseph@codesourcery.com>
23783
23784 [BZ #10140]
23785 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23786 * manual/examples/argp-ex2.c: Likewise.
23787 * manual/examples/argp-ex3.c: Likewise.
23788
e3b69ca7
RH
237892012-02-16 Richard Henderson <rth@redhat.com>
23790
23791 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23792 * sysdeps/s390/s390-32/initfini.c: Remove.
23793 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23794 * sysdeps/s390/s390-64/initfini.c: Remove.
23795
df83af67
KK
237962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23797
23798 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23799 compiler output for sysdeps/generic/initfini.c.
23800 * sysdeps/sh/elf/initfini.c: Remove file.
23801
f63f3380
DM
238022012-02-16 David S. Miller <davem@davemloft.net>
23803
fb59b3a4
DM
23804 [BZ #11494]
23805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23806
f63f3380
DM
23807 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23808 * sysdeps/sparc/crti.S: New file.
23809 * sysdeps/sparc/crtn.S: New file.
23810 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23811 * sysdeps/sparc/sparc64/Makefile: Likewise.
23812
df6a4a4a
MF
238132012-02-15 Mike Frysinger <vapier@gentoo.org>
23814
6dd8f3dc 23815 [BZ #3335]
df6a4a4a
MF
23816 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23817
1cac7236
RM
238182012-02-15 Roland McGrath <roland@hack.frob.com>
23819
d2c736f8
RM
23820 [BZ #4822]
23821 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23822
1cac7236
RM
23823 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23824 (write, read, close): Likewise.
23825 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23826
8e475601
JM
238272012-02-15 Joseph Myers <joseph@codesourcery.com>
23828
23829 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23830 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23831 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23832 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23833 <bits/signalfd.h>.
23834 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23836 bits/signalfd.h.
23837
ed656b40
MP
238382012-02-14 Marek Polacek <polacek@redhat.com>
23839
23840 * sysdeps/x86_64/crti.S: New file.
23841 * sysdeps/x86_64/crtn.S: New file.
23842 * sysdeps/x86_64/elf/initfini.c: Remove file.
23843
2a979d3a
JM
238442012-02-13 Joseph Myers <joseph@codesourcery.com>
23845
23846 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23847 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23848 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23849 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23850 <bits/inotify.h>.
23851 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23853 bits/inotify.h.
23854
2a418ac3
JM
238552012-02-13 Joseph Myers <joseph@codesourcery.com>
23856
23857 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23858 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23859 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23860 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23861 <bits/eventfd.h>.
23862 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23864 bits/eventfd.h.
23865
fb779be7
TS
238662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23867
e19e83c5
RM
23868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23869 __feraiseexcept instead of feraiseexcept.
7c35ffed 23870
fb779be7
TS
23871 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23872 nanosleep invocations.
23873 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23874 strings, and add error checking for a nanosleep invocations.
23875
59ba27a6
PE
238762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23877
23878 Replace FSF snail mail address with URLs, as per GNU coding standards.
23879 Most of the snail mail addresses were wrong anyway, and omitting
23880 them makes the source code easier to maintain. Almost all of the
23881 changes are to license notices and to locale LC_IDENTIFICATION
23882 addresses, except for this one:
23883 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23884 not its snail mail address.
23885
57b957eb
RH
238862012-02-09 Richard Henderson <rth@twiddle.net>
23887
af850b1c
RH
23888 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23889 of kernel-features.h.
23890
57b957eb
RH
23891 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23892
6b73181a
MP
238932012-02-08 Marek Polacek <polacek@redhat.com>
23894
23895 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23896 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23897 * sysdeps/gnu/_G_config.h: Likewise.
23898 * sysdeps/generic/_G_config.h: Likewise.
23899
26ecc33a
AS
239002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23901
6c6dbc63
AS
23902 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23903 tests.
23904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23905
e216c012
AS
23906 * sysdeps/powerpc/powerpc32/crti.S: New file.
23907 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23908 * sysdeps/powerpc/powerpc64/crti.S: New file.
23909 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23910
26ecc33a
AS
23911 * Makeconfig (have-initfini): Don't set.
23912 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23913 * configure.in (nopic_initfini): Don't substitute.
23914 * config.h.in (HAVE_INITFINI): Don't #undef.
23915 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23916 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23917
3add8e13
JM
239182012-02-08 Joseph Myers <joseph@codesourcery.com>
23919
23920 Support crti.S and crtn.S provided directly by architectures.
23921 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23922 [crti.S in sysdirs] (omit-deps): Likewise.
23923 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23924 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23925 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23926 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23927 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23928 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23929 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23930 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23931 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23932 compiler output for sysdeps/generic/initfini.c.
23933 * sysdeps/i386/elf/Makefile: Remove file.
23934 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23935
a22f12b4
MP
239362012-02-07 Marek Polacek <polacek@redhat.com>
23937
23938 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23939 * sysdeps/gnu/_G_config.h: Likewise.
23940 * sysdeps/mach/hurd/_G_config.h: Likewise.
23941
148cf100
MP
239422012-02-07 Marek Polacek <polacek@redhat.com>
23943
23944 * math/Makefile (tests): Add tst-CMPLX2.
23945 * math/tst-CMPLX2.c: New file.
23946
cfdc0dd7
AS
239472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23948
84ba42c4
AS
23949 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23950
cfdc0dd7
AS
23951 * math/libm-test.inc (jn_test): Add missing L suffix.
23952
622c86f4
MP
239532012-02-06 Marek Polacek <polacek@redhat.com>
23954
23955 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23956 * sysdeps/i386/fpu/e_powf.S: Likewise.
23957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23958 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23959 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23960 * sysdeps/i386/fpu/e_pow.S: Likewise.
23961 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23963 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23964 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23965 * sysdeps/i386/fpu/e_log2.S: Likewise.
23966 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23967 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23968 * sysdeps/i386/fpu/e_powl.S: Likewise.
23969 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23970 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23971 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23972 * sysdeps/i386/fpu/e_logl.S: Likewise.
23973 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23974 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23979 * sysdeps/i386/fpu/e_log.S: Likewise.
23980 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23982 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23983 * sysdeps/i386/fpu/e_logf.S: Likewise.
23984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23986 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23987 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23988 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23989 * sysdeps/i386/fpu/e_log10.S: Likewise.
23990 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23992 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23993 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23995 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23996 * sysdeps/i386/asm-syntax.h: Likewise.
23997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24000 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24001 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24002 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24003 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24004 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24006 * sysdeps/powerpc/sysdep.h: Likewise.
24007 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24008 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24009
d4a54ac6
JM
240102012-02-06 Joseph Myers <joseph@codesourcery.com>
24011
24012 [BZ #411]
24013 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24014
314054ea
JM
240152012-02-06 Joseph Myers <joseph@codesourcery.com>
24016
24017 * sysdeps/i386/sysdep.h: Include <features.h>.
24018 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24019 version.
24020
d8e0ca50
JM
240212012-02-05 Joseph Myers <joseph@codesourcery.com>
24022
24023 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24024 Define.
24025 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24026 LOAD_PIC_REG_STR.
24027
b1da7dd9
JM
240282012-02-03 Joseph Myers <joseph@codesourcery.com>
24029
24030 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24031 (SETUP_PIC_REG): Use GET_PC_THUNK.
24032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24033 macro.
24034
9a1d9254
JM
240352012-02-03 Joseph Myers <joseph@codesourcery.com>
24036
24037 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24038 for non-PIC compilation.
24039 (SETUP_PIC_REG): Add .p2align directive.
24040 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24041 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24042 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24043 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24045 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24048 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24049 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24050 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24051 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24052 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24053 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24054 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24055 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24056 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24057 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24058 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24059 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24062 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24063 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24066 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24067 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24068 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24069 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24070 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24072 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24073 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24074 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24075 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24076 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24077 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24078 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24079 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24080 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24081
65dc3b75
JM
240822012-02-03 Joseph Myers <joseph@codesourcery.com>
24083
24084 * math/tst-CMPLX.c: Include <stdio.h>.
24085
d55bf177
JM
240862012-01-31 Joseph Myers <joseph@codesourcery.com>
24087
24088 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24089 float.
24090 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24091 * sysdeps/sparc/bits/mathdef.h: Likewise.
24092
69db4f8f
MP
240932012-01-31 Marek Polacek <polacek@redhat.com>
24094
24095 * libio/libio.h: Don't define _PARAMS.
24096 * locale/programs/config.h: Don't define PARAMS.
24097 * stdlib/strtol_l.c: Likewise.
24098 (__strtol_l): Remove PARAMS from the prototype.
24099
41b81892
UD
241002012-01-31 Ulrich Drepper <drepper@gmail.com>
24101
3b49edc0
UD
24102 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24103 names. Just use the correct names. Remove unnecessary wrapper
24104 functions.
24105 * malloc/arena.c: Likewise.
24106 * malloc/hooks.c: Likewise.
24107
41b81892
UD
24108 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24109 ARENA_TEST says not to. Simplify test for creation of a new arena.
24110 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24111
27a25b6e
UD
241122012-01-30 Ulrich Drepper <drepper@gmail.com>
24113
24114 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24115 into tail calls.
24116 (update_get_addr): New function.
24117 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24118 GET_ADDR_MODULE parameter.
24119
c8a89e7d
JM
241202012-01-30 Joseph Myers <joseph@codesourcery.com>
24121
24122 * crypt/cert.c: Remove __STDC__ conditionals.
24123 * crypt/crypt-entry.c: Likewise.
24124 * crypt/crypt_util.c: Likewise.
24125 * libio/filedoalloc.c: Likewise.
24126 * libio/fileops.c: Likewise.
24127 * libio/genops.c: Likewise.
24128 * libio/iofclose.c: Likewise.
24129 * libio/iofdopen.c: Likewise.
24130 * libio/iofopen.c: Likewise.
24131 * libio/iofopen64.c: Likewise.
24132 * libio/iogetdelim.c: Likewise.
24133 * libio/iopopen.c: Likewise.
24134 * libio/obprintf.c: Likewise.
24135 * libio/oldfileops.c: Likewise.
24136 * libio/oldiofclose.c: Likewise.
24137 * libio/oldiofdopen.c: Likewise.
24138 * libio/oldiofopen.c: Likewise.
24139 * libio/oldiopopen.c: Likewise.
24140 * libio/wfiledoalloc.c: Likewise.
24141 * libio/wgenops.c: Likewise.
24142 * locale/programs/xmalloc.c: Likewise.
24143 * misc/syslog.c: Likewise.
24144 * stdio-common/xbug.c: Likewise.
24145 * string/memchr.c: Likewise.
24146 * string/memcmp.c: Likewise.
24147 * string/memrchr.c: Likewise.
24148 * string/rawmemchr.c: Likewise.
24149 * sysdeps/posix/getcwd.c: Likewise.
24150 * time/strftime_l.c: Likewise.
24151
3b100462
JM
241522012-01-30 Joseph Myers <joseph@codesourcery.com>
24153
24154 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24155 * config.make.in (config-cflags-sse2avx): Define.
24156 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24157 Fix typo.
24158
607998af
CM
241592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24160
24161 * scripts/config.guess: Update from upstream config git repository.
24162 * scripts/config.sub: Likewise.
24163
3601428f
CM
241642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24165
3ac8b282
CM
24166 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24167 (EM_NUM): Update.
24168 (R_TILEPRO_*, R_TILEGX_*): New macros.
24169
e034841e
CM
24170 * scripts/firstversions.awk: Fix bug in version range handling.
24171
540d7568
CM
24172 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24173
3601428f
CM
24174 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24175
463de862
CM
24176 * include/sys/epoll.h: New file.
24177 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24178 libc_hidden_def.
24179
73139a76
UD
241802012-01-28 Ulrich Drepper <drepper@gmail.com>
24181
96bc5b45
UD
24182 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24183 Avoid unnecessary __WORDSIZE == 64 test.
24184 (fmaxf): Use VEX format if possible.
24185 (fmax): Likewise.
24186 (fminf): Likewise.
24187 (fmin): Likewise.
24188
56f6f6a2
UD
24189 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24190 * math/math_private.h: Remove libc_fegetround* and
24191 libc_fesetround*.
24192 * sysdeps/i386/configure.in: Check for -msse2avx.
24193 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24194 also if SSE2AVX is defined.
24195 Remove libc_fegetround* and libc_fesetround*.
24196 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24197 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24198 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24199 of HAS_YMM_USABLE.
24200 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24201 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24202 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24203 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24204 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24205
73139a76
UD
24206 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24207
d73f93a4
AZ
242082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24209
24210 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24211 size is not set.
24212 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24213
6ee65ed6
UD
242142012-01-27 Ulrich Drepper <drepper@gmail.com>
24215
24216 [BZ #13618]
24217 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24218 relocation.
24219 * Makeconfig (libm): Define.
24220 * elf/Makefile: Add rules to build and run tst-relsort1.
24221 * elf/tst-relsort1.c: New file.
24222 * elf/tst-relsort1mod1.c: New file.
24223 * elf/tst-relsort1mod2.c: New file.
24224
8db21882
JM
242252012-01-27 Joseph Myers <joseph@codesourcery.com>
24226
24227 * math/s_ldexp.c: Remove __STDC__ conditionals.
24228 * math/s_ldexpf.c: Likewise.
24229 * math/s_ldexpl.c: Likewise.
24230 * math/s_nextafter.c: Likewise.
24231 * math/s_nexttowardf.c: Likewise.
24232 * math/s_significand.c: Likewise.
24233 * math/s_significandf.c: Likewise.
24234 * math/s_significandl.c: Likewise.
24235 * math/w_jnl.c: Likewise.
24236 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24237 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24238 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24239 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24240 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24246 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24255 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24256 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24257 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24262 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24263 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24264 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24265 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24266 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24267 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24268 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24269 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24270 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24271 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24272 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24273 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24274 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24275 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24276 * sysdeps/ieee754/k_standard.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24338 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24343 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24351 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24352 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24356 * sysdeps/ieee754/s_matherr.c: Likewise.
24357 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24358 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24361
965a54a4
JM
243622012-01-26 Joseph Myers <joseph@codesourcery.com>
24363
24364 * crypt/md5.h: Remove __STDC__ conditionals.
24365 * libio/libioP.h: Likewise.
24366 * locale/programs/config.h: Likewise.
24367 * sysdeps/generic/sysdep.h: Likewise.
24368 * sysdeps/i386/asm-syntax.h: Likewise.
24369 * sysdeps/s390/asm-syntax.h: Likewise.
24370 * sysdeps/unix/sysdep.h: Likewise.
24371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24373
7071ad79
JM
243742012-01-26 Joseph Myers <joseph@codesourcery.com>
24375
24376 * libio/libio.h: Remove __STDC__ conditionals.
24377 * malloc/obstack.h: Likewise.
24378 * math/complex.h: Likewise.
24379 * math/math.h: Likewise.
24380 * sysdeps/generic/_G_config.h: Likewise.
24381 * sysdeps/gnu/_G_config.h: Likewise.
24382 * sysdeps/mach/hurd/_G_config.h: Likewise.
24383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24384 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24385 * sysdeps/sparc/bits/mathdef.h: Likewise.
24386
afc5ed09
UD
243872012-01-26 Ulrich Drepper <drepper@gmail.com>
24388
24389 [BZ #13583]
24390 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24391 Clean up HAS_* macros.
afc5ed09 24392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24393 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24394 possible.
24395 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24396 HAS_AVX.
24397 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24398 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24399 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24400 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24402
bdb6de1d
JM
244032012-01-25 Joseph Myers <joseph@codesourcery.com>
24404
24405 * elf/tst-unique3.cc (gets): Remove declaration.
24406 * elf/tst-unique3lib.cc (gets): Likewise.
24407 * elf/tst-unique3lib2.cc (gets): Likewise.
24408 * elf/tst-unique4.cc (gets): Likewise.
24409
b15549e6
UD
244102012-01-24 Ulrich Drepper <drepper@gmail.com>
24411
24412 * include/stdio.h: Add C++ protection. Add gets declarations and
24413 definitions.
24414 * debug/tst-chk1.c: Don't declare gets here.
24415 * stdio-common/tst-gets.c: Likewise.
24416
a037381f
JM
244172012-01-24 Joseph Myers <joseph@codesourcery.com>
24418
24419 * posix/glob: Remove directory.
24420
f1d4aa75
JM
244212012-01-24 Joseph Myers <joseph@codesourcery.com>
24422
24423 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24424
81c0c964
PT
244252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24426
24427 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24428 of the non-standard EPFNOSUPPORT.
24429
0ea698ae
ST
244302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24431
24432 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24433 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24434 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24435
d220b117
UD
244362012-01-21 Ulrich Drepper <drepper@gmail.com>
24437
24438 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24439
3e1aa84e
UD
244402012-01-20 Ulrich Drepper <drepper@gmail.com>
24441
24442 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24443 transient errors.
24444 * nscd/grpcache.c (cache_addgr): Likewise.
24445 * nscd/hstcache.c (cache_addhst): Likewise.
24446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24447 * nscd/pwdcache.c (cache_addpw): Likewise.
24448 * nscd/servicescache.c (cache_addserv): Likewise.
24449
400aa020
UD
244502012-01-16 Ulrich Drepper <drepper@gmail.com>
24451
d77e7869
UD
24452 * malloc/malloc.c: Various cleanups.
24453 * malloc/hooks.c: Likewise.
24454
400aa020
UD
24455 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24456 * stdlib/bug-fmtmsg1.c: New file.
24457
24458 * stdlib/fmtmsg.c (init): Add missing unlock.
24459 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24460
e0a309cf
MP
244612012-01-12 Marek Polacek <polacek@redhat.com>
24462
24463 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24464 and _GNU_SOURCE.
24465
929d11c7
WS
244662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24467
24468 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24469 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24470 macro to ensure uniqueness of label name.
24471 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24472 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24473
41d0e869
UD
244742012-01-11 Ulrich Drepper <drepper@gmail.com>
24475
0cc5ed3b
UD
24476 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24477
41d0e869
UD
24478 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24479 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24480 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24482
a47a831a
UD
244832012-01-10 Ulrich Drepper <drepper@gmail.com>
24484
daa891c0
UD
24485 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24486
24487 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24488 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24490
e58ef0f2
UD
24491 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24492
a47a831a 24493 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24494 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24495 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24497
24498 * math/bits/math-finite.h: Add ldexp support.
24499
a0bfc9c7
MP
245002012-01-10 Marek Polacek <polacek@redhat.com>
24501
24502 * locale/programs/localedef.h (show_archive_content): Add noreturn
24503 attribute.
24504
d6e97a1d
UD
245052012-01-09 Ulrich Drepper <drepper@gmail.com>
24506
24507 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24508
d5835c26
UD
245092012-01-08 Ulrich Drepper <drepper@gmail.com>
24510
e5f484c6
UD
24511 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24512
d5835c26
UD
24513 * io/Makefile (headers): Add bits/poll2.h.
24514
d1f741e9
WS
245152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24516
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24518 typo #include statement.
24519
ec09c1c4
UD
245202012-01-08 Ulrich Drepper <drepper@gmail.com>
24521
24522 * include/sys/cdefs.h: Define __attribute_alloc_size.
24523 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24524 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24525 * elf/pldd.c: Likewise.
24526 * iconv/iconv_charmap.c: Likewise.
24527 * iconv/iconvconfig.c: Likewise.
24528 * iconv/strtab.c: Likewise.
24529 * locale/programs/locale.c: Likewise.
24530 * locale/programs/localedef.h: Likewise.
24531 * locale/programs/simple-hash.c: Likewise.
24532 * nscd/nscd.h: Likewise.
24533 * nss/makedb.c: Likewise.
24534 * sysdeps/generic/ldconfig.h: Likewise.
24535 * locale/programs/localedef.c: Remove xmalloc prototype.
24536 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24537
20b38e03
PP
245382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24539
24540 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24541 appropriate.
24542
a0da5fe1
UD
245432012-01-08 Ulrich Drepper <drepper@gmail.com>
24544
1d5a644a 24545 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24546 * math/tst-CMPLX.c: New file.
1d5a644a 24547
8784a6db
UD
24548 * math/complex.h (CMPLXL): Fix typo.
24549
d9a216c0
UD
24550 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24551 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24552 GLIBC_2.16.
24553 * debug/tst-chk1.c: Add poll and ppoll tests.
24554 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24555 * include/sys/poll.h: Add hidden proto for ppoll.
24556 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24557 * sysdeps/mach/hurd/ppoll.c: Likewise.
24558 * io/ppoll.c: Likewise.
24559 * debug/poll_chk.c: New file.
24560 * debug/ppoll_chk.c: New file.
24561 * include/bits/poll2.h: New file.
24562 * io/bits/poll2.h: New file.
24563
ac097f5c
UD
24564 [BZ #1350]
24565 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24566
2119dcfa
UD
24567 * configure.in: static is always set to yes. Remove.
24568 * config.make.in: Don't set build-static.
24569 * Makeconfig: Remove use of build-static.
24570 * dlfcn/Makefile: Likewise.
24571 * elf/Makefile: Likewise.
24572 * math/Makefile: Likewise.
24573 * misc/Makefile: Likewise.
24574 * nptl/Makefile: Likewise.
24575 * sysdeps/mach/hurd/Makefile: Likewise.
24576
121766a9
UD
24577 * configure.in: PWD_P is not used anymore.
24578 * config.make.in: Remove PWD_P entry.
24579
51a1d39c 24580 * configure.in: Remove last remnants of RANLIB.
8720d066 24581 No need to check for signed size_t anymore.
215f4bdc
UD
24582 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24583 and IA-64.
3857022a 24584 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24585 * aclocal.m4: Likewise.
24586
d3ed7225
UD
24587 * wcsmbs/mbrtoc16.c: Implement using towc function.
24588 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24589 * wcsmbs/wcsmbsload.c: Likewise.
24590 * iconv/gconv_simple.c: Likewise.
24591 * iconv/gconv_int.h: Likewise.
24592 * iconv/gconv_builtin.h: Likewise.
24593 * iconv/iconv_prog.c: Remove CHAR16 handling.
24594
24595 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24596
24597 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24598
a0da5fe1
UD
24599 * configure.in: Remove --with-elf and --enable-bounded options.
24600 Dont set base_machine for ia64. More non-ELF conditions removed.
24601 Remove testing and setting of leading underscore information.
24602 * config.make.in (build-bounded): Set to no.
24603 * config.h.in: Remove NO_UNDERSCORES entry.
24604 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24605 them.
24606 * csu/start.c: Remove !NO_UNDERSCORE code.
24607 * locale/localeinfo.h: Likewise.
24608 * sysdeps/generic/machine-gmon.h: Likewise.
24609 * sysdeps/generic/sysdep.h: Likewise.
24610 * sysdeps/i386/sysdep.h: Likewise.
24611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24612 * sysdeps/mach/sysdep.h: Likewise.
24613 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24615 * sysdeps/sh/sysdep.h: Likewise.
24616 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24617 * sysdeps/unix/i386/sysdep.S: Likewise.
24618 * sysdeps/unix/sparc/start.c: Likewise.
24619 * sysdeps/unix/sparc/sysdep.S: Likewise.
24620 * sysdeps/unix/sparc/sysdep.h: Likewise.
24621 * sysdeps/unix/start.c: Likewise.
24622 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24623 * sysdeps/x86_64/sysdep.h: Likewise.
24624
df78418a
UD
246252012-01-07 Ulrich Drepper <drepper@gmail.com>
24626
a784e502
UD
24627 [BZ #13553]
24628 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24629 for non-gcc.
24630 * argp/argp-fmtstream.h: Use const instead __const.
24631 * argp/argp.h: Likewise.
24632 * assert/assert.h: Likewise.
24633 * bits/fenv.h: Likewise.
24634 * bits/sched.h: Likewise.
24635 * bits/sigset.h: Likewise.
24636 * bits/sigthread.h: Likewise.
24637 * catgets/nl_types.h: Likewise.
24638 * conform/data/pthread.h-data: Likewise.
24639 * crypt/crypt-private.h: Likewise.
24640 * crypt/crypt.h: Likewise.
24641 * crypt/crypt_util.c: Likewise.
24642 * ctype/ctype.h: Likewise.
24643 * debug/execinfo.h: Likewise.
24644 * debug/mbsnrtowcs_chk.c: Likewise.
24645 * debug/mbsrtowcs_chk.c: Likewise.
24646 * debug/wcsnrtombs_chk.c: Likewise.
24647 * debug/wcsrtombs_chk.c: Likewise.
24648 * debug/wcstombs_chk.c: Likewise.
24649 * dirent/dirent.h: Likewise.
24650 * dlfcn/dlfcn.h: Likewise.
24651 * elf/neededtest4.c: Likewise.
24652 * grp/grp.h: Likewise.
24653 * gshadow/gshadow.h: Likewise.
24654 * iconv/gconv.h: Likewise.
24655 * iconv/gconv_int.h: Likewise.
24656 * iconv/gconv_simple.c: Likewise.
24657 * iconv/iconv.h: Likewise.
24658 * iconv/loop.c: Likewise.
24659 * iconv/skeleton.c: Likewise.
24660 * include/aio.h: Likewise.
24661 * include/aliases.h: Likewise.
24662 * include/argz.h: Likewise.
24663 * include/arpa/inet.h: Likewise.
24664 * include/assert.h: Likewise.
24665 * include/dirent.h: Likewise.
24666 * include/dlfcn.h: Likewise.
24667 * include/execinfo.h: Likewise.
24668 * include/fcntl.h: Likewise.
24669 * include/fenv.h: Likewise.
24670 * include/glob.h: Likewise.
24671 * include/grp.h: Likewise.
24672 * include/libintl.h: Likewise.
24673 * include/mntent.h: Likewise.
24674 * include/netdb.h: Likewise.
24675 * include/pwd.h: Likewise.
24676 * include/rpc/netdb.h: Likewise.
24677 * include/sched.h: Likewise.
24678 * include/search.h: Likewise.
24679 * include/shadow.h: Likewise.
24680 * include/signal.h: Likewise.
24681 * include/stdio.h: Likewise.
24682 * include/stdlib.h: Likewise.
24683 * include/string.h: Likewise.
24684 * include/sys/socket.h: Likewise.
24685 * include/sys/stat.h: Likewise.
24686 * include/sys/statfs.h: Likewise.
24687 * include/sys/statvfs.h: Likewise.
24688 * include/sys/syslog.h: Likewise.
24689 * include/sys/time.h: Likewise.
24690 * include/sys/uio.h: Likewise.
24691 * include/time.h: Likewise.
24692 * include/unistd.h: Likewise.
24693 * include/utmp.h: Likewise.
24694 * include/wchar.h: Likewise.
24695 * include/wctype.h: Likewise.
24696 * inet/aliases.h: Likewise.
24697 * inet/arpa/inet.h: Likewise.
24698 * inet/netinet/ether.h: Likewise.
24699 * inet/netinet/in.h: Likewise.
24700 * intl/libintl.h: Likewise.
24701 * io/bits/fcntl2.h: Likewise.
24702 * io/fcntl.h: Likewise.
24703 * io/ftw.h: Likewise.
24704 * io/sys/poll.h: Likewise.
24705 * io/sys/stat.h: Likewise.
24706 * io/sys/statfs.h: Likewise.
24707 * io/sys/statvfs.h: Likewise.
24708 * io/utime.h: Likewise.
24709 * libio/bits/stdio.h: Likewise.
24710 * libio/bits/stdio2.h: Likewise.
24711 * libio/libio.h: Likewise.
24712 * libio/libioP.h: Likewise.
24713 * libio/stdio.h: Likewise.
24714 * locale/lc-ctype.c: Likewise.
24715 * locale/locale.h: Likewise.
24716 * login/utmp.h: Likewise.
24717 * malloc/arena.c: Likewise.
24718 * malloc/malloc.c: Likewise.
24719 * malloc/malloc.h: Likewise.
24720 * malloc/mcheck.c: Likewise.
24721 * malloc/mtrace.c: Likewise.
24722 * math/bits/mathcalls.h: Likewise.
24723 * math/fenv.h: Likewise.
24724 * math/math_private.h: Likewise.
24725 * misc/bits/error.h: Likewise.
24726 * misc/bits/syslog.h: Likewise.
24727 * misc/err.h: Likewise.
24728 * misc/error.h: Likewise.
24729 * misc/fstab.h: Likewise.
24730 * misc/mntent.h: Likewise.
24731 * misc/regexp.h: Likewise.
24732 * misc/search.h: Likewise.
24733 * misc/sgtty.h: Likewise.
24734 * misc/sys/mman.h: Likewise.
24735 * misc/sys/syslog.h: Likewise.
24736 * misc/sys/uio.h: Likewise.
24737 * misc/sys/xattr.h: Likewise.
24738 * misc/ttyent.h: Likewise.
24739 * nis/rpcsvc/ypclnt.h: Likewise.
24740 * nss/nss.h: Likewise.
24741 * posix/bits/unistd.h: Likewise.
24742 * posix/fnmatch.h: Likewise.
24743 * posix/glob.h: Likewise.
24744 * posix/sched.h: Likewise.
24745 * posix/spawn.h: Likewise.
24746 * posix/sys/wait.h: Likewise.
24747 * posix/unistd.h: Likewise.
24748 * posix/wordexp.h: Likewise.
24749 * pwd/pwd.h: Likewise.
24750 * resolv/netdb.h: Likewise.
24751 * resource/sys/resource.h: Likewise.
24752 * rt/aio.h: Likewise.
24753 * rt/bits/mqueue2.h: Likewise.
24754 * rt/mqueue.h: Likewise.
24755 * shadow/shadow.h: Likewise.
24756 * signal/signal.h: Likewise.
24757 * socket/send.c: Likewise.
24758 * socket/sendto.c: Likewise.
24759 * socket/sys/socket.h: Likewise.
24760 * stdio-common/printf.h: Likewise.
24761 * stdlib/bits/stdlib.h: Likewise.
24762 * stdlib/fmtmsg.h: Likewise.
24763 * stdlib/monetary.h: Likewise.
24764 * stdlib/stdlib.h: Likewise.
24765 * stdlib/ucontext.h: Likewise.
24766 * streams/stropts.h: Likewise.
24767 * string/argz.h: Likewise.
24768 * string/bits/string2.h: Likewise.
24769 * string/string.h: Likewise.
24770 * string/strings.h: Likewise.
24771 * sunrpc/rpc/auth.h: Likewise.
24772 * sunrpc/rpc/auth_des.h: Likewise.
24773 * sunrpc/rpc/clnt.h: Likewise.
24774 * sunrpc/rpc/netdb.h: Likewise.
24775 * sunrpc/rpc/pmap_clnt.h: Likewise.
24776 * sunrpc/rpc/xdr.h: Likewise.
24777 * sysdeps/generic/inttypes.h: Likewise.
24778 * sysdeps/generic/net/if.h: Likewise.
24779 * sysdeps/generic/sys/swap.h: Likewise.
24780 * sysdeps/gnu/net/if.h: Likewise.
24781 * sysdeps/gnu/utmpx.h: Likewise.
24782 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24783 * sysdeps/i386/i486/bits/string.h: Likewise.
24784 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24785 * sysdeps/s390/bits/string.h: Likewise.
24786 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24787 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24788 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24789 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24790 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24791 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24792 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24793 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24794 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24795 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24796 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24797 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24798 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24799 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24800 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24801 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24802 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24807 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24808 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24809 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24810 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24811 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24812 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24813 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24814 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24816 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24817 * sysvipc/sys/ipc.h: Likewise.
24818 * sysvipc/sys/msg.h: Likewise.
24819 * sysvipc/sys/sem.h: Likewise.
24820 * sysvipc/sys/shm.h: Likewise.
24821 * termios/termios.h: Likewise.
24822 * time/sys/time.h: Likewise.
24823 * time/time.h: Likewise.
24824 * wcsmbs/bits/wchar2.h: Likewise.
24825 * wcsmbs/uchar.h: Likewise.
24826 * wcsmbs/wchar.h: Likewise.
24827 * wctype/wctype.h: Likewise.
24828
0269750c
UD
24829 [BZ #13551]
24830 * Makeconfig: Remove all but ELF support including AIX support.
24831 * Makerules: Likewise.
24832 * config.h.in: Likewise.
24833 * config.make.in: Likewise.
24834 * configure: Likewise.
24835 * configure.in: Likewise.
24836 * csu/Makefile: Likewise.
24837 * csu/version.c: Likewise.
24838 * debug/Makefile: Likewise.
24839 * dlfcn/Makefile: Likewise.
24840 * elf/Makefile: Likewise.
24841 * extra-lib.mk: Likewise.
24842 * iconv/Makefile: Likewise.
24843 * include/libc-symbols.h: Likewise.
24844 * include/shlib-compat.h: Likewise.
24845 * resolv/Makefile: Likewise.
24846 * resolv/res_libc.c: Likewise.
24847 * rt/Makefile: Likewise.
24848 * sysdeps/i386/asm-syntax.h: Likewise.
24849 * sysdeps/i386/sysdep.h: Likewise.
24850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24851 * sysdeps/mach/sysdep.h: Likewise.
24852 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24853 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24854 * sysdeps/s390/asm-syntax.h: Likewise.
24855 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24857 * sysdeps/sh/sysdep.h: Likewise.
24858 * sysdeps/unix/sparc/sysdep.h: Likewise.
24859 * sysdeps/wordsize-32/divdi3.c: Likewise.
24860 * sysdeps/x86_64/sysdep.h: Likewise.
24861
00bbd29b
UD
24862 * argp/Versions: Remove _argp_unlock_xxx.
24863
24864 [BZ #13559]
24865 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24866 * abilist/libBrokenLocale.abilist: Likewise.
24867 * abilist/libanl.abilist: Likewise.
24868 * abilist/libc.abilist: Likewise.
24869 * abilist/libcrypt.abilist: Likewise.
24870 * abilist/libdl.abilist: Likewise.
24871 * abilist/libm.abilist: Likewise.
24872 * abilist/libnsl.abilist: Likewise.
24873 * abilist/libpthread.abilist: Likewise.
24874 * abilist/libresolv.abilist: Likewise.
24875 * abilist/librt.abilist: Likewise.
24876 * abilist/libthread_db.abilist: Likewise.
24877 * abilist/libutil.abilist: Likewise.
24878 * abilist/libnss_db.abilist: New file.
24879
24880 * scripts/abilist.awk: Add support for indirect functions.
24881
a2693a0e
UD
24882 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24883
3f05895f
UD
24884 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24885
ecb6fb48
UD
24886 * shlib-versions: Remove entries for ports architectures.
24887
664f8cb9
UD
24888 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24889 files in ports.
24890 * elf/stackguard-macros.h: Remove support for IA-64.
24891 * elf/tst-auditmod1.c: Likewise.
24892 * sysdeps/generic/ldsodefs.h: Likewise.
24893
7ae81d88
UD
24894 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24895 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24896 configure files.
24897
bdeba135
UD
24898 [BZ #13552]
24899 * configure.in: Remove --enable-omitfp support.
24900 * FAQ.in: Adjust.
24901 * config.make.in: Likewise.
24902 * Makeconfig: Likewise.
24903 * manual/install.texi: Likewise.
24904
d75a0a62
UD
24905 In case anyone cares, the IA-64 architecture could move to ports.
24906 * sysdeps/ia64/*: Removed.
24907 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24908 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24909
dcc9756b
UD
24910 [BZ #13555]
24911 * configure.in: Remove entries for unsupported architectures.
24912
d3761ebc 24913 [BZ #13533]
9954432e
UD
24914 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24915 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24916 routines.
24917 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24918 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24919 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24920 fall back to using wcrtomb.
24921 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24922 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24923 renaming.
24924 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24925 * wcsmbs/tst-c16c32-1.c: New file.
24926
24927 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24928 local variable.
24929
c3a87236
UD
24930 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24931
28926a1b
UD
24932 * elf/tst-unique3.cc: Add explicit declaration of gets.
24933 * elf/tst-unique3lib.cc: Likewise.
24934 * elf/tst-unique3lib2.cc: Likewise.
24935 * elf/tst-unique4.cc: Likewise.
24936
df78418a
UD
24937 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24938
8ecd6b2a
JM
249392012-01-06 Joseph Myers <joseph@codesourcery.com>
24940
24941 [BZ #13566]
24942 * assert/assert.h (static_assert): Don't define for C++.
24943 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24944 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24945
9f115170
UD
249462012-01-03 Ulrich Drepper <drepper@gmail.com>
24947
5e0d0300
UD
24948 * iconv/loop.c (single loop): Fix assertion in storing of
24949 remaining bytes.
24950
9f115170
UD
24951 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24952
81fb02b0
UD
249532012-01-01 Ulrich Drepper <drepper@gmail.com>
24954
24955 * posix/getconf.c: Update copyright year.
24956 * nss/getent.c: Likewise.
a316c1f6 24957 * nss/makedb.c: Likewise.
81fb02b0
UD
24958 * iconv/iconvconfig.c: Likewise.
24959 * iconv/iconv_prog.c: Likewise.
24960 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24961 * elf/pldd.c: Likewise.
24962 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24963 * catgets/gencat.c: Likewise.
24964 * csu/version.c: Likewise.
24965 * elf/ldd.bash.in: Likewise.
24966 * elf/sprof.c (print_version): Likewise.
24967 * locale/programs/locale.c: Likewise.
24968 * locale/programs/localedef.c: Likewise.
a316c1f6 24969 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24970 * nscd/nscd.c (print_version): Likewise.
24971 * debug/xtrace.sh: Likewise.
24972 * malloc/memusage.sh: Likewise.
24973 * malloc/mtrace.pl: Likewise.
24974 * debug/catchsegv.sh: Likewise.
24975
2ba92745
JJ
249762011-12-30 Jakub Jelinek <jakub@redhat.com>
24977
24978 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24979 pure attribute.
24980
dadebdae
UD
249812011-12-24 Ulrich Drepper <drepper@gmail.com>
24982
d3761ebc 24983 [BZ #13533]
db6af3eb
UD
24984 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24985 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24986 transformations.
24987 * iconv/gconv_int.h: Likewise.
24988 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24989 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24990 from libc for GLIBC_2.16.
24991 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24992 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24993 * wcsmbs/uchar.h: Really define mbstate_t.
24994 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24995 * wcsmbs/c16rtomb.c: New file.
24996 * wcsmbs/mbrtoc16.c: New file.
24997 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24998 for C/POSIX locale.
24999 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25000 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25001
dadebdae
UD
25002 * wcsmbs/wchar.h: Add missing __restrict.
25003
67371b56
UD
250042011-12-23 Ulrich Drepper <drepper@gmail.com>
25005
74033a25
UD
25006 [BZ #13532]
25007 * time/Makefile (routines): Add timespec_get.
25008 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25009 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25010 timespec for ISO C11.
25011 * time/timespec_get.c: New file.
25012 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25013 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25014
380d7e87
UD
25015 [BZ #13531]
25016 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25017 * stdlib/stdlib.h: Declare aligned_alloc.
25018 * Versions.def: Add GLIBC_2.16 for libc.
25019 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25020
4e9e7a35
UD
25021 [BZ 13527]
25022 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25023 ISO C11.
25024
380d7e87 25025 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25026 code.
25027
03a71829
UD
25028 [BZ #13528]
25029 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25030
839e283e
UD
25031 [BZ #13529]
25032 * assert/assert.h (static_assert): Define.
25033
ce5294e2 25034 * version.h: Update for 2.16 development version.
90fa7312 25035
8d44e150 25036 [BZ #13526]
d7809905
UD
25037 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25038 _ISOC11_SOURCE.
25039
c0da14cd
UD
25040 * version.h (RELEASE): Bump for 2.15 release.
25041 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25042
530a3249
MP
25043 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25044 Patch by Marek Polacek <mpolacek@redhat.com>.
25045
67371b56
UD
25046 * bits/byteswap.h: Protect long long constants with __extension__.
25047 * sysdeps/i386/bits/byteswap.h: Likewise.
25048 * sysdeps/ia64/bits/byteswap.h: Likewise.
25049 * sysdeps/s390/bits/byteswap.h: Likewise.
25050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25051
15db4de1
LD
250522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25053
25054 [BZ #13540]
bbe315ea
LD
25055 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25056 destination buffer.
15db4de1
LD
25057 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25058
2b2596b1
MP
250592011-12-23 Marek Polacek <polacek@redhat.com>
25060
25061 * elf/dl-addr.c (determine_info): Add inline keyword.
25062 * elf/tst-auditmod4b.c (check_avx): Likewise.
25063 * elf/tst-auditmod6b.c (check_avx): Likewise.
25064 * elf/tst-auditmod6c.c (check_avx): Likewise.
25065 * elf/tst-auditmod7b.c (check_avx): Likewise.
25066
70c6c246
UD
250672011-12-23 Ulrich Drepper <drepper@gmail.com>
25068
25069 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25070 !__SSE_MATH__.
25071
c044cf14
LD
250722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25073
15db4de1 25074 [BZ #13540]
c044cf14
LD
25075 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25076 processing for last bytes.
25077
6b13d9d9
BH
250782011-08-06 Bruno Haible <bruno@clisp.org>
25079
d455f537
BH
25080 [BZ #13061]
25081 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25082 U+0385, not to U+1FEE.
25083
6b13d9d9
BH
25084 [BZ #13062]
25085 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25086 entry for U+00A5 U+0301.
25087
db910efd
UD
250882011-12-22 Ulrich Drepper <drepper@gmail.com>
25089
27deeafc
UD
25090 [BZ #13166]
25091 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25092 buffer for the output is too small.
25093
aed9d171
UD
25094 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25095 optimization.
25096
db910efd
UD
25097 [BZ #13185]
25098 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25099 SSE flags if possible.
25100
2bd779ae
LD
251012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25102
e7f9dac3 25103 [BZ #13540]
2bd779ae
LD
25104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25105 processing for last bytes.
25106
154bfc16
JM
251072011-12-22 Joseph Myers <joseph@codesourcery.com>
25108
25109 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25110 (syscall-list-default-options, syscall-list-default-condition)
25111 (syscall-list-includes): Define.
25112 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25113 list of ABIs and options and #if conditions for each ABI. Do not
25114 handle common syscalls between ABIs specially.
25115 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25116 Remove.
25117 (syscall-list-variants, syscall-list-32bit-options)
25118 (syscall-list-32bit-condition, syscall-list-64bit-options)
25119 (syscall-list-64bit-condition): Define.
25120 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25121 (syscall-list-variants, syscall-list-32bit-options)
25122 (syscall-list-32bit-condition, syscall-list-64bit-options)
25123 (syscall-list-64bit-condition): Define.
25124 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25125 Remove.
25126 (syscall-list-variants, syscall-list-32bit-options)
25127 (syscall-list-32bit-condition, syscall-list-64bit-options)
25128 (syscall-list-64bit-condition): Define.
25129 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25130 Remove.
25131 (syscall-list-variants, syscall-list-32bit-options)
25132 (syscall-list-32bit-condition, syscall-list-64bit-options)
25133 (syscall-list-64bit-condition): Define.
25134
21eaf3a5
UD
251352011-12-22 Ulrich Drepper <drepper@gmail.com>
25136
16c6f992
UD
25137 * locale/iso-639.def: Add brx entry.
25138
41043168
UD
25139 [BZ #13328]
25140 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25141 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25142
21eaf3a5
UD
25143 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25144 __feraiseexcept_renamed.
25145
e3a851a2
UD
251462011-12-21 Ulrich Drepper <drepper@gmail.com>
25147
4920765e
UD
25148 [BZ #13538]
25149 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25150 EPOLLET with unsigned values.
25151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25153
e3a851a2
UD
25154 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25155 to large cancellation.
25156 * math/s_cacoshf.c: Likewise.
25157 * math/s_cacoshl.c: Likewise.
25158
b27e24b8
RK
251592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25160
25161 [BZ #13305]
aebefeee 25162 [BZ #12786]
b27e24b8
RK
25163 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25164 * math/s_cacoshf.c: Likewise.
25165 * math/s_cacoshl.c: Likewise.
25166
ee190f67
UD
251672011-12-21 Ulrich Drepper <drepper@gmail.com>
25168
25169 [BZ #13439]
25170 * iconv/gconv.h: Define __GCONV_SWAP.
25171 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25172 * iconvdata/utf-16.c: Likewise.
25173 * iconvdata/utf-32.c: Likewise.
25174
707f25df
AS
251752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25176
25177 [BZ #13524]
25178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25179 numerator after shifting it by one limb.
25180
d2daaa1e
RÁE
251812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25182
25183 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25184 under [__USE_EXTERN_INLINES].
25185
a4647e72
UD
251862011-12-17 Ulrich Drepper <drepper@gmail.com>
25187
25188 [BZ #13446]
25189 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25190
f0b264f1
AZ
251912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25192
25193 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25194 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25195 optimized code.
25196 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25197 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25198 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25199 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25200 for strncasecmp/strncasecmp_l compilation.
25201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25202 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25203
8ef4f244
MP
252042011-12-08 Marek Polacek <mpolacek@redhat.com>
25205
25206 [BZ #13484]
25207 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25208 of __asm__.
25209
97ac2654
UD
252102011-12-17 Ulrich Drepper <drepper@gmail.com>
25211
25212 [BZ #13506]
25213 * time/tzfile.c (__tzfile_read): Check values from file header.
25214
91d2a845
WS
252152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25216
25217 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25218 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25219 * powerpc/powerpc32/dl-start.S: Likewise.
25220 * powerpc/powerpc32/elf/start.S: Likewise.
25221 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25222 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25223 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25224 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25225 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25226 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25227 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25228 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25229 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25230 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25231 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25232 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25233 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25234 * powerpc/powerpc32/memset.S: Likewise.
25235 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25236 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25237 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25238 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25239 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25240 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25241 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25242 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25243 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25244 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25245 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25246 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25247 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25248
a1267ba1
AZ
252492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25250
25251 * math/libm-test.inc: Added more nearbyint tests.
25252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25253 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25255 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25256
ad8ac1bd
RL
252572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25258
25259 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25260 FD_CLOEXEC.
25261
1d3e4b61
UD
252622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25263
25264 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25265 Add wcscpy-ssse3 wcscpy-c.
25266 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25267 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25268 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25269 * sysdeps/x86_64/wcschr.S: New file.
25270 * sysdeps/x86_64/wcsrchr.S: New file.
25271 * string/test-strcmp.c: Remove checking of wcscmp function for
25272 wrong alignments.
25273 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25274 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25275 wcsrchr-sse2 wcsrchr-c.
25276 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25277 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25278 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25279 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25280 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25281 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25282 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25283 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25284 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25285 * wcsmbc/wcschr.c (WCSCHR): New macro.
25286
5b330a2d
UD
252872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25288
25289 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25290 * wcsmbs/test-wcsrchr.c: New file.
25291 * string/test-strrchr.c: Add wcsrchr support.
25292 (WIDE): New macro.
25293 * wcsmbs/test-wcscpy.c: New file.
25294 * string/test-strcpy.c: Add wcscpy support.
25295 (WIDE): New macro.
26428b7c 25296
f039c043
UD
252972011-12-10 Ulrich Drepper <drepper@gmail.com>
25298
25299 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25300 the inner loop.
25301
850fb039
AS
253022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25303
25304 [BZ #13472]
25305 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25306
4efbd5cb
UD
253072011-12-04 Ulrich Drepper <drepper@gmail.com>
25308
52ff5dd0 25309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25310 Minor optimizations.
52ff5dd0 25311
4efbd5cb
UD
25312 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25313 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25314 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25315
8a426e12
UD
253162011-12-03 Ulrich Drepper <drepper@gmail.com>
25317
aff2453d
UD
25318 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25319 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25320 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25321 for gcc to avoid warnings.
25322 * inet/Makefile (tests): Add tst-checks.
25323 * inet/tst-checks.c: New file.
25324
25325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25326 warning.
25327
25328 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25329 __wmemcmp_sse2.
25330
25331 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25332 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25333
8a426e12
UD
25334 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25335
9bea3473
UD
253362011-12-02 Ulrich Drepper <drepper@gmail.com>
25337
3a965496
UD
25338 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25339 problem.
25340
9bea3473
UD
25341 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25342
f101631b
UD
253432011-11-29 Joseph Myers <joseph@codesourcery.com>
25344
25345 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25346 conditional on GCC version.
25347 (__arch_compare_and_exchange_val_8_acq)
25348 (__arch_compare_and_exchange_val_16_acq)
25349 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25350 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25351 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25352
a98275aa
UD
253532011-12-02 Joseph Myers <joseph@codesourcery.com>
25354
25355 * sysdeps/sh/backtrace.c: New file.
25356
d4cc29a2
AS
253572011-12-02 Andreas Schwab <schwab@redhat.com>
25358
25359 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25360 parenthesis.
25361
6257af2d
AS
253622011-12-01 Andreas Schwab <schwab@redhat.com>
25363
25364 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25365 falling back to utime.
25366
b5f44c1a
AS
253672011-11-30 Andreas Schwab <schwab@redhat.com>
25368
25369 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25370 expectations for float.
25371
f3a6cc0a
AS
253722011-11-29 Andreas Schwab <schwab@redhat.com>
25373
25374 * locale/weight.h (findidx): Add parameter len.
25375 * locale/weightwc.h (findidx): Likewise.
25376 * posix/fnmatch_loop.c (FCT): Adjust caller.
25377 * posix/regcomp.c (build_equiv_class): Likewise.
25378 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25379 * posix/regexec.c (check_node_accept_bytes): Likewise.
25380 * string/strcoll_l.c (STRCOLL): Likewise.
25381 * string/strxfrm_l.c (STRXFRM): Likewise.
25382
9d65ea3a
UD
253832011-11-17 Ulrich Drepper <drepper@gmail.com>
25384
25385 * Makefile.in: Remove CVSOPT handling.
25386 * configure.in: Remove use of AC_REVISION.
25387 * iconvdata/Makefile (distribute): No need to filter out CVS.
25388 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25389 handling.
25390
5583a086
AS
253912011-11-16 Andreas Schwab <schwab@redhat.com>
25392
25393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25394 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25395 [USE_AS_STRNCASECMP_L]: Likewise.
25396 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25397 NO_TLS_DIRECT_SEG_REFS.
25398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25399 Fix argument offsets for non-PIC.
25400 [USE_AS_STRNCASECMP_L]: Likewise.
25401 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25402 NO_TLS_DIRECT_SEG_REFS.
25403
d62a8200
UD
254042011-11-15 Ulrich Drepper <drepper@gmail.com>
25405
9d65ea3a 25406 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25407 O_CLOEXEC.
25408 * locale/loadlocale.c (_nl_load_locale): Likewise.
25409
09f93bd3
AS
254102011-11-15 Andreas Schwab <schwab@redhat.com>
25411
446514f9
AS
25412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25413 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25414 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25415 (SYSCALL_GETTIME): Set errno on error.
25416
09f93bd3
AS
25417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25418 count references to noai6ai_cached.
25419
312be3f9
UD
254202011-11-15 Ulrich Drepper <drepper@gmail.com>
25421
25422 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25423
25424 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25425 FD_CLOEXEC for /proc/self/maps.
25426
25427 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25428 FD_CLOEXEC for /proc/meminfo.
25429
25430 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25431 gai.conf.
25432
25433 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25434 FD_CLOEXEC for given file.
25435
25436 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25437
25438 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25439 FD_CLOEXEC for /etc/hosts.
25440 (_gethtent): Likewise.
25441
25442 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25443
25444 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25445 cancellation and set FD_CLOEXEC for /etc/netgroup.
25446
25447 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25448 reading /etc/publickey.
25449
25450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25451 allow cancellation when reading /etc/group.
25452
25453 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25454 cancellation.
25455 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25456
25457 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25458 when using data file.
25459
25460 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25461
25462 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25463 (write_nis_obj): Use "c" and "e" in fopen.
25464
25465 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25466
25467 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25468
25469 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25470
25471 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25472
25473 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25474 locale.alias.
25475
25476 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25477
25478 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25479
25480 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25481
25482 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25483 file parsing and set FD_CLOEXEC.
25484
82af0fa8
UD
254852011-11-14 Ulrich Drepper <drepper@gmail.com>
25486
25487 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25488
a5fb313c
AS
254892011-11-14 Andreas Schwab <schwab@redhat.com>
25490
25491 * malloc/arena.c (arena_get2): Don't call reused_arena when
25492 _int_new_arena failed.
25493
6abf3465
UD
254942011-11-14 Ulrich Drepper <drepper@gmail.com>
25495
25496 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25497 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25498 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25502 to compile strcasecmp and strncasecmp.
25503 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25504 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25505
25506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25507
76e3966e
UD
255082011-11-13 Ulrich Drepper <drepper@gmail.com>
25509
25510 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25511 locale-defines.sym to gen-as-const-headers.
25512 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25513 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25515 to compile strcasecmp and strncasecmp.
25516 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25517 strcasecmp_l and strncasecmp_l.
25518 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25519 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25520 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25522 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25523 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25524 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25525 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25526 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25527 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25528 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25529
ab26144e
UD
255302011-11-12 Ulrich Drepper <drepper@gmail.com>
25531
7edb22ef
UD
25532 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25533 result of SYSDEP_GETTIME_CPU to retval.
25534 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25535 parameter list to macro. Remove trailing semicolon. Adjust users.
25536
9694fc44
UD
25537 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25538 variable.
25539
8ad89ef8
UD
25540 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25541 mantissa words.
25542 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25543
0c822ef9
UD
25544 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25545 from unused variable.
25546
874e0564
UD
25547 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25548 DWARF definitions.
25549 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25550 for assembling.
25551
3a2edc79
UD
25552 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25553 over namespaces.
25554
f3c2577f
UD
25555 * sunrpc/rpc_prot.c (rejected): Fix case value.
25556
294ce126
UD
25557 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25558 unsigned long long int to avoid warnings in shift.
25559
5e2b63c6
UD
25560 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25561 of use of trans.
25562 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25563 variable tmp.
25564
e7f4b08e
UD
25565 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25566 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25567 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25568
ab26144e
UD
25569 * nis/nis_table.c (nis_list): Use variable of correct type for
25570 result of __follow_path call.
25571
8a6d5255
AZ
255722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25573
25574 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25575 of math functions ceil, trunc, floor, round, and sqrt, when
25576 avaliable on the platform.
25577 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25578 name clash.
25579 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25580 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25581 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25582
aaddc98c
MP
255832011-10-30 Marek Polacek <mpolacek@redhat.com>
25584
25585 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25586 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25587
95b7042b
RM
255882011-11-11 Roland McGrath <roland@hack.frob.com>
25589
25590 * include/unistd.h: Fix __readlink return type.
25591 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25592
57769839
UD
255932011-11-11 Ulrich Drepper <drepper@gmail.com>
25594
25595 * stdlib/ucontext.h: Undo last change for makecontext.
25596
edc5984d
AS
255972011-11-11 Andreas Schwab <schwab@redhat.com>
25598
98591e58
AS
25599 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25600
edc5984d
AS
25601 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25602 * setjmp/setjmp.h: Mark functions as non-leaf.
25603 * setjmp/bits/setjmp2.h: Likewise.
25604 * stdlib/ucontext.h: Likewise.
25605
77cdc054
AS
256062011-11-10 Andreas Schwab <schwab@redhat.com>
25607
25608 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25609 (reused_arena): Don't check arena limit.
25610 (arena_get2): Atomically check arena limit.
25611
fe72eebd
UD
256122011-11-08 Ulrich Drepper <drepper@gmail.com>
25613
5f078c32
UD
25614 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25615 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25616
fe72eebd
UD
25617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25618 instructions.
25619
ae1bc2fa
AS
256202011-11-07 Andreas Schwab <schwab@redhat.com>
25621
7583a88d
AS
25622 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25623 handler when locking.
25624
ae1bc2fa
AS
25625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25626 Fix size of allocated buffer.
25627
10fb0bfa
AS
256282011-11-04 Andreas Schwab <schwab@redhat.com>
25629
998832a4
AS
25630 [BZ #10103]
25631 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25632 declarations for long double functions.
25633 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25634
10fb0bfa
AS
25635 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25636
3d7ba52b
AS
256372011-11-03 Andreas Schwab <schwab@redhat.com>
25638
a9ae54a1
AS
25639 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25640 installed.
25641
3d7ba52b
AS
25642 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25643 is disabled.
25644
bc8db248
ST
256452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25646
25647 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25648
45b96dd6
AS
256492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25650
647776f6
AS
25651 * include/alloca.h (stackinfo_alloca_round): Define.
25652 (extend_alloca): Use it.
25653 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25654 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25655 here.
25656
d91a8b93
AS
25657 * scripts/check-local-headers.sh: Ignore libaudit.h.
25658
45b96dd6
AS
25659 * nscd/Makefile (extra-objs): Make recursively expanded.
25660
432d41ce
UD
256612011-11-01 Ulrich Drepper <drepper@gmail.com>
25662
34372fc6
UD
25663 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25665
fadb59f8
UD
25666 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25667 * posix/tst-rfc3484-2.c: Likewise.
25668 * posix/tst-rfc3484-3.c: Likewise.
25669
78239589
UD
25670 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25671 process_vm_writev.
25672 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25673 process_vm_writev.
25674 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25675 process_vm_writev from libc using GLIBC_2.15 version.
25676
432d41ce
UD
25677 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25678
02f9c6cf
PP
256792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25680
25681 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25682 stack usage.
25683
3a2c0242
UD
256842011-10-31 Ulrich Drepper <drepper@gmail.com>
25685
f4ec4833
UD
25686 [BZ #13367]
25687 * nss/getent.c (initgroups_keys): Show error message in case no group
25688 names are given.
25689
3a2c0242
UD
25690 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25691 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25692 __bump_nl_timestamp.
25693 * nscd/connections (nscd_init): When host database is served open
25694 netlink socket and request notification about configuration changes.
25695 (main_loop_poll): Track netlink file descriptor and bump timestamp
25696 in case data becomes available.
25697 (main_loop_epoll): Likewise.
25698 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25699 (database_pers_head): Add extra_data fileds.
25700 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25702 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25703 Adjust caller.
25704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25705 in6ai data, call __free_in6ai.
25706 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25707 Add -DHAVE_NETLINK.
25708 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25709 interface information. Reuse previous data if netlink timestamp
25710 is not changed.
25711 (__bump_nl_timestamp): New function.
25712 (__free_in6ai): New function.
25713
636064eb
UD
257142011-10-30 Ulrich Drepper <drepper@gmail.com>
25715
25716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25717 close_not_cancel_no_status here.
25718 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25719
9beb2334
UD
257202011-10-29 Ulrich Drepper <drepper@gmail.com>
25721
6ef76f3b
UD
25722 [BZ #13276]
25723 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25724 return value.
25725
0ffc4f3e 25726 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25727 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25728 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25729
cb95113e
UD
257302011-07-03 Andreas Jaeger <aj@suse.de>
25731
25732 [BZ #10709]
25733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25734 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25735 * math/libm-test.inc (sin_test): Add test case.
25736
a1b560ff
UD
257372011-10-29 Ulrich Drepper <drepper@gmail.com>
25738
c9aaface
UD
25739 [BZ #13337]
25740 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25741 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25742
d272e7f1
UD
25743 * elf/chroot_canon.c (chroot_canon): Cleanups.
25744
1bc33071
UD
25745 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25746
1760874d
TJ
25747 [BZ #13335]
25748 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25749 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25750
51d91b18
UD
25751 * string/test-strchr.c: Make usable for strchrnul testing.
25752 * string/test-strchrnul.c: New file.
25753 * string/Makefile (strop-tests): Add strchrnul.
25754
a1b560ff 25755 * po/it.po: Update from translation team.
b611fb81 25756 * po/es.po: Likewise.
a1b560ff 25757
a5b81e1f
UD
257582011-10-28 Ulrich Drepper <drepper@gmail.com>
25759
fd52bc6d
UD
25760 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25761 the three constants needed as parameters. Drop the others.
25762 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25763 __m128i_strloadu_tolower.
52e4b9eb
UD
25764 Create and initialize variable zero and use it in all the places
25765 where _mm_setzero_si128 was used.
fd52bc6d 25766
a5b81e1f
UD
25767 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25768 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25769 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25770 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25771 anymore.
25772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25773 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25774 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25775 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25776 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25777 __mpranred, __mptan.
25778 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25779 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25780 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25781 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25782 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25783 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25785 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25786 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25787
b4343346
AS
257882011-10-28 Andreas Schwab <schwab@redhat.com>
25789
0c92d8a8
AS
25790 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25791 redefine if SHARED.
25792 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25793
b4343346
AS
25794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25795 wide char related routines to wcsmbs subdir.
25796
3871f58f
AS
257972011-10-27 Andreas Schwab <schwab@redhat.com>
25798
25799 [BZ #13344]
25800 * misc/sys/cdefs.h (__THROWNL): Define.
25801 * posix/unistd.h: Use __THREADNL instead of __THREAD
25802 for memory synchronization functions.
25803
94d44d9f
RM
258042011-10-26 Roland McGrath <roland@hack.frob.com>
25805
21b64b15 25806 [BZ #13349]
94d44d9f
RM
25807 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25808 doesn't exist.
25809 * manual/stdio.texi (Obstack Streams): Node removed.
25810
f6ce9294
AS
258112011-10-26 Andreas Schwab <schwab@redhat.com>
25812
80479147
AS
25813 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25815 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25816
f6ce9294
AS
25817 * math/math_private.h (math_force_eval): Allow non-addressable
25818 arguments.
25819 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25820
618280a1
UD
258212011-10-25 Ulrich Drepper <drepper@gmail.com>
25822
e0016b11
UD
25823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25824 file is not needed.
25825
25826 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25828 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25829 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25830 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25832 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25833 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25834 Add AVX variants.
25835 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25836 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25837 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25838 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25839 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25840 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25841 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25843 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25844 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25845 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25846 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25848 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25849 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25850 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25851 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25852 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25853 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25854
25855 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25856 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25857
618280a1
UD
25858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25859 place. Use VEX encoding when compiling for AVX.
25860
37822576
AS
258612011-10-25 Andreas Schwab <schwab@redhat.com>
25862
1f1e1947
AS
25863 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25865
37822576
AS
25866 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25867
31ea014d
UD
258682011-10-25 Ulrich Drepper <drepper@gmail.com>
25869
d7826aa1 25870 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25871 useless if() expression.
d7826aa1
UD
25872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25873 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25874 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25875 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25877 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25882 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25883 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25884 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25885 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25887 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25890 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25891
31ea014d
UD
25892 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25893
16437fec
AS
258942011-10-25 Andreas Schwab <schwab@redhat.com>
25895
25896 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25897 condition.
25898 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25899
31d3cc00
UD
259002011-10-25 Ulrich Drepper <drepper@gmail.com>
25901
25902 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25903 .text section. Avoid duplicate constants.
25904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25913 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25914 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25916 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25917 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25920 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25921 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25927 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25928 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25929 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25930 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25931 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25933 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25934 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25937 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25938 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25939 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25940 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25942 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25943 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25944 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25945 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25946 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25948 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25949
58985aa9
UD
259502011-10-24 Ulrich Drepper <drepper@gmail.com>
25951
202c9deb
UD
25952 * sysdeps/x86_64/dla.h: Move to ...
25953 * sysdeps/x86_64/fpu/dla.h: ...here.
25954 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25955 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25956
af968f62
UD
25957 * config.make.in: Add have-mfma4 entry.
25958 * configure.in: Substitute libc_cv_cc_fma4.
25959 * math/Makefile (dbl-only-routines): Add sincostab.
25960 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25961 Use __sincostab not sincos.
25962 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25963 name is a macro.
25964 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25968 using __copysign.
25969 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25970 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25971 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25972 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25973 and __inv.
25974 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25975 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25976 __copysign.
25977 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25978 define aliases when function name is a macro.
25979 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25980 sysdeps/ieee754/dbl-64/sincos.tbl.
25981 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25982 fma4-enabled routines.
25983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25984 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25985 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25986 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25987 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25988 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25992 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25993 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25994 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25995 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25998 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25999 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26000 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26001 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26002 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26003 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26004 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26006 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26008 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26010 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26011 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26012 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26013
58985aa9
UD
26014 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26015 rename.
26016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26024
a201fbcf
AS
260252011-10-24 Andreas Schwab <schwab@redhat.com>
26026
26027 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26028
fc2ee42a
LD
260292011-10-23 Ulrich Drepper <drepper@gmail.com>
26030
bb3129bd
UD
26031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26032
0275fff8
UD
26033 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26034 prediction.
26035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26036
2fa2ae85
UD
26037 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26038 Remove unused variable magic_bits.
26039 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26040
fc2ee42a
LD
26041 * string/strnlen.c: Define and use STRNLEN macro.
26042 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26043 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26045 * wcsmbs/wcslen.c: Define and use WCSLEN.
26046 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26047 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26048 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26049 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26050 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26051 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26053
ce7dd29f
LD
260542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26055
26056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26057 strnlen-sse2-no-bsf.
26058 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26060 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26061 Add strnlen support.
26062 (USE_AS_STRNLEN): New macro.
26063 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26064 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26065 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26066 * sysdeps/x86_64/wcslen.S: New file.
26067
979c70a3
MZ
260682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26069
26070 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26071 XMM-moves are used for copying on small sizes.
26072
2d09f82f
LD
260732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26074
26075 * wcsmbs/Makefile (strop-tests): Add wcschr.
26076 * wcsmbs/test-wcschr.c: New file.
26077 * string/test-strchr.c: Update.
26078 Add wcschr support.
26079 (WIDE): New macro.
26080
619fccca
LD
260812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26082
2d09f82f 26083 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26084 * wcsmbs/test-wcslen.c: New file.
26085 * string/test-strlen.c: Update.
26086 Add wcslen support.
26087 (WIDE): New macro.
26088
09f699ea
UD
260892011-10-23 Ulrich Drepper <drepper@gmail.com>
26090
26091 * po/it.po: Update from translation team.
26092
95584d3b
LD
260932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26094
26095 * sysdeps/x86_64/wcscmp.S: Update.
26096 Fix wrong comparison semantics.
26097 wcscmp shall use signed comparison not unsigned.
26098 Don't use substraction to avoid overflow bug.
26099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26100 * wcsmbc/wcscmp.c: Likewise.
26101 * string/test-strcmp.c: Likewise.
26102 Add new tests to check cases with negative values.
26103
c8b3296b
UD
261042011-10-23 Ulrich Drepper <drepper@gmail.com>
26105
26106 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26107 * sysdeps/x86_64/dla.h: ...here. New file.
26108 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26117
246ad57a
AS
261182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26119
26120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26121 __ynl_finite aliases.
26122
a1a87169
UD
261232011-10-22 Ulrich Drepper <drepper@gmail.com>
26124
0d355eb7
UD
26125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26126
a1a87169
UD
26127 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26128 define DLA_FMA.
26129 [DLA_FMA] (EMULV): Use DLA_FMA.
26130 [DLA_FMA] (MUL12): Use EMULV.
26131 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26132 that are not needed.
26133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26140
ee2aafe0
AS
261412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26142
26143 * math/s_nan.c: Undef __nan.
26144 * math/s_nanf.c: Undef __nanf.
26145 * math/s_nanl.c: Undef __nanl.
26146 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26147 "math_private.h".
26148
bc62c2fb
UD
261492011-10-22 Ulrich Drepper <drepper@gmail.com>
26150
77425c63
UD
26151 * math/s_catan.c: Add branch predictions.
26152 * math/s_catanf.c: Likewise.
26153 * math/s_catanh.c: Likewise.
26154 * math/s_catanhf.c: Likewise.
26155 * math/s_catanhl.c: Likewise.
26156 * math/s_catanl.c: Likewise.
26157 * math/s_cexp.c: Likewise.
26158 * math/s_cexpf.c: Likewise.
26159 * math/s_cexpl.c: Likewise.
26160 * math/s_clog.c: Likewise.
26161 * math/s_clog10.c: Likewise.
26162 * math/s_clog10f.c: Likewise.
26163 * math/s_clog10l.c: Likewise.
26164 * math/s_clogf.c: Likewise.
26165 * math/s_clogl.c: Likewise.
26166 * math/s_csqrt.c: Likewise.
26167 * math/s_csqrtf.c: Likewise.
26168 * math/s_csqrtl.c: Likewise.
26169 * math/s_ctanf.c: Likewise.
26170 * math/s_ctanh.c: Likewise.
26171 * math/s_ctanhf.c: Likewise.
26172 * math/s_ctanhl.c: Likewise.
26173 * math/s_ctanl.c: Likewise.
26174
bc62c2fb
UD
26175 * math/math_private.h: Define __nan, __nanf, __nanl.
26176 * math/s_cacosh.c: Include <math_private.h>.
26177 * math/s_cacoshl.c: Likewise.
26178 * math/s_casinh.c: Likewise.
26179 * math/s_casinhf.c: Likewise.
26180 * math/s_casinhl.c: Likewise.
26181 * math/s_ccos.c: Rely entire on ccosh.
26182 * math/s_ccosf.c: Rely entire on ccoshf.
26183 * math/s_ccosl.c: Rely entirely on ccoshl.
26184 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26185 Remove tests for FE_INVALID.
26186 * math/s_ccoshf.c: Likewise.
26187 * math/s_ccoshl.c: Likewise.
26188 * math/s_csin.c: Likewise.
26189 * math/s_csinf.c: Likewise.
26190 * math/s_csinh.c Likewise.
26191 * math/s_csinhf.c: Likewise.
26192 * math/s_csinhl.c: Likewise.
26193 * math/s_csinl.c: Likewise.
26194 * math/s_ctan.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26196 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26198
8ec250a4
UD
261992011-10-21 Ulrich Drepper <drepper@gmail.com>
26200
c196fed8
UD
26201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26202 compilation problems.
26203
8ec250a4
UD
26204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26205 __builtin_expect.
26206
8d4f46c6
UD
262072011-10-20 Ulrich Drepper <drepper@gmail.com>
26208
ed72b654
UD
26209 * sysdeps/i386/configure.in: Test for -mfma4 option.
26210 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26211 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26212 COMMON_CPUID_INDEX_80000001.
26213 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26214 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26215 use it if FMA3 is not supported.
26216 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26217
8d4f46c6
UD
26218 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26219 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26220
d45c60c2
AS
262212011-10-20 Andreas Schwab <schwab@redhat.com>
26222
26223 [BZ #12892]
26224 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26225 it would create a cycle with a link time dependency.
26226
d9a4d2ab
UD
262272011-10-19 Ulrich Drepper <drepper@gmail.com>
26228
855d1560
UD
26229 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26230 instruction.
26231 * string/Makefile (strop-tests): Add rawmemchr.
26232 * string/test-rawmemchr.c: New file.
26233
d9a4d2ab
UD
26234 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26236 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26237 when compiling str{,n}casecmp and when AVX is available. Hook up
26238 new optimized code in initializers.
26239
8f3b1ffe
AS
262402011-10-19 Andreas Schwab <schwab@redhat.com>
26241
26242 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26243 __feraiseexcept instead of feraiseexcept.
26244
d38f1dba
UD
262452011-10-18 Ulrich Drepper <drepper@gmail.com>
26246
d9a8d0ab
UD
26247 * math/math_private.h: Define defaults for libc_fetestexcept and
26248 libc_feupdateenv.
26249 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26250 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26251 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26252 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26253 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26254 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26255 libc_fetestexcept and libc_feupdateenv.
26256
4855e3dd
UD
26257 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26258 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26259 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26260 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26261 libc_feholdexcept_setround.
26262
581d30e3
UD
26263 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26264 Add s_nearbyint-c and s_nearbyintf-c.
26265 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26266 nearbyintf inlines.
26267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26270 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26271
d38f1dba
UD
26272 * math/math_private.h: Define defaults for libc_fegetround,
26273 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26274 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26275 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26277 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26278 standard functions.
26279 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26280 Remove comments and hacks for old compiler versions.
26281 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26282 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26283 libc_feholdexceptl.
26284
caa6c9d8
AS
262852011-10-18 Andreas Schwab <schwab@redhat.com>
26286
26287 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26288 (__feraiseexcept_renamed): Add __NTH.
26289 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26290 namespace violations.
26291
97c066e6
UD
262922011-10-17 Ulrich Drepper <drepper@gmail.com>
26293
99ce7b04
UD
26294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26295
1004d182
UD
26296 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26297
228a984d
UD
26298 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26299 recently added interfaces.
26300 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26301
c8553a6a
UD
26302 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26303 about macro parameter expansion.
26304
ed22dcf6
UD
26305 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26306 __NO_MATH_INLINES is defined. Cleanups.
26307
26308 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26309 and __floorf is target has SSE4.1.
26310 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26311 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26312 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26314
b171c137
UD
26315 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26316 name.
26317 (floorf): Likewise.
26318
97c066e6
UD
26319 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26320
629f62ef
AS
263212011-10-17 Andreas Schwab <schwab@redhat.com>
26322
49a43d80
AS
26323 * misc/sys/cdefs.h: Fix last change.
26324
629f62ef
AS
26325 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26326 database lookup.
26327
e453f6cd
UD
263282011-10-16 Ulrich Drepper <drepper@gmail.com>
26329
aa78043a
UD
26330 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26331
ad0f5cad
UD
26332 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26334 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26335 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26338 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26339 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26340 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26341 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26342 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26343 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26344 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26345 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26346 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26347 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26348 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26349 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26350 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26351 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26352 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26353 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26354
26355 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26356 ceil, ceilf, floor, floorf.
26357
26358 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26359 Perform IRELATIVE relocations last.
26360
e453f6cd
UD
26361 * elf/do-rel.h: Add another parameter nrelative, replacing the
26362 local variable with the same name. Change name of the function
26363 to end in Rel or Rela (uppercase).
26364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26365 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26366 elf_dynamic_do_##reloc function.
26367
fd5bdc09
UD
263682011-10-15 Ulrich Drepper <drepper@gmail.com>
26369
79b195b5
UD
26370 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26371 is sufficient, at least on modern CPUs.
26372
d4a28569
UD
26373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26374
b61099b5
UD
26375 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26376 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26377
bcf01e6d
UD
26378 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26379 __expl_finite.
26380 * math/bits/math-finite.h: Add entries for exp.
26381 * math/e_expl.c: Add __*_finite alias.
26382 * sysdeps/i386/fpu/e_exp.S: Likewise.
26383 * sysdeps/i386/fpu/e_expf.S: Likewise.
26384 * sysdeps/i386/fpu/e_expl.c: Likewise.
26385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26387 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26389 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26390 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26391 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26392
ba1a0d59
UD
26393 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26394 is sufficient, at least on modern CPUs.
26395
fd5bdc09
UD
26396 * ctype/ctype-info.c (__ctype_init): Define.
26397 * include/ctype.h (__ctype_init): Declare.
26398 (__ctype_b_loc): The variable is always initialized.
26399 (__ctype_toupper_loc): Likewise.
26400 (__ctype_tolower_loc): Likewise.
26401 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26402 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26403
7872cfb0
AS
264042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26405
b468825a
AS
26406 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26407
7872cfb0
AS
26408 * configure.in: Also look in $cxxmachine/include for C++ system
26409 headers.
26410
be13f7bf
LD
264112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26412
26413 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26414 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26415 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26416 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26417 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26418 (USE_AS_WMEMCMP): New macro.
26419 Fixing indents.
26420 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26421 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26422 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26423 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26425 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26426 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26427 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26428 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26429 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26430 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26431 (USE_AS_WMEMCMP): New macro.
26432 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26433 * sysdeps/string/test-memcmp.c: Update.
26434 Fix simple_wmemcmp.
26435 Add new tests.
26436 * wcsmbs/wmemcmp.c: Update.
26437 (WMEMCMP): New macro.
26438 Fix overflow bug.
26439
556a2007
AJ
264402011-10-12 Andreas Jaeger <aj@suse.de>
26441
26442 [BZ #13268]
26443 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26444
538faaa7
UD
264452011-10-15 Ulrich Drepper <drepper@gmail.com>
26446
ab6737ff
UD
26447 * libio/iofwide.c (do_length): Avoid warning.
26448
538faaa7
UD
26449 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26450
396a21b1
UD
264512011-10-14 Ulrich Drepper <drepper@gmail.com>
26452
cdf2901f
UD
26453 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26454
38ad40ce
UD
26455 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26456 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26457 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26458 * sysdeps/i386/i686/fpu/e_log.S: New file.
26459 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26460 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26461
396a21b1
UD
26462 * ctype/ctype.h: Add support for inlined isXXX functions when
26463 compiling C++ code.
26464
6b1f68c9
AS
264652011-10-14 Andreas Schwab <schwab@redhat.com>
26466
349290c0
AS
26467 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26468
6b1f68c9
AS
26469 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26470
f2282d42
RM
264712011-10-13 Roland McGrath <roland@hack.frob.com>
26472
26473 [BZ #13291]
26474 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26475
5298ffa8
AS
264762011-10-13 Andreas Schwab <schwab@redhat.com>
26477
714fad23
AS
26478 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26479 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26480 feraiseexcept.
26481
81dcc7fb
AS
26482 * sysdeps/x86_64/memrchr.S: Check for zero size.
26483
5298ffa8
AS
26484 * string/stratcliff.c: Add memrchr tests.
26485
951fbcec
LD
264862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26487
26488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26489 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26490 rawmemchr-sse2 rawmemchr-sse2-bsf.
26491 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26492 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26493 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26494 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26495 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26496 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26497 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26498 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26499 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26500 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26501 * string/memrchr.c (MEMRCHR): New macro.
26502
0ac5ae23
UD
265032011-10-12 Ulrich Drepper <drepper@gmail.com>
26504
26505 Add integration with gcc's -ffinite-math-only and optimize wrapper
26506 functions in libm.
26507 * Versions.def: Define GLIBC_2.15 version for libm.
26508 * math/Makefile (headers): Add bits/math-finite.h.
26509 * math/bits/math-finite.h: New file.
26510 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26511 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26512 * math/e_acoshl.c: Add __*_finite alias.
26513 * math/e_acosl.c: Likewise.
26514 * math/e_asinl.c: Likewise.
26515 * math/e_atan2l.c: Likewise.
26516 * math/e_atanhl.c: Likewise.
26517 * math/e_coshl.c: Likewise.
26518 * math/e_exp10.c: Likewise.
26519 * math/e_exp10f.c: Likewise.
26520 * math/e_exp10l.c: Likewise.
26521 * math/e_exp2l.c: Likewise.
26522 * math/e_fmodl.c: Likewise.
26523 * math/e_gammal_r.c: Likewise.
26524 * math/e_hypotl.c: Likewise.
26525 * math/e_j0l.c: Likewise.
26526 * math/e_j1l.c: Likewise.
26527 * math/e_jnl.c: Likewise.
26528 * math/e_lgammal_r.c: Likewise.
26529 * math/e_log10l.c: Likewise.
26530 * math/e_log2l.c: Likewise.
26531 * math/e_logl.c: Likewise.
26532 * math/e_powl.c: Likewise.
26533 * math/e_sinhl.c: Likewise.
26534 * math/e_sqrtl.c: Likewise.
26535 * math/e_scalb.c: Completely rewritten and optimized.
26536 * math/e_scalbf.c: Likewise.
26537 * math/e_scalbl.c: Likewise.
26538 * math/w_acos.c: Likewise.
26539 * math/w_acosf.c: Likewise.
26540 * math/w_acosl.c: Likewise.
26541 * math/w_acosh.c: Likewise.
26542 * math/w_acoshf.c: Likewise.
26543 * math/w_acoshl.c: Likewise.
26544 * math/w_asin.c: Likewise.
26545 * math/w_asinf.c: Likewise.
26546 * math/w_asinl.c: Likewise.
26547 * math/w_atan2.c: Likewise.
26548 * math/w_atan2f.c: Likewise.
26549 * math/w_atan2l.c: Likewise.
26550 * math/w_atanh.c: Likewise.
26551 * math/w_atanhf.c: Likewise.
26552 * math/w_atanhl.c: Likewise.
26553 * math/w_exp10.c: Likewise.
26554 * math/w_exp10f.c: Likewise.
26555 * math/w_exp10l.c: Likewise.
26556 * math/w_fmod.c: Likewise.
26557 * math/w_fmodf.c: Likewise.
26558 * math/w_fmodl.c: Likewise.
26559 * math/w_j0.c: Likewise.
26560 * math/w_j0f.c: Likewise.
26561 * math/w_j0l.c: Likewise.
26562 * math/w_j1.c: Likewise.
26563 * math/w_j1f.c: Likewise.
26564 * math/w_j1l.c: Likewise.
26565 * math/w_jn.c: Likewise.
26566 * math/w_jnf.c: Likewise.
26567 * math/w_log.c: Likewise.
26568 * math/w_logf.c: Likewise.
26569 * math/w_logl.c: Likewise.
26570 * math/w_log10.c: Likewise.
26571 * math/w_log10f.c: Likewise.
26572 * math/w_log10l.c: Likewise.
26573 * math/w_log2.c: Likewise.
26574 * math/w_log2f.c: Likewise.
26575 * math/w_log2l.c: Likewise.
26576 * math/w_pow.c: Likewise.
26577 * math/w_powf.c: Likewise.
26578 * math/w_powl.c: Likewise.
26579 * math/w_remainder.c: Likewise.
26580 * math/w_remainderf.c: Likewise.
26581 * math/w_remainderl.c: Likewise.
26582 * math/w_scalb.c: Likewise.
26583 * math/w_scalbf.c: Likewise.
26584 * math/w_scalbl.c: Likewise.
26585 * math/w_sqrt.c: Likewise.
26586 * math/w_sqrtf.c: Likewise.
26587 * math/w_sqrtl.c: Likewise.
26588 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26589 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26590 used.
26591 * math/math_private.h: Declare __kernel_standard_f.
26592 * math/w_cosh.c: Remove cruft and optimize a bit.
26593 * math/w_coshf.c: Likewise.
26594 * math/w_coshl.c: Likewise.
26595 * math/w_exp2.c: Likewise.
26596 * math/w_exp2f.c: Likewise.
26597 * math/w_exp2l.c: Likewise.
26598 * math/w_hypot.c: Likewise.
26599 * math/w_hypotf.c: Likewise.
26600 * math/w_hypotl.c: Likewise.
26601 * math/w_lgamma.c: Likewise.
26602 * math/w_lgamma_r.c: Likewise.
26603 * math/w_lgammaf.c: Likewise.
26604 * math/w_lgammaf_r.c: Likewise.
26605 * math/w_lgammal.c: Likewise.
26606 * math/w_lgammal_r.c: Likewise.
26607 * math/w_sinh.c: Likewise.
26608 * math/w_sinhf.c: Likewise.
26609 * math/w_sinhl.c: Likewise.
26610 * math/w_tgamma.c: Likewise.
26611 * math/w_tgammaf.c: Likewise.
26612 * math/w_tgammal.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26615 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26616 Minor optimizations. Pretty printing. Remove cruft.
26617 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26618 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26619 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26620 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26621 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26622 * sysdeps/i386/fpu/e_asin.S: Likewise.
26623 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26624 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26625 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26626 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26627 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26629 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26630 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26631 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26632 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26633 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26634 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26635 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26636 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26637 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26638 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26639 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26640 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26641 * sysdeps/i386/fpu/e_log.S: Likewise.
26642 * sysdeps/i386/fpu/e_log10.S: Likewise.
26643 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26644 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26645 * sysdeps/i386/fpu/e_log2.S: Likewise.
26646 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26647 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26648 * sysdeps/i386/fpu/e_logf.S: Likewise.
26649 * sysdeps/i386/fpu/e_logl.S: Likewise.
26650 * sysdeps/i386/fpu/e_pow.S: Likewise.
26651 * sysdeps/i386/fpu/e_powf.S: Likewise.
26652 * sysdeps/i386/fpu/e_powl.S: Likewise.
26653 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26654 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26655 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26656 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26657 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26659 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26660 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26661 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26683 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26686 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26687 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26688 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26689 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26690 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26691 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26692 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26693 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26696 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26697 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26698 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26700 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26702 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26703 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26742 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26745 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26746 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26747 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26748 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26749 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26750 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26753 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26754 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26755 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26756 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26757 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26758 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26759 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26760 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26761 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26762 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26763 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26764 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26765 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26766 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26767 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26770 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26772 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26773 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26774 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26775 (__isnanf): Likewise.
26776 (__isinf_ns): Likewise.
26777 (__isinf_nsf): Likewise.
26778 (__finite): Likewise.
26779 (__finitef): Likewise.
26780 (__ieee754_sqrt): Define as macro.
26781 (__ieee754_sqrtf): Define as macro.
26782 (__ieee754_sqrtl): Define as macro.
26783 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26784 inlined copy.
26785 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26786 __FINITE_MATH_ONLY__ consistent.
26787 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26788
12cc2fcd
AS
267892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26790
a843a204
AS
26791 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26792 of rawmemchr.
26793
12cc2fcd
AS
26794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26795
c853acd5
UD
267962011-10-09 Ulrich Drepper <drepper@gmail.com>
26797
26798 * po/ja.po: Update from translation team.
26799
c658d255
RM
268002011-10-08 Roland McGrath <roland@hack.frob.com>
26801
110946e4
RM
26802 * locale/programs/locarchive.c (prepare_address_space): New function.
26803 (create_archive, enlarge_archive, open_archive): Use it.
26804
50604220
RM
26805 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26806 inside [SHARED], where it is used.
26807
c658d255
RM
26808 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26809
26810 * nss/getent.c (netgroup_keys): Remove unused variable.
26811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26812
6a621eb7
UD
268132011-10-08 Ulrich Drepper <drepper@gmail.com>
26814
7edb55ce
UD
26815 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26818 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26819 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26820 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26821 * math/Makefile (libm-calls): Add s_isinf_ns.
26822 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26823 * math/multc3.c: Likewise.
26824 * math/s_casin.c: Likewise.
26825 * math/s_casinf.c: Likewise.
26826 * math/s_casinl.c: Likewise.
26827 * math/s_ccos.c: Likewise.
26828 * math/s_ccosf.c: Likewise.
26829 * math/s_ccosl.c: Likewise.
26830 * math/s_ctan.c: Likewise.
26831 * math/s_ctanf.c: Likewise.
26832 * math/s_ctanh.c: Likewise.
26833 * math/s_ctanhf.c: Likewise.
26834 * math/s_ctanhl.c: Likewise.
26835 * math/s_ctanl.c: Likewise.
26836 * math/w_fmod.c: Likewise.
26837 * math/w_fmodf.c: Likewise.
26838 * math/w_fmodl.c: Likewise.
26839 * math/w_remainder.c: Likewise.
26840 * math/w_remainderf.c: Likewise.
26841 * math/w_remainderl.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26843 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26846 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26847 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26848 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26849 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26850
187da0ae
UD
26851 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26852 of the number.
26853 * stdio-common/printf_fphex.c: Likewise.
26854 * stdio-common/printf_size.c: Likewise.
26855
9277c064
UD
26856 * math/e_exp10.c: Include math_private.h using <...> not "...".
26857 * math/e_exp10f.c: Likewise.
26858 * math/e_exp10l.c: Likewise.
26859 * math/e_exp2l.c: Likewise.
26860 * math/e_j0l.c: Likewise.
26861 * math/e_j1l.c: Likewise.
26862 * math/e_jnl.c: Likewise.
26863 * math/e_lgammal_r.c: Likewise.
26864 * math/e_rem_pio2l.c: Likewise.
26865 * math/e_scalb.c: Likewise.
26866 * math/e_scalbf.c: Likewise.
26867 * math/e_scalbl.c: Likewise.
26868 * math/k_cosl.c: Likewise.
26869 * math/k_sinl.c: Likewise.
26870 * math/k_tanl.c: Likewise.
26871 * math/s_cacoshf.c: Likewise.
26872 * math/s_catan.c: Likewise.
26873 * math/s_catanf.c: Likewise.
26874 * math/s_catanh.c: Likewise.
26875 * math/s_catanhf.c: Likewise.
26876 * math/s_catanhl.c: Likewise.
26877 * math/s_catanl.c: Likewise.
26878 * math/s_ccosh.c: Likewise.
26879 * math/s_ccoshf.c: Likewise.
26880 * math/s_ccoshl.c: Likewise.
26881 * math/s_cexp.c: Likewise.
26882 * math/s_cexpf.c: Likewise.
26883 * math/s_cexpl.c: Likewise.
26884 * math/s_clog.c: Likewise.
26885 * math/s_clog10.c: Likewise.
26886 * math/s_clog10f.c: Likewise.
26887 * math/s_clog10l.c: Likewise.
26888 * math/s_clogf.c: Likewise.
26889 * math/s_clogl.c: Likewise.
26890 * math/s_csin.c: Likewise.
26891 * math/s_csinf.c: Likewise.
26892 * math/s_csinh.c: Likewise.
26893 * math/s_csinhf.c: Likewise.
26894 * math/s_csinhl.c: Likewise.
26895 * math/s_csinl.c: Likewise.
26896 * math/s_csqrt.c: Likewise.
26897 * math/s_csqrtf.c: Likewise.
26898 * math/s_csqrtl.c: Likewise.
26899 * math/s_ctan.c: Likewise.
26900 * math/s_ctanf.c: Likewise.
26901 * math/s_ctanh.c: Likewise.
26902 * math/s_ctanhf.c: Likewise.
26903 * math/s_ctanhl.c: Likewise.
26904 * math/s_ctanl.c: Likewise.
26905 * math/s_ldexp.c: Likewise.
26906 * math/s_ldexpf.c: Likewise.
26907 * math/s_ldexpl.c: Likewise.
26908 * math/s_significand.c: Likewise.
26909 * math/s_significandf.c: Likewise.
26910 * math/s_significandl.c: Likewise.
26911 * math/w_acos.c: Likewise.
26912 * math/w_acosf.c: Likewise.
26913 * math/w_acosh.c: Likewise.
26914 * math/w_acoshf.c: Likewise.
26915 * math/w_acoshl.c: Likewise.
26916 * math/w_acosl.c: Likewise.
26917 * math/w_asin.c: Likewise.
26918 * math/w_asinf.c: Likewise.
26919 * math/w_asinl.c: Likewise.
26920 * math/w_atan2.c: Likewise.
26921 * math/w_atan2f.c: Likewise.
26922 * math/w_atan2l.c: Likewise.
26923 * math/w_atanh.c: Likewise.
26924 * math/w_atanhf.c: Likewise.
26925 * math/w_atanhl.c: Likewise.
26926 * math/w_cosh.c: Likewise.
26927 * math/w_coshf.c: Likewise.
26928 * math/w_coshl.c: Likewise.
26929 * math/w_dremf.c: Likewise.
26930 * math/w_exp10.c: Likewise.
26931 * math/w_exp10f.c: Likewise.
26932 * math/w_exp10l.c: Likewise.
26933 * math/w_exp2.c: Likewise.
26934 * math/w_exp2f.c: Likewise.
26935 * math/w_fmod.c: Likewise.
26936 * math/w_fmodf.c: Likewise.
26937 * math/w_fmodl.c: Likewise.
26938 * math/w_hypot.c: Likewise.
26939 * math/w_hypotf.c: Likewise.
26940 * math/w_hypotl.c: Likewise.
26941 * math/w_j0.c: Likewise.
26942 * math/w_j0f.c: Likewise.
26943 * math/w_j0l.c: Likewise.
26944 * math/w_j1.c: Likewise.
26945 * math/w_j1f.c: Likewise.
26946 * math/w_j1l.c: Likewise.
26947 * math/w_jn.c: Likewise.
26948 * math/w_jnf.c: Likewise.
26949 * math/w_jnl.c: Likewise.
26950 * math/w_lgamma.c: Likewise.
26951 * math/w_lgamma_r.c: Likewise.
26952 * math/w_lgammaf.c: Likewise.
26953 * math/w_lgammaf_r.c: Likewise.
26954 * math/w_lgammal.c: Likewise.
26955 * math/w_lgammal_r.c: Likewise.
26956 * math/w_log.c: Likewise.
26957 * math/w_log10.c: Likewise.
26958 * math/w_log10f.c: Likewise.
26959 * math/w_log10l.c: Likewise.
26960 * math/w_log2.c: Likewise.
26961 * math/w_log2f.c: Likewise.
26962 * math/w_log2l.c: Likewise.
26963 * math/w_logf.c: Likewise.
26964 * math/w_logl.c: Likewise.
26965 * math/w_pow.c: Likewise.
26966 * math/w_powf.c: Likewise.
26967 * math/w_powl.c: Likewise.
26968 * math/w_remainder.c: Likewise.
26969 * math/w_remainderf.c: Likewise.
26970 * math/w_remainderl.c: Likewise.
26971 * math/w_scalb.c: Likewise.
26972 * math/w_scalbf.c: Likewise.
26973 * math/w_scalbl.c: Likewise.
26974 * math/w_sinh.c: Likewise.
26975 * math/w_sinhf.c: Likewise.
26976 * math/w_sinhl.c: Likewise.
26977 * math/w_sqrt.c: Likewise.
26978 * math/w_sqrtf.c: Likewise.
26979 * math/w_sqrtl.c: Likewise.
26980 * math/w_tgamma.c: Likewise.
26981 * math/w_tgammaf.c: Likewise.
26982 * math/w_tgammal.c: Likewise.
26983
6a621eb7
UD
26984 * po/ja.po: Update from translation team.
26985
bf582445
AJ
269862011-09-29 Andreas Jaeger <aj@suse.de>
26987
f9efbf3a
AJ
26988 [BZ #13179]
26989 * sunrpc/netname.c (netname2host): Fix logic.
26990
bf582445
AJ
26991 [BZ #6779]
26992 [BZ #6783]
26993 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26994 correctly.
26995 * math/w_remainder.c (__remainder): Likewise.
26996 * math/w_remainderf.c (__remainderf): Likewise.
26997 * math/libm-test.inc (remainder_test): Add test cases.
26998
48693bea
AK
269992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27000
27001 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27002 sdiv_qrnnd.
27003
42622229
LD
270042011-10-07 Ulrich Drepper <drepper@gmail.com>
27005
27006 * string/test-memcmp.c: Avoid unncessary #defines.
27007 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27008
093ecf92
LD
270092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27010
27011 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27012 Use new sse2 version for core i3 - i7 as it's faster
27013 than sse42 version.
27014 (bit_Prefer_PMINUB_for_stringop): New.
27015 * sysdeps/x86_64/rawmemchr.S: Update.
27016 Replace with faster SSE2 version.
27017 * sysdeps/x86_64/memrchr.S: New file.
27018 * sysdeps/x86_64/memchr.S: Update.
27019 Replace with faster SSE2 version.
27020
fde56e5c
MP
270212011-09-12 Marek Polacek <mpolacek@redhat.com>
27022
27023 * elf/dl-load.c (lose): Add cast to avoid warning.
27024
21fd49a9
UD
270252011-10-07 Ulrich Drepper <drepper@gmail.com>
27026
5a06e643
UD
27027 * po/ca.po: Update from translation team.
27028
684ae515
UD
27029 * inet/getnetgrent_r.c: Hook up nscd.
27030 * nscd/Makefile (routines): Add nscd_netgroup.
27031 (nscd-modules): Add netgroupcache.
27032 (CFLAGS-netgroupcache.c): Define.
27033 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27034 (cache_search): Add const to second parameter.
27035 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27036 INNETGR.
27037 (dbs): Add netgrdb entry.
27038 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27039 (verify_persistent_db): Handle netgrdb.
27040 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27041 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27042 GETFDNETGR.
27043 (netgroup_response_header): Define.
27044 (innetgroup_response_header): Define.
27045 (datahead): Add netgroup_response_header and innetgroup_response_header
27046 elements.
27047 * nscd/nscd.conf: Add entries for netgroup cache.
27048 * nscd/nscd.h (dbtype): Add netgrdb.
27049 (_PATH_NSCD_NETGROUP_DB): Define.
27050 (netgroup_iov_disabled): Declare.
27051 (xmalloc, xcalloc, xrealloc): Move declarations here.
27052 (cache_search): Adjust prototype.
27053 Add netgroup-related prototypes.
27054 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27055 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27056 (__nscd_innetgr): Declare.
27057 * nscd/selinux.c (perms): Use access_vector_t as element type and
27058 add netgroup-related initializers.
27059 * nscd/netgroupcache.c: New file.
27060 * nscd/nscd_netgroup.c: New file.
27061 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27062 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27063 For four parameters use innetgr.
27064 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27065 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27066 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27067 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27068
21fd49a9
UD
27069 * nscd/connections.c (register_traced_file): Don't register file
27070 for disabled databases.
27071
054c0457
UD
270722011-10-06 Ulrich Drepper <drepper@gmail.com>
27073
32b63198
UD
27074 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27075
054c0457
UD
27076 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27077 from tree and freeing node.
27078
64031225
JO
270792011-09-25 Jiri Olsa <jolsa@redhat.com>
27080
27081 * nss/nsswitch.c (__nss_database_lookup): Handle
27082 nss_parse_service_list out of memory case.
27083
0490345c
JO
270842011-09-15 Jiri Olsa <jolsa@redhat.com>
27085
27086 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27087 out of memory case.
27088
3a62d00d
AS
270892011-10-04 Andreas Schwab <schwab@redhat.com>
27090
27091 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27092 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27093 pass it down.
27094 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27095 elf_machine_rela, elf_machine_lazy_rel.
27096 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27097 (ELF_DYNAMIC_DO_REL): Likewise.
27098 (ELF_DYNAMIC_DO_RELA): Likewise.
27099 (ELF_DYNAMIC_RELOCATE): Likewise.
27100 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27101 to ELF_DYNAMIC_DO_REL.
27102 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27103 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27104 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27105 elf_machine_rela.
27106 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27107 skip_ifunc, don't call ifunc function if non-zero.
27108 (elf_machine_rela): Likewise.
27109 (elf_machine_lazy_rel): Likewise.
27110 (elf_machine_lazy_rela): Likewise.
27111 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27112 (elf_machine_lazy_rel): Likewise.
27113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27114 Likewise.
27115 (elf_machine_lazy_rel): Likewise.
27116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27117 Likewise.
27118 (elf_machine_lazy_rel): Likewise.
27119 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27120 (elf_machine_lazy_rel): Likewise.
27121 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27122 (elf_machine_lazy_rel): Likewise.
27123 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27124 (elf_machine_lazy_rel): Likewise.
27125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27126 (elf_machine_lazy_rel): Likewise.
27127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27128 (elf_machine_lazy_rel): Likewise.
27129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27130 (elf_machine_lazy_rel): Likewise.
27131
68577918
UD
271322011-09-28 Ulrich Drepper <drepper@gmail.com>
27133
27134 * nss/nss_files/files-init.c (_nss_files_init): Use static
27135 initialization for all the *_traced_file variables.
27136
68822d74
AS
271372011-09-28 Andreas Schwab <schwab@redhat.com>
27138
27139 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27140
2056100b
RM
271412011-09-27 Roland McGrath <roland@hack.frob.com>
27142
27143 [BZ #13226]
27144 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27145
32c76b63
AS
271462011-09-27 Andreas Schwab <schwab@redhat.com>
27147
27148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27149 Reread the line before reparsing it.
27150
bf972c9d
AS
271512011-09-26 Andreas Schwab <schwab@redhat.com>
27152
27153 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27154
e057a1b5
JM
271552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27156 Maxim Kuvyrkov <maxim@codesourcery.com>
27157 Joseph Myers <joseph@codesourcery.com>
27158
27159 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27160 if needed for __stack_chk_guard.
27161
bc7e1c36
RM
271622011-09-19 Roland McGrath <roland@hack.frob.com>
27163
ecb1482f
RM
27164 * sysdeps/posix/spawni.c (script_execute): Always define it.
27165 It will be optimized away if unused.
27166 (maybe_script_execute): New function.
27167 (__spawni): Call it.
27168
bc7e1c36
RM
27169 * Makerules: Don't include tls.make.
27170 (config-tls): Always set to thread.
27171 * tls.make.c: File removed.
27172
1c3b002b
MF
271732011-09-19 Mike Frysinger <vapier@gentoo.org>
27174
27175 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27176 * config.make.in (CPPFLAGS-config): New substituted variable.
27177
2840865d
UD
271782011-09-15 Ulrich Drepper <drepper@gmail.com>
27179
88738eb6
UD
27180 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27181
cbf645a6 27182 [BZ #13192]
2840865d
UD
27183 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27184 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27185
b402e91a
RM
271862011-09-15 Roland McGrath <roland@hack.frob.com>
27187
27188 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27189 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27191 (CALL_FAIL): Likewise.
27192 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27193 (CALL_FAIL): Macro removed.
27194 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27195
4c1a1f71
UD
271962011-09-15 Ulrich Drepper <drepper@gmail.com>
27197
27198 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27199 for __FINITE_MATH_ONLY__ == 1.
27200
edc121be
AS
272012011-09-15 Andreas Schwab <schwab@redhat.com>
27202
27203 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27204 __ieee754_sqrt instead of sqrt.
27205 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27206 __ieee754_sqrtf instead of sqrtf.
27207 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27208 __floorf instead of floorf.
27209 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27210 __floorf, __truncf instead of floorf, truncf.
27211
cd205654
UD
272122011-09-14 Ulrich Drepper <drepper@gmail.com>
27213
ee4d0315
UD
27214 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27215
cd205654
UD
27216 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27217 __extern_always_inline.
27218 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27219 32-bit.
27220
48b67d71
AS
272212011-09-14 Andreas Schwab <schwab@redhat.com>
27222
27223 * elf/rtld.c (dl_main): Also relocate in dependency order when
27224 doing symbol dependency testing.
27225
1ae12c75
AS
272262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27227
27228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27229 Always define `refsym'.
27230
995a80df
AS
272312011-09-13 Andreas Schwab <schwab@redhat.com>
27232
e529793b
AS
27233 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27234 (__FD_ELT): Renamed from __FDELT.
27235 * misc/bits/select2.h (__FD_ELT): Likewise.
27236 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27237 __FD_MASK instead of __FDELT, __FDMASK.
27238 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27239 Likewise.
27240 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27241 Likewise.
27242
52d4fef8
AS
27243 * elf/Makefile (gen-ldd): Fix pattern.
27244
995a80df
AS
27245 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27246 (init_tls): Likewise.
27247
8682f8b0
UD
272482011-09-12 Ulrich Drepper <drepper@gmail.com>
27249
27250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27251
de82006d
AS
272522011-09-12 Andreas Schwab <schwab@redhat.com>
27253
a7c8e6a1
AS
27254 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27255 `struct cmsghdr *' instead of `void *'.
27256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27257 Likewise.
27258
0f31fe77
AS
272592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27260
27261 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27262 if non-absolute.
27263 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27264 ldd_rewrite_script.
0f31fe77 27265
32b4c839
UD
272662011-09-11 Ulrich Drepper <drepper@gmail.com>
27267
83cd1420
UD
27268 * configure.in: Remove --with-tls option.
27269 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27270 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27271 out in case it is missing.
27272 * sysdeps/ia64/elf/configure.in: Likewise.
27273 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27274 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27275 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27276 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27277 * sysdeps/sh/elf/configure.in: Likewise.
27278 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27279 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27280 * sysdeps/x86_64/elf/configure.in: Likewise.
27281 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27282 * sysdeps/mach/hurd/tls.h: Likewise.
27283
633f745d
UD
27284 [BZ #13067]
27285 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27286
f318beb8
UD
27287 [BZ #13090]
27288 * configure.in: Fix use of AC_INIT.
27289
32b4c839
UD
27290 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27291
3ce1f295
UD
272922011-09-10 Ulrich Drepper <drepper@gmail.com>
27293
bb016596
UD
27294 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27295 __set_errno.
8e58439c
UD
27296 * malloc/hooks.c: Likewise.
27297
aebae053 27298 [BZ #11929]
02d46fc4
UD
27299 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27300 variables statically.
27301 (narenas): Initialize.
27302 (list_lock): Initialize.
bb016596
UD
27303 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27304 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27305 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27306 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27307 Add initializers to main_arena and mp_.
27308 (malloc_state): Remove pagesize member. Change all users to use
27309 GLRO(dl_pagesize).
27310
27311 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27312 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27313 is always initialized.
27314
22a89187
UD
27315 * malloc/malloc.c: Removed unused configurations and dead code.
27316 * malloc/arena.c: Likewise.
27317 * malloc/hooks.c: Likewise.
02d46fc4 27318 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27319
d063d164
UD
27320 * include/tls.h: Removed. USE___THREAD must always be defined.
27321 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27322 * elf/dl-libc.c: Likewise.
27323 * elf/dl-tsd.c: Likewise.
27324 * include/errno.h: Likewise.
27325 * include/netdb.h: Likewise.
27326 * include/resolv.h: Likewise.
27327 * inet/herrno-loc.c: Likewise.
27328 * inet/herrno.c: Likewise.
27329 * malloc/arena.c: Likewise.
27330 * malloc/hooks.c: Likewise.
27331 * malloc/malloc.c: Likewise.
27332 * resolv/res-state.c: Likewise.
27333 * resolv/res_libc.c: Likewise.
27334 * sysdeps/i386/dl-machine.h: Likewise.
27335 * sysdeps/ia64/dl-machine.h: Likewise.
27336 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27337 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27338 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27339 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27340 * sysdeps/sh/dl-machine.h: Likewise.
27341 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27342 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27343 * sysdeps/unix/i386/sysdep.S: Likewise.
27344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27345 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27350 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27354 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27355 * sysdeps/x86_64/dl-machine.h: Likewise.
27356 * tls.make.c: Likewise.
27357
3ce1f295
UD
27358 * configure.in: Remove --with-__thread option. Make tests for
27359 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27360 tls_model attribute fail if no support is available. Remove
27361 USE_IN_LIBIO.
27362 * Makeconfig: Adjust for dropped configure option. All features are
27363 now mandatory.
27364 * Makerules: Likewise.
27365 * Versions.def: Likewise.
27366 * argp/argp-fmtstream.c: Likewise.
27367 * argp/argp-fmtstream.h: Likewise.
27368 * argp/argp-help.c: Likewise.
27369 * assert/assert.c: Likewise.
27370 * config.h.in: Likewise.
27371 * config.make.in: Likewise.
27372 * configure: Likewise.
27373 * configure.in: Likewise.
27374 * csu/Versions: Likewise.
27375 * csu/init.c: Likewise.
27376 * elf/tst-audit2.c: Likewise.
27377 * elf/tst-tls10.c: Likewise.
27378 * elf/tst-tls10.h: Likewise.
27379 * elf/tst-tls11.c: Likewise.
27380 * elf/tst-tls12.c: Likewise.
27381 * elf/tst-tls14.c: Likewise.
27382 * elf/tst-tlsmod11.c: Likewise.
27383 * elf/tst-tlsmod12.c: Likewise.
27384 * elf/tst-tlsmod13.c: Likewise.
27385 * elf/tst-tlsmod13a.c: Likewise.
27386 * elf/tst-tlsmod14a.c: Likewise.
27387 * elf/tst-tlsmod15b.c: Likewise.
27388 * elf/tst-tlsmod16a.c: Likewise.
27389 * elf/tst-tlsmod16b.c: Likewise.
27390 * elf/tst-tlsmod7.c: Likewise.
27391 * elf/tst-tlsmod8.c: Likewise.
27392 * elf/tst-tlsmod9.c: Likewise.
27393 * gmon/gmon.c: Likewise.
27394 * grp/fgetgrent_r.c: Likewise.
27395 * grp/putgrent.c: Likewise.
27396 * hurd/fopenport.c: Likewise.
27397 * include/libc-symbols.h: Likewise.
27398 * include/tls.h: Likewise.
27399 * intl/gettextP.h: Likewise.
27400 * intl/loadinfo.h: Likewise.
27401 * locale/global-locale.c: Likewise.
27402 * locale/localeinfo.h: Likewise.
27403 * mach/devstream.c: Likewise.
27404 * malloc/arena.c: Likewise.
27405 * malloc/set-freeres.c: Likewise.
27406 * misc/err.c: Likewise.
27407 * misc/getttyent.c: Likewise.
27408 * misc/mntent_r.c: Likewise.
27409 * posix/getopt.c: Likewise.
27410 * posix/wordexp.c: Likewise.
27411 * pwd/fgetpwent_r.c: Likewise.
27412 * resolv/Versions: Likewise.
27413 * resolv/res_hconf.c: Likewise.
27414 * shadow/fgetspent_r.c: Likewise.
27415 * shadow/putspent.c: Likewise.
27416 * stdio-common/printf_fphex.c: Likewise.
27417 * stdio-common/tmpfile.c: Likewise.
27418 * stdlib/abort.c: Likewise.
27419 * stdlib/fmtmsg.c: Likewise.
27420 * sunrpc/auth_unix.c: Likewise.
27421 * sunrpc/clnt_perr.c: Likewise.
27422 * sunrpc/clnt_tcp.c: Likewise.
27423 * sunrpc/clnt_udp.c: Likewise.
27424 * sunrpc/clnt_unix.c: Likewise.
27425 * sunrpc/openchild.c: Likewise.
27426 * sunrpc/svc_simple.c: Likewise.
27427 * sunrpc/svc_tcp.c: Likewise.
27428 * sunrpc/svc_udp.c: Likewise.
27429 * sunrpc/svc_unix.c: Likewise.
27430 * sunrpc/xdr.c: Likewise.
27431 * sunrpc/xdr_array.c: Likewise.
27432 * sunrpc/xdr_rec.c: Likewise.
27433 * sunrpc/xdr_ref.c: Likewise.
27434 * sunrpc/xdr_stdio.c: Likewise.
27435
1248c1c4
PB
274362011-09-09 Ulrich Drepper <drepper@gmail.com>
27437
27438 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27439
274402011-07-03 Andreas Jaeger <aj@suse.de>
27441
27442 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27443 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27444 regenerate with gen-libm-tests.pl.
27445
274462010-05-12 Petr Baudis <pasky@suse.cz>
27447
27448 [BZ #11589]
27449 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27450 around j0() zero points by switching to j1().
27451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27455
f22e1074
UD
274562011-09-09 Ulrich Drepper <drepper@gmail.com>
27457
f19009c1
UD
27458 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27459 instead of 0.
27460 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27461 instead of 0.
f19009c1
UD
27462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27463 Patch in part by Pavel Roskin <proski@gnu.org>.
27464
3f8cc204
UD
27465 [BZ #13138]
27466 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27467 realloc.
27468 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27469 Free memory block if necessary.
27470
f22e1074
UD
27471 [BZ #12847]
27472 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27473 be NULL. Don't lock in this case.
27474
0a2349f9
RM
274752011-09-09 Roland McGrath <roland@hack.frob.com>
27476
27477 * elf/elf.h (ELFOSABI_GNU): New macro.
27478 (ELFOSABI_LINUX): Define to that.
27479
f3cdd467
DZ
274802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27481
27482 * string/strncat.c (strncat): Undef the symbol in case it has been
27483 defined in bits/string.h.
27484
74718d13
UD
274852011-09-09 Ulrich Drepper <drepper@gmail.com>
27486
633e9e0f
UD
27487 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27488
0a2349f9 27489 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27490 link map.
27491
f9924780
AJ
274922011-08-17 Andreas Jaeger <aj@suse.de>
27493
27494 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27495
7f5517aa
PP
274962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27497 Ian Lance Taylor <iant@google.com>
27498
27499 * math/libm-test.inc (lround_test): New testcase.
27500 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27501
762011fe
UD
275022011-09-08 Ulrich Drepper <drepper@gmail.com>
27503
92963737
UD
27504 * Makefile: Remove support for automatic cvs check-ins.
27505 * Makerules: Likewise.
27506 * config.make.in: Likewise.
27507 * configure.in: Likewise.
27508 * intl/Makefile: Likewise.
27509 * locale/Makefile: Likewise.
27510 * po/Makefile: Likewise.
27511 * posix/Makefile: Likewise.
27512 * sysdeps/gnu/Makefile: Likewise.
27513 * sysdeps/mach/hurd/Makefile: Likewise.
27514 * sysdeps/sparc/sparc32/Makefile: Likewise.
27515
b0727fd8
JS
27516 [BZ #13118]
27517 * posix/Makefile (bug-regex32-ENV): Define.
27518 Patch by John Stanley <jpsinthemix@verizon.net>.
27519
a0f33f99
UD
27520 * misc/Makefile (headers): Add bits/select2.h.
27521 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27522 * misc/bits/select2.h: New file.
27523 * include/bits/select2.h: New file.
27524 * debug/Makefile (routines): Add fdelt_chk.
27525 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27526 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27527 FD_ISSET.
27528 * debug/fdelt_chk.c: New file.
27529
762011fe
UD
27530 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27531 * wcsmbs/test-wmemcmp.c: Likewise.
27532 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27533 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27534
275352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27536
27537 * string/Makefile (strop-tests): Add memcmp.
27538 * string/test-wmemcmp.c: New file.
27539 * string/test-memcmp.c: Add wmemcmp support.
27540
7f513ec8
RM
275412011-09-08 Roland McGrath <roland@hack.frob.com>
27542
0442afb4
RM
27543 [BZ #13153]
27544 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27545 2011-07-19 change.
27546
7f513ec8
RM
27547 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27548 garbage value in a __mach_port_mod_refs call in the cases of the
27549 task-self and thread-self ports.
27550
a12b2239
ST
275512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27552
27553 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27554
610f9ab4
AS
275552011-09-08 Andreas Schwab <schwab@redhat.com>
27556
7f513ec8 27557 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27558
48882a1a
LD
275592011-09-07 Ulrich Drepper <drepper@gmail.com>
27560
b49865be
UD
27561 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27562
fdc86bc9
UD
27563 * elf/dl-libc.c (dlerror_run): Pass back error code from
27564 dl_catch_error.
27565
c966526a
UD
27566 [BZ #13123]
27567 * elf/dl-load.c (lose): Free l_origin if it is valid.
27568
48882a1a
LD
27569 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27570 names.
27571 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27574 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27575 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27576 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27577
77a2a8b4
AZ
275782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27579
27580 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27581 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27582 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27583 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27584 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27585 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27586 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27587 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27588 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27589 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27590
24f579d8
AM
275912011-08-15 Alan Modra <amodra@gmail.com>
27592
27593 [BZ #13092]
27594 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27595 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27596 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27597 ppc_mcount to static-only-routines.
27598 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27599 __mcount_internal.
27600 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27601 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27602
3d4837df
UD
276032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27604
27605 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27606 for finite and infinity parameters.
27607
22700377
WS
276082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27609
27610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27611 and add nop instructions for throughput optimization.
27612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27613
5025581e
WS
276142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27615
27616 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27617 aligned copy for power7 with vector-scalar instructions.
27618 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27619
08a300c9
L
276202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27621
27622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27623 AVX check.
27624
59178ef9
AS
276252011-09-07 Andreas Schwab <schwab@redhat.com>
27626
27627 [BZ #13144]
27628 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27629 last change.
27630
e38ba7ab
UD
276312011-09-07 Ulrich Drepper <drepper@gmail.com>
27632
27633 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27634 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27635 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27636 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27637 clock_gettime.
27638
d53a73ac
UD
276392011-09-06 Ulrich Drepper <drepper@gmail.com>
27640
fc8bffcc
UD
27641 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27642 Forgot to demangle the pointer.
27643
ceaa0c5d
UD
27644 * sysdeps/i386/sysdep.h: Define atom_text_section.
27645 * sysdeps/x86_64/sysdep.h: Likewise.
27646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27647 section with atom_text_section.
27648 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27649 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27650 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27652 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27653
a77d3c17
UD
27654 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27656 already be defined. Change to take two parameters and don't assign
27657 result to variable. Adjust all users.
27658 Define INTERNAL_GETTIME if not already defined.
27659 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27660 call.
27661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27662 HAVE_CLOCK_GETTIME_VSYSCALL.
27663 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27664
d53a73ac
UD
27665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27666 gettimeofday vsyscall, just use time.
27667
a8f84144
AS
276682011-09-06 Andreas Schwab <schwab@redhat.com>
27669
27670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27671 <errno.h>.
27672
ef606249
UD
276732011-09-06 Ulrich Drepper <drepper@gmail.com>
27674
27675 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27676 syscall on x86-64.
27677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27678 syscall.
27679 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27680 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27681 syscall if possible.
27682
6585cb60
UD
276832011-09-05 Ulrich Drepper <drepper@gmail.com>
27684
27685 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27686 e_ident. Don't pass to find_mapsXX.
27687 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27688
a5f524e4
LD
276892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27690
27691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27692 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27693 * sysdeps/x86_64/multiarch/strchr.S: Update.
27694 Check bit_slow_BSF bit.
27695 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27698
554881ef
UD
276992011-09-05 Ulrich Drepper <drepper@gmail.com>
27700
d96de963
UD
27701 [BZ #13134]
27702 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27703 before glibc 2.15.
27704 (tryshell): Define.
27705 (__spawni): Change last parameter to be flag. Test
27706 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27707 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27708 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27709 * posix/spawni.c: Likewise.
27710 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27711 * posix/spawnp.c: Likewise. Change normal version to use
27712 SPAWN_XFLAGS_USE_PATH.
27713 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27714 SPAWN_XFLAGS_TRY_SHELL.
27715
d48e5868
UD
27716 [BZ #13150]
27717 * posix/glob.h: Remove gcc 1.x support.
27718
554881ef
UD
27719 [BZ #13068]
27720 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27721
693fb948
LD
277222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27723
27724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27725 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27726 strrchr-sse2-bsf
27727 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27728 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27729 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27731 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27732 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27733
1b48c537
UD
277342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27735
49d42c37
UD
27736 * sysdeps/x86_64/wcscmp.S: New file.
27737
1b48c537
UD
27738 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27739 wcscmp-c wcscmp-sse2
27740 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27741 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27742 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27743 * wcsmbs/wcscmp.c: Allow renaming.
27744
15c95c5d
DM
277452011-09-05 David S. Miller <davem@davemloft.net>
27746
27747 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27748 stack slot, rather than the struct return pointer slot.
27749 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27750 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27752 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27753
2f0ad8f3
UD
277542011-09-05 Ulrich Drepper <drepper@gmail.com>
27755
d88ae418
UD
27756 * po/ja.po: Update from translation team.
27757
2f0ad8f3
UD
27758 [BZ #13144]
27759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27760 kernel in 64-bit binaries.
27761
5f4318d1
DM
277622011-09-01 David S. Miller <davem@davemloft.net>
27763
27764 * elf/elf.h (HWCAP_SPARC_*): Move to..
27765 * sysdeps/sparc/sysdep.h: this new file and add new values.
27766 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27767 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27768 _DL_HWCAP_COUNT to 24.
27769 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27770 entries.
27771 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27772 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27773 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27775 instead of magic constants.
27776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27777
3ba57516
DM
277782011-08-31 David S. Miller <davem@davemloft.net>
27779
27780 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27782 Reimplement to do errno handling inline.
27783 (SYSCALL_ERROR_HANDLER): New macro.
27784 (__SYSCALL_STRING): Do not do errno handling in asm.
27785 (__CLONE_SYSCALL_STRING): Delete.
27786 (__INTERNAL_SYSCALL_STRING): Delete.
27787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27788 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27789 (PSEUDO): Reimplement to do errno handling inline.
27790 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27791 (SYSCALL_ERROR_HANDLER): New macro.
27792 (__SYSCALL_STRING): Do not do errno handling in asm.
27793 (__CLONE_SYSCALL_STRING): Delete.
27794 (__INTERNAL_SYSCALL_STRING): Delete.
27795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27796 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27797 i386.
27798 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27799 (inline_syscall*): Add 'err' argument.
27800 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27801 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27802 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27803 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27804
27805 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27806 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27807
2bc17433
AS
278082011-08-30 Andreas Schwab <schwab@redhat.com>
27809
27810 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27811
fbeb5f4d
JO
278122011-08-29 Jiri Olsa <jolsa@redhat.com>
27813
27814 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27815 directive.
27816
ad69cc26
DM
278172011-08-24 David S. Miller <davem@davemloft.net>
27818
27819 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27820
39dd69df
AS
278212011-08-24 Andreas Schwab <schwab@redhat.com>
27822
27823 * elf/Makefile: Add rules to build and run unload8 test.
27824 * elf/unload8.c: New file.
27825 * elf/unload8mod1.c: New file.
27826 * elf/unload8mod1x.c: New file.
27827 * elf/unload8mod2.c: New file.
27828 * elf/unload8mod3.c: New file.
27829
27830 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27831 it wasn't used.
27832
2c0b250a
DM
278332011-08-23 David S. Miller <davem@davemloft.net>
27834
27835 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27836 subtract stack bias.
27837 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27838 %sp not %fp in calculations.
27839 (_JMPBUF_UNWINDS_ADJ): Likewise.
27840
22044b48
DM
27841 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27842 (aio_suspend): Call it to force an exception region around the
27843 AIO_MISC_WAIT() invocation.
27844
2cae4995
AS
278452011-08-23 Andreas Schwab <schwab@redhat.com>
27846
27847 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27848 backslash.
27849
873a772e
AJ
278502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27851
27852 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27853 protection macro.
27854 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27855 and <dl-machine.h>.
27856 (Elf64_FuncDesc): Remove.
27857
25ad0df1
DM
278582011-08-22 David S. Miller <davem@davemloft.net>
27859
27860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27861 sigaltstack check, add missing cfi directives.
27862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27863 missing cfi directives, and sigaltstack handling.
27864
e888bcbe
AS
278652011-08-16 Andreas Schwab <schwab@redhat.com>
27866
27867 [BZ #11724]
27868 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27869 object is seen twice.
27870 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27871
27872 * elf/Makefile (distribute): Add tst-initorder2.c.
27873 (tests): Add tst-initorder2.
27874 (modules-names): Add tst-initorder2a tst-initorder2b
27875 tst-initorder2c tst-initorder2d. Add rules to build them.
27876 ($(objpfx)tst-initorder2.out): New rule.
27877 * elf/tst-initorder2.c: New file.
27878 * elf/tst-initorder2.exp: New file.
27879
87162f46
AS
278802011-08-22 Andreas Schwab <schwab@redhat.com>
27881
70538b7f
AS
27882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27883
f55ffe58
AS
27884 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27885 dependencies back to end of function.
27886
87162f46
AS
27887 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27888 $(elfobjdir)/ld.so.
27889
91b392a4
UD
278902011-08-21 Ulrich Drepper <drepper@gmail.com>
27891
27892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27893 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27895 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27896 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27897 of __vdso_gettimeofday.
27898 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27899 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27900 attribute_hidden.
27901 (_libc_vdso_platform_setup): Remove initialization of
27902 __vdso_gettimeofday and __vdso_time.
27903
5c43483f
UD
279042011-08-20 Ulrich Drepper <drepper@gmail.com>
27905
775a77e7
UD
27906 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27907 and fgetc_unlocked.
27908 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27909 getc_unlocked.
89f447ed 27910
49c74ba9
UD
27911 * elf/dl-open.c (add_to_global): Report additions to the global scope
27912 for LD_DEBUG=scopes.
27913 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27914 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27915
5c43483f
UD
27916 [BZ #13114]
27917 * stdio-common/Makefile (tests): Add bug24.
27918 * stdio-common/bug24.c: New file.
27919
a101b025
AJ
279202011-08-19 Andreas Jaeger <aj@suse.de>
27921
27922 [BZ #13114]
27923 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27924 non-existant file when using close-on-exec mode.
27925
c88f1766
UD
279262011-08-20 Ulrich Drepper <drepper@gmail.com>
27927
0276a718
UD
27928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27929 the very first instruction.
27930
c88f1766
UD
27931 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27932 the CFI state in the end.
27933 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27934 inclusion of dl-trampoline.h.
27935 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27936
51ccffa0
AS
279372011-08-19 Andreas Schwab <schwab@redhat.com>
27938
94d7165f
AS
27939 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27940 expectations for long double.
27941
51ccffa0
AS
27942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27943 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27944
fd708658 279452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27946
27947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27948 artificual limit depends upon the system page size.
27949
44f0a71e
UD
279502011-08-17 Ulrich Drepper <drepper@gmail.com>
27951
27952 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27953 * resolv/Makefile: Define CFLAGS-libresolv.
27954
8de79a24
AS
279552011-08-17 Andreas Schwab <schwab@redhat.com>
27956
27957 * nss/makedb.c (compute_tables): Make variables used in nested
27958 function static.
27959
27724598
UD
279602011-08-17 Ulrich Drepper <drepper@gmail.com>
27961
c5305d88
UD
27962 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27963 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27964 if buffer was too small.
27965
27724598
UD
27966 * elf/pldd.c (main): Attach to all threads in the process.
27967 Rewrite /proc handling to use *at functions.
27968
076fe015
UD
279692011-08-16 Ulrich Drepper <drepper@gmail.com>
27970
174baab3
UD
27971 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27972 specifies first scope to show.
27973 (dl_open_worker): Update callers. Move printing scope of new
27974 object to before the relocation.
44f0a71e 27975 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27976 * sysdeps/generic/ldsodefs.h: Update declaration.
27977
076fe015
UD
27978 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27979 string for the scope number.
27980
a60df2c3
UD
279812011-08-14 Ulrich Drepper <drepper@gmail.com>
27982
27983 * nscd/servicescache.c (cache_addserv): Make sure written is always
27984 initialized.
27985
5e4287d1
RM
279862011-08-14 Roland McGrath <roland@hack.frob.com>
27987
85ae0589
RM
27988 * sysdeps/i386/i486/bits/atomic.h
27989 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27990 statement expression, so as to suppress "set but not used" warning.
27991 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27992
69f63097
RM
27993 * string/strncat.c (STRNCAT): Use prototype definition.
27994
675456ef
RM
27995 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27996 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27997 -Iprograms here.
27998 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27999 (localedef-modules): Add localedef.
28000 (locale-modules): Add locale.
28001
5e4287d1
RM
28002 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28003 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28004 to avoid a warning.
28005
9c96ff23
DM
280062011-08-14 David S. Miller <davem@davemloft.net>
28007
28008 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28009 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28010
f9ddf089
UD
280112011-08-13 Ulrich Drepper <drepper@gmail.com>
28012
44f0a71e 28013 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28014 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28015 * elf/rtld.c (dl_main): Set l_name of vDSO.
28016 Call _dl_show_scope when DL_DEBUG_SCOPES.
28017 (process_dl_debug): Recognize scopes flag and also set it for all.
28018 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28019 Declare _dl_show_scope.
28020
1dc27704
UD
28021 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28022 (do_dlopen): Pass caller_dlopen to dl_open.
28023 (__libc_dlopen_mode): Initialize caller_dlopen.
28024
f9ddf089
UD
28025 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28026 of libc. Make tolower call locale-independent. Optimize a bit by
28027 using isdigit instead of isalnum.
28028 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28029
9ac533d3
UD
280302011-08-12 Ulrich Drepper <drepper@gmail.com>
28031
28032 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28033 was a dependency or dynamically loaded.
28034
89edf2e9
UD
280352011-08-11 Ulrich Drepper <drepper@gmail.com>
28036
8e999d29
UD
28037 * intl/l10nflist.c: Allow architecture-specific pop function.
28038 * sysdeps/x86_64/l10nflist.c: New file.
28039
89edf2e9
UD
28040 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28041 classification.
28042
14d96785
AS
280432011-08-10 Andreas Schwab <schwab@redhat.com>
28044
28045 * include/dirent.h: Add libc_hidden_proto for scandirat and
28046 scandirat64. Don't declare __scandirat64.
28047 * dirent/scandirat.c: Add libc_hidden_def.
28048 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28049 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28050
6761ac04
DM
280512011-08-10 David S. Miller <davem@davemloft.net>
28052
28053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28054 enum.
28055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28057 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28058
c55fbd1e
UD
280592011-08-09 Ulrich Drepper <drepper@gmail.com>
28060
28061 * Versions.def [libc]: Add GLIBC_2.15.
28062 * dirent/Makefile (routines): Add scandirat and scandirat64.
28063 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28064 GLIBC_2.15.
28065 * dirent/dirent.h: Declare scandirat and scandirat64.
28066 * dirent/scandirat.c: New file.
28067 * dirent/scandirat64.c: New file.
28068 * sysdeps/wordsize-64/scandirat.c: New file.
28069 * sysdeps/wordsize-64/scandirat64.c: New file.
28070 * dirent/opendir.c: Define opendirat.
28071 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28072 using scandirat.
28073 * dirent/scandir64.c: Adjust for scandir.c change.
28074 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28075 __scandirat64, and __scandir_cancel_handler.
28076 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28077 additional parameter and use openat instead of open (outside of ld.so).
28078 Add new __opendir as wrapper around __opendirat.
28079 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28080 here without requiring old scandirat implementation.
28081
879165f2
UD
280822011-08-08 Ulrich Drepper <drepper@gmail.com>
28083
28084 * dirent/scandir.c (cancel_handler): Renamed to
28085 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28086 defined. Adjust users.
28087 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28089
cb7e923b
UD
280902011-08-04 Ulrich Drepper <drepper@gmail.com>
28091
16292edd
UD
28092 * string/test-string.h (IMPL): Use __STRING to expand name and then
28093 stringify it.
28094
cb7e923b
UD
28095 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28096 of cleanups.
28097
cff82933
LD
280982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28099
28100 * string/Makefile: Update.
28101 (strop-tests): Append strncat.
28102 * string/test-wcscmp.c: New file.
28103 New comprehensive test for wcscmp.
28104 * string/test-strcmp.c: Update.
28105 (WIDE): New define.
28106
9be9bfcc
AS
281072011-07-22 Andreas Schwab <schwab@redhat.com>
28108
28109 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28110 line.
28111
2e96f1c7
AS
281122011-07-26 Andreas Schwab <schwab@redhat.com>
28113
28114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28115 encoding to ACE if AI_IDN.
28116
85188888
JJ
281172011-08-01 Jakub Jelinek <jakub@redhat.com>
28118
28119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28120 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28121
5fa16e9b
LD
281222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28123
28124 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28125 Fix overflow bug in strncat.
28126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28127
28128 * string/test-strncat.c: Update.
28129 Add new tests for checking overflow bugs.
28130
281312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28132
28133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28134 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28135 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28136 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28138 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28139 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28140 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28141 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28142
28143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28144 (USE_AS_STRCAT): Define.
28145 Add strcat and strncat support.
28146 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28147
8c1a459f
AS
281482011-07-25 Andreas Schwab <schwab@redhat.com>
28149
28150 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28151 __n bigger than INT_MAX+1.
28152 (__strncmp_g): Likewise.
28153
bba33c28
UD
281542011-07-23 Ulrich Drepper <drepper@gmail.com>
28155
798be72d
UD
28156 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28157 * libio/stido.h: Likewise.
28158
8accd4dc
UD
28159 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28160 (AF_NFC): Define.
28161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28162 (AF_NFC): Define.
28163
cbff0d96
UD
28164 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28167 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28169
9191c04a
UD
28170 [BZ #13021]
28171 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28172 installed.
28173
bba33c28
UD
28174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28175 typo.
28176 (_dl_x86_64_save_sse): Likewise.
28177
90f139dd
UD
281782011-07-22 Ulrich Drepper <drepper@gmail.com>
28179
1aae088a
UD
28180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28181 OSXSAVE.
28182 (_dl_x86_64_save_sse): Likewise.
28183
8e2045f5
UD
28184 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28185
90f139dd
UD
28186 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28187
1d002f25
AS
281882011-07-21 Andreas Schwab <schwab@redhat.com>
28189
28190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28191 change.
28192 (_dl_x86_64_save_sse): Use correct AVX check.
28193
21137f89
UD
281942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28195
28196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28197 bug in strncpy/strncat.
28198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28199
a65c0b7a
UD
282002011-07-21 Ulrich Drepper <drepper@gmail.com>
28201
28202 * string/tester.c (test_strcat): Add tests for different alignments
28203 of source and destination.
28204 (test_strncat): Likewise.
28205
6986b98a
UD
282062011-07-20 Ulrich Drepper <drepper@gmail.com>
28207
90bb2039
UD
28208 [BZ #12852]
28209 * posix/glob.c (glob): Check passed in values before using them in
28210 expressions to avoid some overflows.
28211 (glob_in_dir): Likewise.
28212
5644ef54
UD
28213 [BZ #13007]
28214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28215 check for AVX enablement so that we don't crash with old kernels and
28216 new hardware.
28217 * elf/tst-audit4.c: Add same checks here.
28218 * elf/tst-audit6.c: Likewise.
28219
28220 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28221
bfc9dc9b
AS
282222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28223
28224 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28225
702e64bb
UD
282262011-07-20 Ulrich Drepper <drepper@gmail.com>
28227
28228 * po/cs.po: Update from translation team.
28229 * po/bg.po: Likewise.
28230
295e904f
MP
282312011-07-12 Marek Polacek <mpolacek@redhat.com>
28232
28233 * misc/sys/cdefs.h: Add support for const attribute.
28234 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28235 to gnu_dev_{major,minor,makedev} functions.
28236
3ff94596
MP
282372011-07-20 Marek Polacek <mpolacek@redhat.com>
28238
28239 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28240
28b59fca
AS
282412011-07-20 Andreas Schwab <schwab@redhat.com>
28242
28243 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28244 strlen results.
28245
19df733e
AK
282462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28247
28248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28249 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28250 register in order to avoid conflicts with the soft frame pointer
28251 being held in r11 when necessary.
28252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28253 (INTERNAL_VSYSCALL_NCS): Likewise.
28254
c8835729
MP
282552011-07-14 Marek Polacek <mpolacek@redhat.com>
28256
28257 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28258 * elf/dl-fini.c (_dl_fini): Adjust caller.
28259 * elf/dl-close.c (_dl_close_worker): Likewise.
28260 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28261
b902330c
MP
282622011-07-15 Marek Polacek <mpolacek@redhat.com>
28263
8991e135
MP
28264 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28265 "aux_cache->nlibs < 0".
28266
b902330c
MP
28267 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28268 in the reload-count case.
28269
99710781
LD
282702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28271
28272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28273 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28274 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28275 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28276 * sysdeps/x86_64/multiarch/strcat.S: New file.
28277 * sysdeps/x86_64/multiarch/strncat.S: New file.
28278 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28279 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28280 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28281 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28283 (USE_AS_STRCAT): Define.
28284 Add strcat and strncat support.
28285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28287 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28288 * string/strncat.c: Update.
28289 (USE_AS_STRNCAT): Define.
28290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28291 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28292 and i7.
28293 * sysdeps/x86_64/multiarch/init-arch.h
28294 (bit_Prefer_PMINUB_for_stringop): New.
28295 (index_Prefer_PMINUB_for_stringop): Likewise.
28296 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28297 bit_Prefer_PMINUB_for_stringop.
28298
7dc6bd90
UD
282992011-07-19 Ulrich Drepper <drepper@gmail.com>
28300
28301 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28302 buffer64.
28303 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28304 of casting of buffer.
28305 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28306 buffer32 and buffer64.
28307 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28308 writes instead of casting of buffer.
28309 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28310 buffer32.
28311 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28312 casting of buffer.
28313
e0e72284
AS
283142011-07-19 Andreas Schwab <schwab@redhat.com>
28315
28316 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28317
feb1eb0b
UD
283182011-07-19 Ulrich Drepper <drepper@gmail.com>
28319
28320 * nscd/nscd.c (termination_handler): Don't do anything for a database
28321 if it has not yet been initialized.
28322
298711ff
UD
283232011-07-18 Ulrich Drepper <drepper@gmail.com>
28324
28325 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28326
283272011-07-15 Marek Polacek <mpolacek@redhat.com>
28328
28329 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28330
f9d68389
UD
283312011-07-18 Ulrich Drepper <drepper@gmail.com>
28332
28333 * po/nl.po: Update from translation team.
28334 * po/sv.po: Likewise.
28335
db290cf5
RM
283362011-07-16 Roland McGrath <roland@hack.frob.com>
28337
28338 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28339 now disallowed by GCC.
5c550700 28340
fd5e21c7
RM
28341 * configure.in (use-default-link): Default to yes if a test -shared
28342 link meets our qualifications.
28343 * configure: Regenerated.
28344
5c550700
RM
28345 * config.make.in (output-format): New variable.
28346 * configure.in: Check for ld --print-output-format support.
28347 * configure: Regenerated.
28348 * Makerules ($(common-objpfx)format.lds)
28349 [$(output-format) != unknown]: Just use $(output-format),
28350 instead of the linker-script munging.
28351
9fa2c032
RM
283522011-07-14 Roland McGrath <roland@hack.frob.com>
28353
a6928d51
RM
28354 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28355 of $(common-objpfx)shlib.lds.
28356 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28357
661607b3
RM
28358 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28359 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28360
9fa2c032
RM
28361 * configure.in (-z relro check): Adjust test code to add a large
28362 writable data section after it.
28363 * configure: Regenerated.
28364
defe9061
RM
283652011-07-11 Roland McGrath <roland@hack.frob.com>
28366
28367 * configure.in (-z relro check): Fix test code to make the variable
28368 truly const.
28369 * configure: Regenerated.
28370
319b9ad4
UD
283712011-07-11 Ulrich Drepper <drepper@gmail.com>
28372
28373 * nscd/nscd.h (struct traced_file): Define.
28374 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28375 elements. Add traced_files.
28376 (inotify_fd): Declare.
28377 (register_traced_file): Declare.
28378 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28379 (inotify_fd): Export.
28380 (resolv_conf_descr): Remove.
28381 (nscd_init): Move inotify descriptor creation to main.
28382 Don't register files for notification here.
28383 (register_traced_file): New function.
28384 (invalidate_cache): Don't use reset_res to determine whether to call
28385 res_init, go through the list of registered files.
28386 (main_loop_poll): The inotify descriptors are now stored in the
28387 structures for the traced files.
28388 (main_loop_epoll): Likewise
28389 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28390 to __nss_disable_nscd.
28391 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28392 for a database anymore. Check the records for all the registered
28393 files instead.
28394 * nss/Makefile (libnss_files-routines): Add files-init.
28395 (libnss_db-routines): Add db-init.
28396 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28397 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28398 * nss/nss_db/db-init.c: New file.
28399 * nss/nss_files/files-init.c: New file.
28400 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28401 __nss_lookup_function.
28402 (__nss_lookup_function): Call nss_load_library.
28403 (nss_load_all_libraries): New function.
28404 (__nss_disable_nscd): Take parameter with callback function for files
28405 to register. Set is_nscd. Load all the DSOs for the NSS modules
28406 used for the cached services.
28407 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28408 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28409 options for features to all the files in nscd.
28410
28411 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28412
23bee3e8
RM
284132011-07-10 Roland McGrath <roland@hack.frob.com>
28414
28415 * csu/elf-init.c (__libc_csu_init): Comment typo.
28416
46a5b7f0
UD
284172011-07-09 Ulrich Drepper <drepper@gmail.com>
28418
28419 * po/pl.po: Update from translation team.
28420 * po/ja.po: Likewise.
28421 * po/ru.po: Likewise.
28422 * po/ko.po: Likewise.
28423 * po/fr.po: Likewise.
28424
d30cf5bb
RM
284252011-07-09 Roland McGrath <roland@hack.frob.com>
28426
113ddea4
RM
28427 * configure.in (.ctors/.dtors header and trailer check):
28428 Use an empirical test on a built program.
28429 * configure: Regenerated.
28430
574920b4
RM
28431 * configure.in (-z relro check): Use an empirical test on a built DSO.
28432 Detect, but do not require, on ia64.
28433 * configure: Regenerated.
28434
d30cf5bb
RM
28435 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28436 Update tests that use readelf to use $READELF instead.
28437 * configure: Regenerated.
28438
8538fdb3
UD
284392011-07-08 Ulrich Drepper <drepper@gmail.com>
28440
28441 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28442 if the result is not used.
28443
04d08991
AJ
284442011-07-05 Andreas Jaeger <aj@suse.de>
28445
28446 [BZ#9696]
28447 * stdlib/tst-strtod.c: Add testcase.
28448
de283087
AD
284492011-07-07 Ulrich Drepper <drepper@gmail.com>
28450
4e5f31c8 28451 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28452 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28453 The latter has a higher limit. Take additional parameter to pass to
28454 the new function.
28455 (__pathconf): Pass file to __statfs_link_max.
28456 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28457 __statfs_link_max.
28458 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28459 __statfs_link_max.
28460
de283087
AD
28461 [BZ #12868]
28462 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28463 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28464 Handle Lustre.
28465 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28466 (__statfs_filesize_max): Likewise.
28467 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28468
c75fa153
AJ
284692011-07-05 Andreas Jaeger <aj@suse.de>
28470
28471 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28472
1a544854
UD
284732011-07-06 Marek Polacek <mpolacek@redhat.com>
28474
28475 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28476 `status' variable.
28477 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28478 Likewise.
28479
6f0eec67
UD
284802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28481
28482 * Makefile (strop-tests): Add strncat.
28483 * string/test-strncat.c: New file.
28484
aae30307
UD
284852011-06-30 Marek Polacek <mpolacek@redhat.com>
28486
28487 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28488
c0cfb5eb
UD
284892011-06-21 Andreas Jaeger <aj@suse.de>
28490
28491 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28492 Copy rule from iconvdata/Makefile.
28493
01636b21
UD
284942011-07-06 Ulrich Drepper <drepper@gmail.com>
28495
28496 [BZ #12922]
28497 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28498 but no long options are defined, just return 'W'.
28499
9895c8bc
UD
285002011-06-22 Marek Polacek <mpolacek@redhat.com>
28501
28502 [BZ #9696]
28503 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28504
5d4cf042
UD
285052011-07-06 Ulrich Drepper <drepper@gmail.com>
28506
28507 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28508 netgroups to read.
960e5535 28509 (innetgr): Likewise.
5d4cf042 28510
751eb97e
RM
285112011-07-05 Roland McGrath <roland@hack.frob.com>
28512
28513 * config.make.in (install_root): Default to $(DESTDIR).
28514
f15f1e45
UD
285152011-07-05 Ulrich Drepper <drepper@gmail.com>
28516
28517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28518
4e34ac6a
RM
285192011-07-02 Roland McGrath <roland@hack.frob.com>
28520
5e9b6af4
RM
28521 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28522
84f9ea0f
RM
28523 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28524 containing directory rather than embedding absolute directory names.
28525
ea5ee9f7
RM
28526 * scripts/check-local-headers.sh: Rewritten using awk.
28527 Match by word, not by line. Print error messages for matches.
28528 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28529
1b74661a
RM
28530 * Makerules [shlib-lds-flags empty]:
28531 ($(common-objpfx)libc_pic.opts): New target.
28532 ($(common-objpfx)libc_pic.os.clean): New target.
28533 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28534
28535 * config.make.in (OBJCOPY): New variable.
28536 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28537 * configure: Regenerated.
28538
f781ef40
RM
28539 * config.make.in (use-default-link): New variable.
28540 * configure.in (use_default_link): Grok --with-default-link to set it.
28541 * configure: Regenerated.
28542 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28543 (shlib-lds, shlib-lds-flags): Define to empty.
28544
2d4fa81e
RM
28545 * Makerules (shlib-lds): New variable.
28546 (shlib-lds-flags): New variable.
28547 (build-shlib, build-moduile, build-module-asneeded): Use it.
28548 ($(common-objpfx)libc.so): Use $(shlib-lds).
28549 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28550 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28551
31fffa6b
RM
28552 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28553 DT_FLAGS/DT_FLAGS_1 with zero flags.
28554
4e34ac6a
RM
28555 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28556 linker script munging.
28557
fcfc776b
UD
285582011-07-02 Ulrich Drepper <drepper@gmail.com>
28559
28560 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28561 as 128-bit value.
28562 * crypt/sha512.c (sha512_process_block): Perform total addition using
28563 128-bit if possible.
28564 (__sha512_finish_ctx): Likewise.
28565 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28566 as 64-bit value.
28567 * crypt/sha256.c (SWAP64): Define.
28568 (sha256_process_block): Perform total addition using 64-bit if
28569 possible.
28570 (__sha256_finish_ctx): Likewise.
28571
99231d9a
UD
285722011-07-01 Ulrich Drepper <drepper@gmail.com>
28573
28574 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28576 * nscd/hstcache.c (cache_addhst): Likewise.
28577 * nscd/grpcache.c (cache_addgr): Likewise.
28578 * nscd/aicache.c (addhstaiX): Likewise
28579 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28580
445b4a53
TK
285812011-07-01 Thorsten Kukuk <kukuk@suse.de>
28582
28583 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28584 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28585 * nscd/hstcache.c (cache_addhst): Likewise.
28586 * nscd/grpcache.c (cache_addgr): Likewise.
28587 * nscd/aicache.c (addhstaiX): Likewise
28588
6d4d8e8e
AS
285892011-07-01 Andreas Schwab <schwab@redhat.com>
28590
28591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28592 domain only when needed.
28593
89f654c5
AS
285942011-06-30 Andreas Schwab <schwab@redhat.com>
28595
28596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28597 is always restored.
28598
cf3b23ff
UD
285992011-06-29 Ulrich Drepper <drepper@gmail.com>
28600
28601 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28602 are re-adding the entry.
28603 * nscd/servicescache.c (cache_addserv): Likewise.
28604
751626f9
AJ
286052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28606
28607 * sysdeps/generic/dl-irel.h: fix protection against multiple
28608 inclusions.
28609 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28610
9113ea1f
UD
286112011-06-28 Ulrich Drepper <drepper@gmail.com>
28612
5c0b8d90
UD
28613 [BZ #12935]
28614 * malloc/memusage.sh: Fix quoting in message.
28615 * debug/xtrace.sh: Likewise.
28616
9113ea1f
UD
28617 * configure.in: Remove support for --experimental-malloc option, make
28618 it the default.
28619 * config.make.in: Likewise.
28620 * malloc/Makefile: Likewise.
28621
a4172181
AS
286222011-06-27 Andreas Schwab <schwab@redhat.com>
28623
28624 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28625 two-byte characters.
28626
78a7eee7
RM
286272011-06-27 Roland McGrath <roland@hack.frob.com>
28628
62bede13
RM
28629 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28630 AC_CACHE_CHECK invocation.
28631 * configure: Regenerated.
28632
78a7eee7
RM
28633 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28634
5ce33a62
UD
286352011-06-27 Ulrich Drepper <drepper@gmail.com>
28636
034807a9
UD
28637 [BZ #12350]
28638 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28639 bit from old_res_options.
28640
4902da17
UD
28641 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28642
5ce33a62
UD
28643 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28644 value type for setfct.
28645
c2344f56
L
286462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28647
28648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28649 __gettimeofday instead of gettimeofday.
28650
68468076
UD
286512011-06-26 Ulrich Drepper <drepper@gmail.com>
28652
28653 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28654
acb0d739
L
286552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28656
28657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28658
28659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28660 info.
28661
8912479f
L
286622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28663
28664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28665 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28666 strcpy-sse2-unaligned strncpy-sse2-unaligned
28667 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28668 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28669 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28670 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28671 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28674 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28675 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28676 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28677 (STRCPY): Support SSE2 and SSSE3 versions.
28678
d5495a11
UD
286792011-06-24 Ulrich Drepper <drepper@gmail.com>
28680
28681 [BZ #12874]
28682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28683 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28684 kernels which artificially limit size of requests.
28685
0b1cbaae
L
286862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28687
28688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28689 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28690 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28691 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28692 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28693 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28694 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28695 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28698 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28699 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28700 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28701 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28702 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28704 Enable unaligned load optimization for Intel Core i3, i5 and i7
28705 processors.
28706 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28707 Define.
28708 (index_Fast_Unaligned_Load): Define.
28709 (HAS_FAST_UNALIGNED_LOAD): Define.
28710
07f494a0
MP
287112011-06-23 Marek Polacek <mpolacek@redhat.com>
28712
28713 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28714
fa3fc0fe
UD
287152011-06-22 Ulrich Drepper <drepper@gmail.com>
28716
28717 [BZ #12907]
28718 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28719 until it is clear that the information is realy needed.
28720 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28721
e12df166
AS
287222011-06-22 Andreas Schwab <schwab@redhat.com>
28723
28724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28725
852eb34d
UD
287262011-06-22 Ulrich Drepper <drepper@gmail.com>
28727
84e2a551
UD
28728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28729 /sys/devices/system/cpu/online if it is usable.
28730
852eb34d
UD
28731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28732 reading the information from the /proc filesystem to once a second.
28733
6e502e19
UD
287342011-06-21 Andreas Jaeger <aj@suse.de>
28735
28736 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28737 NULL after inclusion of kernel headers.
28738
75d39ff2
UD
287392011-06-21 Ulrich Drepper <drepper@gmail.com>
28740
51f9aa6a
UD
28741 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28742 calls to internal_setent.
28743
c0244a9d
UD
28744 [BZ #12885]
28745 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28746 addresses using gethostbyname4_r ignore IPv4 addresses.
28747
c5e3c2ae
UD
28748 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28749 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28750
75d39ff2
UD
28751 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28752
42675c6f
DM
287532011-06-20 David S. Miller <davem@davemloft.net>
28754
28755 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28756 inclusions.
28757 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28758
28759 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28760 (elf_irel): Use it.
28761 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28762 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28763 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28764 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28765 * sysdeps/x86_64/dl-irel.h: Likewise.
28766
28767 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28768 * elf/dl-sym.c: Likewise.
28769
57912a71
UD
287702011-06-15 Ulrich Drepper <drepper@gmail.com>
28771
28772 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28773 need to dereference resplen2.
28774
ee22793d
AS
287752011-06-14 Andreas Schwab <schwab@redhat.com>
28776
28777 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28778
a9e836b0
UD
287792011-06-15 Ulrich Drepper <drepper@gmail.com>
28780
77fb9117
UD
28781 * Makeconfig: Define vardbdir and inst_vardbdir.
28782 * nss/Makefile: Add rules to install db-Makefile.
28783
40c1b22c
UD
28784 * nss/nss_db/db-XXX.c: Cleanup.
28785
9f2da732
UD
28786 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28787 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28788 GLIBC_PRIVATE.
28789 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28790 * nss/makedb.c: Implement -g option to specify that value strings
28791 are generated and should not be added to table iterated over for
28792 get*ent calls.
28793 * nss/nss_db/db-initgroups.c: New file.
28794
82e9a1f7
UD
28795 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28796 interface.
28797
c41af17e
UD
28798 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28799 (internal_getgrouplist): Adjust to name change.
28800 Update use_initgroups_entry if this is not the first call.
28801 * nss/databases.def: Add initgroups entry.
28802
a9e836b0
UD
28803 * nss/makedb.c (compute_tables): Check result of multiple hash table
28804 sizes to minimize maximum chain length.
28805
2666d441
UD
288062011-06-14 Ulrich Drepper <drepper@gmail.com>
28807
28808 * Versions.def: Add entry for libnss_db.
28809 * shlib-versions: Likewise.
28810 * nss/Makefile: Add rules to build libnss_db.
28811 * nss/Versions: Add libnss_db information. Organize libnss_files
28812 entries better.
28813 * nss/db-Makefile: Add gshadow support. Change rules for the new
28814 makedb progra. Some minor improvements to generate smaller files.
28815 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28816 here from...
28817 * nss/makedb.c: ...here.
28818 Improve database format to be smaller and require less memory at
28819 runtime.
28820 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28821 db anymore.
28822 * nss/nss_db/db-netgrp.c: Likewise.
28823 * nss/nss_db/db-open.c: Likewise.
28824 * nss/nss_files/flies-XXX.x: Adjust comments.
28825 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28826 * nss/nss_files/files-grp.c: Likewise.
28827 * nss/nss_files/files-hosts.c: Likewise.
28828 * nss/nss_files/files-network.c: Likewise.
28829 * nss/nss_files/files-proto.c: Likewise.
28830 * nss/nss_files/files-pwd.c: Likewise.
28831 * nss/nss_files/files-rpc.c: Likewise.
28832 * nss/nss_files/files-service.c: Likewise.
28833 * nss/nss_files/files-sgrp.c: Likewise.
28834 * nss/nss_files/files-spwd.c: Likewise.
28835 * nss/nss_db/db-alias.c: Removed.
28836 * nss/nss_db/dummy-db.h: Removed.
28837
9ee76b5a
UD
288382011-06-02 Ulrich Drepper <drepper@gmail.com>
28839
28840 * nss/makedb.c: Rewritten to not use database library.
28841 * nss/Makefile: Update to build new makedb program.
28842
c71ca1f8
AJ
288432011-06-14 Andreas Jaeger <aj@suse.de>
28844
28845 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28846 memset declaration.
28847
3154bfb8
UD
288482011-06-10 Andreas Schwab <schwab@redhat.com>
28849
28850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28851 tmpbuf.
28852
b350afab
RM
288532011-06-10 Roland McGrath <roland@hack.frob.com>
28854
decd4e50
RM
28855 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28856 * elf/Makefile ($(objpfx)ld.so): Likewise.
28857
5615eaf2
RM
28858 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28859 Don't list ld.so twice in dependencies.
28860
28861 * posix/bug-regex31.c: Include <stdlib.h>.
28862
28863 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28864
28865 * nis/nss_compat/compat-spwd.c
28866 (getspent_next_nss_netgr): Remove unused variable.
28867 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28868
28869 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28870 nonmembers" output to use the right array.
28871
28872 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28873
28874 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28875
28876 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28877 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28878 * catgets/gencat.c (read_input_file): Likewise.
28879 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28880
28881 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28882 variable definition inside #if's controlling its use.
28883
28884 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28885
28886 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28887
28888 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28889
28890 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28891 unreachable code.
28892
28893 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28894
b68e08db
RM
28895 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28896 * configure: Regenerated.
28897
b350afab
RM
28898 * Makerules: Revert last change.
28899 * elf/Makefile: Likewise.
28900
28368601
RM
289012011-06-09 Roland McGrath <roland@hack.frob.com>
28902
28903 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28904 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28905 (reloc-link): Likewise.
28906
11988f8f
UD
289072011-06-09 Ulrich Drepper <drepper@gmail.com>
28908
28909 * elf/Makefile: Add rules to build pldd.
28910 * elf/pldd.c: New file.
28911 * elf/pldd-xx.c: New file.
28912
e80fab37
UD
289132011-06-07 Ulrich Drepper <drepper@gmail.com>
28914
28915 * version.h: Update for 2.15 development version.
28916
9b849836
DM
289172011-06-07 David S. Miller <davem@davemloft.net>
28918
28919 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28920 ifuncs.
28921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28922 elf_machine_lazy_rel): Likewise.
28923 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28925 elf_machine_lazy_rel): Likewise.
28926 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28927 dl_hwcap via passed in argument.
28928 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28929 Likewise.
28930
5a31b283
AK
289312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28932
28933 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28934
069e52f8
RM
289352011-06-06 Roland McGrath <roland@hack.frob.com>
28936
28937 [BZ #12849]
28938 * manual/fdl-1.1.texi: New file, verbatim from:
28939 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28940 * manual/lgpl-2.1.texi: New file, verbatim from:
28941 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28942 * manual/Makefile (licenses): New variable, list those new file names.
28943 (texis): Use it.
28944 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28945
28946 * manual/fdl.texi: File removed.
28947 * manual/lesser.texi: File removed.
28948 * manual/libc.texinfo (Copying, Documentation License):
28949 Use new @include file names, put @appendix directive before @include.
28950
f16846a5
JJ
289512011-06-04 Jakub Jelinek <jakub@redhat.com>
28952
28953 [BZ #12841]
28954 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28955 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28956 (mq_open): Add __NTH.
28957
3d29045b
L
289582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28961 Assume Intel Core i3/i5/i7 processor if AVX is available.
28962
8c297311
UD
289632011-05-31 Ulrich Drepper <drepper@gmail.com>
28964
28965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28966 typo.
28967
c8fc0c91
UD
289682011-05-31 Andreas Schwab <schwab@redhat.com>
28969
28970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28971 memory. Use alloca_account. Fix memory leak when retrying.
28972
5b27a807
UD
289732011-05-31 Ulrich Drepper <drepper@gmail.com>
28974
356f8bc6
UD
28975 * version.h (RELEASE): Bump for 2.14 release.
28976 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28977
5b27a807
UD
28978 * config.make.in (RANLIB): Remove entry.
28979
01f16ab0
UD
289802011-05-30 Ulrich Drepper <drepper@gmail.com>
28981
41fce8bd
UD
28982 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28983 (libc.pot): Work around missing support for .ksh extension in xgettext.
28984
4769ae77
UD
28985 [BZ #12684]
28986 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28987 if both request failed.
28988 (send_dg): In case of server errors clear resplen or *resplen2.
28989
6b1e7d19
UD
28990 [BZ #12454]
28991 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28992 when there are multiple maps.
28993 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28994 (_dl_fini): Remove test here.
28995
01f16ab0
UD
28996 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28997
b1ebd700
UD
289982011-05-29 Ulrich Drepper <drepper@gmail.com>
28999
7ae22829
UD
29000 [BZ #12350]
29001 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29002 bit from old_res_options.
29003 (gaih_inet): Likewise.
29004
553149f6 29005 [BZ #11099]
18a84741 29006 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29007 as signed.
29008
652ffab1
UD
29009 * resolv/res_init.c (res_setoptions): Make the code more compact.
29010
16985fd0
UD
29011 [BZ #11558]
29012 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29013 set RES_USEVC.
29014
0464f746
UD
29015 [BZ #11634]
29016 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29017
7d17596c
UD
29018 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29019
cf6bbbd7
UD
29020 [BZ #11781]
29021 * malloc/malloc.h: Declare malloc hook variables as volatile.
29022
13f1ab36
UD
29023 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29024 in last patch.
29025
b1ebd700
UD
29026 [BZ #11799]
29027 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29028 raise in the comment.
80e2212d
UD
29029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29031 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29032
ce67228d
UD
290332011-05-28 Ulrich Drepper <drepper@gmail.com>
29034
8887a920
UD
29035 [BZ #12811]
29036 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29037 grow the buffers more if it already has to be sufficient.
29038 (build_wcs_upper_buffer): Likewise.
29039 * posix/regexec.c (check_matching): Likewise.
29040 (clean_state_log_if_needed): Likewise.
29041 (extend_buffers): Don't enlarge buffers beyond size of the input
29042 buffer.
29043 Patches mostly by Emil Wojak <emil@wojak.eu>.
29044 * posix/bug-regex32.c: New file.
29045 * posix/Makefile (tests): Add bug-regex32.
29046
4f031072
UD
29047 * locale/findlocale.c (_nl_find_locale): Return right away if
29048 _nl_explode_name failed.
29049 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29050
d0478f0c
UD
29051 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29052
de81b246
UD
29053 * debug/xtrace.sh: Unify messages.
29054 * malloc/memusage.sh: Likewise.
29055
c738465a
UD
29056 [BZ #12813]
29057 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29058 time symbol from vDSO. Substitute with vsyscall if not available.
29059 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29060 __vdso_time.
29061
f1f929d7
UD
29062 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29063 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29064 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29065 Add sendmmsg and internal_sendmmsg.
29066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29067 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29068 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29069
ce67228d
UD
29070 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29071 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29073
e57420c6
UD
290742011-05-27 Ulrich Drepper <drepper@gmail.com>
29075
a8509ca5
UD
29076 [BZ #12813]
29077 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29078 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29079 available.
29080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29081 __vdso_getcpu.
29082
e57420c6
UD
29083 [BZ #12814]
29084 * iconvdata/Makefile (tests): Add bug-iconv9.
29085 * iconvdata/bug-iconv9.c: New file.
29086
4d07db15
AS
290872011-05-27 Andreas Schwab <schwab@redhat.com>
29088
29089 [BZ #12814]
29090 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29091
ea486f69
JJ
290922011-05-25 Jakub Jelinek <jakub@redhat.com>
29093
29094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29095 (struct user_regs_struct): Change intcs field back to cs.
29096
6f038433
UD
290972011-05-25 Ulrich Drepper <drepper@gmail.com>
29098
29099 * po/ja.po: Update from translation team.
29100
67f86a25
UD
291012011-05-23 Ulrich Drepper <drepper@gmail.com>
29102
29103 [BZ #12795]
29104 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29105 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29106
def7fbd6
AS
291072011-05-20 Andreas Schwab <schwab@redhat.com>
29108
29109 * stdlib/longlong.h: Update from GCC.
29110
f50ef8f1
AS
291112011-05-23 Andreas Schwab <schwab@redhat.com>
29112
29113 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29114 parameter name.
29115 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29116 Add parameter name.
29117 (__sysconf): Pass it down.
29118
de7ce8f1
UD
291192011-05-22 Ulrich Drepper <drepper@gmail.com>
29120
f2962a71
UD
29121 [BZ #12671]
29122 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29123 some situations.
29124 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29125 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29126 add in in __libc_use_alloca calls. Adjust callers.
29127 (glob): Use malloc in some situations.
29128
de7ce8f1
UD
29129 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29130 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29131 pltexit.
29132
aec84f53
UD
291332011-05-21 Ulrich Drepper <drepper@gmail.com>
29134
05bb4a68
UD
29135 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29136 and CLOCK_BOOTTIME_ALARM.
29137
7ea72f99
UD
29138 [BZ #12782]
29139 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29140 is returned.
29141
7e4afad5
UD
29142 * string/_strerror.c (__strerror_r): Print negative errors as signed
29143 numbers.
29144
8e211fec
UD
29145 [BZ #12777]
29146 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29147 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29148 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29149
f7d82dc9
UD
29150 * configure.in: Fix typo in redirection and correct removal of test
29151 files in two cases.
29152
cc9e536d
UD
29153 [BZ #12788]
29154 * locale/setlocale.c (new_composite_name): Fix test to check for
29155 identical name of all categories.
29156
aec84f53
UD
29157 [BZ #12792]
29158 * libio/filedoalloc.c (local_isatty): New function.
29159 (_IO_file_doallocate): Use local_isatty.
29160 * stdio-common/perror.c (perror): In case a new stream is used
29161 forward the stream error.
29162 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29163 error flag.
29164
78e64fdc
RT
291652011-05-20 Ulrich Drepper <drepper@gmail.com>
29166
34a9094f
UD
29167 [BZ #11869]
29168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29169 alloca.
29170 * include/alloca.h (extend_alloca_account): Define.
29171
78e64fdc
RT
29172 [BZ #11857]
29173 * posix/regex.h: Fix comments with documentation of user-accessible
29174 fields after compilation and describe correct free'ing of pattern
29175 after re_compile_pattern.
29176 Patch by Reuben Thomas <rrt@sc3d.org>.
29177
457bddfc
RA
291782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29179
29180 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29181 and -mno-altivec to prevent the compiler from using Altivec and/or
29182 VSX instructions when the corresponding registers are not available.
29183
a4527b51
AS
291842011-05-19 Andreas Schwab <schwab@redhat.com>
29185
29186 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29187
ed690b2f
UD
291882011-05-19 Ulrich Drepper <drepper@gmail.com>
29189
29190 * libio/freopen.c (freopen): Use __dup2, not dup2.
29191 * libio/freopen64.c (freopen64): Likewise.
29192
8db73634
L
291932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 [BZ #12775]
29196 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29197 * math/Makefile (tests): Add test-powl.
29198 (CFLAGS-test-powl.c): Define.
29199 * math/test-powl.c: New file.
29200
0a197a9d
L
292012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29202
29203 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29204
ee30c380
UD
292052011-05-17 Ulrich Drepper <drepper@gmail.com>
29206
29207 [BZ #11837]
29208 * iconvdata/gb18030.c: Update to GB18020-2005.
29209
6ce75379
UD
292102011-05-16 Ulrich Drepper <drepper@gmail.com>
29211
a4b89fd8
AR
29212 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29213 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29214 Patch by Aharon Robbins <arnold@skeeve.com>.
29215
ea389b12
UD
29216 [BZ #11892]
29217 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29218 on the stack.
29219
68a3f91f
UD
29220 [BZ #11895]
29221 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29222 through underflows.
29223
15cc7dd1
UD
29224 [BZ #12766]
29225 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29226 point to strings before performing equality test for error_one_per_line
29227 mode.
29228
f3799213
UD
29229 [BZ #11697]
29230 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29231
d79a9c94
UD
29232 [BZ #11820]
29233 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29234 (struct user_fpregs_struct): Avoid __uint*_t types.
29235
56e5eb46
UD
29236 [BZ #6420]
29237 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29238 symbol info. Use it instead of calling _dl_addr locally.
29239 (lock_and_info): New function.
29240 (tr_freehook): Call lock_and_info and pass symbol info as additional
29241 parameter to tr_where.
29242 (tr_mallochook): Likewise.
29243 (tr_reallochook): Likewise.
29244 (tr_memalignhook): Likewise.
29245
6ce75379
UD
29246 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29247 used and couldn't be at all thread-safe.
29248
f8a3b5bf
UD
292492011-05-15 Ulrich Drepper <drepper@gmail.com>
29250
94b7cc37
UD
29251 * libio/freopen.c (freopen): Don't close old file descriptor
29252 before the new one is opened. Instead dup the new file descriptor
29253 to the old one after the new stream is created.
29254 * libio/freopen64.c (freopen64): Likewise.
29255 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29256 * libio/fileops.c (_IO_new_file_close_it): Handle new
29257 _IO_FLAGS2_NOCLOSE flag.
29258 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29259 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29260 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29261 _IO_FLAGS2_NOCLOSE flag.
29262 * include/unistd.h: Add hidden_proto for dup3.
29263 Define __have_dup3.
29264 * io/dup3.c: Define hidden symbol.
29265 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29266
bd25564e
UD
29267 [BZ #7101]
29268 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29269 when an incomplete long option is used.
29270 * posix/tst-getopt_long1.c: New file.
29271 * posix/Makefile (tests): Add tst-getopt_long1.
29272
c84cfef4
UD
29273 [BZ #10138]
29274 * scripts/config.guess: Update from autoconf-2.68.
29275 * scripts/config.sub: Likewise.
29276
3b85df27
UD
29277 [BZ #10157]
29278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29279 tests into ...
29280 (has_cpuclock): ...this. New function.
29281 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29282 macro here based on has_cpuclock code.
29283
15a856b1
UD
29284 [BZ #10149]
29285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29286 First byte (not low byte) is now always NUL.
29287 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29288
05f399e6
UD
29289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29290 Use non-cancelable interfaces.
29291
10a52685 29292 [BZ #9809]
94ecc67d
UD
29293 * locale/iso-639.def: Add entry for Sorani.
29294
f8a3b5bf
UD
29295 [BZ #11901]
29296 * include/stdlib.h: Move include protection to the right place.
29297 Define abort_msg_s. Declare __abort_msg with it.
29298 * stdlib/abort.c (__abort_msg): Adjust type.
29299 * assert/assert.c (__assert_fail_base): New function. Majority
29300 of code from __assert_fail. Allocate memory for __abort_msg with
29301 mmap.
29302 (__assert_fail): Now call __assert_fail_base.
29303 * assert/assert-perr.c: Remove bulk of implementation. Use
29304 __assert_fail_base.
29305 * include/assert.hL Declare __assert_fail_base.
29306 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29307 mmap.
29308 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29309
1af4e298
UD
293102011-05-14 Ulrich Drepper <drepper@gmail.com>
29311
f8a3b5bf 29312 [BZ #11952]
d26dfc60
MG
29313 [BZ #12453]
29314 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29315 until all modules are registered in the DTV.
29316 * elf/Makefile: Add rules to build and run tst-tls19.
29317 * elf/tst-tls19.c: New file.
29318 * elf/tst-tls19mod1.c: New file.
29319 * elf/tst-tls19mod2.c: New file.
29320 * elf/tst-tls19mod3.c: New file.
29321 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29322
2fc54d6f
UD
29323 [BZ #12083]
29324 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29325 correctly.
29326
98d76b46
UD
29327 [BZ #12601]
29328 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29329 two-byte sequence errors.
29330 * iconvdata/Makefile (tests): Add bug-iconv8.
29331 * iconvdata/bug-iconv8.c: New file.
29332
da3c19ef
UD
29333 [BZ #12626]
29334 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29335 buf2 definition.
29336
ca408c15
UD
29337 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29338
d6f67f7d
UD
29339 [BZ #12432]
29340 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29341 (dummy_getcfa): New function.
29342 (init): Get _Unwind_GetCFA address, use dummy if not found.
29343 (backtrace_helper): In recursion check, also check whether CFA changes.
29344 (__backtrace): Completely initialize arg.
29345
1af4e298 29346 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29347 storing incomplete byte sequence in state object. Avoid testing for
29348 guaranteed too small input if we know there is enough data available.
1af4e298 29349
da62f81b
AS
293502011-05-11 Andreas Schwab <schwab@redhat.com>
29351
29352 * Makeconfig (+link-pie): Indent.
29353 * Rules (binaries-pie): Define if $(have-fpie) and
29354 $(build-shared).
29355 (binaries-shared): Also filter out $(binaries-pie).
29356 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29357 * nscd/Makefile (others-pie): Add nscd.
29358 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29359 ($(objpfx)nscd): Remove command override.
29360 * login/Makefile (others-pie): Add pt_chown.
29361 ($(objpfx)pt_chown): Remove command override.
29362 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29363 remove command overrides.
29364
fcabc0f8
UD
293652011-05-13 Ulrich Drepper <drepper@gmail.com>
29366
20030ae6
UD
29367 * libio/tst_putwc.c: Fix error messages.
29368
fcabc0f8
UD
29369 [BZ #12724]
29370 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29371 currently writing and seek to current position when not.
29372 * libio/Makefile (tests): Add bug-fclose1.
29373 * libio/bug-fclose1.c: New file.
29374
320a5dc0
PB
293752011-05-12 Ulrich Drepper <drepper@gmail.com>
29376
29377 [BZ #12511]
29378 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29379 don't set DF_1_NODELETE here.
29380 (do_lookup_x): When entering new entry test for copy relocation
29381 and if necessary set DF_1_NODELETE flag.
29382 * elf/tst-unique4.cc: New file.
29383 * elf/tst-unique4.h: New file.
29384 * elf/tst-unique4lib.cc: New file.
29385 * elf/Makefile: Add rules to build and run tst-unique4.
29386 Patch by Piotr Bury <pbury@goahead.com>.
29387
22836f52
UD
293882011-05-11 Ulrich Drepper <drepper@gmail.com>
29389
f574184a
UD
29390 [BZ #12052]
29391 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29392
e1fb097f
UD
29393 [BZ #12625]
29394 * misc/mntent_r.c (addmntent): Flush the stream after the output
29395
22836f52
UD
29396 [BZ #12393]
29397 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29398 (is_trusted_path_normalize): Skip initial colon. Append slash
29399 to empty buffer. Duplicate is_trusted_path code but allow
29400 constructed patch to be prefix.
29401 (is_dst): Allow $ORIGIN followed by /.
29402 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29403 Correct testing of result of is_trusted_path_normalize
29404 (decompose_rpath): Fix warning.
29405
7b3b0b2a
UD
294062011-05-10 Ulrich Drepper <drepper@gmail.com>
29407
29408 [BZ #11257]
29409 * grp/initgroups.c (internal_getgrouplist): When we found the service
29410 list through the initgroups entry in nsswitch.conf do not always
29411 continue on a successful lookup. Don't always use the
eac80ce2 29412 __nss_group_database value if it is set.
7b3b0b2a
UD
29413 * nss/nsswitch.conf (initgroups): Change action for successful db
29414 lookup to continue for compatibility.
29415
2a81eaa5
UD
294162011-05-09 Ulrich Drepper <drepper@gmail.com>
29417
be97a69e
UD
29418 [BZ #11532]
29419 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29420 and CP774 modules.
29421 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29422 and CP774 modules.
29423 * iconvdata/tst-tables.sh: Likewise.
29424 * iconvdata/cp770.c: New file.
29425 * iconvdata/cp771.c: New file.
29426 * iconvdata/cp772.c: New file.
29427 * iconvdata/cp773.c: New file.
29428 * iconvdata/cp774.c: New file.
29429 * iconvdata/testdata/CP770: New file.
29430 * iconvdata/testdata/CP770..UTF8: New file.
29431 * iconvdata/testdata/CP771: New file.
29432 * iconvdata/testdata/CP771..UTF8: New file.
29433 * iconvdata/testdata/CP772: New file.
29434 * iconvdata/testdata/CP772..UTF8: New file.
29435 * iconvdata/testdata/CP773: New file.
29436 * iconvdata/testdata/CP773..UTF8: New file.
29437 * iconvdata/testdata/CP774: New file.
29438 * iconvdata/testdata/CP774..UTF8: New file.
29439
29440 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29441 END CHARMAP line.
29442 * iconvdata/gen-8bit-gap.sh: Likewise.
29443 * iconvdata/gen-8bit.sh: Likewise.
29444
c1e9e399
UD
29445 * locale/iso-639.def: Add ary entry.
29446
24c55fb3 29447 [BZ #11258]
96b4b1b0
UD
29448 * locale/C-translit.h.in: Add U20A1 transliteration.
29449
bdc2f971
KB
29450 [BZ #12178]
29451 * locale/iso-639.def: Add wae entry.
29452 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29453
2952b117
UD
29454 [BZ #12545]
29455 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29456 for n.
29457
2a81eaa5
UD
29458 [BZ #12711]
29459 * locale/C-translit.h.in: Add entry for U20B9.
29460 Patch by pravin.d.s@gmail.com.
29461
28377d1b
UD
294622011-05-08 Ulrich Drepper <drepper@gmail.com>
29463
7fb90fb8
UD
29464 [BZ #12713]
29465 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29466 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29467 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29468 in rtld. Use *stat64.
7fb90fb8 29469 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29470 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29471 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29472 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29473 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29474 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29475 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29476 __fstatat64 macros.
7fb90fb8
UD
29477 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29478 * dirent/rewinddir.c: Add libc_hidden_def.
29479 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29480 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29481
28377d1b
UD
29482 * include/dirent.h (__alloc_dir): Add flags parameter.
29483 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29484 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29485 __alloc_dir.
29486 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29487 from fdopendir if O_CLOEXEC is already set.
29488
66bdbaa4
AM
294892011-03-15 Alan Modra <amodra@gmail.com>
29490
29491 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29492 l_tls_firstbyte_offset non-zero. Save padding offset in
29493 l_tls_firstbyte_offset for later use.
29494 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29495 freeing static tls block.
29496
95721191
JN
294972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29498
29499 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29500 where #ifdef was intended. The intent is to prevent ARG_MAX from
29501 being defined by the kernel headers.
29502
f87dfb1f
UD
295032011-05-07 Ulrich Drepper <drepper@gmail.com>
29504
29505 [BZ #12734]
29506 * resolv/resolv.h: Define RES_NOTLDQUERY.
29507 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29508 no-tld-query and set RES_NOTLDQUERY.
29509 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29510 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29511 modern BIND to search name as TLD unless forbidden.
29512
47c3cd7a
UD
295132011-05-07 Petr Baudis <pasky@suse.cz>
29514 Ulrich Drepper <drepper@gmail.com>
29515
29516 [BZ #12393]
29517 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29518 (is_trusted_path): ...to here.
c1e9ea35 29519 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29520 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29521 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29522
8a35c912
PP
295232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29524
29525 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29526 __BEGIN/__END_DECLS.
29527
acd41f47
UD
295282011-05-06 Ulrich Drepper <drepper@gmail.com>
29529
29530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29531 NSS_STATUS_NOTFOUND if no record was found.
29532
597df647
AS
295332011-05-05 Andreas Schwab <schwab@redhat.com>
29534
29535 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29536 (headers-not-in-tirpc): Remove rpc/netdb.h
29537 * resolv/netdb.h: Revert last change.
29538
b9af1301
PP
295392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29540
29541 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29542 circular dependency between libgcc.a and libc.a.
29543
4e34d5f5
AS
295442011-05-05 Andreas Schwab <schwab@redhat.com>
29545
29546 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29547 * nis/Makefile: Don't install rpcsvc/*.
29548 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29549 instead of <rpc/types.h>.
29550 (MAXHOSTNAMELEN): Define.
29551
00ee369c
AS
295522011-05-03 Andreas Schwab <schwab@redhat.com>
29553
29554 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29555
0b592a30
MB
295562011-04-28 Maciej Babinski <mbabinski@google.com>
29557
29558 [BZ #12714]
29559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29560 gethostbyname4_r when IPv6 results are possible.
29561
6e04cbbe
UD
295622011-05-02 Ulrich Drepper <drepper@gmail.com>
29563
29564 [BZ #12723]
29565 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29566 _PC_PIPE_BUF handling.
29567
e4ecafe0
BH
295682011-04-30 Bruno Haible <bruno@clisp.org>
29569
29570 [BZ #12717]
29571 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29572 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29573 to 'int'.
29574 * inet/getnameinfo.c (getnameinfo): Likewise.
29575
125ee683
UD
295762011-04-29 Ulrich Drepper <drepper@gmail.com>
29577
29578 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29579 to groups setting in database lookup.
29580 * nss/nsswitch.conf: Add initgroups entry.
29581
b722481a
EB
295822011-04-22 Ulrich Drepper <drepper@gmail.com>
29583
29584 [BZ #12685]
29585 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29586 mode string.
29587 Patch by Eric Blake <eblake@redhat.com>.
29588
4df46dbd
L
295892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29590
29591 * sunrpc/Makefile (need-export-routines): Add svc_run.
29592 (routines): Remove svc_run.
29593 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29594 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29595 * sunrpc/svc_run.c (svc_run): Likewise.
29596 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29597
e84142d2
UD
295982011-04-21 Ulrich Drepper <drepper@gmail.com>
29599
29600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29601 problem in reallocation in last patch.
29602
877175d8
UD
296032011-04-20 Ulrich Drepper <drepper@gmail.com>
29604
29605 * sunrpc/Makefile: Move inclusion of Rules.
29606
ab8eed78
UD
296072011-04-19 Ulrich Drepper <drepper@gmail.com>
29608
29609 * nss/nss_files/files-initgroups.c: New file.
29610 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29611 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29612 _nss_files_initgroups_dyn.
29613
e3d8f584
RS
296142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29615
29616 * elf/elf.h (R_ARM_IRELATIVE): Define.
29617
af190f45
UD
296182011-04-19 Ulrich Drepper <drepper@gmail.com>
29619
29620 * po/ru.po: Update from translation team.
29621
53cf59ef
UD
296222011-04-17 Ulrich Drepper <drepper@gmail.com>
29623
29624 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29625 dependencies.
29626
4c559bcd
MF
296272011-02-06 Mike Frysinger <vapier@gentoo.org>
29628
29629 [BZ #12653]
29630 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29631 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29635
4420675c
AS
296362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29637
29638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29639 differing bytes.
29640 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29643
75ea32ab
UD
296442011-04-17 Ulrich Drepper <drepper@gmail.com>
29645
29646 [BZ #12420]
29647 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29648 storing it.
29649 * stdlib/bug-getcontext.c: New file.
29650 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29651
27390476
AK
296522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29653
29654 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29655 instructions into .machine "z9-109".
29656 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29657 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29658
10442705
AK
296592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29660
29661 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29662 between environment variables and auxiliary vector.
29663
7b57bfe5
UD
296642011-04-16 Ulrich Drepper <drepper@gmail.com>
29665
29666 * Makefile: Add rules to build linkobj/libc.so.
29667 * include/libc-symbols.h: Define libc_hidden_nolink.
29668 * include/rpc/auth.h: Mark functions which are to be hidden.
29669 * include/rpc/auth_des.h: Likewise.
29670 * include/rpc/auth_unix.h: Likewise.
29671 * include/rpc/clnt.h: Likewise.
29672 * include/rpc/des_crypt.h: Likewise.
29673 * include/rpc/key_prot.h: Likewise.
29674 * include/rpc/pmap_clnt.h: Likewise.
29675 * include/rpc/pmap_prot.h: Likewise.
29676 * include/rpc/pmap_rmt.h: Likewise.
29677 * include/rpc/rpc_msg.h: Likewise.
29678 * include/rpc/svc.h: Likewise.
29679 * include/rpc/svc_auth.h: Likewise.
29680 * include/rpc/xdr.h: Likewise.
29681 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29682 * nss/Makefile: Likewise.
29683 * sunrpc/Makefile: Don't install headers. Build library with normal
29684 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29685 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29686 for the compat linking library. Remove use of INTDEF/INTUSE.
29687 * sunrpc/auth_none.c: Likewise.
29688 * sunrpc/auth_unix.c: Likewise.
29689 * sunrpc/authdes_prot.c: Likewise.
29690 * sunrpc/authuxprot.c: Likewise.
29691 * sunrpc/clnt_gen.c: Likewise.
29692 * sunrpc/clnt_perr.c: Likewise.
29693 * sunrpc/clnt_raw.c: Likewise.
29694 * sunrpc/clnt_simp.c: Likewise.
29695 * sunrpc/clnt_tcp.c: Likewise.
29696 * sunrpc/clnt_udp.c: Likewise.
29697 * sunrpc/clnt_unix.c: Likewise.
29698 * sunrpc/des_crypt.c: Likewise.
29699 * sunrpc/des_soft.c: Likewise.
29700 * sunrpc/get_myaddr.c: Likewise.
29701 * sunrpc/key_call.c: Likewise.
29702 * sunrpc/key_prot.c: Likewise.
29703 * sunrpc/netname.c: Likewise.
29704 * sunrpc/pm_getmaps.c: Likewise.
29705 * sunrpc/pm_getport.c: Likewise.
29706 * sunrpc/pmap_clnt.c: Likewise.
29707 * sunrpc/pmap_prot.c: Likewise.
29708 * sunrpc/pmap_prot2.c: Likewise.
29709 * sunrpc/pmap_rmt.c: Likewise.
29710 * sunrpc/publickey.c: Likewise.
29711 * sunrpc/rpc_cmsg.c: Likewise.
29712 * sunrpc/rpc_common.c: Likewise.
29713 * sunrpc/rpc_dtable.c: Likewise.
29714 * sunrpc/rpc_prot.c: Likewise.
29715 * sunrpc/rpc_thread.c: Likewise.
29716 * sunrpc/rtime.c: Likewise.
29717 * sunrpc/svc.c: Likewise.
29718 * sunrpc/svc_auth.c: Likewise.
29719 * sunrpc/svc_authux.c: Likewise.
29720 * sunrpc/svc_raw.c: Likewise.
29721 * sunrpc/svc_run.c: Likewise.
29722 * sunrpc/svc_simple.c: Likewise.
29723 * sunrpc/svc_tcp.c: Likewise.
29724 * sunrpc/svc_udp.c: Likewise.
29725 * sunrpc/svc_unix.c: Likewise.
29726 * sunrpc/svcauth_des.c: Likewise.
29727 * sunrpc/xcrypt.c: Likewise.
29728 * sunrpc/xdr.c: Likewise.
29729 * sunrpc/xdr_array.c: Likewise.
29730 * sunrpc/xdr_float.c: Likewise.
29731 * sunrpc/xdr_intXX_t.c: Likewise.
29732 * sunrpc/xdr_mem.c: Likewise.
29733 * sunrpc/xdr_rec.c: Likewise.
29734 * sunrpc/xdr_ref.c: Likewise.
29735 * sunrpc/xdr_sizeof.c: Likewise.
29736 * sunrpc/xdr_stdio.c: Likewise.
29737
e6c61494
UD
297382011-04-10 Ulrich Drepper <drepper@gmail.com>
29739
29740 [BZ #12650]
29741 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29742 * sysdeps/ia64/dl-tls.h: Likewise.
29743 * sysdeps/powerpc/dl-tls.h: Likewise.
29744 * sysdeps/s390/dl-tls.h: Likewise.
29745 * sysdeps/sh/dl-tls.h: Likewise.
29746 * sysdeps/sparc/dl-tls.h: Likewise.
29747 * sysdeps/x86_64/dl-tls.h: Likewise.
29748 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29749
34fe483e
AS
297502011-03-14 Andreas Schwab <schwab@redhat.com>
29751
29752 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29753 rpath element also skip the following colon.
29754 (expand_dynamic_string_token): Add is_path parameter and pass
29755 down to DL_DST_REQUIRED and _dl_dst_substitute.
29756 (decompose_rpath): Call expand_dynamic_string_token with
29757 non-zero is_path. Ignore empty rpaths.
29758 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29759 with zero is_path.
29760
f12a32e6
AS
297612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29762
29763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29764 Make cancelable.
29765
38a7d692
UD
297662011-04-09 Ulrich Drepper <drepper@gmail.com>
29767
29768 [BZ #12655]
29769 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29770 Patch by Filipe David Manana <fdmanana@apache.org>.
29771
e451d22b
AS
297722011-04-07 Andreas Schwab <schwab@redhat.com>
29773
29774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29775 Maintain aligned stack.
29776 (CHECK_RSP): Remove unused macro.
29777
dedc7c7b
UD
297782011-04-03 Ulrich Drepper <drepper@gmail.com>
29779
29780 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29782
94521213
UD
297832011-04-02 Ulrich Drepper <drepper@gmail.com>
29784
29785 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29786
8cb700c0 29787 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29788
0354e355
L
297892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 [BZ #12518]
29792 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29793 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29794 * sysdeps/x86_64/memmove.c: New file.
29795 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29796 (memcpy): Renamed to ...
29797 (__new_memcpy): This.
29798 (memcpy): Provide GLIBC_2_14 memcpy.
29799 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29800 (memcpy): Provide GLIBC_2_2_5 memcpy.
29801
8593482f
UD
298022011-04-01 Ulrich Drepper <drepper@gmail.com>
29803
29804 [BZ #12631]
29805 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29806
81a5726b
AS
298072011-03-30 Andreas Schwab <schwab@redhat.com>
29808
29809 * misc/syncfs.c: New file.
29810 * misc/Makefile (routines): Add syncfs.
29811 * posix/unistd.h: Declare syncfs.
29812 * sysdeps/unix/syscalls.list: Add syncfs.
29813
00e5419f
AS
298142011-04-01 Andreas Schwab <schwab@redhat.com>
29815
29816 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29817 open_by_handle_at.
29818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29819 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29823 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29825
748876bf
UD
298262011-04-01 Ulrich Drepper <drepper@gmail.com>
29827
658e451d
UD
29828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29830 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29835
748876bf
UD
29836 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29837 sync_file_range.c with -fexceptions.
29838 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29839 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29840 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29841 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29842 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29843 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29845 sync_file_range as cancellation point
29846 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29847 now a wrapper around __call_sync_file_range with cancellation handling.
29848 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29849 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29850 function name to __call_sync_file_range.
29851 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29852 Add call_sync_file_range.
748876bf 29853
6e63d5e1
AS
298542011-04-01 Andreas Schwab <schwab@redhat.com>
29855
29856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29857 bits/timex.h.
6e63d5e1 29858
46998f74
UD
298592011-04-01 Ulrich Drepper <drepper@gmail.com>
29860
4c1423ed
UD
29861 * iconv/iconv.h: Fix typo in comment.
29862 * io/fcntl.h: Likewise.
29863 * libio/stdio.h: Likewise.
29864 * posix/spawn.h: Likewise.
29865 * posix/unistd.h: Likewise.
29866 * stdlib/stdlib.h: Likewise.
29867 * time/time.h: Likewise.
29868 * wcsmbs/wchar.h: Likewise.
29869
158648c0
UD
29870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29871 open_by_handle): Add.
29872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29873 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29874 Augment a few comments.
29875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29880 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29881 open_by_handle.
29882
46998f74
UD
29883 * io/fcntl.h (AT_EMPTY_PATH): Define.
29884
83fe108b
UD
298852011-03-30 Ulrich Drepper <drepper@gmail.com>
29886
29887 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29888 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29889 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29890 to...
29891 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29892 * Versions.def: Add GLIBC_2.14.
29893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29894 Export.
83fe108b 29895
bb242059
UD
298962011-03-22 Ulrich Drepper <drepper@gmail.com>
29897
29898 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29899 round counter.
29900 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29901
c97a1282
L
299022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29903
29904 [BZ #12597]
29905 * string/test-strncmp.c (do_page_test): New function.
29906 (check2): Likewise.
29907 (test_main): Call check2.
29908 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29909
2a115601
UD
299102011-03-20 Ulrich Drepper <drepper@gmail.com>
29911
29912 [BZ #12587]
29913 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29914 Handle cache information in CPU leaf 4.
29915 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29916
8126d904
UD
299172011-03-18 Ulrich Drepper <drepper@gmail.com>
29918
042c49c6 29919 [BZ #12583]
8126d904
UD
29920 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29921 character representation.
29922 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29923
ccfe366e
RA
299242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29925
29926 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29927 END(__isnan) to END(__isnanf) to match function entry point/label
29928 EALIGN(__isnanf,...).
29929
c6e13027
JJ
299302011-03-10 Jakub Jelinek <jakub@redhat.com>
29931
29932 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29933
33f85a3f
UD
299342011-03-10 Ulrich Drepper <drepper@gmail.com>
29935
028478fa
UD
29936 [BZ #12510]
29937 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29938 copy from the symbol referenced in the relocation to initialize the
29939 used variable.
29940 Patch by Piotr Bury <pbury@goahead.com>.
29941 * elf/Makefile: Add rules to build and tst-unique3.
29942 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29943 * elf/tst-unique3.cc: New file.
29944 * elf/tst-unique3.h: New file.
29945 * elf/tst-unique3lib.cc: New file.
29946 * elf/tst-unique3lib2.cc: New file.
29947
33f85a3f
UD
29948 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29949
03592fc7
MF
299502011-03-10 Mike Frysinger <vapier@gentoo.org>
29951
29952 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29953 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29954 to _start.
03592fc7 29955
6a5ee102
UD
299562011-03-06 Ulrich Drepper <drepper@gmail.com>
29957
29958 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29959 to-be-loaded object along a path to loader is ld.so.
29960
7e4ba49c
HJ
299612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29962 Ulrich Drepper <drepper@gmail.com>
29963
29964 * sysdeps/x86_64/memset.S: After aligning destination, code
29965 branches to different locations depending on the value of
29966 misalignment, when multiarch is enabled. Fix this.
29967
299682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29969
29970 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29971 Set _x86_64_preferred_memory_instruction for AMD processsors.
29972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29973 Set bit_Prefer_SSE_for_memop for AMD processors.
29974
13a804de
UD
299752011-03-04 Ulrich Drepper <drepper@gmail.com>
29976
29977 * libio/fmemopen.c (fmemopen): Optimize a bit.
29978
9d25c392
AS
299792011-03-03 Andreas Schwab <schwab@redhat.com>
29980
29981 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29982
a5543c6a
RM
299832011-03-03 Roland McGrath <roland@redhat.com>
29984
29985 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29986
012d35f7
DM
299872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29988
7e4ba49c 29989 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29990 __bzero_ultra1 instead of __memset_ultra1.
29991
4bff6e01
AS
299922011-02-23 Andreas Schwab <schwab@redhat.com>
29993 Ulrich Drepper <drepper@gmail.com>
29994
29995 [BZ #12509]
29996 * include/link.h (struct link_map): Add l_orig_initfini.
29997 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29998 returning unsuccessfully.
29999 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30000 close of a file loaded at startup, restore the original l_initfini
30001 list.
30002 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30003 list, store the pointer.
30004 * elf/Makefile ($(objpfx)noload-mem): New rule.
30005 (noload-ENV): Define.
30006 (tests): Add $(objpfx)noload-mem.
30007 * elf/noload.c: Include <memcheck.h>.
30008 (main): Call mtrace. Close all opened handles.
30009
f2092faf
AS
300102011-02-17 Andreas Schwab <schwab@redhat.com>
30011
30012 [BZ #12454]
30013 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30014 dependencies are missing.
30015
6c8a2e88
ST
300162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30017
f2092faf 30018 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30019 Hurd needs munmap.
30020 * sysdeps/mach/hurd/ifreq.h: New file.
30021
84a42118
PB
300222011-01-27 Petr Baudis <pasky@suse.cz>
30023 Ulrich Drepper <drepper@gmail.com>
30024
071f805e 30025 [BZ 12445]#
84a42118
PB
30026 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30027 to extend_alloca().
30028 * stdio-common/bug23.c: New file.
30029 * stdio-common/Makefile (tests): Add bug23.
30030
e23fe25b
AS
300312010-09-28 Andreas Schwab <schwab@redhat.com>
30032 Ulrich Drepper <drepper@gmail.com>
30033
30034 [BZ #12489]
30035 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30036 before performing relro protection. At old place add assertion
30037 to make sure nothing changed.
30038
d3f02e10
NS
300392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30040 Glauber de Oliveira Costa <glommer@gmail.com>
30041
30042 * elf/elf.h: Add new ARM TLS relocs.
30043
d55fd7a5
RA
300442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30045
30046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30047 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30048 cast from r3.
30049 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30050 'tests' variable.
30051 * sysdeps/wordsize-64/tst-writev.c: New file.
30052
2206397e
RA
300532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30054
30055 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30056 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30057 insns in _dl_start to prevent a TOC reference before relocs are
30058 resolved.
30059
e9433893
UD
300602011-02-15 Ulrich Drepper <drepper@gmail.com>
30061
30062 [BZ #12469]
30063 * Makeconfig: Remove RANLIB definition.
30064 * Makerules: Don't use RANLIB.
30065 * aclocal.m4: Remove ranlib test.
30066 * configure.in: No need to check for ranlib.
30067 * elf/rtld-Rules: Don't use RANLIB.
30068
f75286c6
ST
300692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30070
8e31c82d
ST
30071 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30072 protection macro.
30073 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30074 inclusion protection macro.
30075
f75286c6
ST
30076 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30077 SIGRTMIN and SIGRTMAX and print information in that case only when
30078 SIGRTMIN is defined.
30079
c1d0e639
JJ
300802011-02-11 Jakub Jelinek <jakub@redhat.com>
30081
30082 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30083 arginfo fn returning -1.
30084
30085 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30086 and thousands string is zero terminated.
30087
edf9294e
AS
300882011-02-03 Andreas Schwab <schwab@redhat.com>
30089
30090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30091 sysdeps/unix/sysv/linux/bits/socket.h.
30092
2b7e92df
ST
300932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30094
edf9294e
AS
30095 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30096 (__CPU_COUNT): Remove old macros.
30097 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30098 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30099 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30100 (__sched_cpualloc, __sched_cpufree): Add declarations.
30101
a4c7ea7b
UD
301022011-02-05 Ulrich Drepper <drepper@gmail.com>
30103
30104 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30105 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30106 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30107 (readdhstai): Return value of addhstaiX call.
30108 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30109 (addgrbyX): Return value returned by cache_addgr.
30110 (readdgrbyname): Return value returned by addgrbyX.
30111 (readdgrbygid): Likewise.
30112 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30113 (addpwbyX): Return value returned by cache_addpw.
30114 (readdpwbyname): Return value returned by addhstbyX.
30115 (readdpwbyuid): Likewise.
30116 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30117 (addservbyX): Return value returned by cache_addserv.
30118 (readdservbyname): Return value returned by addservbyX:
30119 (readdservbyport): Likewise.
30120 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30121 (addhstbyX): Return value returned by cache_addhst.
30122 (readdhstbyname): Return value returned by addhstbyX.
30123 (readdhstbyaddr): Likewise.
30124 (readdhstbynamev6): Likewise.
30125 (readdhstbyaddrv6): Likewise.
30126 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30127 (readdinitgroups): Return value returned by addinitgroupsX.
30128 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30129 (prune_cache): Keep track of timeout value of re-added entries.
30130 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30131 * nscd/nscd.h: Adjust prototypes of readd* functions.
30132
a0bf67cc
RM
301332011-02-04 Roland McGrath <roland@redhat.com>
30134
30135 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30136 (nis_stats): Likewise.
30137 * nis/nis_modify.c (nis_modify): Likewise.
30138 * nis/nis_remove.c (nis_remove): Likewise.
30139 * nis/nis_add.c (nis_add): Likewise.
30140
30141 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30142
30143 * posix/fnmatch_loop.c: Add some consts.
30144
30145 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30146
435b95eb
L
301472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30148
30149 [BZ #12460]
30150 * config.make.in (config-cflags-novzeroupper): Define.
30151 * configure.in: Substitute libc_cv_cc_novzeroupper.
30152 * elf/Makefile (AVX-CFLAGS): Define.
30153 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30154 (CFLAGS-tst-auditmod4a.c): Likewise.
30155 (CFLAGS-tst-auditmod4b.c): Likewise.
30156 (CFLAGS-tst-auditmod6b.c): Likewise.
30157 (CFLAGS-tst-auditmod6c.c): Likewise.
30158 (CFLAGS-tst-auditmod7b.c): Likewise.
30159 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30160
8517b15e
UD
301612011-02-02 Ulrich Drepper <drepper@gmail.com>
30162
30163 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30164 function to the callback.
30165 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30166
10a656fe
AS
301672011-02-02 Andreas Schwab <schwab@redhat.com>
30168
30169 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30170 of errno.
30171
968dad0a
UD
301722011-01-19 Ulrich Drepper <drepper@gmail.com>
30173
9f94d2ea 30174 [BZ #11724]
968dad0a
UD
30175 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30176 of constructors.
30177 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30178 of destructors.
30179 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30180
30181 [BZ #11724]
30182 * elf/Makefile: Add rules to build and run new test.
30183 * elf/tst-initorder.c: New file.
30184 * elf/tst-initorder.exp: New file.
30185 * elf/tst-initordera1.c: New file.
30186 * elf/tst-initordera2.c: New file.
30187 * elf/tst-initordera3.c: New file.
30188 * elf/tst-initordera4.c: New file.
30189 * elf/tst-initorderb1.c: New file.
30190 * elf/tst-initorderb2.c: New file.
30191 * elf/tst-order-a1.c: New file.
30192 * elf/tst-order-a2.c: New file.
30193 * elf/tst-order-a3.c: New file.
30194 * elf/tst-order-a4.c: New file.
30195 * elf/tst-order-b1.c: New file.
30196 * elf/tst-order-b2.c: New file.
30197 * elf/tst-order-main.c: New file.
30198 New test case by George Gensure <werkt0@gmail.com>.
30199
86e92359
UD
302002010-10-01 Andreas Schwab <schwab@redhat.com>
30201
30202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30203 decoding ACE if AI_CANONIDN.
30204
5d5732b0
UD
302052011-01-18 Ulrich Drepper <drepper@gmail.com>
30206
30207 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30208
a77e8cbc
UD
302092011-01-17 Ulrich Drepper <drepper@gmail.com>
30210
6392473f
UD
30211 * version.h (RELEASE): Bump for 2.13 release.
30212 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30213
620a0529
UD
30214 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30215
18ba70a5
UD
30216 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30217 MADV_NOHUGEPAGE.
32465c3e
UD
30218 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30219 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30223 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30224
c0dafcf1
UD
30225 * posix/getconf.c: Update copyright year.
30226 * catgets/gencat.c: Likewise.
30227 * csu/version.c: Likewise.
30228 * debug/catchsegv.sh: Likewise.
30229 * debug/xtrace.sh: Likewise.
30230 * elf/ldconfig.c: Likewise.
30231 * elf/ldd.bash.in: Likewise.
30232 * elf/sprof.c (print_version): Likewise.
30233 * iconv/iconv_prog.c: Likewise.
30234 * iconv/iconvconfig.c: Likewise.
30235 * locale/programs/locale.c: Likewise.
30236 * locale/programs/localedef.c: Likewise.
30237 * malloc/memusage.sh: Likewise.
30238 * malloc/mtrace.pl: Likewise.
30239 * nscd/nscd.c (print_version): Likewise.
30240 * nss/getent.c: Likewise.
30241
a77e8cbc
UD
30242 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30243 PF_CAIF, and PF_ALG.
30244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30245
77e8bddf
AS
302462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30247
1f20b93a
AS
30248 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30249 (modules-names): Use them.
30250 (ifunc-test-modules, ifunc-pie-tests): Define.
30251 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30252 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30253 (test-extras): Likewise.
30254 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30255 $(compile-command.c).
30256 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30257 (all-built-dso): Define.
30258 (check-textrel.out, check-execstack.out): Depend on it.
30259
77e8bddf
AS
30260 * configure.in: Don't override --enable-multi-arch.
30261
bc425b33
UD
302622011-01-15 Ulrich Drepper <drepper@gmail.com>
30263
30264 [BZ #6812]
30265 * nscd/hstcache.c (tryagain): Define.
30266 (cache_addhst): Return tryagain not notfound for temporary errors.
30267 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30268 failed.
30269
794c3ad3
UD
302702011-01-14 Ulrich Drepper <drepper@gmail.com>
30271
70181fdd
UD
30272 [BZ #10563]
30273 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30274 to make the syscall.
30275 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30276
794c3ad3
UD
30277 [BZ #12378]
30278 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30279 and fall back to matching as normal character if the string ends before
30280 the matching ']' is found. This is what POSIX requires.
30281 * posix/testfnm.c: Adjust test result.
30282 * posix/globtest.sh: Adjust test result. Add new test.
30283 * posix/tst-fnmatch.input: Likewise.
30284 * posix/tst-fnmatch2.c: Add new test.
30285
68dc9497
AS
302862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30287
30288 * elf/Makefile (check-execstack): Revert last change. Depend on
30289 check-execstack.h.
30290 (check-execstack.h): New target.
30291 (generated): Add check-execstack.h.
30292 * elf/check-execstack.c: Include "check-execstack.h".
30293 (main): Revert last change.
30294 (handle_file): Return zero if GNU_STACK is absent and
30295 DEFAULT_STACK_PERMS doesn't include PF_X.
30296
451f001b
UD
302972011-01-13 Ulrich Drepper <drepper@gmail.com>
30298
cfa28e56
UD
30299 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30300 in child fails because the descriptor is already closed.
8cf8ce17
UD
30301 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30302 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30303 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30304
1086d70d
UD
30305 [BZ #12397]
30306 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30307 syscall.
30308
451f001b
UD
30309 [BZ #10484]
30310 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30311 temporary buffer used to handle multi lookups locally.
a85b5cb4 30312 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30313
08769175
UD
303142011-01-12 Ulrich Drepper <drepper@gmail.com>
30315
30316 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30317 loader is ld.so.
30318
5e49c52e
UD
303192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30320
30321 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30322 alignment for SSE2.
30323
60522a5f
UD
303242011-01-12 Ulrich Drepper <drepper@gmail.com>
30325
30326 [BZ #12394]
30327 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30328 characters. When rounding increased number of integer digits recompute
30329 number of groups.
30330 * stdio-common/tst-grouping.c: New file.
30331 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30332
f257bbd7
UD
303332011-01-09 Ulrich Drepper <drepper@gmail.com>
30334
30335 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30336 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30337
30338 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30339 void.
30340 * bits/select.h: Likewise.
30341
fa9c15cb
UD
303422011-01-08 Ulrich Drepper <drepper@gmail.com>
30343
30344 * po/ja.po: Update from translation team.
30345
16c2895f
DM
303462011-01-04 David S. Miller <davem@sunset.davemloft.net>
30347
30348 [BZ #11155]
30349 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30350 implementation just like for lxstat, fxstatat, et al.
30351
2543fef2
JM
303522010-12-27 Jim Meyering <meyering@redhat.com>
30353
30354 [BZ #12348]
30355 * posix/regexec.c (build_trtable): Return failure indication upon
30356 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30357
98727dbe
UD
303582010-12-25 Ulrich Drepper <drepper@gmail.com>
30359
5bd6dc5c
UD
30360 [BZ #12201]
30361 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30362 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30363 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30364 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30365
97983464
UD
30366 [BZ #12207]
30367 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30368
98727dbe
UD
30369 [BZ #12204]
30370 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30371 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30372
4a531bb0
L
303732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30374
30375 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30376 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30377 script has SORT_BY_INIT_PRIORITY.
30378 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30379 NO_CTORS_DTORS_SECTIONS is defined.
30380 * elf/soinit.c: Likewise.
30381 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30382 NO_CTORS_DTORS_SECTIONS is defined.
30383 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30384 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30385 * sysdeps/sh/init-first.c: Likewise.
30386 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30387
07eb4b71
UD
303882010-12-24 Ulrich Drepper <drepper@gmail.com>
30389
30390 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30391 always use the slow path.
30392
30950a5f
RA
303932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30394
30395 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30396 similar rule which adds the sysdep directories to the header search in
30397 order to pick up the correct platform stackinfo.h.
30398 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30399 perform test if it is, otherwise return successfully without testing.
30400 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30401 DEFAULT_STACK_PERMS define in stackinfo.h.
30402 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30403 defined in stackinfo.h.
30404 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30405 DEFAULT_STACK_PERMS defined in stackinfo.h.
30406 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30407 * sysdeps/ia64/stackinfo.h: Likewise.
30408 * sysdeps/s390/stackinfo.h: Likewise.
30409 * sysdeps/sh/stackinfo.h: Likewise.
30410 * sysdeps/sparc/stackinfo.h: Likewise.
30411 * sysdeps/x86_64/stackinfo.h: Likewise.
30412 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30413 PF_X for powerpc64. Retain PF_X for powerpc32.
30414
db753e2c
UD
304152010-12-19 Ulrich Drepper <drepper@gmail.com>
30416
14b697f7
UD
30417 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30418 accurately.
db753e2c
UD
30419 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30420 GETDENTS_64BIT_ALIGNED.
30421
28300719
UD
304222010-12-14 Ulrich Drepper <dreper@gmail.com>
30423
14b697f7 30424 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30425
4f197237
AS
304262010-12-10 Andreas Schwab <schwab@redhat.com>
30427
dbb0472f
AS
30428 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30429 _GNU_SOURCE.
30430
4f197237
AS
30431 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30432 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30433 Remove __restrict.
30434 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30435 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30436
fb88ac72
UD
304372010-12-09 Ulrich Drepper <drepper@gmail.com>
30438
30439 [BZ #11655]
30440 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30441 are initialized.
30442
42acbb92
JJ
304432010-12-09 Jakub Jelinek <jakub@redhat.com>
30444
30445 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30446
c038d98d
UD
304472010-12-03 Ulrich Drepper <drepper@gmail.com>
30448
30449 * po/it.po: Update from translation team.
30450
3a4a2499
L
304512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30452
30453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30454 unused codes.
30455
1e24cf6e
UD
304562010-11-30 Ulrich Drepper <drepper@gmail.com>
30457
30458 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30459
a7690819
AS
304602010-11-24 Andreas Schwab <schwab@redhat.com>
30461
30462 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30463 specially.
30464 (gaih_getanswer_slice): Likewise.
30465
3bf8d1b1
JJ
304662010-10-20 Jakub Jelinek <jakub@redhat.com>
30467
30468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30469
6db52fbb
PB
304702010-05-31 Petr Baudis <pasky@suse.cz>
30471
30472 [BZ #11149]
30473 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30474 silently even in the chroot mode.
30475
eaca7569
UD
304762010-11-22 Ulrich Drepper <drepper@gmail.com>
30477
30478 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30479 last patch a bit. Pretty printing
30480
3056dcdb
UD
304812010-05-31 Petr Baudis <pasky@suse.cz>
30482
30483 [BZ #10085]
30484 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30485 initialization of skip_initgroups_dyn.
30486
cf7c9078
UD
304872010-11-19 Ulrich Drepper <drepper@gmail.com>
30488
30489 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30491
a1fb5e3e
UD
304922010-11-16 Ulrich Drepper <drepper@gmail.com>
30493
30494 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30495
3540d66b
AS
304962010-11-11 Andreas Schwab <schwab@redhat.com>
30497
30498 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30499 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30500 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30501 ($(objpfx)tst-fnmatch-mem): New rule.
30502 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30503 * posix/tst-fnmatch.c (main): Call mtrace.
30504
13b69574
L
305052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30506
30507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30508 Support Intel processor model 6 and model 0x2c.
30509
da93d214
LM
305102010-11-10 Luis Machado <luisgpm@br.ibm.com>
30511
30512 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30513 signed comparison.
30514
8ca52c6e
L
305152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30516
30517 [BZ #12205]
30518 * string/test-strncasecmp.c (check_result): New function.
30519 (do_one_test): Use it.
30520 (check1): New function.
30521 (test_main): Use it.
30522 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30523 Support strcasecmp and strncasecmp.
30524
69da074d
UD
305252010-11-08 Ulrich Drepper <drepper@gmail.com>
30526
30527 [BZ #12194]
30528 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30529 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30530
ff02d528
L
305312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30532
30533 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30534 IFUNC support.
30535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30536 memset-x86-64.
30537 * sysdeps/x86_64/multiarch/bzero.S: New file.
30538 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30539 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30540 * sysdeps/x86_64/multiarch/memset.S: New file.
30541 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30543 Set bit_Prefer_SSE_for_memop for Intel processors.
30544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30545 Define.
30546 (index_Prefer_SSE_for_memop): Define.
30547 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30548
344d0b54
LM
305492010-11-04 Luis Machado <luisgpm@br.ibm.com>
30550
30551 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30552 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30553
c0dde15b
UD
305542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30555
30556 [BZ #12191]
30557 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30558 (__x86_64_raw_data_cache_size_half): Likewise.
30559 (__x86_64_raw_shared_cache_size): Likewise.
30560 (__x86_64_raw_shared_cache_size_half): Likewise.
30561
30562 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30563 (__x86_64_raw_data_cache_size_half): Likewise.
30564 (__x86_64_raw_shared_cache_size): Likewise.
30565 (__x86_64_raw_shared_cache_size_half): Likewise.
30566 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30567 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30568 and __x86_64_raw_shared_cache_size_half. Round
30569 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30570 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30571 to multiple of 256 bytes.
30572
0e516e0e
MS
305732010-11-03 Ulrich Drepper <drepper@gmail.com>
30574
30575 [BZ #12167]
30576 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30577 of inacessible symlinks. Verify result of symlink before returning it.
30578 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30579 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30580
0e012e87
ER
305812010-10-28 Erich Ritz <erichritz@gmail.com>
30582
30583 * math/math.h (isinf): Fix typo in comment.
30584
de0ff7bc
UD
305852010-11-01 Ulrich Drepper <drepper@gmail.com>
30586
30587 * po/da.po: Update from translation team.
30588
fa41c84d
UD
305892010-10-26 Ulrich Drepper <drepper@gmail.com>
30590
30591 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30592 is added to the list.
30593
f0967738
AK
305942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30595 Ulrich Drepper <drepper@gmail.com>
30596
30597 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30598 the global list here. Move code to...
30599 (_dl_add_to_namespace_list): ...here. New function.
30600 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30601 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30602 * elf/dl-load.c (lose): Don't remove the element from the list.
30603 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30604 (_dl_map_object): Likewise.
30605
306062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30607
30608 [BZ #12159]
30609 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30610 into all bytes of SSE register.
30611 Patch by Richard Li <richardpku@gmail.com>.
30612
f0967738 306132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30614
30615 [BZ #12140]
30616 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30617 perturbing.
30618
d0b9e94f
MB
306192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30620
30621 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30622 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30623 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30624 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30626 submachine.
30627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30628
8e9f92e9
AS
306292010-10-22 Andreas Schwab <schwab@redhat.com>
30630
30631 * include/dlfcn.h (__RTLD_SECURE): Define.
30632 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30633 mode & __RTLD_SECURE instead.
30634 (open_path): Rename preloaded parameter to secure.
30635 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30636 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30637 * elf/dl-deps.c (openaux): Likewise.
30638 * elf/rtld.c (struct map_args): Remove is_preloaded.
30639 (map_doit): Don't use it.
30640 (dl_main): Likewise.
30641 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30642 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30643
bc96fbda
AS
306442010-09-09 Andreas Schwab <schwab@redhat.com>
30645
30646 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30647 (sysd-rules-targets): Remove duplicates.
30648 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30649 rtld-%.$o dependency.
30650
22cd1c9b
AS
306512010-10-18 Andreas Schwab <schwab@redhat.com>
30652
30653 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30654 _dl_map_object do it.
30655
18edac48
UD
306562010-10-19 Ulrich Drepper <drepper@gmail.com>
30657
30658 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30659 fast fma builtins, define the macros in the C99 standard.
30660 (FP_FAST_FMAF): Likewise.
30661 (FP_FAST_FMAL): Likewise.
30662 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30663
30664 * bits/mathdef.h: Update copyright year.
30665 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30666
d2050124
MM
306672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30668
30669 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30670 builtins, define the macros in the C99 standard.
30671 (FP_FAST_FMAF): Likewise.
30672 (FP_FAST_FMAL): Likewise.
30673 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30674 multiply/add.
30675 (FP_FAST_FMAF): Likewise.
30676
475facd1
JJ
306772010-10-15 Jakub Jelinek <jakub@redhat.com>
30678
30679 [BZ #3268]
30680 * math/libm-test.inc (fma_test): Some new testcases.
30681 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30682 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30683 y and infinite z. Do multiplication by C already in long double.
30684 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30686 y and infinite z. Do bitwise or of inexact bit into u.d.
30687 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30688 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30689 * sysdeps/i386/fpu/s_fma.S: Removed.
30690 * sysdeps/i386/fpu/s_fmal.S: Removed.
30691
7c08a05c
JJ
306922010-10-16 Jakub Jelinek <jakub@redhat.com>
30693
30694 [BZ #3268]
30695 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30697 computation is not scheduled after fetestexcept. Fix value
30698 of minimum denormal long double.
30699
f3f7372d
JJ
307002010-10-14 Jakub Jelinek <jakub@redhat.com>
30701
30702 [BZ #3268]
30703 * math/libm-test.inc (fma_test): Add some more tests.
30704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30705 correctly.
30706
14d43591
AS
307072010-10-15 Andreas Schwab <schwab@redhat.com>
30708
30709 * scripts/data/localplt-s390-linux-gnu.data: New file.
30710 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30711
5e908464
JJ
307122010-10-13 Jakub Jelinek <jakub@redhat.com>
30713
30714 [BZ #3268]
30715 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30716 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30717 instead of dbl-64.
30718 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30719 inlines.
30720 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30722 if one of x and y is very large and the other is subnormal.
30723 * sysdeps/s390/fpu/s_fmaf.c: New file.
30724 * sysdeps/s390/fpu/s_fma.c: New file.
30725 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30726 * sysdeps/powerpc/fpu/s_fma.S: New file.
30727 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30728 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30729 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30730
307312010-10-12 Jakub Jelinek <jakub@redhat.com>
30732
30733 [BZ #3268]
30734 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30735 fma tests.
30736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30737 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30738 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30739 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30740 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30741 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30742 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30743
b833d51f
UD
307442010-10-12 Ulrich Drepper <drepper@redhat.com>
30745
30746 [BZ #12078]
30747 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30748 * posix/bug-regex31.input: Add test case.
30749
1751705d
UD
307502010-10-11 Ulrich Drepper <drepper@gmail.com>
30751
e9b9cbf5
UD
30752 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30753 * posix/bug-regex31.input: New file.
30754
30755 [BZ #12078]
30756 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30757 (parse_sub_exp): Fix last change, use postorder.
30758
ef06edbe
UD
30759 * posix/bug-regex31.c: New file.
30760 * posix/Makefile: Add rules to build and run bug-regex31.
30761
a129c80d
UD
30762 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30763
30764 [BZ #12078]
30765 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30766
b76b818e
UD
30767 [BZ #12108]
30768 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30769 to have entries in sys_siglist.
30770
1751705d
UD
30771 [BZ #12093]
30772 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30773 be NULL.
30774
9ff8d36f
JJ
307752010-10-07 Jakub Jelinek <jakub@redhat.com>
30776
30777 [BZ #3268]
30778 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30779 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30780 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30781 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30782 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30783 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30784 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30785 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30786 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30787 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30788 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30789 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30790 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30791 * math/ftestexcept.c (fetestexcept): Likewise.
30792 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30793 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30794 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30795 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30796 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30797 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30798 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30799
af325969
UD
308002010-10-11 Ulrich Drepper <drepper@gmail.com>
30801
c579b202 30802 [BZ #12107]
af325969
UD
30803 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30804 newline.
30805
67a67b95
UD
308062010-10-06 Ulrich Drepper <drepper@gmail.com>
30807
30808 * string/bug-strstr1.c: New file.
30809 * string/Makefile: Add rules to build and run bug-strstr1.
30810
5fb308bc
EB
308112010-10-05 Eric Blake <eblake@redhat.com>
30812
30813 [BZ #12092]
30814 * string/str-two-way.h (two_way_long_needle): Always clear memory
30815 when skipping input due to the shift table.
30816
45db99c7
UD
308172010-10-03 Ulrich Drepper <drepper@gmail.com>
30818
3b111893
UD
30819 [BZ #12005]
30820 * malloc/mcheck.c: Handle large requests.
30821
45db99c7
UD
30822 [BZ #12077]
30823 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30824 for strncmp and strncasecmp.
30825 * string/stratcliff.c: Add tests for strcmp and strncmp.
30826 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30827
cf7a1eb8
NI
308282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30829
30830 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30831 __set_fpscr.
30832
6484ba5e
AJ
308332010-09-30 Andreas Jaeger <aj@suse.de>
30834
30835 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30836 (CGROUP_SUPER_MAGIC): Define.
30837 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30838 Handle btrfs and cgroup file systems.
30839 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30840 Likewise.
30841
91c42559
LM
308422010-09-27 Luis Machado <luisgpm@br.ibm.com>
30843
30844 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30845 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30846
87a97932
AK
308472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30848
30849 [BZ #12067]
30850 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30851 trying to locate the ELF header.
30852
c21cc9bc
AS
308532010-09-27 Andreas Schwab <schwab@redhat.com>
30854
30855 [BZ #11611]
30856 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30857 Mask out sign-bit copies when constructing f_fsid.
30858
315970f6
PB
308592010-09-24 Petr Baudis <pasky@suse.cz>
30860
30861 * debug/stack_chk_fail_local.c: Add missing licence exception.
30862 * debug/warning-nop.c: Likewise.
30863
1ac7a2c7
JM
308642010-09-15 Joseph Myers <joseph@codesourcery.com>
30865
30866 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30867 implementing getdents64 using getdents syscall, set d_type if
30868 __ASSUME_GETDENTS32_D_TYPE.
30869
56801c50
AS
308702010-09-16 Andreas Schwab <schwab@redhat.com>
30871
30872 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30873 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30874
dda51327
UD
308752010-09-21 Ulrich Drepper <drepper@redhat.com>
30876
30877 [BZ #12037]
30878 * posix/unistd.h: Undo change of feature selection for ftruncate from
30879 2010-01-11.
30880
8ffcee4a
UD
308812010-09-20 Ulrich Drepper <drepper@redhat.com>
30882
a545ecd9 30883 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30884 detection.
30885
e24f0a8b
AS
308862010-09-20 Andreas Schwab <schwab@redhat.com>
30887
30888 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30889 fanotify_mark.
30890 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30891
7291c56f
AS
308922010-09-14 Andreas Schwab <schwab@redhat.com>
30893
30894 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30895 variables after CHECK_SP call.
30896 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30897
bc5fb037
AS
308982010-09-13 Andreas Schwab <schwab@redhat.com>
30899 Ulrich Drepper <drepper@redhat.com>
30900
30901 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30902 re-relocationg ld.so.
30903 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30904 _dl_init_paths call.
30905 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30906 here anymore.
30907
e66e7419
UD
309082010-09-14 Ulrich Drepper <drepper@redhat.com>
30909
30910 * resolv/res_init.c (__res_vinit): Count the default server we added.
30911
c044aa75
CLT
309122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30913 Ulrich Drepper <drepper@redhat.com>
30914
30915 [BZ #11968]
30916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30917 (____longjmp_chk): Use %ebx for saving value across system call.
30918 Add unwind info.
30919
32cf4069
AS
309202010-09-06 Andreas Schwab <schwab@redhat.com>
30921
30922 * manual/Makefile: Don't mix pattern rules with normal rules.
30923
817328ee
AS
309242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30925
30926 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30927 operation.
30928 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30929 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30930 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30931 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30933 Likewise.
30934
29fddf61
UD
309352010-09-04 Ulrich Drepper <drepper@redhat.com>
30936
30937 [BZ #11979]
30938 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30939 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30940
0959ffc9
UD
309412010-09-02 Ulrich Drepper <drepper@redhat.com>
30942
30943 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30944 * sysdeps/x86_64/addmul_1.S: Likewise.
30945 * sysdeps/x86_64/lshift.S: Likewise.
30946 * sysdeps/x86_64/mul_1.S: Likewise.
30947 * sysdeps/x86_64/rshift.S: Likewise.
30948 * sysdeps/x86_64/sub_n.S: Likewise.
30949 * sysdeps/x86_64/submul_1.S: Likewise.
30950
ece29840
ST
309512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30952
0959ffc9
UD
30953 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30954 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30955 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30956 * bits/sched.h [__need_schedparam]
ece29840 30957 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30958 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30959 (__defined_schedparam): Define to 1.
ece29840
ST
30960 (__sched_param): New structure, identical to sched_param.
30961 (__need_schedparam): Undefine.
30962
e53a31fe
MF
309632010-08-31 Mike Frysinger <vapier@gentoo.org>
30964
fdc0c10d
MF
30965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30966 (epoll_create1): Declare.
30967
e53a31fe
MF
30968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30969
a726d796
AS
309702010-08-31 Andreas Schwab <schwab@redhat.com>
30971
30972 [BZ #7066]
30973 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30974 shifting retval into place.
30975
2f3e3dc7
UD
309762010-09-01 Ulrich Drepper <drepper@redhat.com>
30977
f2933da9
UD
30978 * nis/rpcsvc/nis.h: Update copyright notice.
30979 * nis/rpcsvc/nis.x: Likewise.
30980 * nis/rpcsvc/nis_callback.h: Likewise.
30981 * nis/rpcsvc/nis_callback.x: Likewise.
30982 * nis/rpcsvc/nis_object.x: Likewise.
30983 * nis/rpcsvc/nis_tags.h: Likewise.
30984 * nis/rpcsvc/yp.h: Likewise.
30985 * nis/rpcsvc/yp.x: Likewise.
30986 * nis/rpcsvc/ypupd.h: Likewise.
30987 * nis/yp_xdr.c: Likewise.
30988 * nis/ypupdate_xdr.c: Likewise.
30989
2f3e3dc7
UD
30990 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30991 mainly the body of pmap_getport. Add parameters to specify timeouts.
30992 (pmap_getport): Use __libc_rpc_getport.
30993 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30994 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30995 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30996
f3dcc2f9
AS
309972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30998
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31000 fanotify_mark.
31001
6d34eb5b
RM
310022010-08-27 Roland McGrath <roland@redhat.com>
31003
31004 * sysdeps/i386/i686/multiarch/Makefile
31005 (CFLAGS-varshift.c): New variable.
31006
9ea3de11
UD
310072010-08-27 Ulrich Drepper <drepper@redhat.com>
31008
c96d23fc
UD
31009 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31010 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31011
9ea3de11
UD
31012 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31013
31014 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31015
623aac7f
L
310162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31017
31018 * sysdeps/x86_64/strlen.S: Unroll the loop.
31019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31020 strlen-sse2 strlen-sse2-bsf.
31021 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31022 __strlen_no_bsf if bit_Slow_BSF is set.
31023 (__strlen_sse42): Removed.
31024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31025 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31026
8b2b7715
RM
310272010-08-25 Roland McGrath <roland@redhat.com>
31028
31029 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31030 * sysdeps/x86_64/multiarch/varshift.c: New file.
31031 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31032 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31033 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31034 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31035
e73015f2
L
310362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31037
31038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31039 strlen-sse2 strlen-sse2-bsf.
31040 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31041 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31042 (__strlen_sse2): Removed.
31043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31046 bit_Slow_BSF for Atom.
31047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31048 (index_Slow_BSF): Define.
31049 (HAS_SLOW_BSF): Define.
31050
df24a73e
UD
310512010-08-25 Ulrich Drepper <drepper@redhat.com>
31052
31053 [BZ #10851]
31054 * resolv/res_init.c (__res_vinit): When no server address at all
31055 is given default to loopback.
31056
f2ac4868
RM
310572010-08-24 Roland McGrath <roland@redhat.com>
31058
09055553
RM
31059 * configure.in: Remove config-name.h generation.
31060 * configure: Regenerated.
31061 * config-name.in: File removed.
31062 * scripts/config-uname.sh: New file.
31063 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31064 ($(objdir)config-name.h): New target.
31065
f2ac4868
RM
31066 * sunrpc/rpc_parse.h: Avoid nested comment.
31067
73f27d5e
RH
310682010-08-24 Richard Henderson <rth@redhat.com>
31069 Ulrich Drepper <drepper@redhat.com>
31070 H.J. Lu <hongjiu.lu@intel.com>
31071
31072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31074 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31075 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31076 _mm_alignr_epi8 with _mm_loadu_si128.
31077 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31078 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31079 (__m128i_shift_right): Removed.
31080 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31081 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31082 * sysdeps/x86_64/multiarch/varshift.h: New file.
31083 * sysdeps/x86_64/multiarch/varshift.S: New file.
31084
84b9230c
MF
310852010-08-21 Mike Frysinger <vapier@gentoo.org>
31086
31087 * configure.in: Move assembler checks to before sysdep dir checking.
31088
9bbd0ddc
PB
310892010-08-20 Petr Baudis <pasky@suse.cz>
31090
31091 * LICENSES: Sync the sunrpc license.
31092
9da4bb31
UD
310932010-08-19 Ulrich Drepper <drepper@redhat.com>
31094
a7ab6ec8
UD
31095 * sunrpc/auth_des.c: Update copyright notice once again.
31096 * sunrpc/auth_none.c: Likewise.
31097 * sunrpc/auth_unix.c: Likewise.
31098 * sunrpc/authdes_prot.c: Likewise.
31099 * sunrpc/authuxprot.c: Likewise.
31100 * sunrpc/bindrsvprt.c: Likewise.
31101 * sunrpc/clnt_gen.c: Likewise.
31102 * sunrpc/clnt_perr.c: Likewise.
31103 * sunrpc/clnt_raw.c: Likewise.
31104 * sunrpc/clnt_simp.c: Likewise.
31105 * sunrpc/clnt_tcp.c: Likewise.
31106 * sunrpc/clnt_udp.c: Likewise.
31107 * sunrpc/clnt_unix.c: Likewise.
31108 * sunrpc/des_crypt.c: Likewise.
31109 * sunrpc/des_soft.c: Likewise.
31110 * sunrpc/get_myaddr.c: Likewise.
31111 * sunrpc/getrpcport.c: Likewise.
31112 * sunrpc/key_call.c: Likewise.
31113 * sunrpc/key_prot.c: Likewise.
31114 * sunrpc/openchild.c: Likewise.
31115 * sunrpc/pm_getmaps.c: Likewise.
31116 * sunrpc/pm_getport.c: Likewise.
31117 * sunrpc/pmap_clnt.c: Likewise.
31118 * sunrpc/pmap_prot.c: Likewise.
31119 * sunrpc/pmap_prot2.c: Likewise.
31120 * sunrpc/pmap_rmt.c: Likewise.
31121 * sunrpc/rpc/auth.h: Likewise.
31122 * sunrpc/rpc/auth_unix.h: Likewise.
31123 * sunrpc/rpc/clnt.h: Likewise.
31124 * sunrpc/rpc/des_crypt.h: Likewise.
31125 * sunrpc/rpc/key_prot.h: Likewise.
31126 * sunrpc/rpc/netdb.h: Likewise.
31127 * sunrpc/rpc/pmap_clnt.h: Likewise.
31128 * sunrpc/rpc/pmap_prot.h: Likewise.
31129 * sunrpc/rpc/pmap_rmt.h: Likewise.
31130 * sunrpc/rpc/rpc.h: Likewise.
31131 * sunrpc/rpc/rpc_des.h: Likewise.
31132 * sunrpc/rpc/rpc_msg.h: Likewise.
31133 * sunrpc/rpc/svc.h: Likewise.
31134 * sunrpc/rpc/svc_auth.h: Likewise.
31135 * sunrpc/rpc/types.h: Likewise.
31136 * sunrpc/rpc/xdr.h: Likewise.
31137 * sunrpc/rpc_clntout.c: Likewise.
31138 * sunrpc/rpc_cmsg.c: Likewise.
31139 * sunrpc/rpc_common.c: Likewise.
31140 * sunrpc/rpc_cout.c: Likewise.
31141 * sunrpc/rpc_dtable.c: Likewise.
31142 * sunrpc/rpc_hout.c: Likewise.
31143 * sunrpc/rpc_main.c: Likewise.
31144 * sunrpc/rpc_parse.c: Likewise.
31145 * sunrpc/rpc_parse.h: Likewise.
31146 * sunrpc/rpc_prot.c: Likewise.
31147 * sunrpc/rpc_sample.c: Likewise.
31148 * sunrpc/rpc_scan.c: Likewise.
31149 * sunrpc/rpc_scan.h: Likewise.
31150 * sunrpc/rpc_svcout.c: Likewise.
31151 * sunrpc/rpc_tblout.c: Likewise.
31152 * sunrpc/rpc_util.c: Likewise.
31153 * sunrpc/rpc_util.h: Likewise.
31154 * sunrpc/rpcinfo.c: Likewise.
31155 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31156 * sunrpc/rpcsvc/key_prot.x: Likewise.
31157 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31158 * sunrpc/rpcsvc/mount.x: Likewise.
31159 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31160 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31161 * sunrpc/rpcsvc/rex.x: Likewise.
31162 * sunrpc/rpcsvc/rstat.x: Likewise.
31163 * sunrpc/rpcsvc/rusers.x: Likewise.
31164 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31165 * sunrpc/rpcsvc/spray.x: Likewise.
31166 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31167 * sunrpc/rtime.c: Likewise.
31168 * sunrpc/svc.c: Likewise.
31169 * sunrpc/svc_auth.c: Likewise.
31170 * sunrpc/svc_authux.c: Likewise.
31171 * sunrpc/svc_raw.c: Likewise.
31172 * sunrpc/svc_run.c: Likewise.
31173 * sunrpc/svc_simple.c: Likewise.
31174 * sunrpc/svc_tcp.c: Likewise.
31175 * sunrpc/svc_udp.c: Likewise.
31176 * sunrpc/svc_unix.c: Likewise.
31177 * sunrpc/svcauth_des.c: Likewise.
31178 * sunrpc/xcrypt.c: Likewise.
31179 * sunrpc/xdr.c: Likewise.
31180 * sunrpc/xdr_array.c: Likewise.
31181 * sunrpc/xdr_float.c: Likewise.
31182 * sunrpc/xdr_mem.c: Likewise.
31183 * sunrpc/xdr_rec.c: Likewise.
31184 * sunrpc/xdr_ref.c: Likewise.
31185 * sunrpc/xdr_sizeof.c: Likewise.
31186 * sunrpc/xdr_stdio.c: Likewise.
31187
9da4bb31
UD
31188 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31189 handling.
31190
bdaa77bc
AS
311912010-08-19 Andreas Schwab <schwab@redhat.com>
31192
31193 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31194
fe2f79db
LM
311952010-08-19 Luis Machado <luisgpm@br.ibm.com>
31196
31197 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31198 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31199 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31200 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31201 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31202 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31203 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31204 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31205 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31206 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31207 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31208 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31209 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31210 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31211
b9b42ee0
AB
312122010-07-26 Anton Blanchard <anton@samba.org>
31213
31214 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31215 * malloc/arena.c (heap_trim): Likewise.
31216
1c06ba31
UD
312172010-08-16 Ulrich Drepper <drepper@redhat.com>
31218
31219 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31220 here. Not...
31221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31222 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31223
f8392f40
L
312242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31225
31226 * sysdeps/i386/elf/Makefile: New file.
31227
3162f12e
AS
312282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31229
31230 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31231 from fanotify_init.
31232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31234
28c90b2c
UD
312352010-08-15 Ulrich Drepper <drepper@redhat.com>
31236
31237 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31238 of strncasecmp_l.
1feccb6c 31239 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31240
ca6bb004
UD
312412010-08-14 Ulrich Drepper <drepper@redhat.com>
31242
e9f82e0d
UD
31243 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31244 strncase_l-nonascii.
31245 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31246 Add strncase_l-ssse3.
31247 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31248 * sysdeps/x86_64/strcmp.S: Likewise.
31249 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31250 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31251 * sysdeps/x86_64/strncase.S: New file.
31252 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31253 * sysdeps/x86_64/strncase_l.S: New file.
31254 * string/Makefile (strop-tests): Add strncasecmp.
31255 * string/test-strncasecmp.c: New file.
31256
31257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31258 warning.
31259
ca6bb004
UD
31260 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31261 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31262
052fa7b3
AS
312632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31264
31265 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31266
962dba78
UD
312672010-08-12 Ulrich Drepper <drepper@redhat.com>
31268
31269 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31271 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31272
bebff237
AM
312732010-05-01 Alan Modra <amodra@gmail.com>
31274
31275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31276 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31277 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31278 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31279 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31280 tidying. Don't tail-call __sigjmp_save for static lib.
31281 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31282 save location.
31283 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31284 (CALL_MCOUNT): Add eh info, and nop after bl.
31285 (TAIL_CALL_SYSCALL_ERROR): New macro.
31286 (PSEUDO_RET): Use it.
31287 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31288 Correct save location of integer regs and cr.
31289 (_dl_profile_resolve): Correct cr save location. Delete nops
31290 after bl when SHARED. Reduce cfi size a little by better
31291 placement of cfi directives.
31292 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31293 make a stack frame. Instead use parm save area as a temp.
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31295 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31297 Don't make a stack frame for parent, use parm save area.
31298 Increase child stack frame to 112 bytes. Don't save unused reg,
31299 and adjust reg usage. Set up cfi on error recovery and
31300 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31302 (__makecontext): Add dummy nop after jump to exit.
31303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31304 Use correct parm save area and cr save, reduce stack frame.
31305 Correct cfi for possible PSEUDO_RET frame setup.
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31307 Branch to local label emitted by PSEUDO_RET rather than
31308 __syscall_error.
31309
02637374
AS
313102010-08-12 Andreas Schwab <schwab@redhat.com>
31311
31312 [BZ #11904]
31313 * locale/programs/locale.c (print_assignment): New function.
31314 (show_locale_vars): Use it.
31315
c3e2f19b
UD
313162010-08-11 Ulrich Drepper <drepper@redhat.com>
31317
3cdaa6ad
UD
31318 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31319 field.
31320 (struct statfs64): Likewise.
31321 (_STATFS_F_FLAGS): Define.
31322 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31324 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31325 (ST_VALID): Define locally.
31326 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31327 __statvfs_getflags, use the provided value.
31328 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31329 __ASSUME_STATFS_F_FLAGS.
31330
754f7da3
UD
31331 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31332
10b3bedc
UD
31333 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31334 Add sys/fanotify.h.
31335 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31336 fanotify_mask for GLIBC_2.13.
31337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31338 fanotify_init and fanotify_mark.
31339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31340 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31341
c08fb0d7
UD
31342 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31343 Add prlimit.
31344 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31345 prlimit64 for GLIBC_2.13.
31346 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31347 prlimit64.
31348 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31349 syscall.
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31351 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31352 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31355 add prlimit alias.
31356 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31357
15bac72b
UD
31358 [BZ #11903]
31359 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31360 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31361
c3e2f19b
UD
31362 * nss/Makefile: Add rules to build and run tst-nss-test1.
31363 * shlib-versions: Add entry for libnss_test1.
31364 * nss/nss_test1.c: New file.
31365 * nss/tst-nss-test1.c: New file.
31366
31367 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31368 (__nss_configure_lookup): Set appropriate entry in
31369 __nss_configure_lookup to true.
31370 * nss/nsswitch.h: Define enum with indeces of databases in
31371 databases and __nss_database_custom arrays. Declare
31372 __nss_database_custom.
31373 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31374 to avoid using nscd when custom rules are installed.
31375 * nss/getXXbyYY_r.c: Likewise.
31376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31377
31378 * nss/nss_files/files-parse.c: Whitespace fixes.
31379
f15ce4d8
UD
313802010-08-09 Ulrich Drepper <drepper@redhat.com>
31381
31382 [BZ #11883]
31383 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31384 * posix/fnmatch_loop.c: Likewise.
31385
d22e4cc9
AK
313862010-07-17 Andi Kleen <ak@linux.intel.com>
31387
31388 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31389 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31390 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31391 * Versions.def [GLIBC_2.13]: Add.
31392
805bc17d
UD
313932010-08-06 Ulrich Drepper <drepper@redhat.com>
31394
31395 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31396 Also fail if tpwd after pwuid call is NULL.
31397
5a42321d
ST
313982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31399
31400 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31401 when converting to ms.
31402
fd3ebeda
ST
314032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31404
31405 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31406 EOPNOTSUPP errors with ENOTTY.
31407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31408 EOPNOTSUPP errors with ENOTTY.
31409
73507d3a
UD
314102010-07-31 Ulrich Drepper <drepper@redhat.com>
31411
31412 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31413 Add strcasecmp_l-ssse3.
31414 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31415 strcasecmp.
31416 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31417 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31418 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31419
fe36dd02
UD
314202010-07-30 Ulrich Drepper <drepper@redhat.com>
31421
66f6765a
UD
31422 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31423
42e08a54
UD
31424 * string/Makefile (strop-tests): Add strcasecmp.
31425 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31426 strcasecmp_l-nonascii.
31427 (gen-as-const-headers): Add locale-defines.sym.
31428 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31429 * sysdeps/x86_64/strcasecmp.S: New file.
31430 * sysdeps/x86_64/strcasecmp_l.S: New file.
31431 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31432 * sysdeps/x86_64/locale-defines.sym: New file.
31433 * string/test-strcasecmp.c: New file.
31434
fe36dd02
UD
31435 * string/test-strcasestr.c: Test both ends of the range of characters.
31436 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31437
48cbc0d6
RM
314382010-07-29 Roland McGrath <roland@redhat.com>
31439
76e6d6bc 31440 [BZ #11856]
48cbc0d6
RM
31441 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31442
880113d9
UD
314432010-07-27 Ulrich Drepper <drepper@redhat.com>
31444
31445 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31446 for ld.so.
31447
deb9cabb
AS
314482010-07-27 Andreas Schwab <schwab@redhat.com>
31449
31450 * manual/memory.texi (Malloc Tunable Parameters): Document
31451 M_PERTURB.
31452
1c7570ff
RM
314532010-07-26 Roland McGrath <roland@redhat.com>
31454
31455 [BZ #11840]
31456 * configure.in (-fgnu89-inline check): Set and substitute
31457 gnu89_inline, not libc_cv_gnu89_inline.
31458 * configure: Regenerated.
31459 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31460
24fb0f88
UD
314612010-07-26 Ulrich Drepper <drepper@redhat.com>
31462
31463 * string/test-strnlen.c: New file.
31464 * string/Makefile (strop-tests): Add strnlen.
31465 * string/tester.c (test_strnlen): Add a few more test cases.
31466 * string/tst-strlen.c: Better error reporting.
31467
31468 * sysdeps/x86_64/strnlen.S: New file.
31469
8e96b93a
UD
314702010-07-24 Ulrich Drepper <drepper@redhat.com>
31471
31472 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31473 lower-latency instructions.
31474
dbc676d4
UD
314752010-07-23 Ulrich Drepper <drepper@redhat.com>
31476
31477 * string/test-strcasestr.c: New file.
31478 * string/test-strstr.c: New file.
31479 * string/Makefile (strop-tests): Add strstr and strcasestr.
31480 * string/str-two-way.h: Don't undefine MAX.
31481 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31482
f6a31e0e
AS
314832010-07-21 Andreas Schwab <schwab@redhat.com>
31484
31485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31486 strcasestr-nonascii.
31487 (CFLAGS-strcasestr-nonascii.c): Define.
31488 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31490 Remove unused attribute.
31491
5dbc3b6c
RM
314922010-07-20 Roland McGrath <roland@redhat.com>
31493
31494 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31495 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31496 ld.so.cache was broken. With it, there is no way to disable dsocaps
31497 like LD_HWCAP_MASK can disable hwcaps.
31498
23d101d8
EPM
314992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31500
31501 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31502
cc9f2e47
UD
315032010-07-16 Ulrich Drepper <drepper@redhat.com>
31504
31505 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31506 call in strcasestr.
31507 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31508 __strcasestr_sse42_nonascii.
31509 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31510 strcasestr-nonascii.c.
31511 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31512
77c1b069
LM
315132010-06-15 Luis Machado <luisgpm@br.ibm.com>
31514
31515 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31516 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31519
440566c3
UD
315202010-07-09 Ulrich Drepper <drepper@redhat.com>
31521
31522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31523 fcntl.
31524
5be9d05d
AS
315252010-07-06 Andreas Schwab <schwab@redhat.com>
31526
c30b7ee2 31527 [BZ #11577]
5be9d05d
AS
31528 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31529 dl_signal_cerror.
31530
8a492a67
UD
315312010-07-06 Ulrich Drepper <drepper@redhat.com>
31532
31533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31534 _PC_PIPE_BUF using F_GETPIPE_SZ.
31535
713df3d5
RM
315362010-07-05 Roland McGrath <roland@redhat.com>
31537
31538 * manual/arith.texi (Rounding Functions): Fix rint description
31539 implicit in round description.
31540
702e8f14
UD
315412010-07-02 Ulrich Drepper <drepper@redhat.com>
31542
31543 * elf/Makefile: Fix linking for a few tests to make recent linker
31544 happy.
31545
52ed8be9
AS
315462010-06-30 Andreas Schwab <schwab@redhat.com>
31547
31548 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31549 $(common-objpfx)libc_nonshared.a.
31550
f47c9a11
LM
315512010-06-21 Luis Machado <luisgpm@br.ibm.com>
31552
31553 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31554 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31555 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31556 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31557 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31558 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31559 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31560 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31575 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31576 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31577 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31578 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31579 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31580 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31581 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31582 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31583 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31584 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31585 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31586 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31601
6fb8cbcb
L
316022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31603
31604 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31605 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31606 * string/memmove.c (memmove): Renamed to ...
31607 (MEMMOVE): ...this. Default to memmove.
31608 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31609 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31610 (END_CHK): Define.
31611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31612 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31613 mempcpy-ssse3-back memmove-ssse3-back.
31614 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31617 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31618 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31619 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31620 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31621 * sysdeps/x86_64/multiarch/memmove.c: New file.
31622 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31623 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31624 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31625 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31626 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31628 Define.
31629 (index_Fast_Copy_Backward): Define.
31630 (HAS_ARCH_FEATURE): Define.
31631 (HAS_FAST_REP_STRING): Define.
31632 (HAS_FAST_COPY_BACKWARD): Define.
31633
4e733bac 316342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31635
31636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31637 Restore proper fallback handling.
31638
63c4ed22
UD
316392010-06-19 Ulrich Drepper <drepper@redhat.com>
31640
ac2b484c
UD
31641 [BZ #11701]
31642 * posix/group_member.c (__group_member): Correct checking loop.
31643
63c4ed22
UD
31644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31645 OOM in getpwuid_r correctly. Return error number when the caller
31646 should return, otherwise -1.
31647 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31648 call returning > 0 value.
31649 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31650
765ade4b
AS
316512010-06-07 Andreas Schwab <schwab@redhat.com>
31652
31653 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31654 libc_nonshared.a from targets in modules-names.
31655
80da2e09
KS
316562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31657
31658 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31659 requires it.
31660
158db122
LM
316612010-06-10 Luis Machado <luisgpm@br.ibm.com>
31662
31663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31664 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31667
caa78cf8
AS
316682010-06-02 Andreas Schwab <schwab@redhat.com>
31669
31670 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31671
b2ef2c01
UD
316722010-06-14 Ulrich Drepper <drepper@redhat.com>
31673
31674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31675 and F_GETPIPE_SZ.
31676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31680 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31682
fbd643b6
RM
316832010-06-14 Roland McGrath <roland@redhat.com>
31684
31685 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31686
f32f2869
JJ
316872010-06-07 Jakub Jelinek <jakub@redhat.com>
31688
31689 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31690 __REDIRECT followed by __THROW.
31691 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31692 * posix/getopt.h (getopt): Likewise.
31693
2a50c078
EPM
316942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31695
31696 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31697 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31698 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31699 in AT_FLAGS.
31700 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31701 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31702
eb5ad2eb
LM
317032010-05-28 Luis Machado <luisgpm@br.ibm.com>
31704
31705 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31706
3c88fe1e
L
317072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31708
31709 [BZ #11640]
31710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31711 Properly check family and model.
31712
d2f73151
TY
317132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31714
31715 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31716
ebd2e13d
LM
317172010-05-24 Luis Machado <luisgpm@br.ibm.com>
31718
31719 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31720
b32b8b45
UD
317212010-05-21 Ulrich Drepper <drepper@redhat.com>
31722
31723 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31724 symbol reference.
31725
9acbe24d
AS
317262010-05-19 Andreas Schwab <schwab@redhat.com>
31727
31728 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31729 symbol reference.
31730
f0ccf6ea
AS
317312010-05-21 Andreas Schwab <schwab@redhat.com>
31732
3d04ff3a
AS
31733 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31734 and internal_recvmmsg.
31735 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31737 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31738 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31739
f0ccf6ea
AS
31740 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31741 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31742 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31743
5b08ac57
AS
317442010-05-20 Andreas Schwab <schwab@redhat.com>
31745
31746 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31747
4828935d
LM
317482010-05-17 Luis Machado <luisgpm@br.ibm.com>
31749
31750 POWER7 optimizations.
31751 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31752 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31753
373d545e
UD
317542010-05-19 Ulrich Drepper <drepper@redhat.com>
31755
31756 * version.h: Update for 2.13 development version.
31757
21a2b1ae
AS
317582010-05-12 Andrew Stubbs <ams@codesourcery.com>
31759
31760 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31761 exceptions. Return 0.
31762
3f7dcb2b
RM
317632010-05-07 Roland McGrath <roland@redhat.com>
31764
31765 * elf/ldconfig.c (main): Add a const.
31766
5f24d53a 317672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31768
a160f8d8
UD
31769 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31770 (args_options): Add no-idn option.
31771 (ahosts_keys_int): Add idn_flags to ai_flags.
31772 (parse_option): Handle 'i' option to clear idn_flags.
31773
5f24d53a
UD
31774 * malloc/malloc.c (_int_free): Possible race in the most recently
31775 added check. Only act on the data if no current modification
31776 happened.
265bb1ce
UD
31777
31778See ChangeLog.17 for earlier changes.